Type: | |
Address: | RMC75: %MDn.0, where n = 8 + the axis number RMC150: %MDn.0, where n = 8 + the axis number RMC200: %MDn.0, where n = 256 + the axis number |
System Tag: | |
How to Find: | Axes Status Registers Pane, Basic tab |
Data Type: |
Description
The Status Bits register is a collection of bits that provide a summary of the state of the axis. See the Registers Overview topic for details on how to address each specific bit in the various address formats.
Addressing Status Bits
In RMCTools, individual Status bits can be addressed by appending the bit tag name to "_Axis[n].StatusBits.", where n is the axis number. For example, "_Axis[1].Statusbits.InPos" is the Axis 1 In Position Status Bit.
Status Bits
This is a list of all the status bits. Not all axes will have all the status bits. The bit number of each bit is the same, whether or not all bits exist for a given axis.
To convert a hexadecimal Status Bits value to individual bits, type the hexadecimal number in the box, then click Convert. The bits that are set will be highlighted in red in the table below. | |
0x(hexadecimal) |
# | Tag | Register Name | |||||||||||||||||||||||||||||||||||
0 | InPos | This bit is set when a closed-loop position move is completed and the axis position is at the Command Position. This is defined as when the Target Position has reached the Command Position and the absolute difference between the Actual Position and the Command Position is less than the In Position Tolerance parameter. The In Position bit is not latched and will clear if the axis moves back outside the In Position window. This bit will not be set after stopping due to a Closed Loop Halt or a Stop (Closed Loop) (6) command. This bit is only used when controlling position in a mode that has a commanded position. Therefore, it will be clear in Open Loop, Velocity Control, or Position Control in modes such as gearing that have no final requested position. | |||||||||||||||||||||||||||||||||||
1 | AtVel | This bit is set when a velocity move is completed and the axis velocity is at the Command Velocity. This is defined as when the Target Velocity has reached the Command Velocity and the absolute difference between the Actual Velocity and the Command Velocity is less than the At Velocity Tolerance parameter. The At Velocity bit is not latched and will clear if the axis speed moves back outside the At Velocity window. This bit is only used when controlling velocity in a mode that has a requested velocity. Therefore, it will be clear in Open Loop, Position Control, or Velocity Control in modes such as gearing that have no final requested velocity. For these cases, to determine whether an axis has reached the constant velocity portion of the move, use the Target Generator State A and State B status bits. | |||||||||||||||||||||||||||||||||||
2 | OpenLoop | This bit is set when the axis is
in Open
Loop control or in the Direct
Output state. | |||||||||||||||||||||||||||||||||||
3 | FaultIn | This bit is set when the Fault Input on the axis is active. This bit does not latch like the Fault Input error bit. | |||||||||||||||||||||||||||||||||||
4 | PosLimitIn | This bit is set when the Positive Limit Input is active. | |||||||||||||||||||||||||||||||||||
5 | NegLimitIn | This bit is set when the Negative Limit Input is active. | |||||||||||||||||||||||||||||||||||
6 | Stopped | This bit is set when the axis is stopped. For control axes, this is defined as when the Target Velocity is zero and the Actual Velocity is less than the Stop Threshold parameter. The axis must be in closed-loop control. For reference axes, this is defined as when the Actual Velocity is less than the Stop Threshold parameter. | |||||||||||||||||||||||||||||||||||
7 | InputEst | The Input Estimated bit indicates that the position or velocity input is currently being estimated due to any of these errors: Not all the error bits listed above apply to all input types. See the individual error bits for details. "Estimated" means that the feedback value is not accurate. It does not necessarily mean that it is being estimated to a high degree of certainty.
Position Inputs In general (see below for actual details), when one of the errors listed above occurs, the Input Estimated bit will turn on to indicate an error condition exists and the feedback value is being estimated. If the error condition occurs for successive 3 loop times, the associated error bit will be set. Once the underlying error condition has gone away, the Input Estimated bit will remain on for two loop times before clearing. The Input Estimated bit is set in the following cases:
Velocity, Pressure and Force Inputs (Analog and mV/V): The Input Estimated bit is not set if a Noise Error condition exists. A Noise Error condition will immediately set the Noise Error bit. If a No Transducer or Transducer Overflow condition exists, the Input Estimated bit is always set, even after the error bit is set following the first 3 loop times. | |||||||||||||||||||||||||||||||||||
8 | EnableOut | This bit is set when the Enable Output is on. | |||||||||||||||||||||||||||||||||||
9 | TGDone | This bit is set when the Primary Target Generator has completed its course, that is, when a motion command has been completed. If the motion move is interrupted, e.g. due to a halt, the done bit will not be set because the last commanded motion was not completed. Specific details on the Target Generator status bit are included in the help topics for each motion command. Example
1: Example
2:
| |||||||||||||||||||||||||||||||||||
10 | TGStateA | Primary Target Generator State A The Target Generator State A and State B bits indicate the current state of the Primary Target Generator. For each motion type, the following table describes in general the state indicated by the combinations of A and B. These bits are only valid for motion commands. Specific details on the Target Generator status bit are included in the help topics for each motion command.
| |||||||||||||||||||||||||||||||||||
11 | TGStateB | Primary Target Generator State B See the Target Generator State A bit for a description of how these bits work. Specific details on the Target Generator status bit are also included in the help topics for each motion command.
| |||||||||||||||||||||||||||||||||||
12 | DirectOut | When this bit is set, the axis in a Direct Output state. The axis is in open loop control, ignores all error bits, and the Auto Stops have no effect. The Direct Output (9) command, and the Direct Output Halt will turn on this bit. If the axis is disabled with the Enable/Disable Axis (97) command, this bit will turn on. If the axis is enabled, any motion command (except Direct Output (9)) will turn off this bit. Certain parameters that affect motion require the Direct Output Status bit to be on when changing their values. | |||||||||||||||||||||||||||||||||||
13 | Enabled | RMC75/150: Motion commands other than Direct Output (9) are not allowed on the axis if this bit is not set. This bit is set in the following cases:
The Enabled bit will be cleared when the axis is disabled via the Enable/Disable Axis (97) command.
RMC200: No motion commands are allowed on the axis if this bit is not set. This bit is set in the following cases:
The Enabled bit will be cleared when the axis is disabled via the Enable/Disable Axis (97) command, a Disable Axis AutoStop, or when the controller enters Disabled Mode.
| |||||||||||||||||||||||||||||||||||
14 | ExtHalt | This bit is set when External Halt has occurred. An External Halt can only be triggered by an Auto Stop. | |||||||||||||||||||||||||||||||||||
15 | Halted | This bit is set when one of the following halts occurs: Open Loop Halt, Open Loop Halt with Disable Drive, or Closed Loop Halt. These halts can then be triggered via Auto Stops or via explicit commands - see each halt topic for details. | |||||||||||||||||||||||||||||||||||
16 | PFControl | This bit is set when the axis is in closed-loop pressure or force control. This bit will not be set for pressure/force limit; see the Pressure/Force Limit Enabled and Pressure/Force Limited bits below. | |||||||||||||||||||||||||||||||||||
17 | PFLimitEnabled | This bit is set when Pressure/Force Limit mode is enabled on the axis. When this bit is set, pressure or force will be limited to the Target Pressure/Force. Pressure/Force Limit mode can only be enabled or disabled with the Set Pressure/Force Limit Mode (40) command. This bit does not indicate whether pressure/force is being limited. To determine whether pressure or force is being limited, see the Pressure/Force Limited bit. | |||||||||||||||||||||||||||||||||||
18 | PFLimited | This bit is set when the pressure/force is currently being limited. That is, the position or velocity control is actually being affected in order to limit the pressure/force. This bit can only be on if the Pressure/Force Limit Enabled bit is on. See the Pressure Limit topic for details on pressure control. This bit will not be set in pressure/force control; see the Pressure/Force Control bit above. | |||||||||||||||||||||||||||||||||||
19 | AtPF | This bit indicates that the Actual Pressure/Force has reached the Command Pressure/Force. This bit is set when the Target Pressure/Force and the Actual Pressure/Force are at the Command Pressure/Force. This is defined as when the Pressure/Force Error is less than the At Pressure/Force Tolerance. The axis must be in closed-loop pressure/force control or pressure/force limit and the Pressure/Force Target Generator Done bit must be set. | |||||||||||||||||||||||||||||||||||
20 | PFInputEst | Pressure/Force Input Estimated If a Pressure/Force No Transducer or Pressure/Force Transducer Overflow condition exists, the Pressure/Force Input Estimated bit will turn on to indicate an error condition exists and the feedback value is being estimated. If the error condition occurs for successive 3 loop times, the associated Pressure/Force No Transducer or Pressure/Force Transducer Overflow error bit will be set. The Pressure/Force Input Estimated bit is set as long as the error condition exists, even after the error bit is set following the first 3 loop times. "Estimated" means that the feedback value is not accurate. It does not necessarily mean that it is being estimated to a high degree of certainty. The Pressure/Force Input Estimated bit is not set if a Pressure/Force Noise Error condition exists. A Pressure/Force Noise Error condition will immediately set the Pressure/Force Noise Error bit.
| |||||||||||||||||||||||||||||||||||
21 | PFTGDone | Pressure/Force Target Generator Done This bit is set when the Pressure/Force Target Generator has completed its course, that is, when a pressure or force ramp has been completed. If the ramp is interrupted, e.g. due to a halt, the done bit will not be set because the ramp was not completed. | |||||||||||||||||||||||||||||||||||
22 | PFTGStateA | Pressure/Force Target Generator State A This bit is set to indicate the current state of the Pressure/Force Target Generator. The Pressure/Force Target Generator State A and State B bits indicate the current state of the Pressure/Force Target Generator. For each motion type, the following table describes in general the state indicated by the combinations of A and B. These bits are only valid for motion commands. Specific details on the Target Generator status bit are included in the help topics for each motion command.
| |||||||||||||||||||||||||||||||||||
23 | PFTGStateB | Pressure/Force Target Generator State B See the Pressure/Force Target Generator State A bit for a description of how these bits work. This bit is set to indicate the current state of the Pressure/Force Target Generator. | |||||||||||||||||||||||||||||||||||
24 | TGSIBusy | Primary Target Generator Superimposed Busy This bit is set to indicate that a superimposed move is in progress. This can be caused by a Transition. | |||||||||||||||||||||||||||||||||||
25 | PFTGSIBusy | Pressure/Force Target Generator Superimposed Busy This bit is set to indicate that a superimposed move is in progress. This can be caused by a pressure/force transition. | |||||||||||||||||||||||||||||||||||
26 | FeedbackOK | This bit indicates that the feedback transducer on the primary input has no errors. This bit provides the instantaneous general status of the transducer, and is especially useful when implementing Custom Feedback. This bit is available in firmware 3.54.0 and newer. The Transducer OK bit will be off if the transducer is experiencing any of the following:
Notice that the Transducer OK bit is instantaneous. The No Transducer, Transducer Overflow, and Transducer Noise axis error bits do not necessarily provide the instantaneous state of the feedback as the Transducer OK status bit does. These three error bits will turn on only after the error has existed for three loop times, during which time the Input Estimated bit is on. In addition, they will latch on and remain on even if the underlying error has gone away.
| |||||||||||||||||||||||||||||||||||
27 | SecFeedbackOK | This bit indicates that the feedback transducer on the secondary input has no errors. This bit provides the instantaneous general status of the transducer, and is especially useful when implementing Custom Feedback. This bit is available in firmware 3.54.0 and newer. The Secondary Transducer OK bit will be off if the transducer is experiencing any of the following:
Notice that the Secondary Transducer OK bit is instantaneous. The P/F No Transducer and P/F Transducer Overflow axis error bits do not necessarily provide the instantaneous state of the feedback as the Transducer OK status bit does. These three error bits will turn on only after the error has existed for three loop times, during which time the Input Estimated bit is on. In addition, they will latch on and remain on even if the underlying error has gone away.
| |||||||||||||||||||||||||||||||||||
28 | EnableSM | The Enable State Machine Status bit applies to EtherCAT axes with Drive or Valve output types. This bit indicates that the RMC is attempting to enable the drive or valve, or keep it in the enabled state. | |||||||||||||||||||||||||||||||||||
31 | - | The RMC sets the Command Acknowledge bit to match the Command Request bit of the last command. This bit is intended to be used for synchronizing a PLC program with the RMC. See the Command Acknowledge Bit topic for details. |
See Also
Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion