
37
Program Examples
Section 4-3
4.
Either turn the Special I/O Restart Flag (AR 0100 to AR 0109) from OFF
to ON, or turn the C200H
power supply from ON to OFF and then ON
again.
These operations will cause the contents of DM m + 2 to be read. If DM m
+ 2 is “0001,” then the data from (2) above will be transferred from the
C200H
to the Cam Positioner Unit.
From this point on, each time the bank no. data in word n + 1 is changed,
the data from (2) above will be transferred.
Note The transfer of the required number of revolutions for a single process can be
only executed when the Memory Load Enabled Flag is ON (i.e., the display on
the Data Setting Console is lit).
Setting Example
Set the following data:
Number of revolutions required for a single process for Bank 1 = 1.00
Number of revolutions required for a single process for Bank 2 = 002
Assume that the Unit number is 0.
1,2,3...
1.
Set “0001” (transfer permitted) to DM 1002.
2.
Set “4100” to DM 1003.
↑
Two digits to right of decimal point.
3.
Set “0001” (bank number = 1) to word 101.
4.
Turn the Special I/O Restart Flag (AR 0100) from OFF to ON. (Or else turn
the C200H
power supply from ON to OFF and then back ON.)
This will cause the number of revolutions required for a single process for
Bank 1 to be set to “1.00.”
5.
Set “1002” to DM 1004.
↑
No digits to right of decimal point.
6.
Set “0002” (bank number = 2) to word 101. This will cause the number of
revolutions required for a single process for Bank 2 to be set to “2.”
4-3
Program Examples
4-3-1
Setting the Bank Number and Starting Operation
Example
Set the bank number as “2” and start operation. Stop operation with input A.
Conditions
Unit number = 0 (Allocated word numbers: 100 to 109)
Operation mode selector is set to RUN. (C200H
)
Summary of Contents for C200H-CP114
Page 1: ...23 5 7 21 0 18 Cat No W224 E1 2 SYSMAC C200H CP114 Cam Positioner Unit...
Page 2: ......
Page 3: ...C200H CP114 Cam Positioner Unit Operation Manual Revised January 2001...
Page 4: ...iv...
Page 6: ...vi...
Page 8: ......
Page 10: ......
Page 70: ......