EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 393

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
393
Parameters
The following table shows the parameters of the SETIO_PART instruction:
Parameter
Declaration
Data type
Description
ID IN HW_SUBMO
DULE
Hardware identifier of the IO module
OFFSET IN Int Number of the first byte to be written in the process image for the compo-
nent (smallest possible value: 0)
LEN
IN
Int
Number of bytes to be written
STATUS
1
OUT DWord Contains the error information of DPWR_DAT (Page 408) in the form
DW#16#40xxxx00, if ERROR = TRUE
ERROR OUT Bool Error display: ERROR = TRUE if an error occurs when DPWR_DAT
(Page 408) is called
OUTPUTS IN_OUT Variant Source range for the data to be written: If the source area is greater than
LEN, the first LEN bytes are transferred from OUTPUTS.
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 SETIO_PART error codes, use the DWord data type.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals