2 data transfer limits, 3 function codes (client connections), Data transfer limits – Pilz PSSnet GW1 MOD-CAN User Manual

Page 18: Function codes (client connections)

Advertising
background image

Function description

Operating Manual PSSnet GW1 MOD-CAN
1002693-EN-02

18

Information
Addressing for Pilz systems starts at "0". On devices from other manufactur-
ers, addressing may start at "1".
Please refer to the operating manual provided by the relevant manufacturer.

Data transfer limits

This table contains the maximum data lengths supported per telegram:

Data transfer

Max. data length per tele-

gram

Read data (Bit)

FC 01 (Read Coils)

1 … 2000

FC 02 (Read Discrete In-

puts)

Read data (Word)

FC 03 (Read Holding Regis-

ters)

1 … 125

FC 04 (Read Input Register)

Write data (Bit)

FC 05 (Write Single Coil)

1 Bit

FC 15 (Write Multiple Coils) 1 … 1968

Write data (Word)

FC 06 (Write Single Regis-

ter)

1 Word

FC 16 (Write Multiple Regis-

ters)

1 … 123 Words

Read and write data (Word) FC 23 (Read/Write Multiple

Registers)

Read 1 … 125 Words

Write 1 … 121 Words

Data transfer limits

Information
There may be some restrictions in data length, depending on the device that
is used. Please refer to the information stated in the operating manual of the
relevant unit.

Function codes (Client connections)

The connection Client can access the Gateway's data areas using the following function
codes (FC):

Data area

Modbus syntax

Example

FC 01

Read Coils

The connection Client reads

bit data from the connection

Server,

data length = 1 Bit, content,

content: input/output data

(data received from 0x)

4.2.2

4.2.3

Advertising