hit counter script

Siemens SIMATIC S7 System Manual page 215

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Non-fatal errors with ENO = 0
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
Input / output
ADDR
MASK
GATE
Note
To use the SIP_ADDR instruction, do not select the "IP address data is fixed to the values
below and cannot be changed by other means" option for the Ethernet Port in the
Communication section of the System Block.
Execution of the SIP_ADDR instruction causes the CPU to store the IP address, subnet
mask, and gateway values in persistent memory.
Example
Note that STEP 7-Micro/WIN SMART displays the outputs for the GIP_ADDR instruction,
ADDR, MASK, and GATE, as string values. For the SIP_ADDR instruction, however, you
provide the ADDR, MASK, and GATE inputs as hexadecimal values. For the SIP_ADDR
input values, think of each octet of the IP address, MASK and GATE as a hexadecimal
number.
For the SIP_ADDR instruction, consider the octets of the IP address "192.168.2.150":
Octet decimal value
192
168
2
150
You would use the combined hexadecimal values of the octets to form the ADDR input to the
SIP_ADDR instruction: 16#C0A80296. (You could convert this number to a decimal value,
but the hexadecimal value is representative of the values of the octets.)
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
SM bits affected
None
Data type
Operand
DWORD
ID, QD, VD, MD, SMD, SD, LD, AC, *VD, *LD, *AC
DWORD
ID, QD, VD, MD, SMD, SD, LD, AC, *VD, *LD, *AC
DWORD
ID, QD, VD, MD, SMD, SD, LD, AC, *VD, *LD, *AC
Hexadecimal value
C0
A8
02
96
Program instructions
7.3 Communication
215

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents

Save PDF