
Chapter 2 Built-in Cnet communication
2-119
B
u
ilt
-in
C
omm
1) User definition communication frame structure
Frame structure of PC Link, communication protocol of Han-Young used in this example, is as follows.
• Frame of temperature controller is executed as ASCII character string, it can read/write defined D, I Register. There
are two protocols, STD standard protocol and SUM protocol adding Check Sum to standard type and protocol is
selected by parameter of temperature controller. Standard protocol is STD”. It starts with first character STX (0x02)
and ends with last character CR(0x0D) LF(0x0A).
The following [Table 2.11.3] and [Table 2.11.4] indicates structure of standard protocol and Sum protocol.
[Table 2.11.3] standard protocol structure
[Table 2.11.4] SUM protocol structure
2) Writing example frame
In this example, present value and setting value is saved in M device area of PLC. [Table 2.11.5] is frame requesting
continuous data and [Table 2.11.6] is frame responding to request.
[Table 2.11.5] 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 2.11.6] response frame
Содержание XBE-DC08A
Страница 124: ...Main Chapter 1 Configuration and Operation Mode of Programs 1 27 1 Memory block diagram ...
Страница 155: ...Main Chapter 2 CPU Function 2 29 Notice For more details on the monitor refer to the XG5000 manual ...
Страница 504: ...Position Chap 6 Commands 6 61 6 11 Function blocks related to Servo Drive ...
Страница 512: ...Positioning Chapter 7 Program 7 8 manual operation 7 1 4 Parameter and Operation Data Setting 1 Parameter Setting ...
Страница 644: ...Positioning Chapter 8 Functions 8 91 ...
Страница 727: ...Positioning Chapter 9 Positioning Error Information Solutions 9 13 ...
Страница 861: ...Special Chapter 1 Embedded Analog 1 39 5 Select View Variables Comments Variables and comments are both displayed ...
Страница 1206: ...Appendix 2 Dimension App2 1 Appendix 2 Dimension Unit mm 1 CPU Type XEC DN32U 2 Positioning Type XEC DN32UP ...
Страница 1207: ...Appendix 2 Dimension App2 2 2 Analog Type XEC DN32UA ...
Страница 1209: ...Appendix 2 Dimension App2 4 XBE DC08A XBE DC16A XBE TN08A XBE TN16A XBE DR16A XBE RY08A ...
Страница 1210: ...Appendix 2 Dimension App2 5 4 Extension Cnet I F Module XBL C41A XBL C21A ...