Difference between revisions of "Operating CODESYS with softMC Guide Line/zh-hans"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with "{{Languages}} = CODESYS Installation = border|800px <br/> Please download from the link received the following files: * '''‘MC_FW.ZIP’ -''' c...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Languages}}
+
{{Languages|Operating_CODESYS_with_softMC_Guide_Line}}
= CODESYS Installation =  
+
= CODESYS安装 =  
  
 
[[File:CODESYS.png|border|800px]]
 
[[File:CODESYS.png|border|800px]]
Line 10: Line 10:
  
  
Please download from the link received the following files:
+
请从链接下载以下文件:
  
* '''‘MC_FW.ZIP’ -''' contains the firmware upgrade for softMC7 Multibus CODESYS
+
* '''‘MC_FW.ZIP’ -''' 包含softMC7 Multibus CODESYS的升级固件
 
* '''‘softMC_1_0_0_1.compiled-library’'''
 
* '''‘softMC_1_0_0_1.compiled-library’'''
 
* '''‘Configurator_archive_0.4.16.7.bndl’'''
 
* '''‘Configurator_archive_0.4.16.7.bndl’'''
Line 19: Line 19:
  
  
Please follow the steps below:
+
请按照以下步骤进行:
  
  
Line 26: Line 26:
  
  
1. Open ControlStudio. <br/>
+
1. 打开ControlStudio. <br/>
2. Connect to softMC7.<br/>
+
2. 连接softMC7..<br/>
3. Please type in the terminal:<br/>
+
3. 在终端输入以下命令:<br/>
 
   <pre>        ?sys.information    </pre>
 
   <pre>        ?sys.information    </pre>
:Check the ‘Maximum number of axes’.
+
:检查‘Maximum number of axes’.
:Please send a picture of the information.
+
:请发送信息的图片。
3. go to:
+
3. 转到:
::Tools -> Firmware Update -> choose MC_FW.ZIP  
+
::Tools -> Firmware Update -> 选择 MC_FW.ZIP  
4. During the Firmware Update the MC will reboot twice.<br/>  
+
4. 在固件升级期间MC会重启两次.<br/>  
5. After the process ends, please check the new version by typing in the terminal:
+
5. 固件升级完成后,在终端输入以下命令查看新的版本:
 
   <pre>        ?sys.information    </pre>
 
   <pre>        ?sys.information    </pre>
Now you should see (among rest):
+
现在你应该看到(其余的):
 
* Version number: 0.4.16.7 <br/>
 
* Version number: 0.4.16.7 <br/>
 
* Features:  CODESYS:0x61131 <br/>
 
* Features:  CODESYS:0x61131 <br/>
6. Please provide:
+
6. 请提供:
 
* '''Hash number'''
 
* '''Hash number'''
 
* '''Serial number'''
 
* '''Serial number'''
* '''Maximum number of axes '''(from before the upgrade – after the upgrade it should be zero until installation of the UAC).
+
* '''Maximum number of axes '''(从升级之前 - 升级后,应该是零,直到安装UAC).
7. Once you provide these details, you will receive UAC (User Authorization Code) and further instructions.
+
7. 提供这些细节后,您将收到UAC(用户授权码)和进一步说明。
  
  
  
=Part 2 (When UAC is provided):=
+
=Part 2 (当提供UAC后):=
  
  
1. Open ControlStudio.<br/>
+
1. 打开ControlStudio.<br/>
2. Connect to softMC7.<br/>
+
2. 连接到softMC7.<br/>
3. Send SN_UAC.LIB to softMC by dragging it into File Manager.<br/>
+
3. 在文件管理器中,拖动SN_UAC.LIB将其发送到softMC<br/>
 
4.  
 
4.  
 
   <pre>        Loadglobal SN_UAC.LIB </pre>
 
   <pre>        Loadglobal SN_UAC.LIB </pre>
