41
TRANSFER DATA can be set to change output ranges or, if the first word being
transferred contains FF, it can be set to preset or change the current counter val-
ue. Data in the proper format must be prepared in consecutive words in the PC
through the PC program or the Programming Console. The parameters de-
scribed below are required to transfer data. These are followed by explanations
of the data format used to prepare data in the PC data area and application ex-
amples of TRANSFER DATA for transferring range parameters and counter val-
ue. Data transfer is initiated on the rising edge of TRANSFER DATA and is com-
pleted at the next I/O refresh. Completion can be confirmed with the transfer
completed flag, bit 04 of word n+4. Transfer should be executed only when the
Counter Unit is not counting. Execution during counting may cause incorrect
outputs.
Word n+2
Indicates the first PC word from which data is to be transferred.
TRANSFER DATA Area
Word n+3, bits 03 through 00
Set to between 0 and 4.
Specifies the PC data area from which data is to be transferred.
Specifications are as follows:
Setting
Data area
0
DM
1
IR
2
LR
3
HR
4
AR
Note Use only the following words in the DM and IR areas: DM 0000 to DM 1999
and IR 000 to IR 235. Although the C200HS provides larger areas, if any
words not within the specified ranges are used, an error will occur and an
error code of 34 will be output.
Number of Transfers
Word n+3, bits 15 through 08
Set to between 1 and 3.
When changing range parameters, data for up to three ranges can be trans-
ferred at the same time. When transferring the counter value, only one value can
be transferred at a time.
PC Data Format
Six consecutive words are used as the source of a data transfer. These
words must all be in the same data area. If data is transferred for more than
one range, the six words for each following transfer must continue consecu-
tively on from the last word for the first transfer. Bits 07 through 00 of the first
PC word actually designate either the range number for which data is to be
transferred or, if the bits contain FF, they specify that a counter value is to be
transferred.
If range parameters are being transferred, the remaining five words contain the
lower limit, upper limit, and output pattern for the specified range in the same
format that this data is contained in the DM area. If, for example, range #0 pa-
rameters were being transferred, the second and third PC words would replace
parameters in DM words m+10 and m+11, i.e., the lower limit for range #0.
If a counter value is being transferred, the second and third PC words contain the
counter value in the same format that it is held in words n+6 and n+7, and the last
three words are ignored. More efficient use of PC words is possible, however,
when preparing more than one counter value for transfer. To do this, input FF into
TRANSFER DATA
Beginning Word Number
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: ......