Omron SYSMAC C20P Operation Manual page 81

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

Advertisement

Timer and Counter Instructions
1813 (normally ON)
Transfers limit values
S1 to S32 to DM.
Output thru HR 0
0002
1813 (normally ON)
Transfers limit values
S33 to S64 to DM.
Output thru HR 1
0002
In this program, each bit in the specified words, HR 0 and HR 1 are turned
ON under the following conditions (where S is the present count value of the
high-speed counter stored as the data of CNT 47):
Where S1
S
S2,
Where S3
S
S4,
Where S31
S
S32, HR 015 is ON.
Where S33
S
S34, HR 100 is ON.
Where S63
S
S64, HR 115 is ON.
Note that in the program just mentioned, the present value in the counter
buffer is transferred to counter number 47 at points A and B. In this case, if
S31 (=1,000) < S < S32 (=2,000) and S33 (=2,000) < S < S34 (=3,000), and
if the present count value of the first high-speed counter (at point A) is 1,999
and that of the second counter (at point B) is 2,003, HR 015 and HR100 may
be simultaneously turned ON. If it is necessary to avoid this, set the values of
HR 000 is ON.
HR 001 is ON.
Section 5–11
MOV(21)
"S1"
DM 32
MOV(21)
"S2"
DM 33
MOV(21)
"S32"
DM 35
HDM(98)
A
HR 0
MOV(21)
"S33"
DM 32
MOV(21)
"S34"
DM 33
MOV(21)
"S64"
DM 35
HDM(98)
B
HR 1
73

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c28pSysmac c40pSysmac c60p

Table of Contents