Non-synchronised read (#IDENT RD)
Syntax: |
#IDENT RD [ AX=<axis_name> | AXNR=.. ID=<Ident_nr> P=<variable> TYP=.. DEC=.. <Drive_type> ] |
AX=<axis_name> | Name of the axis |
AXNR=.. | Logical axis number of axis, positive integer |
ID=<Ident_nr> | ID Number in SECOS format, e.g. S-0-0047 or P-0-0129 or CANopen format, e.g. 0x6072_00 |
<Variable> | Variable for saving the read value, e.g. P parameter or V.P., V.L. or V.S. variables. |
TYP=.. | Data type of value (2 or 4 byte length): 2: 2 bytes data length 4: 4 bytes data length |
DEC=.. | Number of decimal places; positive integer |
<Drive_type> | Drive type SERC: SERCOS drive CAN: CANopen drive (as of V3.1.3081.4) |
Programing Example
Non-synchronised read (IDENT)
:
(SERCOS drive)
#IDENT RD [AX X ID S-0-0104 P=P1 TYP 4 DEC 2 SERC]
#IDENT RD [AXNR 1 ID S-0-0104 P=V.P.KV_WERT TYP 4 DEC 2 SERC]
(CANopen drive)
#IDENT RD [AX X ID 0x6072_00 P=P1 TYP 4 DEC 2 CAN]
#IDENT RD [AXNR 1 ID 0x6072_00 P=V.P.KV_WERT TYP 4 DEC 2 CAN]
:
Attention
No plausibility check is made for logical axis number, identification number or the programmed attributes of data type and decimal places. The operator is solely responsible for making the correct entries.