118
IORD and IOWR Instructions
Section 10-1
Example:
Set C to 0005 and D to F005 to write range 5 of unit F in linear or circular
mode.
Control Code CCXX
A total of 1 to 99 words can be specified. Specify the total number of words to
which data is written.
Example:
Set C to CC07 and D to F002 to write the maximum count value of counter 1
in circular mode to words m+7 and m+8.
Control Codes F100, F200, and F300
F1 or F2 is used to write the present counter value of counter 1 or 2. Set D to
X002 because each of them uses two words.
F3 is used to write the present counter values of both counters 1 and 2. Set D
to X004 because F3 uses four words.
Example:
Set C to F100 and D to F002 to write the present counter value of counter 1 of
unit number F in linear or circular mode.
Set C to F300 and D to 1004 to write the present counter values of counters 1
and 2 of unit number 1 in linear or circular mode.
S: Source Address
Set a data area of the PC that stores data written to the High-speed Counter
Unit.
Example:
Set C to 0005, S to D0100, and D to F005 to write range 5 of Unit F stored in
DM 0100 in linear or circular mode.
Control Code EC00
Example:
Set C to EC00, S to 000, and D to 0001 to transfer the error clear command.
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 ...