CFG_CS: CoordinatedSet
(Original Document)
Function Description
This function block configures a CoordinatedSet.
Additional parameters EN and ENO may be configured.
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
CAL CFG_CS_Instance (S:=CFG_CS1, R:=Reset, CS_ID:=CS1,
    AX:=SA, NUMAX:=NumberOfAxis, MFB:=MFB,
    CFG_BLK:=CS_CFG_BLK, ERROR=>CFG_ERROR)
Representation in ST
Representation
CFG_CS_Instance (S:=CFG_CS1, R:=Reset, CS_ID:=CS1,
    AX:=SA, NUMAX:=NumberOfAxis, MFB:=MFB,
    CFG_BLK:=CS_CFG_BLK, ERROR=>CFG_ERROR) ;
Parameter Description
Description of input parameters:
Parameter
Data Type
Meaning
S
Rising input starts configuration.
R
BOOL
Resets block and prevents configuration. It halts configuration at the end of the current step.
CS_ID
Axis ID for the CoordinatedSet to be configured.
AX
Axis ID for single axis member to be included in reset.
NUMAX
Number of Axis. Range from 2 to 8.
Description of in-output parameters:
Parameter
Type
Meaning
MFB
Must be connected to the MMFStart block of 200 registers.
CFG_BLK
Data block where the CoordinatedSet data will be stored.
Description of output parameters:
Parameter
Type
Meaning
Q
BOOL
True when the configuration has completed (reset by R).
ERROR
INT
First error code that is generated during configuration.
Example
When CFG_CS1 turns on, the configuration of CS1 occurs. During the creation of CS1, axes SA is defined on input pin AX , is assigned as member of this set. The number of pins ranges from 2 to 8 and the user must give the appropriate value on the NUMAX pin. If the user gives a value out of bounds, the input is forced to either the max. or min. value according to which boundary is exceeded. The CoordinatedSet information, including the member axes, is moved into the PLC register block CS_CFG_BLK that is assigned at output pin CFG_BLK. For detailed information on the size and layout of this register data block, refer to the CSCfg Data Structure.
Runtime Errors
For a list of all error codes and values of the block, refer to Tables of Error Codes for the Motion Library.