beautypg.com

Pilz PSSnet GW1 MOD-CAN User Manual

Page 19

background image

Function description

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

19

Data area

Modbus syntax

Example

FC 02

Read Discrete Input

The connection Client reads

bit data from the connection

Server,

data length = 1 Bit, content,

content: input/output data

(data received from 1x)

FC 03

Read Holding Register

The connection Client reads

word data from the connec-

tion Server,

data length = 1 Word,

content: diagnostic word

(data received from 4x)

FC 04

Read Input Register

The connection Client reads

word data from the connec-

tion Server,

data length = 1 Word,

content: diagnostic word

(data received from 3x)

FC 05

Write Single Coil

The connection Client writes

to one bit datum in the con-

nection 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 Regis-

ters

The connection Client reads

and writes multiple word data

within a telegram

(receive data from 3x and

send data to 4x)