2 CPU MODULE INSTRUCTIONS
2.3 Application Instructions
107
2
■
Zone control of 16-bit/32-bit binary data
■
Scaling 16-bit/32-bit binary data (point coordinates)
■
Scaling 16-bit/32-bit binary data (XY coordinates)
Special counter instructions
■
Counting up or down the current value (1-phase input)
■
Counting up or down the current value (2-phase input)
Instruction symbol
Processing details
Reference
ZONE
Adds a bias value to the specified input value (16-bit binary).
ZONEP
ZONE_U
ZONEP_U
DZONE
Adds a bias value to the specified input value (32-bit binary).
DZONEP
DZONE_U
DZONEP_U
Instruction symbol
Processing details
Reference
SCL
Scales the scaling conversion data (16-bit data) in the device specified by (s2) on the basis of the
input value in the device specified by (s1), and stores the operation result in the device specified by
(d).
Scaling conversion is performed based on the scaling conversion data stored in the device
specified by (s2) and later.
SCLP
SCL_U
SCLP_U
DSCL
Scales the scaling conversion data (32-bit data) in the device specified by (s2) on the basis of the
input value in the device specified by (s1), and stores the operation result in the device specified by
(d).
Scaling conversion is performed based on the scaling conversion data stored in the device
specified by (s2) and later.
DSCLP
DSCL_U
DSCLP_U
Instruction symbol
Processing details
Reference
SCL2
Scales the scaling conversion data (16-bit data) in the device specified by (s2) on the basis of the
input value in the device specified by (s1), and stores the operation result in the device specified by
(d).
Scaling conversion is performed based on the scaling conversion data stored in the device
specified by (s2) and later.
SCL2P
SCL2_U
SCL2P_U
DSCL2
Scales the scaling conversion data (32-bit data) in the device specified by (s2) on the basis of the
input value in the device specified by (s1), and stores the operation result in the device specified by
(d).
Scaling conversion is performed based on the scaling conversion data stored in the device
specified by (s2) and later.
DSCL2P
DSCL2_U
DSCL2P_U
Instruction symbol
Processing details
Reference
UDCNT1
Updates the current value of the specified counter.
(1) Current value of Cn
(2) Contact of Cn
Instruction symbol
Processing details
Reference
UDCNT2
Updates the current value of the counter depending on the status of phases A and B pulses.
(1) Current value of Cn
(2) Contact of Cn
(s1)
(s1)+1
0
2 3 4
6 7 6 5
3 2 1 0 -1-2 -3 -2 -1 0
1
5
4
(1)
(2)
Up
Up
Down
(s1)
(s1)+1
1
2
4
5
4
3
1
0
-1
0
3
2
(1)
(2)
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......