Get Port Address And Set Port Address (Ppi Protocol On Rs485/Rs232) - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

INT 2
Network 1
7.3.3

Get port address and set port address (PPI protocol on RS485/RS232)

You can use the GET_ADDR and SET_ADDR instructions to read and set the PPI network
address of the selected port.
Note
The CPU models CPU CR20s, CPU CR30s, CPU CR40s, and CPU CR60s do not support
the use of signal boards.
LAD / FBD
STL
GPA
SPA
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
Network 1
LD SM0.0
RCV VB100, 0
Description
ADDR, PORT The GET_ADDR instruction reads the station address of the CPU port speci-
fied in PORT and places the value in the address specified in ADDR.
ADDR, PORT The SET_ADDR instruction sets the port station address (PORT) to the value
specified in ADDR. The new address is not saved permanently. After a power
cycle, the affected port returns to the network address downloaded in the
system block.
Program instructions
7.3 Communication
Transmit Complete interrupt: Enable
another receive.
213

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents