Difference between revisions of "Operating CODESYS with softMC Guide Line"
Noam.nitzan (talk | contribs) |
Noam.nitzan (talk | contribs) |
||
Line 12: | Line 12: | ||
Please download from the link received the following files: | Please download from the link received the following files: | ||
− | * '''‘MC_FW.ZIP’ - contains the firmware upgrade for softMC7 Multibus CODESYS | + | * '''‘MC_FW.ZIP’ -''' contains the firmware upgrade for 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 43: | Line 43: | ||
* '''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 '''(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. | 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.<br/> | ||
+ | 2. Connect to softMC7.<br/> | ||
+ | 3. Send SN_UAC.LIB to softMC by dragging it into File Manager.<br/> | ||
+ | 4. | ||
+ | <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)' : | ||
+ | <pre> ?Set_SN_UAC_Files(“your serial number”, “your UAC”) </pre> | ||
+ | 5. Reboot the machine.<br/> | ||
+ | 6. Check sys.information to see maximum number of axes.<br/> | ||
+ | <pre> ?sys.information </pre> | ||
+ | |||
+ | |||
+ | After that you can use CODESYS with softMC.<br/> | ||
+ | |||
+ | • When upgrade is finished, you can use the ControlStudio Configurator to create the XML file (device description file – ‘softMC7.devdesc.xml’). | ||
+ | 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 - softMC.devdesc.xml) into Tools -> Device Repository (whenever you use a new XML). |
Revision as of 16:52, 26 January 2017
CODESYS installation
Please download from the link received the following files:
- ‘MC_FW.ZIP’ - contains the firmware upgrade for softMC7 Multibus CODESYS
- ‘softMC_1_0_0_1.compiled-library’
- ‘Configurator_archive_0.4.16.7.bndl’
- '‘SN_UAC.LIB’
Please follow the steps below:
Part 1:
1. Open ControlStudio.
2. Connect to softMC7.
3. please type in the terminal:
?sys.information
- Check the ‘Maximum number of axes’.
- Please send a picture of the information.
3. go to:
- Tools -> Firmware Update -> choose the 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
After that you can use CODESYS with softMC.
• When upgrade is finished, you can use the ControlStudio Configurator to create the XML file (device description file – ‘softMC7.devdesc.xml’). 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 - softMC.devdesc.xml) into Tools -> Device Repository (whenever you use a new XML).