Chapter 7 Function Block
7-3
7.3 Function Block related to Module Information Read
7.3.1 Operation Information Read (APM_CRD)
Form of Function Block Description
DONE
REQ
BASE
SLOT
STAT
BOOLBOOL
USINT
USINT
UINT
AXISUSINT
ERR UINT
CA DINT
CV UDINT
STEP UINT
MCD UINT
Input
REQ : Request for execution of function block
BASE : Set the base no. with module
SLOT : Set the slot no. with module
AXIS : Axis to command
(0: axis X. 1: axis Y)
Output
DONE : Maintain 1 after first operating
STAT : Output the error no. in operation
ERR : Display error
CA : Display the current position
CV : Display the current speed
STEP : Step no. of the current operation data
MCD : Display the current M code value
(1) Read the axis state of current operation designated in the axis of designated positioning module with BASE
(Base no. of Positioning module) and SLOT (Slot no. of Positioning module).
(2) The operation information is saved in parameter set on output of function block.
(3) Set an axis to command and the value 0 and 1 are available to be set. If you set wrongly, “Error6” arises.
(4) You can monitor current position, current speed, operation data step no. and M code value of axis or use
them as a condition in user’s program.