Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
24 Applied Instructions (Others)
24.3 DUTY / Timing Pulse Generation
590
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Function and operation explanation
1. 16-bit operation (DUTY)
1) The timing clock output of the device specified by is set to ON and OFF with the ON duration for "n1"
scans and OFF duration for "n2" scans.
2) Specify either one among M8330 to M8334 as the timing clock output destination device specified by
.
3) The counted number of scans is stored in either one among D8330 to D8334 in accordance with the
timing clock output destination device specified by .
The counted number of scans stored in either one among D8330 to D8334 is reset when the counted
value reaches "n1 + n2" or when the command input (instruction) is set to ON.
4) When the command input is set to ON, the operation is started. The timing clock output destination device
specified by 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 specified by is set to the following status:
Related devices
Timing clock output destination Scan counting device
M8330 D8330
M8331 D8331
M8332 D8332
M8333 D8333
M8334 D8334
n1, n2 status ON/OFF status of (d)
n1 = 0,n2 0 d = fixed to OFF
n1 > 0,n2 = 0 d = fixed to ON
Device Name Description
M8330 Timing clock output 1
Timing clock output in DUTY 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 instruction
D8331
Counted number of scans for
timing clock output 2
Counted number of scans for timing clock output 2 in DUTY instruction
D8332
Counted number of scans for
timing clock output 3
Counted number of scans for timing clock output 3 in DUTY instruction
D8333
Counted number of scans for
timing clock output 4
Counted number of scans for timing clock output 4 in DUTY instruction
D8334
Counted number of scans for
timing clock output 5
Counted number of scans for timing clock output 5 in DUTY instruction
Timing clock output
destination
Scan number count
OFF
"n1" scans
ON
"n1 + n2" scans
0
"n2" scans
d
Number of scans (operation cycles) to remain OFF
DUTY
EN ENO
d
n1
n2
Timing clock output destination
Command
input
Number of scans (operation cycles) to remain ON