Mitsubishi Electric FX3S Series User Manual page 103

Hide thumbs Also See for FX3S Series:
Table of Contents

Advertisement

FX
/FX
/FX
3S
3G
3GC
Built-in Positioning Functions
2. Zero return instruction (ZRN instruction)
Zero return will be performed in the reverse rotation direction only.
(During zero return, the value indicated by the current value register will be decreased.)
To perform zero return in the forward rotation direction using the ZRN instruction (zero return instruction):
To perform zero return in the forward rotation direction, create a program to control the output (Y) relay set as
a "rotational direction signal" as follows:
a) Turn on Y (rotational direction signal).
b) Refresh Y output using the REF (FNC 50) instruction.
c) Execute the ZRN instruction (zero return instruction).
d) Using the execution completion flag (M8029) of the ZRN instruction (zero return instruction), reset Y
(rotational direction signal).
Example program:
The following program uses Y004 as the rotational direction signal for Y000.
Command
input
M12
Downloaded from
ManualsNet.com
/FX
/FX
PLC User's Manual - Positioning Control Edition
3U
3UC
FNC156
DZRN
M8029
M8329
search engine
For details on programming, refer to Section 4.7.
To use
main unit (transistor output), refer to Section 4.8.
the
To use a high-speed output special adapter, refer to Section 4.9.
RST
M10
RST
M11
SET
M12
SET
Y004
FNC 50
Y000
REFP
S
S
S
Y000
1
2
3
RST
Y004
SET
M10
RST
M12
RST
Y004
SET
M11
RST
M12
4 Before Programming
4.3 Various Special Relays for Operation Commands
Turns on (sets) Y004 as the
a)
rotational direction signal of Y000
(pulse output destination).
Refreshes Y000 to Y007.
b)
K8
c)
Executes ZRN instruction.
Resets the rotational direction
d)
signal (Y004) using the instruction
execution complete flag.
Origin data reading completion flag
Resets the rotational direction signal
(Y004) using the instruction
execution abnormal end flag.
Abnormal end of zero return
A
B
Apx.
B - 59

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3g seriesFx3gc seriesFx3u seriesFx3uc series

Table of Contents