Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
589
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
24 Others – FNC181 to FNC189
24.3 FNC186 – DUTY / Timing Pulse Generation
21
FNC160-FNC169
Real Time Clock
Control
22
FNC170-FNC179
External Device
23
FNC180
Alternate
Instructions
24
FNC181-FNC189
Others
25
FNC190-FNC199
Block Data
Operation
26
FNC200-FNC209
Character String
Control
27
FNC210-FNC219
Data
Operation 3
28
FNC220-FNC249
Data
Comparison
29
FNC250-FNC269
Data Table
Operation
30
FNC270-FNC274
Ex-Device
Inverter Comms
24.3 FNC186 – DUTY / Timing Pulse Generation
Outline
This instruction generates the timing signal whose one cycle corresponds to the specified number of operation cycles.
1. Instruction format
2. Set data
3. Applicable devices
S: Specify either one among M8330 to M8334.
Explanation of function and operation
1. 16-bit operation (DUTY)
1) The timing clock output destination 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 .
3) The counted number of scans is stored in either one among D8330 to D8334 in accordance with the timing clock
output destination device .
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.
Operand Type Description Data Type
n1 Number of scans (operation cycles) to remain ON [n1 > 0]
16-bit binary
n2 Number of scans (operation cycles) to remain OFF [n2 > 0]
Timing clock output destination Bit
Oper-
and
Type
Bit Devices Word Devices Others
System User Digit Specification System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
XYMTCSD
.b KnX KnY KnM KnS T C D R
U\G
V Z Modify K H E "
"P
n1 3333 33
n2 3333 33
S 3
Timing clock output destination device
Scan counting device
M8330 D8330
M8331 D8331
M8332 D8332
M8333 D8333
M8334 D8334
FNC 186
DUTY
Mnemonic Operation Condition
16-bit Instruction
7 steps DUTY
Mnemonic Operation Condition
Continuous
Operation
32-bit Instruction
D
D
D
Command
input
FNC186
DUTY
n1 n2
Timing clock output
destination
Timing clock output
destination
D
OFF
"n1" scans
ON
"n1+n2" scans
0
"n2" scans
D
D
D
D