beautypg.com

C.1 communications & getting started 24, C.1.1 serial interface 24, C.1.2 command language 24 – Flintec DAS 72.1 User Manual

Page 24

background image

C.1

COMMUNICATIONS & GETTING STARTED

C.1.1 Serial interface

Communicating with the DAS 72.1 digitizer is carried out via the RS422/RS485 port.

The data format is the familiar 8/N/1 structure (8 data bits, no parity, 1 stop bit).

Available baud rates via the RS422/RS485 port are as follows:
9.600, 19.200, 38.400, 57.600 or 115.200 baud.

RS422

Connection using a 4 wire technique.

Point-to-Point connection, i.e. no bus communication possible.

Half duplex setup (DX=0).

RS485

Connection using 2- or 4-wire techniques.

Multi-drop connection possible, up to 32 DAS 72.1.

Half or Full Duplex (DX=0 or DX=1) possible.

(RS232)

Select a RS485/RS232 converter.

C.1.2 Command Language

The command set of the DAS 72.1 series is based on a simple ASCII format (2 capital letters). This enables
the user to setup the device, get results or check parameters.

Example:

DAS 72.1 with the address or channel number 1 is connected via the RS 485 port to a bus system. You want
to get the net weight.

In this manual “_“ means space & “

¿“ means enter (CR/LF)

Master (PC / PLC) sends

Slave (DAS 72.1) responds

Status

OP_1

¿

open device #1

OK

device #1 ready

GN

¿

get Net weigh

N+123.45

Net weight with algebraic

sign / comma

The command OP_2 opens the communication channel to DAS 72.1 device #2. Now device #2
acknowledges that it is active and responds to any commands on the bus. Communication with device #2
will be closed by another OP command (for another device on the bus e.g. OP_5) or by the command CL_2.

Each OP_X command implies a CL command to all other devices on the bus except device #X. This makes
the address structures easier and the system performance improves.

Page 24

Manual DAS 72.1