5 — VEHICLE CONTROL LANGUAGE (VCL)
pg. 103
Return to TOC Curtis Model 1351 – December 2018
Setup_Recieve_Mailbox_Timeout() Setup a timeout fault, trigger
Setup a timeout fault that is active if this mailbox does not receive new data within
the Timeout period
Usage example: set a fault if a slave controller/device fails to send data to the 1351
master controller. Critical data that is not received within a given time period
triggers a fault.
Setup_Recieve_Mailbox_Timeout(Handle,First_
Timeout,Cycle_Timeout)
:
Handle Holds the ID of the mailbox
First_Timeout 0 = NO_TIMEOUT
Non-zero is the maximum time (in milliseconds)
allowed for the rst message to be received aer the
mailbox is enabled.
Aer this rst timeout is triggered, a timeout ag
is set in the OS. is ag can be viewed by the VCL
Function, Check_RX_Mailbox_Status()
If the mailbox has timed out, it will no longer receive
data.
Cycle_Timeout 0 = N0_TIMEOUT
Non-zero is the maximum time (in milliseconds)
allowed between receptions
Aer this timeout is triggered, a timeout ag is set in
the OS. is ag can be viewed by the VCL Function,
Check_RX_Mailbox_Status()
If the mailbox has timed out, it will no longer receive
data.
:
0 Mailbox not setup
1 Mailbox setup
:
Bad_ID Handle out of Range
BAD_MO_ID Message ID is NOT unique