Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
590
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
24 Others – FNC181 to FNC189
24.3 FNC186 – DUTY / Timing Pulse Generation
4) When the command input is set to ON, the operation is started. The timing clock output destination device
is set to ON or OFF by END instruction.
Even if the command input is set to OFF, the operation is not stopped.
In the STOP mode, the operation is suspended. When the power of the PLC is turned OFF, the operation is
stopped.
5) When "n1" and "n2" are set to "0", the device is set to the following status:
Related devices
Caution
DUTY (FNC186) instruction can be used up to 5 times (points).
It is not permitted, however, to use the same timing clock output destination device for two or more DUTY
(FNC186) instructions.
Errors
An operation error is caused in the following cases; The error flag M8067 turns ON, and the error code is stored in
D8067.
When "n1" and/or "n2" is less than "0" (error code: K6706)
When any device other than M8330 to M8334 is set to (error code: K6705)
Program example
In the program shown below, when X000 is set to ON, M8330 is set to ON for 1 scan and OFF for 3 scans.
n1/n2 status
ON/OFF status
n1 = 0, n2 0
Fixed to OFF
n1 > 0, n2 = 0
Fixed to ON
Device Name Description
M8330 Timing clock output 1
Timing clock output in DUTY (FNC186) instruction
M8331 Timing clock output 2
M8332 Timing clock output 3
M8333 Timing clock output 4
M8334 Timing clock output 5
D8330
Counted number of scans for
timing clock output 1
Counted number of scans for timing clock output 1 in DUTY (FNC186) instruction
D8331
Counted number of scans for
timing clock output 2
Counted number of scans for timing clock output 2 in DUTY (FNC186) instruction
D8332
Counted number of scans for
timing clock output 3
Counted number of scans for timing clock output 3 in DUTY (FNC186) instruction
D8333
Counted number of scans for
timing clock output 4
Counted number of scans for timing clock output 4 in DUTY (FNC186) instruction
D8334
Counted number of scans for
timing clock output 5
Counted number of scans for timing clock output 5 in DUTY (FNC186) instruction
D
D
D
D
D
D
D
X000
FNC186
DUTY
K3 M8330
END
K1
OFF
OFF ON
ONX000
M8330
1 scan
3 scans
0
1
2
3
0
1
D8330
current value