EasyManua.ls Logo

Curtis 1239E - Page 139

Curtis 1239E
160 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...
Return to TOC Curtis 1239E-1269E Manual, os 37.0 RevA – May 2021
10 — VEHICLE CONTROL LANGUAGE (VCL)
pg. 135
SETUP_MAILBOX_MASK( )
Sets up a mask to allow messages with multiple COB IDs to be received by the same mailbox. For
each bit in the mask, a “1” indicates that the bit in the incoming message must match the bit in the
COB ID setup in the corresponding Setup_Mailbox() call. A “0” means that messages will be received
into the mailbox regardless of the state of the bit in the COB ID of messages on the bus. is function
must be called before Setup_Mailbox().
Syntax:
Setup_Mailbox_Mask(CAN#, Mask)
Parameters:
CAN# The mailbox ID (e.g., CAN3).
Mask 11 bits for mask.
Returns:
0 Mask not setup.
1 Mask setup.
Error Codes:
BAD_ID
CAN# out of range.
SETUP_MAILBOX_EXTENDED_MASK( )
Sets up a mask to allow messages with multiple 29-bit COB IDs to be received by the same mailbox.
For each bit in the mask, a “1” indicates that the bit in the incoming message must match the bit in the
COB ID setup in the corresponding Setup_Mailbox_Extended_ID() call. A “0” means that messages
will be received into the mailbox regardless of the state of the bit in the COB ID of messages on the
bus. is function must be called before Setup_Mailbox_Extended_ID().
Syntax:
Setup_Mailbox_Extended_Mask(CAN#, Mask_High, Mask_Low)
Parameters:
CAN# The mailbox ID (e.g., CAN3).
Mask-High High 13 bits of mask.
Mask_Low Low 16 bits of mask.
Returns:
0 Mask not setup.
1 Mask setup.
Error Codes:
BAD_ID
CAN# out of range.

Table of Contents

Related product manuals