EasyManuals Logo

Siemens Simatic S7 Series System Manual

Siemens Simatic S7 Series
726 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
Page #191 background imageLoading...
Page #191 background image
Program instructions
7.3 Communication
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
191
7.3.4
Get IP address and set IP address (Ethernet)
LAD / FBD
STL
Description
GIP ADDR, MASK, GATE
The GIP_ADDR instruction copies the CPU’s IP address into ADDR, the
CPU’s subnet mask into MASK, and the CPU’s gateway into GATE.
SIP ADDR, MASK, GATE
The SIP_ADDR instruction sets the CPU’s IP address to the value found
in ADDR, the CPU’s subnet mask to the value found in MASK, and the
CPU’s gateway to the value found in GATE.
Non-fatal errors with ENO = 0
SM bits affected
006H Indirect address
0004H Attempted to execute a
SIP_ADDR instruction in an interrupt
routine
IP address cannot be changed (see
following note)
IP address is invalid for the current
subnet
None
Input / output
Data type
Operand
ADDR
DWORD
ID, QD, VD, MD, SMD, SD, LD, AC, *VD, *LD, *AC
MASK
DWORD
ID, QD, VD, MD, SMD, SD, LD, AC, *VD, *LD, *AC
GATE
DWORD
ID, QD, VD, MD, SMD, SD, LD, AC, *VD, *LD, *AC
Note
In order to use the SIP_ADDR instruction, the
"IP address data is fixed to the values
below and cannot be changed by other means"
checkbox must be unchecked. This
configuration checkbox is located in the "System Block", "Communication" node in the
"Ethernet" field.
The IP address, subnet mask, and gateway values are written to persistent memory.

Table of Contents

Other manuals for Siemens Simatic S7 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens Simatic S7 Series and is the answer not in the manual?

Siemens Simatic S7 Series Specifications

General IconGeneral
CPUVaries by model (e.g., S7-300, S7-400, S7-1200, S7-1500)
Communication InterfacesPROFIBUS, PROFINET, Ethernet, MPI
ProgrammingTIA Portal, STEP 7
Programming LanguagesLAD, FBD, STL, SCL, GRAPH
I/O ModulesDigital, Analog, Specialty modules available
Operating Temperature0°C to 60°C (standard models)
MountingDIN rail mounting
Operating Voltage24V DC or 120/230V AC (varies by model)
Protection ClassIP20 (standard models)
MemoryVaries depending on the S7 model. Includes work memory (RAM) for program execution, load memory (EEPROM or Flash) for program storage, and system memory for operating system functions. Memory sizes range from kilobytes to megabytes.

Related product manuals