This example demonstrates how to send CAN messages using the scripting interface.
The CAN Message Function available in scripting is hard coded to send 29 bit Extended Frame messages which is the format used by the J1939 protocol. If you need to send 11 bit standard frame messages in scripting you must first set up a Free Form message with the desired ID and number of data bytes, a user event which calls the action TX Std FreeForm Message, then fire that event from within the script routine.
This example was created for a PV780 in version 2.9.23044
Article is closed for comments.