Download AD51H-BASIC Programming Manual (Command)

Transcript
11 INSTRUCTIONS AND FUNCTIONS
MELSEC-Q
Format 1 control table
%(0)
••••••
%(1)
••••••
%(2)
••••••
%(3)
••••••
%(4)
••••••
%(5)
••••••
%(6)
••••••
%(7)
••••••
%(8)
••••••
%(9)
••••••
Specify the station number of the PLC CPU from which
data is to be read.
See Section 4.2.2 for the allowable specification range.
Processing code
• Specify 516 (&H204).
Specify the number of points for the word device (lower
digit) or bit device (higher digit) to be read. 1
Specify the number of double-word device points to be
read. 1
Fixed value
• Specify 0 (&H0).
Specify the device using the defined code.
• See Section 4.2.5 for the code numbers.
Specify the device number (lower digit) of the specified
device.
See Section 4.2.5 for the allowable specification range.
Specify the device number (higher digit) of the specified
device.
See Section 4.2.5 for the allowable specification range.
Specify the device processing unit.
• • • • 0 (&H0)
• When reading in bit units
• When reading word devices
• • • • 0 (&H0)
in word/double - word units
• When reading bit devices in
word units
• • • • 8960 (&H2300)
• When reading bit devices in
double - word units
• • • • 9984 (&H2700)
Fixed value
• Specify 0 (&H0).
1 : The number of points to be read should be within the appropriate range:
• In case of a Q series CPU
1 (number of bit device points + number of word device points
+ number of double - word device points) 192 points
• In case of a QnA series CPU
1 (number of bit device points + number of word device points
+ number of double - word device points) 96 points
Note that for ZR devices the number of points that can be read should be multiplied by 2.
11 - 219
11 - 219