EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 452

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.7 Diagnostics (PROFINET or PROFIBUS)
S7-1200 Programmable controller
452 System Manual, V4.2, 09/2016, A5E02486680-AK
Table 9- 152 Data types for the parameters
Parameter and type
Data type
Description
LADDR
Input
HW_IO
Identifier of the module
IM_TYPE Input UInt Identification and maintenance (I&M) data number:
0: I&M0 (MLFB, serial number, version, and other information)
1: I&M1 (Designators)
2: I&M2 (Installation date)
3: I&M3 (Descriptor)
4: I&M4 (Signature)
RET_VAL
Output
Int
Status (condition code)
DATA InOut Variant I&M data (STRING or an array of BYTE); recommend use of the SDT
"IM0_Data" for IM_TYPE = 0.
Identification and maintenance (I&M) data can help you to check the system configuration,
detect hardware changes, or view maintenance data. Module identification data (I data) is
read only. Module maintenance data (M data) depends on system information, such as the
installation date. M data are created during maintenance planning and written to the module:
If the data type used at the parameter DATA is a string, then the current length of the
string is set according to the length of the I&M data.
If the data type used at the parameter DATA is an array of Byte or Char, then the I&M
data are copied in as a sequence of bytes.
If the data type used at the parameter DATA is a structure, then the I&M data are copied
in as a sequence of bytes.
If the given array of byte/char at DATA is longer than the requested I&M data, then the
byte value 16#00 is appended.
Other data types are not supported and error 8093 is returned.
Table 9- 153 Condition codes
RET_VAL (W#16#...)
Description
0
No error
8091
LADDR does not exist
8092
LADDR does not address a HW object which supports I&M data
8093
Data type given at parameter DATA is not supported
80B1
DATA instruction not supported by the CPU for this LADDR
80B2
IM_TYPE not supported by the CPU
8452 The complete I&M information does not fit into the variable given at the DATA parameter. A par-
tial result up to the byte length of the variable is returned.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals