APPENDIX A — VCL FUNCTIONS
pg. 131
Curtis Model 1351 – December 2018
Function Name
new/unique to 1351 = (
✔
)
Arguments
Short Comment
Description
get_SDO_length (
✔
)
1
(Handler)
Find out how many active data bytes are in the
received message
get_SDO_data (
✔
)
1
(Handler)
Get the received data
remove_SDO_read (
✔
)
1
(Handler)
Remove a message for the receive buffer
write_SDO (
✔
)
7
(Port,Node_ID,Index,sub_
index,length,variable,Timeout)
Write data to a node ID and object. The time out
checks the response. An index is returned where
the response message will be stored in the buffer
check_sdo_write (
✔
)
1
(Handler)
Check of the response message
remove_SDO_write (
✔
)
1
(Handler)
remove a message for the response buffer
clear_SDO_read_buffer (
✔
)
0
Clear the buffer
clear_SDO_write_buffer (
✔
)
0
Clear the buffer
set_watchdog_timeout (
✔
)
2
(WD#, Time)
Setup a watchdog timer
kick_watchdog (
✔
)
1
(WD#)
Start and keep the watchdog alive
set_watchdog_fault_action
(
✔
)
2
(WD#, Fault_Action)
Setup the actions taken when a specific
watchdog timer runs out