Sending messages with SEND and CMD

The most basic use of a script is to send a message to the RV-C network. This is what the SEND command does. The syntax is simple: SEND PGN DATA. For example:


: Set date to 12/25
SEND 1FFFE FF 0C 19 FF FF FF FF FF
: Note: PGN 1FFFE is DATE_TIME_COMMAND.

If an acknowledgement is desired, the CMD command is used instead. This works just like SEND, but it then stops the script until a acknowlegement is received for the message. The user can click "Continue" or "Abort" if no acknowledgement is received.


: Start genset
CMD 1FFDA 01 FF FF FF FF FF FF FF
: Note: PGN 1FFDA is GENERATOR_COMMAND.

Most messages include eight data bytes. Sometimes a longer message is required - for example, for a PRODUCT_ID. To generate a "long message" - actually it is a series of messages - simply put more than eight data bytes in the DATA section. Omniscope automatically handles the long message protocols.