Mitsubishi Electronics FX3GC Garage Door Opener User Manual


 
319
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
12 Data Operation – FNC 40 to FNC 49
12.1 FNC 40 – ZRST / Zone Reset
11
FNC30-FNC39
Rotation and
Shift
12
FNC40-FNC49
Data Operation
13
FNC50-FNC59
High-Speed
Processing
14
FMC60-FNC69
Handy
Instruction
15
FNC70-FNC79
External FX I/O
Device
16
FNC80-FNC89
External FX
Device
17
FNC100-FNC109
Data
Transfer 2
18
FNC110-FNC139
Floating Point
19
FNC140-FNC149
Data
Operation 2
20
FNC150-FNC159
Positioning
Control
4. Caution on simultaneous instances of the ZRST instruction and a counter
The ZRST instruction resets also the last stage and reset state of T and C coils.
Accordingly, if the drive contact of X000 is ON in the following program, the counter executes counting after the ZRST
instruction is executed.
Program in the following way to disable counting after execution of the ZRST instruction:
Program example
1. When using devices in the latch area as non-latch type devices
In the program shown below, when the power to the PLC is turned ON or when the PLC mode is changed to RUN, the
specified ranges of bit devices and word devices are reset at one time.
K10
C0
M0
M0RST
C100C0
FNC 40
ZRST
X000
Circuit program
Timing chart
one operation
cycle
one operation
cycle
one operation
cycle
one operation
cycle
ZRST instruction
execution
OUT instruction
execution
Counting is
executed when
X000 is ON.
OUT instruction
execution
OUT instruction
execution
X000
ON
OFF
ON
OFF
ON
2
1
0
4
3
OFF
Current
value
of C0
M0
K10
C0
Circuit program
M0
M0RST
C100C0
FNC 40
ZRST
X000
M8002
FNC 40
ZRST
M500 M599
Initial pulse
D
1
D
2
M500 to M599 are reset at one time.
FNC 40
ZRST
C235 C255
D
1
D
2
FNC 40
ZRST
S500 S599
D
1
D
2
C235 to C255 are reset at one time.
("0" is written to them, and their contacts are reset.)
S500 to S599 are reset at one time.