FC_SercosWriteServiceDataByTopAddr writes data via the Sercos service channel into the addressed device.
Input |
Data type |
Description |
---|---|---|
i_wTopoAddr |
WORD |
Topological address of the Sercos device |
i_dwIDN |
DWORD |
Data Service IDN |
i_wType |
WORD |
Data Service Type
|
i_dwPointerToData |
DWORD |
Pointer to the data memory, filled with the actual length of the data bytes |
i_wMaxDataLen |
WORD |
Actual length of the data bytes to write |
Data type |
Description |
---|---|
DINT |
0: OK -1: The topological address is invalid. -431: Error detected during service request (for example, timeout) -445: Service timeout -461: in the current phase, reading out parameters via the service channel is not supported -462: The addressed axis does not support the ServiceDataWrite function. -464: Invalid service transfer |