EasyManua.ls Logo

Curtis Instruments 1351 - Configuration of a Transmit Mailbox

Default Icon
144 pages
Print Icon
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)
Curtis Model 1351 – December 2018
Return to TOC
pg. 98
Conguration of a Transmit Mailbox
 Setup_CANopen_Transmit_Mailbox() Sets up the initial parameters for
a CANopen mailbox
is CANopen specic function sets up the initial parameters for a CANopen
mailbox.
It serves the same purpose as the generic setup function, but simplies the setup
for CANopen users.
is function MUST BE called before dening the data for the mailbox or trying
to use the mailbox.

Setup_CANopen_Transmit_Mailbox(Handle,Messsge_
type,Node_ID,Method)
:
Handle e mailbox ID
Message type NMT, SYNC, EMR, SDO_TX, SDO_RX, TPDO,
RPDO
Node ID Node ID to include in the message
Method If set to EVENT (=0) then this mailbox with send
on the send command
(One-time, or non-recurring message)
If set from 4-16,000, it will send every 4mS to 16sec,
based on this value
:
0 Mailbox not setup
1 Mailbox setup
 :
Bad_ID Handle out of Range
BAD_MO_ID Message ID is NOT unique

Table of Contents