
Chapter 2 Built-in Cnet communication
2-76
B
u
ilt
-in
C
omm
When receiving the abnormal frame from client, server transmits error code and exceptional code. Error code is
function code adding 80(Hex) and exceptional code indicate the specific error content. Each code has following
content.
Code
Code name
Meaning
01
Function code error
Function code error
02
Address error
Exceeds allowed address range
03
Data setting error
Not allowed data value
04
Server error
Server(slave) is error
05
Server requesting
re-transmission
Now server is too busy to process and requests re-transmission later
06
Server process time
delay
Server takes time to process. Master should request again.
2.7.2
Frame Structure
1) Frame structure in ASCII mode
Frame structure in the ASCII mode is as follows.
Classification
Start
Station no.
Function code
Data
Error check
End
Size (byte)
1
2
2
N
2
2
(1) Characteristic of ASCII mode
a) In the ASCII mode, start of frame is indicated with colon (:), which is ASCII code, and end of frame is indicated
with ‘CRLF’.
b) Each character allows maximum 1s interval.
c) How to check the error uses LRC, it takes 2’s complement except frame of start and end and converts it as ASCII
conversion.
(2) Address area
a) It consists of 2 byte.
b) When using the XGT Cnet I/F module, range of station is 0~31.
c) Station number 0 is used for client.
d) When server responds, it contains self address to response frame to know client’s response.
(3) Data area
a) Transmits the data by using the ASCII data, data structure changes according to function code.
b) In case of receiving normal frame, it responds as normal response.
c) In case of receiving abnormal frame, it responds by using error code.
(4) Error check area
How to check error of frame takes 2’s complement except start and end of frame and converts it as ASCII.
Содержание 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 ...