76
Data Transfer Programs
Section 7-5
Note
Execute data transfer when the counters are not operating, otherwise no cor-
rect output pattern will be obtainable.
7-5-2
Transfer Data Format (IR and DM Areas of PC)
Upper and Lower Limits
N: The first word number of the area set with the PC
A block of data consists of a range number, upper limit, lower limit, and output
pattern. Upper and lower limits must satisfy the following conditions.
Linear mode: –8,388,608
≤
Lower limit
≤
Upper limit
≤
8,388,607
Note
Lower and upper limits cannot both be set to 8,388,607.
Circular mode: 0
≤
Lower limits; Upper limits
≤
65,535
If the range of upper and lower limits includes 0, the lower limit will be larger
than the upper limit in circular mode.
Example: Present Counter Value
Transfer the present counter value in a block of data. If there is more than one
block of transfer data, set the first block to the present counter value. The
High-speed Counter Unit ignores the data in the succeeding blocks.
Range: 00 to 15
Lower limit
Upper limit
Sign
Set in hexadecimal when counter value mode is hexadecimal.
Output pattern of each bit
(0: OFF; 1: ON)
Set to 0.
External outputs
Internal outputs
Wd N
Wd (N+1)
Wd (N+2 )
Wd (N+3)
Wd (N+4)
Wd (N+5 )
Sign
Sign
Present counter value preset code
F1: Counter 1; F2: Counter 2; F3: Counters 1 and 2
Present counter value preset data
Range:
−
8,388,608 to 8,388,607
Sign: 0 for + and F for
−
Set in hexadecimal when counter value mode is hexadecimal.
The present counter value is set for counter
2 only if preset code F3 is designated.
Set to 0.
Sign
Wd N
Wd (N+1)
Wd (N+2 )
Wd (N+3)
Wd (N+4)
Wd (N+5 )
Sign
Not used.
Summary of Contents for C200H-CT021
Page 1: ...C200H CT021 High speed Counter Unit Operation Manual Revised December 2000 ...
Page 2: ...iv ...
Page 4: ...vi ...