Synchronised write (#IDENT WR SYN)
Syntax: |
#IDENT WR SYN [ AX=<axis_name> | AXNR=.. ID=<Ident_nr> VAL=.. TYP=.. DEC=.. <Drive_type> [ NO_WAIT ] ] |
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 |
VAL=.. | Value to be written; real number |
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) |
NO_WAIT | No waiting for successful writing of the parameter. If this keyword is not programmed, the interpolation always waits for the parameter to be written. |
Programing Example
Non-synchronised write (IDENT)
:
(SERCOS drive)
#IDENT WR SYN [AX=X ID S-0-0104 VAL 655.35 TYP 4 DEC 2 SERC]
#IDENT WR SYN [AXNR=1 ID S-0-0104 VAL 655.35 TYP 4 DEC 2 SERC]
:
#IDENT WR SYN [AX Y ID S-0-0104 VAL655.35 TYP 4 DEC 2 SERC NO_WAIT]
(CANopen drive)
#IDENT WR SYN [AX=X ID 0x6072_00 VAL 655.35 TYP 4 DEC 2 CAN]
#IDENT WR SYN [AXNR=1 ID 0x6072_00 VAL 655.35 TYP 4 DEC 2 CAN]
#IDENT WR SYN [AX Y ID 0x6072_00 VAL655.35 TYP 4 DEC 2 CAN NO_WAIT]
:
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.