Download GOT2000 Connection Manual (Microcomputer, MODBUS, Peripherals)

Transcript
 Message format
The following shows the message format of the dedicated commands for a microcomputer connection of GOT.
(1) Read clock data (1901) command
2
MICROCOMPUTER CONNECTION (SERIAL)
The following shows an example of reading the clock data of GOT.
(Assuming that the clock data of GOT has been set to "2004, June 1, 18:46:49, Tuesday".)
Time display
2004/06/01 18:46:49
Item
TUE
Message format
Example: Format 7 (QnA compatible 4C frame (format 1))
ENQ
05H
Frame ID
No.
Station No.
Network
No.
Request destination
module station No.
F
8
0
0
0
0
0
0
0
0
0
0
0
0
46H
38H
30H
30H
30H
30H
30H
30H
30H
30H
30H
30H
30H
30H
(H)
(L)
(H)
(L)
(H)
(L)
(H)
(L)
(H)
–
–
(L)
(H)
(L)
Request message
(host
Request destination
module I/O No.
PLC No.
Sum check
Following
*1
A
9
41H
39H
(H)
(L)
Sum check is performed in this range.
GOT)
Character A section
*1
Host
Address No.
Command
Sub-command
0
0
1
9
0
1
0
0
0
0
30H
30H
31H
39H
30H
31H
30H
30H
30H
30H
(H)
(L)
(H)
–
–
(L)
(H)
–
–
(L)
Example: Format 7 (QnA compatible 4C frame (format 1))
STX
02H
Frame ID
No.
Station No.
Network
No.
host)
Request destination
module I/O No.
Request destination
module station No.
F
8
0
0
0
0
0
0
0
0
0
0
0
0
46H
38H
30H
30H
30H
30H
30H
30H
30H
30H
30H
30H
30H
30H
(H)
(L)
(H)
(L)
(H)
(L)
(H)
(L)
(H)
–
–
(L)
(H)
(L)
Response message
during normal
communication
(GOT
PLC No.
ETX Sum check
Following
*1
03H
E
E
43H
43H
(H)
(L)
Sum check is performed in this range.
Character B section
*1
Host
Address No. Year data
Month data
Day data
Hour data Minute data
Second
data
Day-ofweek data
0
0
0
4
0
6
0
1
1
8
4
6
4
9
0
2
30H
30H
30H
34H
30H
36H
30H
31H
31H
38H
34H
36H
34H
39H
30H
32H
(H)
(L)
(H)
(L)
(H)
(L)
(H)
(L)
(H)
(L)
(H)
(L)
(H)
(L)
(H)
(L)
(Continued to next page)
2. MICROCOMPUTER CONNECTION (SERIAL)
2.5 Message Formats
2 - 45