5. Use the following function ‘?Set_SN_UAC_Files(byval SN_str as string, byval UAC_str as string)' :
+
5. 使用以下函数 ‘?Set_SN_UAC_Files(byval SN_str as string, byval UAC_str as string)' :
 
   <pre>        ?Set_SN_UAC_Files(“your serial number”, “your UAC”) </pre>
 
   <pre>        ?Set_SN_UAC_Files(“your serial number”, “your UAC”) </pre>
5. Reboot the machine.<br/>
+
5. 重启控制器。<br/>
6. Check sys.information to see maximum number of axes.<br/>
+
6. 检查sys.information查看最大轴的数量。<br/>
 
   <pre>        ?sys.information    </pre>
 
   <pre>        ?sys.information    </pre>
  
  
  
* When upgrade is finished, you can use the ControlStudio Configurator to create the XML file (device description file).
+
* 升级完成后,您可以使用ControlStudio配置器创建XML文件(设备描述文件)。
:Please use the Configurator training guide in the website (don’t forget to check the ‘USE CODESYS’ tab).
+
:请使用网站中的Configurator培训指南(不要忘记勾选‘USE CODESYS’选项卡)。
* In CODESYS: Please install the ‘softMC_1_0_0_1.compiled-library’ into Tools -> Library Repository (one time installation).
+
* 在CODESYS中:请将‘softMC_1_0_0_1.compiled-library’安装到Tools - >Library Repository(一次性安装)中。
* In CODESYS: Please install the device description file (created by the Configurator) into Tools -> Device Repository (when using a new XML file).
+
* 在CODESYS中:请将设备描述文件(由Configurator创建)安装到Tools - >Device Repository(使用新的XML文件时)。
  
  
  
=Summary=
+
=总结=
  
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
! scope="col"|Task || ! scope="col"| Reference delivered by SERVOTRONIX ||! scope="col"| Status
+
! scope="col"|任务 || ! scope="col"| SERVOTRONIX提供的参考 ||! scope="col"| 状态
 
|-
 
|-
| Firmware to support CODESYS for softMC 7 EtherCAT || MC_FW.ZIP (includes the firmware upgrade) || '''STX''':  provide FW zip file
+
| 用于支持CODESYS的softMC 7 EtherCAT固件|| MC_FW.ZIP (包括固件升级) || '''STX''':  提供FW zip文件
'''CUSTOMER''': install  CODESYS Runtime and send:
+
'''客户''': 安装CODESYS运行环境并提供:
  
 
* Serial number
 
* Serial number
Line 86: Line 86:
 
* max number of axes
 
* max number of axes
  
'''STX''': provide UAC number
+
'''STX''': 提供UAC号
 
|-
 
|-
| Install ControlStudio with Configurator|| configurator_archive_0.4.16.X.bndl
+
| 安装有 Configurator的ControlStudio|| configurator_archive_0.4.16.X.bndl
  || Download from website
+
  || 从网站下载
 
|-
 
|-
|Run Configurator|| User manual: softMC_Configurator_Setup_Training_Rev.1.0.pdf||Download from website
+
|运行配置器|| 用户手册: softMC_Configurator_Setup_Training_Rev.1.0.pdf||从网站上下载
 
|-
 
|-
| XML file for Device Repository || || Created by ControlStudio Configurator
+
|设备存储库中的XML文件 || || 由ControlStudio配置器创建
 
|-
 
|-
|softMC.compiled-library for CODESYS|| softMC_1_0_0_1.compiled-library||Download from website – version 1.0.0.1
+
|CODESYS中softMC的编译库|| softMC_1_0_0_1.编译库||从网站上下载 – version 1.0.0.1
 
|-
 
|-
|CODESYS examples files for basic operation of softMC w two CDHD|| FLIP_FLOP_FBD.project
+
|CODESYS示例文件用于具有两个CDHD的softMC的基本操作|| FLIP_FLOP_FBD.project
 
FLIP_FLOP_LADDER.project
 
FLIP_FLOP_LADDER.project
  
Line 113: Line 113:
  
 
MAIN_MOTION_ST.project
 
MAIN_MOTION_ST.project
|| Download from website
+
|| 从网站下载
 
