COMPAX-M/S - RS485 - Option
2
Table of contents
1. Description of the RS485-interface ..............................2
2. RS485-Bus ...................................................................3
2.1 Bus wiring .............................................................3
2.1.1 RS485 master at option F5..........................3
2.1.2 Via RS232-converter and option F1 - ..........4
2.1.3 Position plan of the cables...........................5
3. Device settings.............................................................6
3.3.1 Adjustment of operation mode at ASCII -
transmission .................................................6
4. Transmission protocol ..................................................7
4.1 Frame format for transmitting from PC to
COMPAX ..............................................................7
4.2 Meaning of the various trans-mission elements ...7
4.3 Frame format of the COMPAX response .............7
4.4 Binary data transmission via RS485 ....................8
4.4.1 Meaning of the binary command code.........8
4.5 Program examples ...............................................9
4.5.1 BASIC program with BCC............................9
4.5.2 BASIC program without BCC.....................10
This documentation applies to the following devices:
!
COMPAX 25XXS with option F1 or F5
!
COMPAX 45XXS with option F1 or F5
!
COMPAX 85XXS with option F1 or F5
!
COMPAX P1XXM with option F1, or F5 without option N1
!
COMPAX 02XXM with option F1 or F5
!
COMPAX 05XXM with option F1 or F5
!
COMPAX 15XXM with option F1 or F5
"XX":
any version number
"F1/F5": RS485 option
"N1":
single-phase supply (not possible in combination
with F1)
Key to device designation:
e.g.: COMPAX 0260M:
COMPAX: Name
02: rated power class
60: version, e.g. "00" = standard device
M: device type where "M" = multi-axes device and
"S" = single-axis device
HAUSER-name-plate
The name-plate is located on the top of the device and
comprises:
1. Description of the RS485-
interface
You can, via the RS232 interface of a industrial computer
and an RS232-RS485 bus converter, communicate with up
to 31 COMPAX devices. The following functions are
supported:
!
direct command input and execution in on-line mode,
!
reading out status values,
!
reading and writing program blocks (full command set
available),
!
reading and writing parameters, and
!
transmission of control statements.
Interface parameter of the ASCII protocol:
Interface:
F1: 4 wire for RS232-master
via RS232/RS485 -
converter.
F5: 2 wire - RS485
Baud rate:
150 up to 115200, set by
parameter P195
Maximum line
length:
1,2 kilometers
Devices on bus:
up to 31 COMPAX devices can be
connected
Address:
set by parameter P194
Character length:
8 bits
Start bit:
1 bit
Stop bit:
1 bit
Parity:
none / even / odd, set by
parameter P196
Hardware
handshake:
no
Software
handshake:
XON/XOFF, set by parameter
P196
Timeout monitoring
can be activated, by parameter
P196
Block-Check
Character (BCC)
can be activated, improves
transmission reliability
Input buffer:
command string, maximum 40
characters
Output buffer:
status string, maximum 40
characters
Data format:
ASCII, except for BCC
End-of-text
character (ETX):
CR: carriage return (0D hex)
Содержание Hauser COMPAX 25 S F1 Series
Страница 12: ...COMPAX M S RS485 12 ...