
Chapter 10 Program Examples
10-25
▶
Frame structure of PC Link
Frame of temperature is executed by ASCII string and can read/write defined D, I register. There are two protocols, STD
standard protocol and SUM protocol adding Check Sum to standard protocol. Selection of protocol type is determined by
parameter of temperature controller. Standard protocol is
“
STD
”
. It starts with STX (0x02) and ends with CR (0x0D) LF
(0x0A). [Table 10.3.1] is standard protocol and [Table 10.3.2] is Sum protocol.
[Table 10.3.1] structure of standard protocol
[Table 10.3.2] structure of SUM protocol
▶
Writing example frame
In this example, present value and setting value is saved in M device address of PLC. [Table 10.3.3] is frame requesting
continuous data and [Table 10.3.4] is frame responding to request.
[Table 10.3.3] request frame
▷
DRS: command that request reading continuous D register value. No of data and start address of D register is necessary.
▷
In the example, no. of data is 2 and start address is 01.
[Table 10.3.4] response frame
Содержание XGL-C22A
Страница 74: ...Chapter 6 Communication Parameter 6 22 4 Click I O Sync 6 Read the message If there is no problem click OK ...
Страница 172: ...Chapter 8 Modbus Communication 8 23 ...
Страница 246: ...Chapter 10 Program Examples 10 40 XG 5000 program Sequence Program 1 2 3 4 ...
Страница 247: ...Chapter 10 Program Examples 10 41 Sequence Program 5 6 ...
Страница 289: ...Appendix A 23 Sub procedure module When port open event occurs perform the next module ...
Страница 291: ...Appendix A 25 The lower code shows BCC check setting ...
Страница 296: ...Appendix A 30 4 Example Register monitor X 5 Example execution monitor Y Address of server Monitor result ...
Страница 297: ...Appendix A 31 A 4 Dimension Unit mm XGL C22A CH2A C42A H W version Less than V2 0 H W version V2 0 or Later ...