
Chapter 9 User-defined Communication
9-9
Sequence
Setting method
Setting method
6
TAIL registration
1. If double-click TAIL, edit window shows.
2. Setting method is same with step 5.
3. Add BCC is activated after inserting segment.
7
BODY registration
1. Double-click BODY and select data form.
1) Numerical constant and string constant are same as described above.
2) Variable sized variable
(1) used when frame length changes
(2) Available to insert only one variable sized variable and it is impossible to add segment after variable sized
variable
(3) When checking [Assign memory], it is available to save in the PLC memory
(4) Control by byte unit
3) Fix sized variable
(1) Used when frame size is fixed.
(2) available to insert up to 4 for one body
(3) When checking [Assign memory], it is available to save in the PLC memory
4) Assign memory: when setting the device area of PLC to save data.
5) Conversion
▶
Hex To ASCII: converts the data received into ASCII and configures reception frame
▶
ASCII To Hex: converts the data received into Hex and configures reception frame
6) Swap
▶
2 Byte swap: 2 byte swap of data (ex.: 0x1234->0x3412)
▶
4 Byte swap: 4 byte swap of data (ex.: 0x12345678->0x78564321)
▶
8 Byte swap: 8 byte swap of data
Summary of Contents for XGL-C22A
Page 172: ...Chapter 8 Modbus Communication 8 23 ...
Page 246: ...Chapter 10 Program Examples 10 40 XG 5000 program Sequence Program 1 2 3 4 ...
Page 247: ...Chapter 10 Program Examples 10 41 Sequence Program 5 6 ...
Page 289: ...Appendix A 23 Sub procedure module When port open event occurs perform the next module ...
Page 291: ...Appendix A 25 The lower code shows BCC check setting ...