Download Logix Controller Motion Instruction Set

Transcript
Structures
MOTION_INSTRUCTION
Structure
A-27
Each motion instruction has a MOTION_INSTRUCTION structure that
contains status information about the instruction.
Mnemonic: Data Type: Description:
FLAGS
BOOL
The instruction status bits are:
Bit:
.ACCEL
Number: Data Type:
00
BOOL
.DECEL
01
BOOL
.PC
26
BOOL
.IP
27
BOOL
.ER
28
BOOL
.DN
29
BOOL
.EN
31
BOOL
Description:
The.ACCEL bit indicates that the velocity
has increased for the individual instruction
that it is tied to e.g., jog, move, gearing.
The.DECEL bit indicates that the velocity
has decreased for the individual instruction
that it is tied to e.g., jog, move, gearing.
The process complete bit indicates that the
operation is complete. The.DN bit sets
after an instruction has completed
execution. The.PC bit sets when the
initiated process has completed.
The in process bit indicates that a process
is being executed.
The error bit indicates when the operation
generates an overflow.
The done bit indicates that the operation is
complete.
The enable bit indicates that the instruction
is enabled.
Publication 1756-RM007C-EN-P - July 2001