Programming examples and tips, E programming examples overview, E programming examples – Delta RMC151 User Manual
Page 394: Programming examples overview
RMC70/150 and RMCTools User Manual
Assign a Tag Name to the
I/O
To assign a tag name to an I/O, type a name in the Tag
Name column. Tag names are limited to 64 characters.
Tip:
Assigning a Tag name to each discrete I/O makes it much
easier to work with.
Add a Description
In the Description column, add a description of the I/O
point for your own reference.
Advanced Configuration Options
Set the PROGRAM State
for Outputs
To assign the state of an output when the RMC enters or
starts up in PROGRAM mode, in the PROGRAM State
column, choose the desired option:
•
Hold - The output retains its previous state.
•
Off - The output turns off.
•
On - The output turns on.
Set the FAULT State for
Outputs
To assign the state of an output when the RMC receives a
Fault Controller (8) command, in the FAULT State column,
choose the desired option:
•
Hold - The output retains its previous state.
•
Off - The output turns off.
•
On - The output turns on.
Defining a
RUN/PROGRAM Input
To assign a discrete input to control whether the RMC is in
•
In the Project Pane, expand the RMC node.
•
Right-click the Programming node, click
Properties, and click the RUN/PROGRAM page.
•
Select Define a RUN/PROGRAM discrete input.
•
Choose the input you want to define as a
RUN/PROGRAM input and click OK.
When the discrete input transitions from low to high, the
RMC will enter RUN mode. When the input transitions from
high to low, the RMC will enter PROGRAM mode.
5.16. Programming Examples and Tips
5.16.1. Programming Examples and Tips
You have set up your motion system and tuned the axes. Now you are ready to tackle the
programming of the motion application, but you aren't sure where to start or how to do it. This
topic provides links to complete programming examples and tips to help you get going.
Note:
Before programming your application, it is important that you have set up your system, tuned
it, and that you can move it back and forth. For help on doing this, see the Startup Guide that
came with the RMC. The Startup Guide is also available on the Download page of Delta's web
site,
User Program Examples
Creating a Basic User Program - Shows how to create a basic user program and run it.
374
Delta Computer Systems, Inc.