
95
Data Transfer Programs
Section 8-5
8-5-2
Program Example for Preset Value Change
A preset value is changed with external data transfer switches in the following
example.
1,2,3...
1.
Prepare an area of the source storing the transfer data.
Set as shown in the following diagram because the unit number is 0, the
PC data area is the DM, and the number of transfer data blocks is 6.
To transfer more than six transfer data blocks, store them in a different ar-
ea, and move three data blocks to the DM area from DM 0900 to transfer
each time. A total of six blocks of transfer data can be transferred at a time.
2.
Store the counter preset value data to be used in a DM area that is not
used by the Special I/O Unit.
The words must be from DM 0900 on.
Unit No. 0
Wd 0
Rotary encoder
SW1 (00000): Start switch
SW2 (00001): Data transfer switch
16
points
First word number of source
Number of transfer data blocks and
PC data area
DM 1003
DM 1004
to
DM 0903
DM 0905
DM 0906
DM 0908
DM 0909
DM 0911
DM 0912
DM 0914
DM 0915
DM 0900
DM 0901
DM 0902
Set a total of
six transfer
data blocks
with the
same meth-
od.
to
to
to
DM 0917
to
(1)
(2)
(3)
(4)
(5)
(6)
to
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 ...