Siemens SIMATIC NET IE/AS-INTERFACE LINK PN IO Manual page 121

Table of Contents

Advertisement

Calls
The following blocks are used for read or write data record:
Table 8-1
Read data record
(RecordDataRead)
Write data record
(RecordDataWrite)
Call Parameters
Certain parameters must have values assigned to specify the job. The name of this
parameter and type of parameter assignment can vary depending on the type of
PROFINET IO controller (user program for S7-CPU or for PG/PC).
Table 8-2
Parameters for Read/Write Data Records
SIMATIC S7 (SFB 52/53)
ID:
I/O address or diagnostic address of the
required slot of the IE/AS-i LINK.
S
Call to an AS-i line:
Here, you specify the I/O address or the
diagnostic address of the required line
(slot 0 or 100) as a HEX value.
S
Call to an AS-slave:
Here, you specify the I/O address or
diagnostic
address of the required
AS-i slave (slot 1...63 or 101...163) as a
HEX value.
Index:
Data record number, data format: INT
MLEN: length for "read data record"
LEN: length for "write data record"
RECORD:
Destination area for the data record,
referenced by ANY pointer
IE/AS−INTERFACE LINK PN IO
Release 08/2018
C79000−G8976−C216−03
Call
With SIMATIC S7
pAddr:
Address of the required slot of the IE/AS-i LINK.
S
Call to an AS-i line:
Here, you specify the address of the required line (slot 0 or
100) as a HEX value.
S
Call to an AS-slave:
Here, you specify the address of the required AS-i slave
(slot 1...63 or 101...163) as a HEX value.
RecordIndex
Length
Return over callback event
as of hardware version 1, as of firmware version V2.0
8 Using the Data Record Interface
programming interface
SFB52
SFB53
For PC: IO-Base programming interface
(pnio_*_read/write)
With IO-Base
pnio_rec_read_rec()
pnio_rec_write_rec()
121

Advertisement

Table of Contents
loading

Table of Contents