beautypg.com

Function codes, 3modbus/tcp - data areas, 2 function codes – Pilz PNOZ mmc1p ETH User Manual

Page 12

background image

3.2

Function codes

3

Modbus/TCP - Data areas

Pilz GmbH & Co. KG, Felix-Wankel-Straße 2, 73760 Ostfildern, Germany
Telephone: +49 711 3409-0, Telefax: +49 711 3409-133, E-Mail: [email protected]

3-2

3.2

Function codes

3200

Function codes

3-

ModbusTCP_Function Codes-PNOZmulti

The following function codes (FC) are available for communication with

the modular safety system PNOZmulti via Modbus/TCP:

Function code

Function

FC 01

Read Coils

The Client in a connection reads bit data from the Server in the con-
nection,
data length

≥ 1 Bit, content: input/output data

(data received from 0x)

FC 02

Read Discrete Input

The Client in a connection reads bit data from the Server in the con-
nection,
data length

≥ 1 Bit, content: input/output data

(data received from 1x)

FC 03

Read Holding Register

The Client in a connection reads word data from the Server in the
connection,
data length

≥ 1 Word, content: diagnostic word

(data received from 4x)

FC 04

Read Input Register

The Client in the connection reads word data from the Server in the
connection,
data length

≥ 1 Word, content: diagnostic word

(data received from 3x)

FC 05

Write Single Coil

The Client in the connection writes to one bit datum in the Server in
the connection,
data length = 1 Bit, content: input data
(send data to 0x)

FC 06

Write Single Register

The Client in the connection writes to one word datum in the Server
in the connection,
data length = 1 Word, content: input data
(send data to 4x)

FC 15

Write Multiple Coils

The Client in the connection writes to multiple bit data in the Server
in the connection,
data length

≥ 1 Bit, content: input data

(send data to 0x)

FC 16

Write Multiple Registers

The Client in a connection writes to multiple word data in the Server
in the connection,
data length = 1 Word, content: input data
(send data to 4x)

FC 23

Read/Write Multiple Reg-
isters

The Client in a connection reads and writes multiple word data within
a telegram
(receive data from 3x and send data to 4x)