Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 109

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Zone control of 16-bit/32-bit binary data
Instruction symbol
Processing details
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
■Scaling 16-bit/32-bit binary data (point coordinates)
Instruction symbol
Processing details
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
SCLP
(d).
SCL_U
Scaling conversion is performed based on the scaling conversion data stored in the device
specified by (s2) and later.
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
DSCLP
(d).
DSCL_U
Scaling conversion is performed based on the scaling conversion data stored in the device
specified by (s2) and later.
DSCLP_U
■Scaling 16-bit/32-bit binary data (XY coordinates)
Instruction symbol
Processing details
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
SCL2P
(d).
SCL2_U
Scaling conversion is performed based on the scaling conversion data stored in the device
specified by (s2) and later.
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
DSCL2P
(d).
DSCL2_U
Scaling conversion is performed based on the scaling conversion data stored in the device
DSCL2P_U
specified by (s2) and later.
Special counter instructions
■Counting up or down the current value (1-phase input)
Instruction symbol
Processing details
UDCNT1
Updates the current value of the specified counter.
(s1)+1
(1) Current value of Cn
(2) Contact of Cn
■Counting up or down the current value (2-phase input)
Instruction symbol
Processing details
UDCNT2
Updates the current value of the counter depending on the status of phases A and B pulses.
(s1)+1
(1) Current value of Cn
(2) Contact of Cn
(s1)
Up
Down
(1)
0
1
2 3 4
5
6 7 6 5
4
3 2 1 0 -1-2 -3 -2 -1 0
(2)
(s1)
0
1
2
3
4
5
4
3
2
1
(1)
(2)
Up
0
-1
Reference
Page 865
ZONE(P)(_U)
Page 867
DZONE(P)(_U)
Reference
Page 869 SCL(P)(_U)
Page 872
DSCL(P)(_U)
Reference
Page 875 SCL2(P)(_U)
Page 877
DSCL2(P)(_U)
Reference
Page 879 UDCNT1
Reference
Page 881 UDCNT2
2 CPU MODULE INSTRUCTIONS
2.3 Application Instructions
2
107

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents