User`s manual

5-8 Motion Mate DSM314 for Series 90-30 PLCs User's Manual
January 2001 GFK-1742A
5
2.01
Module Status Code
.
Module
Status Code
indicates the current DSM314 operational status.
When the
Module
Error
Present
%I flag is set, and the error is not related to a specific axis, an
error code number is reported in the
Module Status Code
that describes the condition causing the
error. A new
Module Status Code
will not replace
a previous
Module Status Code
unless the new
Module Status Code
has Fast Stop or System Error priority.
The
Module Status Code
word is also used to report
System Status Errors
. These are of the format
Dxxx, Exxx, and Fxxx. For details on
System Status Error
codes, refer to Appendix A.
For a list of Motion Mate DSM314 error codes refer to Appendix A.
2.02
Axis 1 - Axis 4 Error Code
.
The
Servo
Axis n Error Code
, where n = Axis 1 - Axis 4,
indicates the current operating status of each axis. When the
Module
Error
Present
%I flag is
set, and the error is related to a particular axis, an error code number is reported which describes
the condition causing the error. A new
Axis Error Code
will replace a previous
Axis Error Code
if it has equal or higher priority (Warning, Normal Stop, Fast Stop) compared to the previous
Axis
Error Code
.
For a list of Motion Mate DSM314 error codes refer to Appendix A.
2.03
Command Block Number
.
Command Block Number
indicates the block number of the
command that is presently being executed in the active Program or Subroutine. It changes at the
start of each new block as the program commands are executed, and thus identifies the present
operating location within the program. Block numbers are displayed only if the motion program
uses them. Additionally, the most recently used block number will be displayed until superseded
by a new value. The
Command Block Number
is set to zero on power cycle or reset.
2.04
Commanded Position
.
Commanded Position
(user units) is where the axis is commanded
to be at any instant in time. For a Servo Axis, the difference between
Commanded Position
and
Actual Position
is the
Position Error
value that produces the Velocity Command to drive the axis.
The rate at which the
Commanded Position
is changed determines the velocity of axis motion.
If
Commanded Position
moves past either of the count limits, it will roll over to the other limit
and continue in the direction of the axis motion.
2.05
Actual Position
.
Actual Position
(user units) is a value maintained by the DSM314 to
represent the physical position of the axis. It is set to an initial value by the
Set Position
%AQ
Immediate command or to
Home Position
by the
Find Home
cycle. When digital absolute
encoders are used,
Actual Position
is automatically set whenever the encoder reports a valid
position. The motion of the axis feedback device continuously updates the axis
Actual Position
.
If
Actual Position
moves past either of the count limits, it will roll over to the other limit and
continue in the direction of the axis motion.
2.06
Strobe 1, 2 Position
.
Strobe 1 Position
and
Strobe 2 Position
(user units) contain the axis
actual position when a Strobe 1 Input or Strobe 2 Input occurs. When a Strobe Input occurs, the
Strobe 1Flag
or
Strobe 2 Flag
%I bit is set to indicate to the PLC that new Strobe data is
available in the related
Strobe 1 Position
or
Strobe 2 Position
status word. The PLC must set the
proper
Reset Strobe 1
or
Reset Strobe 2
Flag %Q bit to clear the associated
Strobe 1,2 Flag
%I
bit.
Strobe 1, 2 Position
will be maintained and will not be overwritten by additional Strobe Inputs
until the
Strobe 1, 2
Flag
%I bit has been cleared. If the
Reset Strobe Flag
%Q bit is left in the