beautypg.com

7 data exchange, 1 ethernet ip, 2 modbus tcp – Pilz PNOZ mm0p 24VDC User Manual

Page 53: Data exchange

background image

Fieldbus modules

Operating Manual PNOZmulti communication interfaces
1001154-EN-13

53

Host name:---
Domain name:--
SMTP server:--
DHCP enabled:No

}

Click the Store Configuration button. The settings are transferred to the expansion mod-

ule.

}

Switch off the supply voltage.

}

Set all DIP switches to zero.

}

Switch on the supply voltage. The new IP address for the unit is now set.

Data exchange

Twenty bytes always must be sent and received for communication with the PNOZmulti.

Ethernet IP
The input/output data from the PNOZmulti can be polled using the assembly object (Class
04h).
Data from the PNOZmulti are requested with instance 64h.
Instance 96h writes the data from the Ethernet IP scanner to the PNOZmulti.

Modbus TCP
No connection needs to be configured for the PNOZ mc8p. Port 502 is used as required by
the Modbus TCP specification.
Modbus TCP supports the following function codes:

Function code

Function name

1

Read coils

2

Read input discretes

3

Read multiple registers

4

Read input registers

5

Write coil

6

Write single register

7

Read exception status

15

Force multiple coils

16

Force multiple registers

22

Mask write register

23

Read/Write registers

The address input range begins with Register 0. The address output range begins with
Register 1024. The byte sequence of a word is high byte/low byte

Word
Left byte

Right byte

Low Byte (Bit 07 ... 00)

High Byte (Bit 15 ... 08)

4.4.7

4.4.7.1

4.4.7.2