Ascii - Record - Parker Compax3 Series Operating Instructions Manual

Electromechanical automation, positioning via devicenet
Hide thumbs Also See for Compax3 Series:
Table of Contents

Advertisement

Parker EME
5.2.2.

ASCII - record

Command
Answer strings
RS485 answer string
Read object
Write object
The general layout of a command string for Compax3 is as follows:
[Adr] command CR
Adr
RS232: no address
RS485: Compax3 address in the range 0 ... 99
Address settings can be made in the C3 ServoManager under "RS485 settings"
Command
valid Compax3 command
CR
End sign (carriage return)
A command consists of the representable ASCII characters (0x21 .. 0x7E). Lower
cases are converted automatically into capitals and blanks (0x20) are deleted, if
they are not placed between two quotation marks.
Separator between places before and after the decimal is the decimal point (0x2E).
A numeric value can be given in the Hex-format if it is preceded by the "$" sign.
Values can be requested in the Hex-format if the CR is preceded additionally by
the "$" sign.
All commands requesting a numeric value from Compax3 are acknowledged with
the respective numeric value in the ASCII format followed by a CR without prece-
ding command repetition and following statement of unit. The length of these ans-
wer strings differs depending on the value.
Commands requesting an Info-string (e.g. software version), are only acknowled-
ged with the respective ASCII character sequence followed by a CR, without pre-
ceding command repetition. The length of these answer strings is here constant.
Commands transferring a value to Compax3 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 ackno-
wledged with
!xxxxCR
The 4 digit error number xxxx is given in the HEX format; you will find the meaning
in the appendix (see page 339).
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$ ": (Object 402.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 ).
192-120114 N5 C3I22T11 June 2008
Communication
301

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents