COMPAX-M/S - RS485 Option
6
3. Device settings
The RS485 interface supports a number of functions with selectable settings. These are set by means of definable parameters.
3.1 Device address
The device address on each COMPAX can be set by means
of parameter P194.
The range is 0:
31, where "0" is the default setting. Before
putting any COMPAX device into operation, an address from
1 to 31 must be set.
3.2 Baud rate
The baud rate on each COMPAX can be set by means of
parameter P195. The range is 150 - 115200 bit/s.
Important: In all devices connected, the same baud
rate must be set.
3.3 RS485 operating mode
3.3.1 Adjustment of operation mode at
ASCII - transmission
to be adjusted via parameter P196
function
adjustment
valence
handshake:
none:
with XON/XOFF
0
1
parity:
none:
with:
odd:
even:
0
2
0
4
block-check-
character:
none:
with:
0
8
time-out-
supervision:
none:
with:
0
16
end-sign of
COMPAX-reply
C
R
L
F
>
C
R
0
32
COMPAX - reply
without address
with preceding address
of COMPAX
0
64
The desired adjustment can be carried out by entering the
valence sum into parameter P196.
3.3.2 Adjustment of field-bus protocol by
option F5
In order to be able to communicate with COMTAC, the field-
bus protocol must be adjusted. . For doing this, please set
P196 = 164
.
Reference during an application with COMTAC, field-bus
(option F5) and COMPAX:
Previous adjustment: P196=164
When using
!
F5 (2 wire-RS485) Software
≥
V1.22 and
!
COMPAX - Version > V2.0
P196 has to be adjusted to 165.
Baudrate
At field-bus operation, 4 different baud rates (to be adjusted
via P195) are possible:
!
28 800 baud
!
57 600 baud
!
172 800 baud
!
345 600 baud
3.3.3 Block-Check Character (BCC)
A byte-by-byte logical XOR of all characters in a transmission up
until - but excluding - the CR (0D hex) is sent after the last
character; (CR in the direction from PC to COMPAX, and the
prompt in the direction from COMPAX to IPC). This performs an
additional check on the transmitted data.
If the BCC function has been activated, COMPAX performs a
block check, and reports any detected transmission errors in
the form of error message E72. This error message does not
have to be acknowledged; you simply send the same
message again. If the BCC is error-free, COMPAX
acknowledges the error message itself.
3.3.4 Timeout monitoring
As soon as COMPAX is activated via the assigned address, a
time monitoring check is performed. For a definite period
(namely the transmission time required for five characters),
COMPAX awaits receipt of the next character. If COMPAX does
not receive this character, it generates error message E73.
This error message does not have to be acknowledged; you
simply send the same message again. If transmission is
error-free, COMPAX acknowledges the error message itself.
If the BCC function has been activated, timeout monitoring is
performed up until the BCC, and otherwise right up until the
last character.
Содержание Hauser COMPAX 25 S F1 Series
Страница 12: ...COMPAX M S RS485 12 ...