EasyManua.ls Logo

Curtis Instruments 1351

Default Icon
144 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 aer the
mailbox is enabled.
Aer 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
Aer 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

Table of Contents