|}
 
|}
  
Line 119: Line 119:
 
<br/>
 
<br/>
  
=CODESYS - Procedure=
+
=CODESYS - 程序=
  
Below is a scheme of the procedure for using CODESYS with softMC: <br/>
+
以下是使用带有softMC的CODESYS程序的方案: <br/>
 
<br/>
 
<br/>
 
[[File:Scheme.PNG|550px]]
 
[[File:Scheme.PNG|550px]]

Latest revision as of 16:18, 15 July 2017

语言: English  • 中文(简体)‎

CODESYS安装

CODESYS.png




请从链接下载以下文件:

  • ‘MC_FW.ZIP’ - 包含softMC7 Multibus CODESYS的升级固件
  • ‘softMC_1_0_0_1.compiled-library’
  • ‘Configurator_archive_0.4.16.7.bndl’
  • '‘SN_UAC.LIB’


请按照以下步骤进行:


Part 1:

1. 打开ControlStudio.
2. 连接softMC7..
3. 在终端输入以下命令:

         ?sys.information    
检查‘Maximum number of axes’.
请发送信息的图片。

3. 转到:

Tools -> Firmware Update -> 选择 MC_FW.ZIP

4. 在固件升级期间MC会重启两次.
5. 固件升级完成后,在终端输入以下命令查看新的版本:

         ?sys.information    

现在你应该看到(其余的):

  • Version number: 0.4.16.7
  • Features: CODESYS:0x61131

6. 请提供:

  • Hash number
  • Serial number
  • Maximum number of axes (从升级之前 - 升级后,应该是零,直到安装UAC).

7. 提供这些细节后,您将收到UAC(用户授权码)和进一步说明。


Part 2 (当提供UAC后):

1. 打开ControlStudio.
2. 连接到softMC7.
3. 在文件管理器中,拖动SN_UAC.LIB将其发送到softMC
4.

         Loadglobal SN_UAC.LIB 

5. 使用以下函数 ‘?Set_SN_UAC_Files(byval SN_str as string, byval UAC_str as string)' :

         ?Set_SN_UAC_Files(“your serial number”, “your UAC”) 

5. 重启控制器。
6. 检查sys.information查看最大轴的数量。

         ?sys.information    


  • 升级完成后,您可以使用ControlStudio配置器创建XML文件(设备描述文件)。
请使用网站中的Configurator培训指南(不要忘记勾选‘USE CODESYS’选项卡)。
  • 在CODESYS中:请将‘softMC_1_0_0_1.compiled-library’安装到Tools - >Library Repository(一次性安装)中。
  • 在CODESYS中:请将设备描述文件(由Configurator创建)安装到Tools - >Device Repository(使用新的XML文件时)。


总结

任务 SERVOTRONIX提供的参考 状态
用于支持CODESYS的softMC 7 EtherCAT固件 MC_FW.ZIP (包括固件升级) STX: 提供FW zip文件

客户: 安装CODESYS运行环境并提供:

  • Serial number
  • Hash number
  • max number of axes

STX: 提供UAC号

安装有 Configurator的ControlStudio configurator_archive_0.4.16.X.bndl 从网站下载
运行配置器 用户手册: softMC_Configurator_Setup_Training_Rev.1.0.pdf 从网站上下载
设备存储库中的XML文件 由ControlStudio配置器创建
CODESYS中softMC的编译库 softMC_1_0_0_1.编译库 从网站上下载 – version 1.0.0.1
CODESYS示例文件用于具有两个CDHD的softMC的基本操作 FLIP_FLOP_FBD.project

FLIP_FLOP_LADDER.project

FLIP_FLOP_ST.project

LABELING_FBD.project

LABELING_LADDER.project

LABELING_ST.project

MAIN_MOTION_FBD.project

MAIN_MOTION_LADDER.project

MAIN_MOTION_ST.project

从网站下载



CODESYS - 程序

以下是使用带有softMC的CODESYS程序的方案:

Scheme.PNG