User manual

Intellibox Basic
52
10.3 Using the Interface
Before connecting the Intellibox basic with the PC the driver for the
interface must be installed. Otherwise your PC will not perform
correctly.
For the installation of the driver insert the CD into your CD-ROM
drive. After a short time the program will start and guide you
through the installation procedure for the software.
If the installation program on your PC does not start automatically,
open the CD-ROM drive assembly in the file manager or Explorer
and start "CDRUN.EXE" with a double click.
Information for installation is in the file "Driver Setup".
Connect the PC`s USB port with the Intellibox USB connection
(socket 5).
With successful installation the PC has a new COM Port with the
designation "Uhlenbrock USB LocoNet interface".
The interface can now be addressed by software via the COM Port.
10.4 Communication PC - LocoNet (only for experts)
Communication between PC and LocoNet must be according to the
following protocol:
Send message over USB and wait until the sent message is
received again, before sending a new message. If other messages
are received during the waiting period process them.
LACK (Long Acknowledge Message) treatment: If a LACK can
follow a message (see LocoNet documentation for the messages
that can be follow by a LACK), a flag must be set by the COM Port
after a send and receipt operation. If this flag is set and the next
received message is a LACK message, then this must be
processed because it is a reply to the sent Message. If the next
message received is not a LACK the set flag is reset. This way
ensures that a LACK is not assigned to a wrong Message.
Process Received Messages.
The echoed messages sent by PC do not have to be processed
upon receipt, since after transmission to LocoNet they appear in the
receive buffer and are processed by the receive routine.
Sending Messages without control of the return echo can lead to
errors in communication between PC and LocoNet. By this method
using a Baud rate of 115200 Baud will decrease the speed of
communication.
Attention
Attention