
38
Program Examples
Section 4-3
Program Example
Note It takes approximately 900 ms for the bank number data to be transferred. The
transfer time required varies with the PC’s cycle time. Therefore, as shown in
the example, verify that the transfer has been completed before turning ON
the Operation Flag.
4-3-2
Setting Cam ON/OFF Data
Example
Set the following cam ON/OFF data so that the bank number = 1 and the cam
number = 1.
General DM words used: DM 0100 to DM 0114
Conditions
Unit number = 0 (Allocated word numbers: 100 to 109)
Operation mode selector is set to RUN. (C200H
)
Program Example
Preset the following data in the dedicated DM Area words using a peripheral
device such as the Programming Console.
10000
MOV(21)
#0002
101
25315
10801
CMP(20)
#0002
107
25313
10000
23200
25506
23200
A
10000
END(01)
(ON for 1 cycle.) (RUN mode)
Sets the bank number as "2."
(Always ON)
Waits for word 107 (bank number monitor) to be
set to "0002." (See note below.)
(=)
When word 107 is set to "0002," 23200 turns ON.
Operation instruction
OFF
ON
Cam data
0
°
30
°
50
°
80
°
115
°
150
°
200
°
260
°
320
°
0
°
Содержание 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: ......