Program Examples; Setting The Bank Number And Starting Operation - Omron SYSMAC C200H-CP114 Operation Manual

Hide thumbs Also See for SYSMAC C200H-CP114:
Table of Contents

Advertisement

Program Examples

1,2,3...
4-3

Program Examples

4-3-1

Setting the Bank Number and Starting Operation

Example
Conditions
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. 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."
Set the bank number as "2" and start operation. Stop operation with input A.
Unit number = 0 (Allocated word numbers: 100 to 109)
Operation mode selector is set to RUN. (C200H#)
Section 4-3
37

Advertisement

Table of Contents
loading

Table of Contents