EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 391

Siemens SIMATIC S7-1200
1614 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Extended instructions
9.3 Distributed I/O (PROFINET, PROFIBUS, or AS-i)
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
391
Parameters
The following table shows the parameters of the GETIO_PART instruction:
Parameter
Declaration
Data type
Description
ID IN HW_SUBMO
DULE
Hardware identifier of the module
OFFSET IN Int Number of the first byte to be read in the process image for the component
(smallest possible value: 0)
LEN
IN
Int
Number of bytes to be read
STATUS
1
OUT DWord Contains the error information of DPRD_DAT (Page 408) in the form
DW#16#40xxxx00, if ERROR = TRUE
ERROR OUT Bool Error display: ERROR = TRUE if an error occurs when DPRD_DAT
(Page 408) is called
INPUTS IN_OUT Variant Destination area for read data: If the destination area is greater than LEN,
the instruction writes to the first LEN bytes of the destination area.
You can use the following data types:
System data types and array of system data types: BYTE, CHAR,
SINT, USINT, WORD, INT, UINT, DWORD, DINT, UDINT, REAL,
LREAL, LWORD, LINT, ULINT
User Defined Types (UDT)
Structures (STRUCT), but only in non-optimized data blocks (DB)
1
When displaying the GETIO_PART error codes, use the DWord data type.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals