Variable Area Read - Omron G3ZA - MANUAL 2 User Manual

Multi-channel power controller
Hide thumbs Also See for G3ZA - MANUAL 2:
Table of Contents

Advertisement

Variable Area Read

3-5

Variable Area Read

Command
Note
Response
24
This command reads set values.
Variable
Read start address
MRC
SRC
type
"01"
"01"
2
2
2
In the G3ZA, the bit position is not used. Set it to "00".
Response code
MRC
SRC
"01"
"01"
2
2
4
■ Variable Type and Read Start Address
Refer to the Parameter List on page 66 in the Appendix .
■ Number of Elements
Specify the number of elements for which the set value is to be read. Up to 25
(0019H) elements can be specified.
Read data length
For double-word (8-digit) variable type
For word (4-digit) variable type
■ Response Code
Response code
"1001"
"1002"
"1101"
"110B"
"1100"
"2203"
"0000"
Example: The following command reads the control variable for channel 1
(set value: 8 digits).
Command: [STX]010000101C00001000001[ETX][BCC]
Response: [STX]0100000101000000000000[ETX][BCC]
Example: The following command reads the control variable for channel 1
(set value: 4 digits).
Command: [STX]010000101800001000001[ETX][BCC]
Response: [STX]010000010100000000[ETX][BCC]
■ Precautions
• "0" is set when an address with no data set is read.
Bit
position
No. of elements
"00"
4
2
4
Set values
No. of elements x 8 or 4
25 max. (0019H)
50 max. (0032H)
Error name
Command length too long
Command length too short
Area type error
Response length too long
Parameter error
Operation error
Normal end
Section 3-5
No. of elements
Cause
The command is too long.
The command is too short.
The specified variable type
does not exist.
The number of elements is
larger than the maximum
number allowed.
The bit position specification
is not "00".
An error occurred in nonvola-
tile memory.
Processing was completed
normally.

Advertisement

Table of Contents
loading

Table of Contents