Mitsubishi F940GOT-SWD-E Operation Manual page 38

Graphic operation terminals melsec-got
Hide thumbs Also See for F940GOT-SWD-E:
Table of Contents

Advertisement

Graphic Operation Terminal F940GOT
• Command
Use the following commands for communication with the GOT.
- Read . . . Read the data stored in the GOT.
Command
STX
"0" at the head indicates a read command.
Read address :Using ASCII codes, specify the head address (hexadecimal) of the data
Size
Response
STX
Data
Example: When 2-byte data is read from the address 12EH (format = Type 2)
Command
STX
02H
30H
Response
STX
02H
35H
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).
'0'
Read Adress
stored in the GOT. The read address should be specified in turn from the
upper digit.
:In the unit of byte, specify the size of the read data (01H to FFH). The
maximum allowable size is 255 bytes. "FFH" indicates 255 bytes.
The size should be specified in the order of upper digit and lower digit (in
ASCII codes). For example, enter "8 + A" to specify 8AH bytes (= 138
bytes).
Data 1
Data 2
:The data stored in the specified address is stored in turn.
One-byte data is converted into ASCII codes, and stored in the order of
upper digit and lower digit.
'0'
'0'
'1'
'2'
30H
31H
32H
45H
'5'
'A'
'3'
'8'
ETX
41H
33H
38H
03H
Size
CR
...................
'E'
'0'
'2'
ETX
30H
32H
03H
36H
'E'
'4'
45H
34H
Sum = E4H
Type 2 may be used.
CR
'6'
'D'
44H
Sum = 6 DH
Memory inside GOT
12E
12F
Each data is expressed in
hexadecimal.
Introduction 1
5A
38
1-24

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F940got-lwd-e

Table of Contents