beautypg.com

Communication setup commands, Ad, na, br, dx, op, cl, td, Ad device address – Flintec DAD 141.1 User Manual

Page 47: Na network address [ index 0x300c, Br baud rate, Dx operation mode half-/full-duplex, Op open device, Cl close devices, Td transmission delay

background image

DAD 141.1 Technical Manual, Rev. 2.2 - February 2014

Page 47 of 54

10.10. Communication Setup Commands

– AD, NA, BR, DX, OP, CL, TD

10.10.1. AD Device Address

This command can set up the device address in the value range from 0 to 255.

Master (PC / SPS) sends

Slave (DAD 141.1) responds

Meaning

AD

A:000

Request: Address 0 (= factory default)

AD_49

OK

Setup: Address 49

Setting the device address to “0“ will cause the device to be permanently active, listening and responding to
every command on the bus without the need for an OP command.

Note: After editing the address you first have to save the changes (command WP) and then restart the device.

10.10.2. NA Network Address

[

Index 0x300C

]

This command displays or sets the network address of DAD 141.1 Ethernet port.

Factory default of TCP/IP address: 192.168.0.100.

Master (PC / SPS) sends

Slave (DAD 141.1) responds

Meaning

NA

A:192.168.000.100

Request: Actual TCP/IP address

NA192.168.11.90

OK

Setup: Set the address to 192.168.11.90

Note: A change will take effect after a reset, e.g. power off / on.

10.10.3. BR Baud Rate

With this command the following baud rates can be setup: 9600, 19200, 38400, 57600 and 115200 Baud.

Master (PC / SPS) sends

Slave (DAD 141.1) responds

Meaning

BR

B 115200

Request: 115200 Baud (= factory default)

BR_9600

OK

Setup: 9600 Baud

Factory setup: 115200 baud

Note: After editing the baud rate you first have to save the changes (command WP) and then restart the
device.

10.10.4. DX Operation Mode Half-/Full-Duplex

The DAD 141.1 can operate in half or full duplex mode.

Master (PC / SPS) sends

Slave (DAD 141.1) resp.

Meaning

DX

X:001

Request: DX = 1 (full duplex, factory default))

DX 0

OK

Setup: DX = 0 (half duplex)

10.10.5. OP Open Device

This command, if sent without parameters, requests the address or device number of the device active on
the bus. If sent with parameters, this enables the device defined by the parameters.

Master (PC / SPS) sends

Slave (DAD 141.1) resp.

Meaning

OP

O:003

Request: Device #3 open

OP_14

OK

Setup: Open Device #14

10.10.6. CL Close Devices

This command will close DAD 141.1 device in a bus.

Master (PC / SPS) sends

Slave (DAD 141.1) resp.

Meaning

CL

OK

Setup: All devices closed

10.10.7. TD Transmission Delay

In some half duplex applications using a PLC system, a delay of the data transmission (up to 255 milliseconds)
can be helpful due to the very quick answers of the DAD 141.1. Permitted values are 0 to 255 ms.

Master (PC / SPS) sends

Slave (DAD 141.1) resp.

Meaning

TD

T+00000

Request: 0 d

– no delay

TD_200

OK

Setup: 200 d

– 200 ms delay