User`s manual

Graphic Operation Terminal F930GOT Additional Functions (V 2.20/3.00 or later) 15
15-13
15.5.3 Communication command
When two or more GOT units are connected, use the following commands.
(Refer to Paragraph 1.12.)
Read with station No.
Read the data stored in the GOT having the specified station No.
’A’ at the head indicates a read command with station No.
Station No. Using ASCII codes, specify the GOT station No. (decimal).
For example, if the station No. is 01, input ’0 + 1’. If the station No. is 15,
input ’1 + 5’.
Read address Using ASCII codes, specify the head address of the data (hexadecimal)
stored in the GOT.
The read address should be specified in turn from the upper digit.
Size In the unit of byte, specify the size of the read data (01H to FFH). The max-
imum allowable size is 255 bytes.
The size should be specified in the order of upper digit and lower digit in
ASCII codes.
For example, if the size is 8AH (= 138) bytes, input ’8 + A’.
Data The data stored in the specified address is stored in turn.
1-byte data is converted into ASCII codes, and stored in the order of upper
digit and lower digit.
CRSizeSTX Read address'A' Type 2 may be used.
Command
Station
No.
CRSTX
žžžžžžžžžžžžžžžžžžžžžžžžžžžž
Data 1
Response
Data 2
'F'STX
Command
'A' '0' '1' '2' 'E' '0' '2' ETX 'D'
02H 41H 30H 31H 32H 45H 30H 03H 44H 46H32H
Sum = DFH
'0' '1'
30H 31H
STX
Response
'5' 'A' '3' '8' ETX 'E' '4'
02H 35H 41H 33H 38H 03H 45H 34H
Sum = F4H
Memory inside GOT
5A
38
12E
12F
Each data is expressed
in hexadecimal.
Example: When 2-byte data is read from the address 12EH in the GOT unit having the
station No. 01 (format = Type 2)
12EH stores the upper side of the word data D151. 12FH stores the lower side of the
word data D151.
The value of D151 is 5A38H (= 23096).