
Chapter 2 Built-in Cnet communication
2-84
B
u
ilt
-in
C
omm
8) Individual writing data of bit type at the bit output (05)
(1) Individual writing bit of output area
When writing single bit of output area, request and response frame is as follows.
Tail of frame is applied in case of ASCII mode.
(a) Request frame
Classification
Station no.
Function
code (05)
Address
Output
Frame error
check
Tail (CRLF)
Size (byte)
1
1
2
2
2
2
(b) Response frame (In case of receiving normal frame)
Classification
Station no.
Function
code (05)
Address
Output
Frame error
check
Tail (CRLF)
Size (byte)
1
1
2
2
2
2
(c) In case of response frame (In case of receiving abnormal frame)
Classification
Station no.
Error code
Exceptional
code
Tail (CRLF)
Size (byte)
1
1
1
2
(2) Details of frame
(a) Station no.: indicates the station no. of slave to write single bit of output area.
(b) Function code: ‘05’ indicating Force Single Coil
(c) Address: start address of data to write and it consists of 2 byte. At this time, start address conforms to
modbus address regulation.
(d) Output: in case of turning on address set in the Address, FF00(Hex) is indicated and in case of turning off
addres set in the Address, it is indicated 0000(Hex).
(e) Frame error check: in case of ASCII mode, it uses LRC and in case of STU mode, it uses CRC. It consists of
2 byte.
(f) Tail: it is applies in case of ASCII mode, CRLF is added after LRC.
(g) No. of byte: no. of byte of response data
(h) Error code: error code is expressed by adding 80(Hex) to function code and in case of Force Single Coil, it is
expressed as 85(Hex).
(i) Exceptional code: indicates detail of error and consists of 1 byte
(3) Frame example
Example that turning on 9
th
bit to station number 1 server acting as Modbus RTU mode
(a) Request frame
Classificatio
n
Statio
n no.
Function
code
Address
Output
Error check
Upper byte
Lower byte
Upper byte
Lower byte
Frame
01
05
00
08
FF
00
CRC
(b) Response frame (In case receiving normal frame)
Classificatio
n
Statio
n no.
Function
code
Address
Output
Error check
Upper byte
Lower byte
Upper byte
Lower byte
Frame
01
05
00
08
FF
00
CRC
Summary of Contents for XBE-DC08A
Page 124: ...Main Chapter 1 Configuration and Operation Mode of Programs 1 27 1 Memory block diagram ...
Page 504: ...Position Chap 6 Commands 6 61 6 11 Function blocks related to Servo Drive ...
Page 644: ...Positioning Chapter 8 Functions 8 91 ...
Page 727: ...Positioning Chapter 9 Positioning Error Information Solutions 9 13 ...
Page 1207: ...Appendix 2 Dimension App2 2 2 Analog Type XEC DN32UA ...
Page 1209: ...Appendix 2 Dimension App2 4 XBE DC08A XBE DC16A XBE TN08A XBE TN16A XBE DR16A XBE RY08A ...
Page 1210: ...Appendix 2 Dimension App2 5 4 Extension Cnet I F Module XBL C41A XBL C21A ...