C-Link Protocol Commands
Record Layout Definition
Thermo Fisher Scientific
Model 48
i
Instruction Manual
B-53
Send:
relay
stat
Receive:
relay stat open
Note
If individual relays have been assigned different logic, then the
response would be a 4-digit hexadecimal string with the least significant
byte (LSB) being relay no 1.
▲
For example:
Receive:
relay stat 0x0001 (indicates relay no 1 is set to
normally open logic, all others are normally closed)
Receive:
relay stat 0x0005 (indicates relay no 1 and 3 are set
to be normally open logic, all others are normally
closed)
set relay open
set relay open
value
set relay closed
set relay closed
value
These commands set the relay logic to normally open or closed for relay
number
value
, where
value
is the relay between 1 and 16. The following
example sets the relay no 1 logic to normally open.
Note
If the command is sent without an appended relay number, then all
the relays are assigned the set logic of normally open/closed.
▲
Send:
set relay open 1
Receive:
set relay open 1 ok
The erec, lrec, and srec layouts contain the following:
●
A format specifier for parsing ASCII responses
●
A format specifier for parsing binary responses
In addition to these, the erec layout contains:
●
A format specifier for producing the front panel display screens
Values are read using either the ASCII or binary format specifiers and
converted to uniform internal representations (32-bit floats or 32-bit
integers). These values are converted into text for display on the screen
using the format specifier for the front panel display. Normally, the
specifier used to parse a particular datum from the input stream will be
strongly related to the specifier used to display it (such as, all of the floating
point inputs will be displayed with an 'f' output specifier, and all of the
integer inputs will be displayed with a 'd' specifier).
Record Layout
Definition