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
Contents
k
FF
k+1 and k+2
Counter value 1
k+3
FF
k+4 and k+5
Counter value 2
k+6
FF
k+7 and k+8
Counter value 3
k+9 through k+11
Ignored
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).
Procedure
1, 2, 3... 1.
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.
Application Example 1:
Transferring Range
Parameters
Linear and Circular Modes
Section 4-2
Summary of Contents for SYSMAC C200H-CT001-V1
Page 1: ...Cat No W141 E1 4 High speed Counter Units SYSMAC C200H CT001 V1 CT002 OPERATION MANUAL...
Page 2: ......
Page 3: ...C200H CT001 V1 CT002 High speed Counter Units Operation Manual Revised September 2000...
Page 4: ...iv...
Page 6: ...vi...
Page 8: ......
Page 10: ......
Page 20: ......
Page 46: ......
Page 96: ......
Page 98: ......