Professional Documents
Culture Documents
AR-401E
PROTOCOL
Version : 1.4
2003/12/29
Data Length Indicator which denotes the length from Node to the end
Length ??
including XOR and SUM
Function
03 03H is echo request data.
Code
16
Node-I 16 Bytes of Channel-I Node type form node 1 to 16
Bytes
16
Node-II 16 Bytes of Channel-II Node type form node 1 to 16
Bytes
Data Length Indicator which denotes the length from Node to the end
Length ??
including XOR and SUM
Function
04 04H/05H -> ACK / NACK
Code
Data Length Indicator which denotes the length from Node to the end
Length ??
including XOR and SUM
Function
03 03H is echo request data.
Code
sunday 01
monday 02
tuesday 03
wednesday 04
thursday 05
friday 06
saturday 07
DAY 1D Day 1D = 29 day
MON 0C Mon 0C = 12 mon
YEAR 05 Year 05 = 05year(mean2005year)
Rev1 00 reserved
Rev2 02 reserved
XOR E3 XOR=FF^00^03^01^08^17^12^05^1D^0C^05^00^02 =E3
SUM 4D SUM=(00+03+01+08+17+12+05+1D+0C+05+00+02+E3)・FF=4D(select the
LSB)
2.6 25H – Read Controller Message
Command Example Description
7E 7E Header
LEN 04 Data Length. Counts from the DID byte until the examination code SUM as
the total length.
DID 01 Node ID of destination device; this example pointed to Device “01”.
CTL 25 Function code:
Read controller message
XOR DB XOR=FF^01^25 =DB
SUM 01 SUM=(01+25+DB).FF=01(Select the LSB)
XOR FE XOR
SUM 01 SUM
Data Byte Format:
Each IO has two bits to indicator the DI/RO status.
00: Open / Off
01: Close / On
10: Break / Flashing
2.10 6AH Set I/O Status
command example description
7E 7E Initial Value
LEN xx Data Length Indicator which denotes the length from Destination ID to the
end including XOR and SUM
DID 01 Node ID of destination, the node ID is 01here
CTL 6A Function code
High byte of Start Address of IO
Low byte of Start Address of IO
High byte of End Address of IO
Low byte of End Address of IO
IO status (*1) (*2)
XOR DF XOR
SUM BB SUM