
39
Program Examples
Section 4-3
(Turn AR 0100 OFF and ON or turn the C200H
ON, OFF, and ON after set-
ting.)
4-3-3
Program Example to Set 48-point Cam ON/OFF Data
The following example shows how to set ON/OFF data for cam output num-
bers 1 to 48 for bank 1. The source data is moved to DM 0000 to DM 0119
from the dedicated DM Area words for the 48 cam output numbers starting at
DM 3000, i.e., at total of 720 words, and then downloaded to the Unit.
Here, the unit number is 0 (allocated IR Area words: IR 100 to IR 109) and the
operating mode of the CPU Unit is RUN mode.
Overview
Data for up to 8 cam output numbers, or 120 words (16 words per output num-
ber x 8) can be downloaded from the CPU Unit to the Cam Positioner Unit in
one transfer. A total of 6 transfers is thus required to download the data for 48
cam outputs. The cam ON/OFF data is prepared in 6 blocks of 15 words each
DM1000
DM1001
0100
0001
DM0100
DM0101
0101
0030
DM0102
0050
DM0103
0080
DM0104
0115
DM0105
0150
DM0106
0200
DM0107
0260
DM0108
0320
DM0109
0000
...
DM0114
0000
01
01
Dedicated DM
Leading DM number for cam data storage
General DM
Step no. 1
Step no. 2
Step no. 3
Step no. 4
Number of cam data storage combinations
Cam no.
Bank no.
For each step, set the ON data
first and then the OFF data.
If any steps are not to be used,
set either "0000" or "0FFF."
...
25315
10801
10806
10804
10005
END(01)
10005
(ON for 1 cycle.)
(RUN mode)
(Memory load
enabled.)
(Memory load
completed.)
For memory downloading, one DM word at a time
is transferred in a cycle.
Содержание C200H-CP114
Страница 1: ...23 5 7 21 0 18 Cat No W224 E1 2 SYSMAC C200H CP114 Cam Positioner Unit...
Страница 2: ......
Страница 3: ...C200H CP114 Cam Positioner Unit Operation Manual Revised January 2001...
Страница 4: ...iv...
Страница 6: ...vi...
Страница 8: ......
Страница 10: ......
Страница 59: ...45 SECTION 5 Troubleshooting This section provides possible errors and corrections Error Detection 46...
Страница 70: ......