beautypg.com

6 usable data, 1 virtual inputs (input byte 0 ... input byte 15), 1 mask (mask byte 0 ... mask byte 15) – Pilz PNOZ mm0p 24VDC User Manual

Page 81: 2 watchdog, Usable data, Virtual inputs (input byte 0 ... input byte 15), Virtual outputs (output byte 0 ... output byte 15)

background image

RS232/Ethernet interfaces

Operating Manual PNOZmulti communication interfaces
1001154-EN-13

81

Usable data

This section describes the payload that can be transmitted as the result of a corresponding
request.

Virtual inputs (Input Byte 0 ... Input Byte 15)

The virtual inputs are defined by the communications partner and transferred to the PNOZ-
multi. Each input has a number, e.g. input bit 4 of input byte 1 has the number i12.

Input Byte
0

i7

i6

i5

i4

i3

i2

i1

i0

1

i15

i14

i13

i12

i11

i10

i9

i8

2

i23

i22

i21

i20

i19

i18

i17

i16

...

...

...

...

...

...

...

...

...

Mask (Mask Byte 0 ... Mask Byte 15)
The mask is used to determine which of the virtual inputs sent in a Byte are to be set. For
example, if only inputs i0 to i5 are to be set in Byte 8, 0x3F must be entered in the mask in
Byte 24

Send virtual inputs to the PNOZmulti [

83]

.

Watchdog
The watchdog is used to monitor the virtual inputs.
If no virtual inputs are sent by a communications partner within a defined watchdog time
(watchdog timeout), the PNOZmulti sets the virtual inputs to "0".
The configuration and functionality of the watchdog varies and so is described in the re-
spective requests.

Virtual outputs (Output Byte 0 ... Output Byte 15)

The virtual outputs are defined in the PNOZmulti Configurator. Each output that is used is
given a number there, e.g. o0, o5 .... The state of output o0 is stored in bit 0 of output byte
0; the state of output o5 is stored in bit 5 of output byte 0 etc.

Output Byte
0

o7

o6

o5

o4

o3

o2

o1

o0

1

o15

o14

o13

o12

o11

o10

o9

o8

2

o23

o22

o21

o20

o19

o18

o17

o16

...

...

...

...

...

...

...

...

...

5.6

5.6.1

5.6.1.1

5.6.1.2

5.6.2