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...")
 
Line 1: Line 1:
 
{{Languages}}
 
{{Languages}}
= 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.
 
:Please send a picture of the information.
 
3. go to:
 
3. go to:

Revision as of 10:04, 14 July 2017

语言: [[::Operating CODESYS with softMC Guide Line|English]]  • [[::Operating CODESYS with softMC Guide Line/zh-hans|中文(简体)‎]]

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’.
Please send a picture of the information.

3. go to:

Tools -> Firmware Update -> choose MC_FW.ZIP

4. During the Firmware Update the MC will reboot twice.
5. After the process ends, please check the new version by typing in the terminal:

         ?sys.information    

Now you should see (among rest):

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

6. Please provide:

  • Hash number
  • Serial number
  • Maximum number of axes (from before the upgrade – after the upgrade it should be zero until installation of the UAC).

7. Once you provide these details, you will receive UAC (User Authorization Code) and further instructions.


Part 2 (When UAC is provided):

1. Open ControlStudio.
2. Connect to softMC7.
3. Send SN_UAC.LIB to softMC by dragging it into File Manager.
4.

         Loadglobal SN_UAC.LIB 

5. Use the following function ‘?Set_SN_UAC_Files(byval SN_str as string, byval UAC_str as string)' :

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

5. Reboot the machine.
6. Check sys.information to see maximum number of axes.

         ?sys.information    


  • When upgrade is finished, you can use the ControlStudio Configurator to create the XML file (device description file).
Please use the Configurator training guide in the website (don’t forget to check the ‘USE CODESYS’ tab).
  • In CODESYS: Please install the ‘softMC_1_0_0_1.compiled-library’ into Tools -> Library Repository (one time installation).
  • In CODESYS: Please install the device description file (created by the Configurator) into Tools -> Device Repository (when using a new XML file).


Summary

Task Reference delivered by SERVOTRONIX Status
Firmware to support CODESYS for softMC 7 EtherCAT MC_FW.ZIP (includes the firmware upgrade) STX: provide FW zip file

CUSTOMER: install CODESYS Runtime and send:

  • Serial number
  • Hash number
  • max number of axes

STX: provide UAC number

Install ControlStudio with Configurator 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
XML file for Device Repository Created by ControlStudio Configurator
softMC.compiled-library for CODESYS softMC_1_0_0_1.compiled-library Download from website – version 1.0.0.1
CODESYS examples files for basic operation of softMC w two CDHD 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

Download from website



CODESYS - Procedure

Below is a scheme of the procedure for using CODESYS with softMC:

Scheme.PNG