APPENDIX A — VCL FUNCTIONS
Curtis Model 1351 – December 2018
Return to TOC
pg. 130
Function Name
new/unique to 1351 = (✔)
Arguments Short Comment Description
send_NMT (✔)
3 (Port,Node_ID,command) Send a NMT command globally to a specic node
ID
get_nmt_state (✔)
2 (Port,Node_ID) View the current state of a specic node on the
bus.
enable_node_guarding (✔)
1 (Port) Enable monitoring bus heartbeats on a specic
port
disable_node_guarding (✔)
1 (port)
setup_heartbeat (✔)
3 (Port,Node_ID,Timeout) Monitor a specic timeout and setup the expected
cycle rate.
get_heartbeat_time (✔)
2 (Port, Node_ID) View the time between heartbeats of a specic
node. Node must be previously setup and Node
guarding enabled.
check_heartbeat_status (✔)
2 (Port, Node_ID) No/no go on the status of reviewing expected
heartbeats and the expected rate
enable_emergency_
message_monitor (✔)
1 (Port) Enable the system to monitor emergency
messages on the bus.
disable_emergency_
message_monitor (✔)
1 (Port) Disable the monitor function
setup_emergency_
message_monitor (✔)
2 (Port, Node_ID) Setup a specic node to be monitored for
emergency messages
check_canopen_
emergency (✔)
2 (Port, Node_ID) Check the emergency message monitor buffer for
a specic Node ID. A message index is returned if
there is one.
get_canopen_emergency_
message (✔)
1 (Index) read a specic message
clear_emergency_
message_buffer (✔)
3 (Port, Node_ID, Index) Clear a specic message
setup_transmit_SRDO (✔)
4 (primary_handler, supervisor_
handler, SCT,SRVT)
Setup the necessary CANopen compliant buffers,
timers and mailboxes to send a SRDO.
setup_receive_SRDO (✔)
6 (primary_handler_odd, primary_
handler_even, supervisor_handler_
odd, supervisor_handler_even,
SCT, SRVT)
Setup the necessary CANopen compliant buffers,
timers and mailboxes to Receive a SRDO.
enable_transmit_SRDO (✔)
1 (transmit SRDO ID) Enable the SRDO transmit functionality
enable_receive_SRDO (✔)
1 (receive SRDO ID) Enable the SRDO receive functionality
send_srdo (✔)
1 (SRDO_Handle) Send the SRDO package (two timed messages)
now
check_SRDO_receive (✔)
1 (SRDO_Handle) Check the data and timing integrity of the RSDO
reception
disable_transmit_SRDO (✔)
1 (transmit SRDO ID) Disable the SRDO transmit functionality
disable_receive_SRDO (✔)
1 (receive SRDO ID) Disable the SRDO receive functionality
request_SDO_read (✔)
5 (port, node, index, sub_index,
timeout)
Send and SDO read request to a specic node
and object, Specic how long the system can
wait until a fault is agged from a no-message-
response. The function will return a message
index where the message will be stored.
check_SDO_read (✔)
1 (Handler) Check the SDO receive buffer for a specic
message response