EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 454

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
454 System Manual, V4.2, 09/2016, A5E02486680-AK
Parameters
The following table shows the parameters of the Get_Name instruction:
Parameter
Declaration
Data type
Description
LADDR IN HW_IOSYSTEM Hardware identifier (HW-IoSystem) of the distributed IO sys-
tem. The number is taken from the system constants or the
properties of the IO system.
STATION_NR IN UInt
PROFINET IO device: Device number is applied in the
Network view from the properties of the IO device under
"Ethernet addresses".
PROFIBUS slave: PROFIBUS address is applied in the
Network view from the properties of the PROFIBUS slave
under "PROFIBUS address".
DATA
IN_OUT
Variant
Pointer to the area where the name is written.
DONE OUT Bool The instruction executes successfully. Name of the module
transfers to the area at the DATA parameter.
BUSY OUT Bool Status parameter:
0: Execution of the instruction complete.
1: Execution of the instruction not yet complete.
ERROR OUT Bool Status parameter:
0: No error
1: An error occurred during execution of the instruction.
The STATUS parameter contains detailed information.
LEN
OUT
DInt
Length of the name of the IO device (number of characters).
STATUS OUT Word Status parameter: The parameter is only set for the duration of
one call. To display the status, you should therefore copy
STATUS to a free data area.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals