IDEC FC4A-C10R2 User Manual page 192

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

7: B
I
ASIC
NSTRUCTIONS
Timer Circuit
The preset value 0 through 65535 can be designated using a data register D0 through D1299 or D2000 through D7999;
then the data of the data register becomes the preset value. Directly after the TML, TIM, TMH, or TMS instruction, the
OUT, OUTN, SET, RST, TML, TIM, TMH, or TMS instruction can be programmed.
Ladder Diagram
TIM
T5
D10
I1
• Timedown from the preset value is initiated when the operation result directly before the timer input is on.
• The timer output turns on when the current value (timed value) reaches 0.
• The current value returns to the preset value when the timer input is off.
• Timer preset and current values can be changed using
again. From the
WindLDR
set value, specify the timer number with a capital T and a new preset value. If the timer preset value is changed during
timedown, the timer remains unchanged for that cycle. The change will be reflected in the next time cycle. To change a
timer current value, specify the timer number with a small t and a new current value while the timer is in operation. The
change takes effect immediately.
• If the timer preset value is changed to 0, then the timer stops operation, and the timer output is turned on immediately.
• If the current value is changed during timedown, the change becomes effective immediately.
• For the data movement when changing, confirming, and clearing preset values, see page 7-13. Preset values can also be
changed and changed preset values can be confirmed using the HMI module. See pages 5-35 and 5-36.
Timer Accuracy
Timer accuracy due to software configuration depends on three factors: timer input error, timer counting error, and timeout
output error. These errors are not constant but vary with the user program and other causes.
Timer Input Error
The input status is read at the END processing and stored to the input RAM. So, an error occurs depending on the timing
when the timer input turns on in a scan cycle. The same error occurs on the normal input and the catch input. The timer
input error shown below does not include input delay caused by the hardware.
Minimum Error
Program Processing
ON
Actual Input
OFF
ON
Input RAM
OFF
Timer Start
When the input turns on immediately before the
END processing, Tie is almost 0. Then the timer
input error is only Tet (behind error) and is at its
minimum.
Tie: Time from input turning on to the END processing
Tet: Time from the END processing to the timer instruction execution
7-8
Program List
Instruction
LOD
Q0
TIM
OUT
menu bar, select Online > Monitor, then select Online > Point Write. To change a timer pre-
END
TIM
END
Tie
Tet
1 scan time
« FC4A M
Data
I1
T5
D10
Q0
without downloading the entire program to the CPU
WindLDR
Program Processing
Actual Input
OFF
Input RAM
OFF
Timer Start
When the input turns on immediately after the END pro-
cessing, Tie is almost equal to one scan time. Then the
timer input error is Tie + Tet = one scan time + Tet
(behind error) and is at its maximum.
S
U
'
M
ICRO
MART
SER
S
ANUAL
Caution
• For restrictions on ladder programming
of timer instructions, see page 29-22.
Maximum Error
END
TIM
END
ON
ON
Tie
1 scan time
»
TIM
Tet

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents