IDEC FC4A-C10R2 User Manual page 376

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

22: D
/ T
UAL
EACHING
Valid Operands
Operand
S1 (Source 1)
S2 (Source 2)
D1 (Destination 1)
D2 (Destination 2)
For the valid operand number range, see page 6-2.
Internal relays M0 through M1277 can be designated as D1. Special internal relays cannot be designated as D1.
Destination operand D2 (system work area) uses 2 data registers starting with the operand designated as D2. Data registers
D0 through D1298 and D2000 through D7998 can be designated as D2. The two data registers are used for a system work
area. Do not use these data registers for destinations of other advanced instructions, and do not change values of these data
registers using the Point Write function on
operate correctly.
The dual timer instructions cannot be used in an interrupt program. If used, a user program execution error will result,
turning on special internal relay M8004 and the ERR LED on the CPU module.
Examples: DTML, DTIM, DTMH, DTMS
DTML
I0
DTIM
DTMH
DTMS
250
ON
I0
OFF
ON
M10
OFF
ON
M20
OFF
1 sec
ON
M30
OFF
ON
M40
OFF
250 ms
Instruction
Increments
DTML
1 sec
DTIM
100 ms
DTMH
10 ms
DTMS
1 ms
For the timer accuracy of timer instructions, see page 7-8.
22-2
T
I
IMER
NSTRUCTIONS
Function
ON duration
OFF duration
Dual timer output
System work area
WindLDR
S1
S2
D1
2
1
M10
D100
S1
S2
D1
10
5
M20
D200
S1
S2
D1
50
25
M30
D300
S1
S2
D1
125
M40
D400
2 sec
1 sec
0.5 sec
500 ms
250 ms
125 ms
S1
2
10
50
250
« FC4A M
— — — — — —
— — — — — —
— — — — — — D0-D7998
. If the data in these data registers are changed, the dual timer does not
While input I0 is on, four dual timer instructions turn on and off
D2
the destination operands according to the on and off durations
designated by source operands S1 and S2.
D2
D2
D2
ON duration
1 sec × 2 = 2 sec
100 ms × 10 = 1 sec
10 ms × 50 = 500 ms
1 ms × 250 = 250 ms
S
U
'
M
ICRO
MART
SER
S
ANUAL
I
Q
M
R
T
C
X
X
— —
S2
1 sec × 1 = 1 sec
1
100 ms × 5 = 0.5 sec
5
10 ms × 25 = 250 ms
25
1 ms × 125 = 125 ms
125
»
D
Constant
X
0-65535
X
0-65535
OFF duration

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents