Delta RMC151 User Manual

Page 408

Advertising
background image

RMC70/150 and RMCTools User Manual

This topic provides an example of using a variable array.

Description

This example will program the RMC for a cylinder sleeve installation machine for a 6-

cylinder in-line engine block.
The RMC needs to control the single axis that moves the cylinder sleeve installation head

to each cylinder. When it reaches a cylinder, the RMC needs to toggle a discrete output,

wait 1 second, then continue to the next cylinder. The "home" position for the head is 0.

The position of the cylinders varies by engine type. The PLC stores these various positions

and will write them to the RMC.

Method

1. Declare Variables
Create an array to store the cylinder positions. The PLC can write the values to the array

just like it can write values to any variable.

2. Declare Discrete Output
Names a discrete output as "Output1":

3. Write the User Program
The user program uses a loop to move to the positions. The label on step 1 is used by

step 3 for creating a loop.

388

Delta Computer Systems, Inc.

Advertising
This manual is related to the following products: