www.LeonAudio.com.au
Test comms to and from the
PCinterface.
The 5th byte
?
can be any ASCII character of your
choice. It is echoed back as part of the reply.
If no reply is received, check that the Rx lamp winked
when the command was sent. The Rx lamp will wink
when any data is received, even if the baud rate and
data format are wrong. This will help identify where
any problem may lie.
A reply is only sent when the
{RC2?
command is
received in the correct data format (N81) and at the
correct baud rate.
The 5th byte
?
is the random character entered as
the 5th byte of the
{RC2?
command above.
It is echoed back in this reply.
The last byte
?
is any ASCII character of
your choice.
Test comms to and from the
PCinterface.
Reply.
?
is the ASCII character of your choice from
the line above.
?
Test Comms reply
Testing the PCinterface to PC serial link
66.
{ R C 2
?
{ R R 2
?
Example
{ R R 2 ?
Testing
PCinterface Loop-back Test
The PCinterface has a built-in test mode.
All you need to run it is a loop-back lead.
When powered up, the PCinterface sends a heartbeat signal once
per second. If this signal is fed back into the PCinterface, it enters
the test mode. It works with any baud rate setting.
Set the RS232/RS485 switch to which ever input you are using.
In the test mode, you will see the following -
On the PCinterface, both Tx & Rx lamps will blink together about
once per second.
On the Master Station, a single
Group A
lamp will light on a
channel (1-6) that corresponds with the address that the Master is
set to. Every Master Station must be set to a different address.
Group B
lamps slowly chase from channel 1 to 16.
Go and Standby lamps toggle for any channels that have
Outstations connected.
•
•
•
•
Data Output
Data Input
1
2
3
4
5
6
7
8
9
1
8
1 Gnd
2 Gnd
3 Gnd
4 Tx+
5 Tx-
6 Gnd
7 Rx+
8 Rx-
RS485 (RJ45)
(viewed with the latch facing away)
Add the links in red.
Ground
Loop-back connectors
RS232 (DB9)
RS485 (RJ45)
RS232 (DB9)
Test Comms
{
2
C
R