Code: |
AS + 751 |
Symbolic: |
bccCanObjWrite |
This command will write the specified CANopen object. Request has the following parameters:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
FLAGS |
Request flags: 0x00000001 Enable text on error |
4 |
U16 |
WSID |
Workstation ID (#1) |
6 |
U16 |
OBJIX |
Object index |
8 |
U16 |
SUBIX |
Object sub-index |
10 |
I16 |
TYPE |
Data type: -1=I8 +1=U8 -2=I16 +2=U16 -3=I24 +3=U24 -4=I32 +4=U32 5=float |
12 |
DBL |
DATA |
Object data |
(#1) Workstation ID is also know (or defined) as Robox ID.
On success, a bccAck is received with the following data:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
FLAGS |
Reply flags: 0x00000001 Error on SDO |
4 |
U32 |
ERRCOD |
Error code (if error) |
8 |
STRZ |
ERRTXT |
Error text (if error) |
On failure, a bccNack is received. Specific errors:
NACK code |
Description |
Extra data |
---|---|---|
nackIllegalArgs |
Illegal parameters |
U16 What illegal: 1=Flags 2=Workstation ID 3=Object index 4=Object sub-index 5=Data type |