IDN_CHK: Check SERCOSIDN
(Original Document)
Function Description
This function block compares the data of the specified IDN on a SERCOSdrive to an expected value.
Additional parameters EN and ENO may be configured.
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
CAL IDN_CHK_Instance (S:=CHK_IDN_SA1, R:=Reset,
    SA_ID:=SA1, STD_PROP:=STD, IDN:=38, IN_RAW:=3000,
    MFB:=MFB, NOT_EQ=>Miscompare)
Representation in ST
Representation
IDN_CHK_Instance (S:=CHK_IDN_SA1, R:=Reset,
    SA_ID:=SA1, STD_PROP:=STD, IDN:=38, IN_RAW:=3000,
    MFB:=MFB, NOT_EQ=>Miscompare) ;
Parameter Description
Description of input parameters:
Parameter
Data Type
Meaning
S
Rising input checks SERCOSIDN.
R
BOOL
Resets block and prevents check.
SA_ID
Axis ID for the SercosAxis to be checked.
STD_PROP
BOOL
Data value: Standard (0) IDN or Proprietary (1) IDN.
IDN
IDN of the data to check.
IN_RAW
Expected data value.
Description of in-output parameters:
Parameter
Data Type
Meaning
MFB
Must be connected to the MMFStart block of 200 registers.
Description of output parameters:
Parameter
Data Type
Meaning
Q
BOOL
True when the check has completed (reset by R).
ERROR
INT
First error code that is generated during the check.
NOT_EQ
BOOL
True if drive data does not match the IN_RAW.
Example
When CHK_IDN_SA1 turns on, the value of IDN 38 (positive velocity limit) in drive SA1 is compared with the value 3000. If the value in the drive is not 3000, output signal Miscompare will turn on.
Runtime Errors
For a list of all error codes and values of the block, refer to Tables of Error Codes for the Motion Library.