
6.3.4 UDP_PPI Slave Address Mapping.................................................................................. 143
6.4 Analog I/O Expansion Board ....................................................................................................... 143
6.4.1 Installation Notes............................................................................................................. 143
6.4.2 Expansion Board Access Address .................................................................................. 143
6.5 Recipe and Data Log................................................................................................................... 145
6.5.1 Recipe ............................................................................................................................. 145
6.5.2 Data Log.......................................................................................................................... 153
7Power Budget....................................................................................................................................... 161
7.1 Power Requirements................................................................................................................... 161
7.2 5VDC Power................................................................................................................................ 162
7.3 24VDC Power.............................................................................................................................. 163
7.4 Power Calculation Example......................................................................................................... 164
8Fault Diagnosis .................................................................................................................................... 165
8.1 Diagnose by MagicWorks PLC.................................................................................................... 165
8.2 Diagnose by CTH200 CPU Modules........................................................................................... 168
Appendix ...................................................................................................................................................... 169
AUsing CT-MODBUS Master and Slave Libraries............................................................................ 169
A.1 CT_MODBUS library....................................................................................................... 169
A.2 Installation Instruction...................................................................................................... 169
A.3 CT_MODBUS Library Function Explanation................................................................... 171
BUsing CTH200 CPU Expansion Program Space............................................................................ 177
B.1 Function Introduction....................................................................................................... 177
B.2 Instruction........................................................................................................................ 177
CUsing CTH200 PLC Expand 100K Data Block Library................................................................... 179
C.1 Function Introduction....................................................................................................... 179
C.2 Instruction........................................................................................................................ 179
C.3 Ext_mem library Function Explanation............................................................................ 180
C.4 Application Example........................................................................................................ 181
DUsing PID Control Library of CTH200 PLC.................................................................................... 182
D.1 Using CPU Embedded PID_T Library............................................................................. 182
D.2 Using CTH200 PLC Thermocouple PID Control Module Library.................................... 186
EUsing Motion Control Library “motion_ctrl_lib” ............................................................................... 192
E.1 Introduction...................................................................................................................... 192
E.2 Installation Instruction...................................................................................................... 192
E.3 Instructions Explanation.................................................................................................. 193
E.4 Homing Mode Illustration ................................................................................................ 231
E.5 Examples......................................................................................................................... 239
FUsing SM231 Weighing Module and the Library............................................................................ 244
F.1 Weighing Library Function Illustration............................................................................. 244
F.2 Weighing Library Mode Explanation ............................................................................... 250
GSM277A Module ............................................................................................................................. 254
HSM277B Module............................................................................................................................. 258
H.1 PROFIBUS-DP Network Structure.................................................................................. 258
H.2 Components of SM277B................................................................................................. 259
H.3 Operating Guide.............................................................................................................. 259
IPermanent V Memory Library “CT_savevmem”............................................................................. 272