Appendix a, Hudson's lablinx, Communications and command set – Hudson Robotics LabLinx User Manual

Page 25: Protocol description

Advertising
background image

StackLink User Manual

Hudson Robotics, Inc.

21



Appendix A:


Hudson's LabLinx

Communications and Command Set

Version 1.0



Hudson's LabLinx System is designed to respond to a simplified set of ASCII commands
to allow any user program capable of reading/writing via an RS-232 port or TCP/IP
connection to exercise all the features of the LabLinx Units.

Protocol Description


For RS-232 communication, a single RS-232 port is used to communicate to each
LabLinx device attached to the system.
The RS-232 connection for the LabLinx system operates with the following
communication specifications:

Baud Rate:

38400

Data Bits:

8

Stop Bits:

1

Parity:

None

Handshake:

None

Device Type:

DCE

Connector:

9-pin, female


For TCP/IP communication, each unit must have a unique IP address assigned. This can
be accomplished with the SETIP command. The computer should then connect to this IP
address on TCP port 7.

LabLinx unit commands have the following format:

{command}[{parameter1},{parameter2},…]<13><10>


The {command} portion is the actual command to be executed by the receiving unit.
This may be followed by a comma-separated list of parameters as specified in the
individual command descriptions.
All LabLinx commands are terminated by a carriage return / line feed combination
(ASCII characters 13 and 10). The command is then delivered to the addressed unit,
which parses, validates, and executes the requested command before returning a
response. Commands may be sent to units while they are processing other commands.
Each unit can queue up to 10 commands. The behavior when the queue is overloaded is

Advertising