EasyManua.ls Logo

Allen-Bradley Studio 5000 Logix Emulate User Manual

Allen-Bradley Studio 5000 Logix Emulate
676 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #673 background imageLoading...
Page #673 background image
Chapter 12
Rockwell Automation Publication MOTION-RM002H-EN-P-February 2018 673
Follow the guidelines in this topic for Math Status Flags.
Description
Controllers Description
CompactLogix 5380,
CompactLogix 5480,
ControlLogix 5580, Compact
GuardLogix 5380, and
GuardLogix 5580 controllers
A set of Math Status Flags for accessing directly with instructions. These flags are only updated in ladder diagram
routines, and are not tags, and flag aliases are not applicable.
CompactLogix 5370,
ControlLogix 5570, Compact
GuardLogix 5370, and
GuardLogix 5570 controllers
A set of Math Status Flags for accessing directly with instructions. These flags are updated in all routine types, but
are not tags, and flag aliases are not applicable.
Status Flags
Status Flag Description
(For CompactLogix 5380, CompactLogix 5480, ControlLogix
5580, Compact GuardLogix 5380, and GuardLogix 5580
controllers)
Description
(For CompactLogix 5370, ControlLogix 5570, Compact GuardLogix
5370, and GuardLogix 5570 controllers)
S:FS
First scan flag
The first scan flag is set by the controller:
• The first time a program is scanned after the controller goes to
Run mode
• The first time a program is scanned after the program is
uninhibited
• When a routine is called from an SFC Action and the step that
owns that Action is first scanned.
Use the first scan flag to initialize data for use in later scans. It is also
referred to as the first pass bit.
The first scan flag is set by the controller:
• The first time a program is scanned after the controller goes to Run
mode
• The first time a program is scanned after the program is uninhibited
• When a routine is called from an SFC Action and the Step that owns that
Action is first scanned.
Use this flag to initialize data for use in later scans. It is also referred to as
the first pass bit.
S:N
Negative flag
The controller sets the negative flag when the result of a math or
logical operation is a negative value. Use this flag as a quick test for a
negative value.
The controller sets the negative flag when the result of a math or logical
operation is a negative value. Use this flag as a quick test for a negative
value.
Using S:N is more efficient than using the CMP instruction.
S:Z
Zero flag
The zero flag is set by the controller when the result of a math or
logical operation is zero. Use this flag as a quick test for a zero value.
The zero flag clears at the start of executing an instruction capable of
setting this flag.
The controller sets the zero flag when the result of a math or logical
operation is zero. Use this flag as a quick test for a zero value.
Math Status Flags

Table of Contents

Other manuals for Allen-Bradley Studio 5000 Logix Emulate

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Studio 5000 Logix Emulate and is the answer not in the manual?

Allen-Bradley Studio 5000 Logix Emulate Specifications

General IconGeneral
TypeEmulation Software
Supported PlatformsPC
Operating SystemWindows
Compatible ControllersControlLogix 5570, ControlLogix 5580, CompactLogix 5370, CompactLogix 5480
IntegrationIntegrated with Studio 5000 environment
Works with Studio 5000 Logix DesignerYes
Programming LanguagesLadder Logic, Function Block Diagram, Structured Text, Sequential Function Chart
Communication ProtocolsEtherNet/IP
FunctionalityController Emulation
PurposeTesting and Debugging
Use CaseProgram development, testing, training, and troubleshooting without physical PLC hardware

Summary

LOGIX 5000 Controllers Motion Instructions

Motion State Instructions

Motion Axis Fault Reset (MAFR)

Use the Motion Axis Fault Reset (MAFR) instruction to clear all motion faults for an axis. This is the only method for clearing axis motion faults.

Motion Axis Shutdown (MASD)

Use the Motion Axis Shutdown (MASD) instruction to force a specified axis into the Shutdown state.

Motion Axis Shutdown Reset (MASR)

Use the Motion Axis Shutdown (MASR) instruction to transition a group of axes from the shutdown operating state to the axis ready operating state.

Motion Move Instructions

Motion Axis Stop (MAS)

Use the Motion Axis Stop (MAS) instruction to stop a specific motion process on an axis or to stop the axis completely.

Motion Axis Home (MAH)

Use the Motion Axis Home (MAH) instruction to home an axis. Two different homing modes can be selected during axis configuration: Active or Passive.

Motion Axis Jog (MAJ)

Use the Motion Axis Jog (MAJ) instruction to move an axis at a constant speed until you tell it to stop.

Motion Axis Move (MAM)

Use the Motion Axis Move (MAM) instruction to move an axis to a specified position.

Motion Change Dynamics (MCD)

Use the Motion Change Dynamics (MCD) instruction to selectively change the speed, acceleration rate, or deceleration rate of a move profile or a jog profile in process.

Motion Calculate Cam Profile (MCCP)

The Motion Calculate Cam Profile (MCCP) instruction calculates a cam profile based on an array of cam points.

Motion Axis Position Cam (MAPC)

The Motion Axis Position Cam (MAPC) instruction provides electronic camming between any two axes according to the specified Cam Profile.

Motion Axis Time Cam (MATC)

The Motion Axis Time Cam (MATC) instruction provides electronic camming of an axis as a function of time, according to the specified Cam Profile.

Motion Group Instructions

Motion Group Stop (MGS)

The Motion Group Stop (MGS) instruction initiates a stop of all motion in progress on all axes in the specified group by a method configured individually for each axis or as a group via the Stop Mode of the MGS instruction.

Motion Group Shutdown (MGSD)

Use the Motion Group Shutdown (MGSD) instruction to force all axes in the designated group into a Shutdown state.

Motion Group Shutdown Reset (MGSR)

Use the Motion Group Shutdown Reset (MGSR) instruction to transition a group of axes from the shutdown operating state to the axis ready operating state.

Motion Event Instructions

Motion Configuration Instructions

Multi-Axis Coordinated Motion Instructions

Motion Coordinated Linear Move (MCLM)

Use the MCLM instruction to start a single or multi-dimensional linear coordinated move for the specified axes within a Cartesian coordinate system.

Motion Coordinated Circular Move (MCCM)

Use the MCCM instruction to initiate a two or three-dimensional circular coordinated move for the specified axes within a Cartesian coordinate system.

Motion Error Codes, faults, and attributes

Understand Motion Status and Configuration Parameters

Troubleshoot Axis Motion

Overview of motion-related data types

Overview of Structured Text Programming

Common attributes for Motion instructions

Related product manuals