Download AD51H-BASIC Programming Manual (Command)

Transcript
11 INSTRUCTIONS AND FUNCTIONS
MELSEC-Q
Format 2 control table
%(0)
••••••
%(1)
••••••
%(2)
••••••
%(3)
••••••
%(4)
••••••
%(5)
••••••
%(6)
••••••
%(7)
••••••
Format 2 control table
• Specify 256 (&H100).
Specify the network number of the network to be accessed.
See Section 4.2.2 for the allowable specification range.
Specify the station number of the PLC CPU from which
data is read.
See Section 4.2.2 for the allowable specification range.
Detailed error codes are stored here.
See Appendix 4.4.2 for the details about the error codes.
Processing code
• Specify 516 (&H204).
Specify the number of points for word devices (lower) and
bit devices (higher) to be written. 1
Specify the number of double-word device points to be
written. 1
Specify the device type using the defined code.
• See Section 4.2.5 for the code numbers.
%(8)
••••••
Specify the device number (lower) of the specified device.
See Section 4.2.5 for the allowable specification range.
%(9)
••••••
Specify the device number (higher) of the specified device.
See Section 4.2.5 for the allowable specification range.
%(10) • • • • • •
Specify the device processing unit.
• • • 0 (&H0)
• When writing in bit units
• When writing to word devices
in word/double-word units
• • • 0 (&H0)
• When writing to bit devices in
word units
• • • 8960 (&H2300)
• When writing to bit devices in
double-word units
• • • 9984 (&H2700)
%(11) • • • • • •
Fixed value
• Specify 0 (&H0).
1: The number of points to be written should be within the following ranges:
• In case of a Q series CPU
1 ≤ (number of bit device points 12 + number of word device points 12
+ number of double-word device
points 14) ≤ 1920 points
• In case of a QnA series CPU
1 ≤ (number of bit device points 12+ number of word device points 12
+ number of double-word device
points 14) ≤ 960 points
11 - 312
11 - 312