Getting Started
CAN USB-232 User Manual
2-31
2.7.11 Set CAN Command Mode Message Output Termination
2.8 CAN Virtual Command Mode
In virtual circuit mode, the CAN USB-232 establishes a full-duplex, virtual circuit between itself and
another CAN USB-232 or application device. By providing a virtual circuit over the CAN network,
applications can exchange serial stream data in a network-transparent fashion, using existing CAN network
cabling as a data link (Figure 4).
Figure 4
The CAN USB-232 takes data bytes coming into the serial port and groups them into CAN messages for
transmission. When a remote CAN USB-232 or application target receives these messages, it extracts the
data bytes and recreates the original data stream on its serial output port. This operation is fully transparent
to the connected application devices.
The virtual circuit requires two, user-configurable, CAN identifiers in order to identify the source &
destination devices for the circuit. Since virtually every CAN protocol provides a sub-set of unused or ‘user-
specific’ identifiers, establishing a virtual circuit on a CAN network in conjunction with an existing protocol
is supported and very easy to do.
The CAN USB-232 only sends CAN messages when eight bytes of data have been received. This leads to a
case where the last part of a data stream is not sent if it is less than eight bytes long. To deal with this in a
transparent fashion, the CAN USB-232 provides a timeout feature that will automatically force a
transmission of the last accumulated byte(s) after a specified maximum waiting time.
Summary of Contents for CAN USB-232
Page 1: ...CAN USB 232 User Manual Revision E August 1 2016 ...
Page 2: ......
Page 36: ...Troubleshooting 2 28 CAN USB 232 User Manual ...
Page 41: ...Getting Started CAN USB 232 User Manual 2 33 2 8 4 Get CAN Virtual Circuit Setting ...
Page 42: ...Troubleshooting 2 34 CAN USB 232 User Manual 2 8 5 Set CAN Virtual Circuit TX ID ...
Page 43: ...Getting Started CAN USB 232 User Manual 2 35 2 8 6 Set CAN Virtual Circuit RX ID ...
Page 44: ...Troubleshooting 2 36 CAN USB 232 User Manual 2 8 7 Set CAN Virtual Circuit Forced Send Code ...
Page 45: ...Getting Started CAN USB 232 User Manual 2 37 2 8 8 Set CAN Virtual Circuit Forced Wake Code ...
Page 46: ...Troubleshooting 2 38 CAN USB 232 User Manual 2 8 9 Set CAN Virtual Circuit Timeout Send ...
Page 47: ...Getting Started CAN USB 232 User Manual 2 39 2 8 10 Set CAN Virtual Circuit Wake Timeout ...
Page 48: ...Troubleshooting 2 40 CAN USB 232 User Manual 2 8 11 Set CAN Virtual Circuit Wait after Wakeup ...
Page 65: ...CAN USB 232 User Manual 2 1 ...