Omron SYSMAC C200H-CT001-V1 Operation Manual page 56

High-speed counter units
Hide thumbs Also See for SYSMAC C200H-CT001-V1:
Table of Contents

Advertisement

Linear and Circular Modes
Application Example 1:
Transferring Range
Parameters
Procedure
1, 2, 3... 1.
42
the first and then every third word and input the counter values into the two words
after each word containing FF. The last counter value must be followed by three
unused words to satisfy the requirement for six words for the last counter value.
This setup is shown on the next page for three counter values, with the first PC
word indicated by k. Words k, k+3, and k+6 can then be designated individually
to set the counter value as required.
PC Word
k
k+1 and k+2
k+3
k+4 and k+5
k+6
k+7 and k+8
k+9 through k+11
The following example shows use of TRANSFER DATA to transfer the upper
limit, lower limit, and output pattern for three ranges. The system configura-
tion consists of a Counter Unit (unit #0) on a C200H PC and an Input Unit
allocated word 00. The Input Unit is connected to two switches: SW1, which
is programmed to START (00000), and SW2, which is programmed to
TRANSFER DATA (00001).
The range parameters are input into the DM area in a section not nor-
mally used by Special I/O Units, starting at DM word 1900 and running
through DM word 1905. Parameters for a second range are input start-
ing at DM word 1906 and run through DM word 1911. A third range is
input into DM words 1912 through 1917.
2.
The beginning word for transfer, the data area, and the number of trans-
fers is set through the program, which is written to move the beginning
word, 1900, into IR word 102 and the number of words and data area,
03 for bits 15 through 08 and 00 for bits 07 through 00, into IR word 103.
Contents
FF
Counter value 1
FF
Counter value 2
FF
Counter value 3
Ignored
Section 4-2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c200h-ct002-v1

Table of Contents