150
Using with CS1-series PCs
Appendix D
Transferring Data Using the IOWR Instruction
• With the execution start bit as the input condition, the IOWR instruction is executed and the present value
of counter 1 is transferred to the High-speed Counter Unit.
• The Equals Flag turns ON when data has been transferred normally using the IOWR instruction. If the data
could not be transferred normally, the Equals Flag turns OFF and an error is registered with the N.C. con-
dition of the Equals Flag.
• When the Data Transfer Completion Flag turns ON (word n+6, bit 14), a signal indicating that writing has
been completed turns ON.
@IOWR (223)
#F100
D00000
#00020000
200606
200607
a
DIFU (013)
b
DIFD (014)
c
200614
b
c
Start
Counter
Operating
Flag
(word n+6,
bit 06)
Unit Busy Flag
(word n+6,
bit 07)
Equals Flag
Data Transfer
Completion Flag
(word n+6, bit 14)
Data has been written.
Data has been written.
200615
Error Flag
(word n+6,
bit 15)
The present counter value
of counter 1 is written.
Unit number 0
Number of words
(2 words required
for present value)
#F100
#0002 0000
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 ...