![IXXAT CAN@net II/Generic Manual Download Page 20](http://html1.mh-extra.com/html/ixxat/canatnet-ii-generic/canatnet-ii-generic_manual_2098901020.webp)
CAN@net II/Generic, Version 1.5
ASCII Protocol Server
20
4.5 Getting Started
This chapter describes the necessary steps to start the CAN data exchange
between the ASCII-Protocol server and the client.
After Power Up, the CAN@net II/Generic is busy booting. The ASCII-Protocol
server is started and ready to receive and process commands. This is indicated
by the CPU LED, which is blinking with a frequency of 1Hz.
The next step is to initialize the CAN controller hardware. Because the CAN
controller is not started yet, it is not possible to exchange CAN messages. Any
CAN messages received by the ASCII-Protocol server during this state are
discarded.
The necessary steps are as follows:
Issue a CAN init command to the ASCII-Protocol server. This command also
sets the desired CAN bus baud rate. The command "C INIT 500 \r\n" for
example will initialize the can controller hardware to 500 kBit/sec.
Wait for the ASCII-Protocol Server to respond, either with an error message
or with an OK.
Issue a CAN start command “C START” to the ASCII-Protocol server. This
command will put the CAN controller hardware into operating mode.
Wait for the ASCII-Protocol Server to respond; either with an error message
or with an OK.
Now the ASCII-Protocol server is fully configured and operational. If there was
any CAN data sent to the ASCII-Protocol server during this setup session, the
data has been discarded.
(After a “C START” command is acknowledged with OK), the ASCII-Protocol
server can receive data from the CAN bus and forward it to the ASCII-Protocol
client.
An example for these necessary steps can be seen in the coding example
described in section 6.2.