Motion faults – Rockwell Automation 1789-L10_L30_L60 SoftLogix 5800 System User Manual User Manual

Page 235

Advertising
background image

Rockwell Automation Publication 1789-UM002J-EN-P - December 2012

235

Program Virtual Motion

Appendix C

You can read motion status and configuration parameters in your logic by using
two methods.

In your ladder logic program, you can modify motion configuration parameters
by using the SSV instruction. For example, you can change position loop gain,
velocity loop gain, and current limits within your program.

For more information on the SSV instruction, see the Logix5000 Controllers
General Instruction Set Reference Manual, publication

1756-RM003

.

Motion Faults

By default, the controller keeps running when there is motion fault. Two types of
motion faults exist.

You can configure a fault as either minor or major by using the Axis Wizard
Group dialog box.

Instruction Errors

Executing a motion instruction within an application program can generate
errors. The MOTION_INSTRUCTION tag has a field that contains the error
code. For more information about error codes for individual instructions, see the
Logix5000 Controllers Motion Instruction Set Reference Manual,
publication

1756-RM007

.

Method

Example

Direct access of the MOTION_GROUP and AXIS structures

Axis faults
Motion status
Servo status

Use the GSV instruction

Actual position
Command position
Actual velocity

Type

Cause

Description

Example

Instruction errors

Motion instruction

Do not impact controller operation
Should be correct to optimize execution time and be sure

of program accuracy

A Motion Axis Move (MAM) instruction with a parameter
out of range

Advertising