Extended instructions
9.7 Diagnostics (PROFINET or PROFIBUS)
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
467
4. Executing the GetStationInfo instruction:
– When the REQ input = 1 (FALSE), the instruction displays no IP address information
at the DATA input/output parameter or error code information at the STATUS output
parameter.
5. Completing execution of the GetStationInfo instruction:
– When the REQ input = 1 (TRUE), the program executes the instruction and writes the
IP address to the data block. The program writes the IP address, "C0 A8 02 1A"
(decimal value of "192.168.2.26"), to the DATA input/output parameter.