beautypg.com

2 function codes, Function codes – Pilz PNOZ m B0 User Manual

Page 48

background image

Modbus/TCP

Operating Manual PNOZmulti 2 Communication Interfaces
1002971­EN­02

48

6.4.2

Function codes

The following function codes (FC) are available for communication with the PNOZmulti 2
via Modbus/TCP:

Function code

Function

FC 01

Read Coils

The connection Client reads bit data
from the connection Server, 
data length ≥ 1 Bit, content: Input/output
data
(data received from 0x)

FC 02

Read Discrete Input

The connection Client reads bit data
from the connection Server, 
data length ≥ 1 Bit, content: Input/output
data
(data received from 1x)

FC 03

Read Holding Register

The connection Client reads word data
from the connection Server, 
data length ≥ 1 Word, content: Dia­
gnostic word
(data received from 4x)

FC 04

Read Input Register

The connection Client reads word data
from the connection Server, 
data length ≥ 1 Word, content: Dia­
gnostic word 
(data received from 3x)

FC 05

Write Single Coil

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

FC 06

Write Single Register

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

FC 15

Write Multiple Coils

The connection Client writes to multiple
bit data in the connection Server, 
data length ≥ 1 Bit, content: Input data 
(send data to 0x)

FC 16

Write Multiple Registers

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

FC 23

Read/Write Multiple Re­
gisters

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