WAIT

Pauses the script for the specified amount of time.

WAIT(1000)

Waits 1000 ms (1 second) before executing the next command.

REPEAT

Restarts script execution from the specified line.

REPEAT(1)

Restarts the script from line 1, allowing continuous execution.

SEND

Sends a CAN frame.

SEND(12#1234)

Sends a CAN message with:

Example:

SEND(7DF#0201000000000000)

RECEIVE

Receives CAN frames with a specified CAN ID.

Log messages without blocking

RECEIVE(12)(LOG)

Every received frame with CAN ID 0x12 is displayed in the log window. Script execution continues immediately.

Wait until a frame is received

RECEIVE(12)(LOG)(W)

The script pauses until a CAN frame with ID 0x12 is received, then writes it to the log.

Store raw data

RECEIVE(12)(DATA1)

Waits for a CAN frame and stores its raw payload in the Data1 field.

The following destination fields are available:

Example:

RECEIVE(7E8)(DATA2)

Transform received data

RECEIVE(12)(DATA1)(T)

Waits for a CAN frame, processes the received data using transformation commands, and displays the final result in the Data1 field.

The transformation section must always end with:

END_RECEIVE

or

END_RECEIVE(text)

where the optional text is appended to the displayed value.

Example:

END_RECEIVE( km/h)

may display:

72 km/h