Cansend (D); Reset (D) - EKE-Electronics CVB1621A Technical Manual

Can vehicle bus module
Table of Contents

Advertisement

5.6.2 CANSEND (D)

SYNTAX
cansend ch8 ext8 rtr8 id32 len8 {data8} [cnt8]
ch8 = channel you want to send frame(s), possible values 1 (channel A) and 2 (channel
B)
ext8 = frame type selection; 0 – standard frame, 1 – extended frame
rtr8 = Remote Transmission Request setting; 0 – RTR not set, 1 – RTR set, in this case
the data is ignored
id32 = frame identifier in hexadecimal; if ext8=0, 11 bits are used; if ext8=1, 29 bits are
used
len8 = data length, maximum value 8
{data8} = data bytes in hexadecimal, only amount of len8 is read
[cnt8] = amount of messages to be sent in hexadecimal; this parameter is optional,
default value is 1
EXPLANATION
With this command an arbitrary CAN frame can be created and sent to the selected
channel. The transmission of the frame requires that the channel has been initialized
prior to using this command.
EXAMPLE
Send 128 frames with extended identifier 12345h containing data 11h 22h 33h 44h 55h
66h 77h 88h to channel B:
cansend 2 1 0 12345 8 11 22 33 44 55 66 77 88 80

5.6.3 RESET (D)

This command alters the functionality of the CAN Bus. Consider the
operative situation carefully before using this command on board a
train.
Never reset the module by disconnecting it from a live VME bus. This
can damage not only the CVB module but also all other modules on
the bus.
SYNTAX
reset [c|w]
c = Apply Cold Reset through Watchdog circuitry
w = Apply Warm Reset through plain jump to address 0000.
If you specify no parameter, the system performs a warm reset.
CVB1621A and CVB2456A Technical Manual, ver. 3.00
Command line interface
43

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CVB1621A and is the answer not in the manual?

This manual is also suitable for:

Cvb2456a

Table of Contents