
RS232 & RS485 – interface record
78
I11 T11 192-120101 N6 - March 2004
Commands requesting an Info-string (e.g. software version), are only
acknowledged with the respective ASCII character sequence followed by a CR,
without preceding command repetition. The length of these anser strings is here
constant.
Commands transferring a value to Compaxe or triggering a function in Compax3
are acknowledged by:
>CR
if the value can be accepted resp. if the function can be executed at that point in
time.
If this is ot the case or if the command syntax was invalid, the command is
is acknowledged with !xxxxCR
The 4 digit error number
xxxx
is given in the HEX format; you will find the meaning
in the
appendix
(see on page 4.)
When using RS485, each answer string is preceded by a "
*
" (ASCII - character:
0x2A).
Compax3 commands
RS232: O [$] Index , [$] Subindex [$]
RS485: Address O [$] Index , [$] Subindex [$]
The optional "$" after the subindex stands for "hex-output" which means that an
object value can also be requested in hex;
e.g. "
O $0192,2$
":
RS232: O [$] Index , [$] Subindex = [$] Value [ ; Value2 ; Value3 ; ...]
RS485: Address O [$] Index , [$] Subindex = [$] Value [ ; Value2 ; Value3 ; ...]
The optional "$" preceding Index, Subindex and value stands for "Hex-input" which
means that Index, Subindex and the value to be transferred can also be entered in
hex (e.g.
O $0192,2=$C8
).
RS485 answer string
Read object
Write object