beautypg.com

2 modbus/tcp, 1 modbus/tcp data ranges (server connections), 2 data transfer limits – Pilz PSSnet GW1 MOD-EtherCAT User Manual

Page 17: Modbus/tcp, Modbus/tcp data ranges (server connections), Data transfer limits

background image

Function description

Operating Manual PSSnet GW1 MOD-EtherCAT
1002692-EN-02

17

Modbus/TCP

The Gateway can manage a max. of 8 Modbus/TCP connections. The Gateway is always
the connection Server. The connection Clients may be various devices, e.g. PC, control
system, display unit. They can access the Gateway simultaneously.
Port number "502" in the Gateway is set as the default for data exchange via a Modbus/
TCP connection.

Modbus/TCP data ranges (Server connections)

The product supports the following Modbus/TCP data areas:

Data area

Modbus syntax

Example

Coils (Bit)

0x00000 … 0x65535

[read/write]

0x[xxxxx]

0x00031

Discrete Inputs (Bit)

1x00000 … 1x65535

[read only]

1x[xxxxx]

1x08193

Input Register (Wort/16 Bits)

3x00000 … 3x65535

[read only]

3x[xxxxx]

3x00002

Holding Register (Wort/16

Bits)

4x00000 … 4x65535

[read/write]

4x[xxxxx]

4x00805

Modbus/TCP data areas

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)

4.2

4.2.1

4.2.2