Omron SYSMAC C20P Operation Manual page 70

Sysmac programmable controllers
Hide thumbs Also See for SYSMAC C20P:
Table of Contents

Advertisement

Timer and Counter Instructions
Example
Setup
62
Bit
Input word
00
T
Time Expired Flag
0
01
T
Time Expired Flag
1
02
T
Time Expired Flag
2
03
T
Time Expired Flag
3
04
05
06
07
08
09
Cannot be used.
10
11
12
13
14
15
There is a SET indicator and a time expired indicator on the Analog Timer
Unit for each timer. These indicators are lit when the corresponding timer's
Start Control Bit or Time Expired Flag is ON.
When the Start Control Bit is turned ON, the timer begins operation and the
SET indicator is lit.
When the time set with the internal or external adjustment has expired, the
corresponding Time Expired Flag is set. The time up indicator also lights.
If the Pause Control Bit for a timer is turned ON from the PC, the timer will
cease timing and the present value (PV) will be retained. Timing will resume
when the Pause Control Bit is turned OFF. If the Start Control Bit is turned
OFF before the set value (SV) of the timer has expired, the Time Expired
Flag will not be turned ON.
Timer ranges are set in the output words as shown in the following table.
Timer
Output
word bit
T
08
0
09
T
10
1
11
T
12
2
13
T
14
3
15
This example uses an Analog Timer Unit connected to a C28K CPU. Word
allocations are shown in the following table.
Output word
T
Start Control Bit
0
T
Start Control Bit
1
T
Start Control Bit
2
T
Start Control Bit
3
T
Pause Control Bit
0
T
Pause Control Bit
1
T
Pause Control Bit
2
T
Pause Control Bit
3
T
Range Bits
0
T
Range Bits
1
T
Range Bits
2
T
Range Bits
3
0.1 to 1s
1 to 10s
OFF
ON
OFF
OFF
OFF
ON
OFF
OFF
OFF
ON
OFF
OFF
OFF
ON
OFF
ON
Section 5–11
10 to 60s
1 to 10m
OFF
ON
ON
ON
OFF
ON
ON
ON
OFF
ON
ON
ON
OFF
ON
OFF
ON

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c28pSysmac c40pSysmac c60p

Table of Contents