Rockwell Automation 2080-LC50 Getting Started with Motion Control Using a Simulated Axis User Manual

Page 29

Advertising
background image

Publication 2080-QS001A-EN-E - January 2013

19

Write Your Motion Control Programs Chapter 3

7. On the Instruction Block

Selector window that appears,
type MC_Reset on the default
entry field. Choose MC_Reset
and click OK.

Create and Assign Variables and Values for the Axis_PowerUp Program

1. On the Project Organizer pane,

double-click Global Variables to
bring up the Variables window.
Add the following variables with
these corresponding data types
and initial values.

Your ladder rung should appear as follows.

Variables and Initial Values for Axis_PowerUp Program

Variable Name

Data Type

Initial Value

Simulator

AXIS_REF

PowerUpAxis

BOOL

TRUE

PowerDone

BOOL

SWReset

BOOL

False

Advertising
This manual is related to the following products: