Get Port Address; Set Port Address - Siemens SIMATIC S7-200 System Manual

Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

SIMATIC Instructions

Get Port Address

L
GET ADDR
A
D
EN
F
ADDR
B
D
PORT
S
GPA
T
L
221
222 224
Inputs/Outputs
ADDR
VB, IB, QB, MB, SB, SMB, LB, AC, *VD, *AC, *LD
PORT
Constant

Set Port Address

L
SET ADDR
A
D
EN
F
ADDR
B
PORT
D
S
SPA
T
L
221
222 224
Inputs/Outputs
ADDR
VB, IB, QB, MB, SB, SMB, LB, AC, Constant, *VD, *AC, *LD
PORT
Constant
9-196
The Get Port Address instruction reads the station
address of the CPU port specified in PORT and places
the value in the address specified in ADDR.
ENO
Get Port Address: Error conditions that set ENO = 0:
SM4.3 (run-time), 0006 (indirect address)
ADDR,
PORT
226
Operands
The Set Port Address instruction sets the port station
address (PORT) to the value specified in ADDR.
ENO
Set Port Address: Error conditions that set ENO = 0:
SM4.3 (run-time), 0006 (indirect address)
The new address is not saved permanently. After a
power cycle, the affected port will return to the last
ADDR,
address (the one that was downloaded with the system
PORT
block).
226
Operands
S7-200 Programmable Controller System Manual
Data Types
BYTE
BYTE
Data Types
BYTE
BYTE
A5E00066097-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents