
User Manual
Chapter 15
GFK-1742F
Jan 2020
Using the Electronic CAM Feature
340
The CAM Editor automatically changes the values to correspond to an integer number of
feedback counts. The Editor also rounds the displayed values to limit clutter within the table.
Note that the editor maintains the variable’s precision and it is only the display that i
s
rounded. The functions that are automatically performed by the CAM editor are illustrated
below. First determine the integer feedback counts that are the closest to the desired
values. For this example, only two numbers cannot be exactly represented. These are the
Master Position of 75 and the Slave Position of 75. The closest integer count value to these
values is 614 counts and 1,229 counts for the master and slave respectively. The relationship
between the Master Position and Slave Position with respect to User Units and Counts is
shown in Table 77.
Table 77: Relationship Between User Units and Counts in Scaling Example
Master
Position
(User Units)
Master
Position
(Counts)
Slave Position (User
Units)
Slave
Position
(Counts)
0
0
0
0
74.951171875
614
75.01000000000001
1229
500
4096
250
4096
1000
8192
500
8192
This agrees with the functions that where automatically performed by the editor. Note that
for the Master Position of 74.951171875, the editor rounds to 75.0. For the Slave Position
of 75.01000000000001, the editor rounds to 75.01.
15.3.10
Synchronization of CAM Motion with External Events
The following mechanisms allow the programmer to synchronize CAM motion with external
events:
•
The start of CAM motion can be synchronized with an external event by using the
existing WAIT command in a motion program.
•
A Cyclic CAM can be synchronized with a strobe using Local Logic variables. Refer to
Chapter 11-14 for additional information concerning Local Logic.