EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-F FX5 - 31.3 Mechanical OPR

Mitsubishi Electric MELSEC iQ-F FX5
958 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
31 POSITIONING INSTRUCTION
31.3 Mechanical OPR
429
31
31.3 Mechanical OPR
If forward rotation pulses or reverse rotation pulses are generated, the positioning instruction will increase or decrease the
value of the current address.
When the power of the CPU module is turned off, the value stored in the current address will be erased. For this reason, after
turning on the power again, be sure to adjust the value of the current address in the CPU module to the current position of the
machine. The positioning function uses the DSZR/DDSZR instruction (OPR instruction) to adjust the value of the current
address in the CPU module to the current mechanical position.
DSZR/DDSZR
This instruction executes mechanical OPR.
Setting data
Description, range, data type (DSZR)
FX5 operand
FX3 compatible operand (Supported only for CPU module)
*1 OPR speed and creep speed can be changed during positioning operation. (Page 372 Command speed change during positioning
operation)
Ladder ST FBD/LD
ENO:=DSZR(EN,s1,s2,d1,d2);
ENO:=DDSZR(EN,s1,s2,d1,d2);
Operand Description Range Data type Data type (label)
(s1) Word device number storing OPR speed or data
*1
1 to 65535
(User system unit)
16-bit unsigned binary ANY_ELEMENTARY
(WORD)
(s2) Word device number storing creep speed or data
*1
1 to 65535
(User system unit)
16-bit unsigned binary ANY_ELEMENTARY
(WORD)
(d1) Axis number from which pulses are output FX5S CPU module
K1 to K4
FX5UJ CPU module
K1 to K3, K5 to K12
FX5U/FX5UC CPU module
K1 to K12
16-bit unsigned binary ANY_ELEMENTARY
(WORD)
(d2) Bit device number of the instruction execution
complete flag and abnormal end flag
Bit ANY_BOOL
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
Operand Description Range Data type Data type (label)
(s1) Bit device number to which the near-point dog signal
is input
Bit ANY_ELEMENTARY
(BOOL)
(s2) Bit device number to which the zero signal is input Bit ANY_ELEMENTARY
(BOOL)
(d1) Bit device number (Y) from which pulses are output FX5S/FX5U/FX5UC CPU
module
Y0 to Y3
FX5UJ CPU module
Y0 to Y2
Bit ANY_ELEMENTARY
(BOOL)
(d2) Bit device number from which rotation direction is
output
Bit ANY_BOOL
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
(s2) (d1) (d2)(s1)
EN ENO
d2s1
s2
d1

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-F FX5

Related product manuals