beautypg.com

4 tables, 7 requests, 1 mask (mask byte 0 ... mask byte 15) – Pilz PNOZ m B0 User Manual

Page 33: Tables, Requests, Mask (mask byte 0 ... mask byte 15)

background image

Communication modules

Operating Manual PNOZmulti 2 Communication Interfaces
1002971­EN­02

33

}

Bit 5­7: Reserved

5.6.4

Tables

Further information can be requested in table form.

A table consists of one or more PNOZmulti 2 segments. Each segment is made up of 13
Bytes.

The communications partner requests the required data using the table number and seg­
ment number. The PNOZmulti 2

repeats the two numbers and sends the requested data.

There are a total of 11 tables, with the following contents:

Table 20:

Process data, base unit

Table 21:

Process data, right­hand expansion modules

Table 22

Process data, left­hand expansion modules

Table 23:

Process data, fieldbus module / communication module

Table 70:

Diagnostic words

Table 71:

Enable elements

Table 80:

Project information

Table 90:

Device data, base unit

Table 91:

Device data, right­hand expansion modules

Table 92

Device data, left­hand expansion modules

Table 93:

Device data, fieldbus module / communication module

The content of the tables is described in detail in the 

Appendix [

 101]

.

5.7

Requests

A request is defined via the request number and segment number.

The following requests are available:

Request
No.

Segment
No.

Meaning

0x14

0x01

Send virtual inputs to the PNOZmulti 2

0x14

0x02

Send virtual inputs to the PNOZmulti 2, request state of the
virtual outputs and LED status from the PNOZmulti 2.

0x2C

0x02

Request state of virtual inputs and outputs from PNOZmulti 2

0x2F

Request data from the PNOZmulti 2 in table form

0x5C

Request all input and output data from the PNOZmulti 2

5.7.1

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.