EasyManuals Logo
Home>Curtis Instruments>I/O Systems>1351

Curtis Instruments 1351 User Manual

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
Page #110 background imageLoading...
Page #110 background image
5 — VEHICLE CONTROL LANGUAGE (VCL)
Curtis Model 1351 – December 2018
Return to TOC
pg. 104
Controlling a Receive Mailbox
e receive mailbox processing is a bit more complex than the transmit mail box, although there are
many similarities, such as the mailbox must be enabled for any actions to occur and must be disabled
before any setup functions.
Since there are two modes of operation, halt and over-write, there are multiple way to check and pull
data from the receive mailbox.
If the halt-on-reception method is used, the VCL program should check the status of the receive ag.
If it is set, the data is new and can be used. e ag must be cleared before any new data is received.
If the over-write method is used, the VCL program may check the counter to see how many messages
have been received. is is an incrementing counter than can be cleared. If the VCL program code does
this aer each check of the mailbox, then this counter will say how many message have been missed
(>1). e receive buer is double buered such that the incoming data is fully loaded before being set
as the active receive mailbox.
e receive mailboxes can also be set to time-out if they do not get new data. is timeout works on
the incoming data, not the data buer, thus, even the mailboxes that are set to halt-on-reception are
checked for new messages coming in at or below the timeout rate. If the timeout is exceeded, the ag is
set and the message buer will not be updated further until the timeout ag is cleared. e data in the
mailbox is the last data received before the timeout. It is important to note that the message counter
will continue to count if new messages matching the mailbox start coming in again, but they will not be
received into the mailbox until the timeout ag is cleared. But, the counter could be used to determine
that messaging has started again.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Curtis Instruments 1351 and is the answer not in the manual?

Curtis Instruments 1351 Specifications

General IconGeneral
BrandCurtis Instruments
Model1351
CategoryI/O Systems
LanguageEnglish