Herunterladen Inhalt Inhalt Diese Seite drucken

Programmierung; Plc-Variablen - Siemens PN/BACnet LINK Betriebsanleitung

Inhaltsverzeichnis

Werbung

Konfigurieren / Projektieren / Programmieren

9.7 Programmierung

9.7
Programmierung
9.7.1

PLC-Variablen

Während der Projektierung des PN/BACnet LINK im TIA Portal werden vom HSP
automatisch PLC-Variablen angelegt, die Sie im S7-Programm zum Zugriff auf das zyklische
E/A-Abbild verwenden können. Damit kann der Zugriff auf die vom PN/BACnet LINK
belegten Teile des E/A-Abbilds vom S7-Programm aus über logische Namen erfolgen. Die
Verwendung von expliziten Adressen im S7-Programm ist damit nicht erforderlich.
Namensschema der erzeugten PLC-Variablen
Modul/
IO-Daten
Submodul
BACnet-Client
Prefix: <LinkName>.<ClientSubmoduleName>
ClientStatus
ClientControl
BACnet-Server Prefix: <LinkName>.<ServerSubmoduleName>
ServerStatus
ServerControl
Binary Input
Binary Output
Analog Input
Analog Output
BACnet-Gerät
Prefix: <LinkName>.<BACnetDeviceModuleName>
Binary Input
Binary Output
78
Namensschema
<Prefix>.ClientStatus
<Prefix>.ClientControl
Prefix
<
>.ServerStatus
Prefix
<
>.ServerControl
Prefix
<
>.<IOObjektName>
Pre-
<
fix
>.<IOObjektName>.OUT_OF_SERVICE
Prefix
<
>.<IOObjektName>
Pre-
<
fix
>.<IOObjektName>OUT_OF_SERVICE
Prefix
<
>.<IOObjektName>
Pre-
<
fix
>.<IOObjektName>OUT_OF_SERVICE
Prefix
<
>.<IOObjektName>
Pre-
<
fix
>.<IOObjektName>OUT_OF_SERVICE
Prefix
<
>.<IOObjektRefName>
Prefix
<
>.<IOObjektRefName >.IN_ALARM
Prefix
<
>.<IOObjektRefName >.FAULT
Prefix
<
>.<IOObjektRefName
>.OVERRIDDEN
Prefix
<
>.<IOObjektRefName
>.OUT_OF_SERVICE
Prefix
<
>.<IOObjektRefName >
Prefix
<
>.<IOObjektRefName >.IN_ALARM
Prefix
<
>.<IOObjektRefName >.FAULT
Datentyp S7-Adress-
Mnemonic
Bool
%I<
Bool
%Q<
Byte
%IB<
Byte
%QB<
Bool
%Q<
Bool
%Q<
Bool
%I<
Bool
%Q<
Real
%QD<
Bool
%Q<
Real
%ID<
Bool
%Q<
Bool
%I<
Bool
%I<
Bool
%I<
Bool
%I<
Bool
%I<
Bool
%Q<
Bool
%I<
Bool
%I<
Betriebsanleitung, 10/2017, A5E39895511-AA
ByteAdr
>.0
ByteAdr
>.0
ByteAdr
>
ByteAdr
>
ByteAdr
>.0
ByteAdr
>.7
ByteAdr
>.0
ByteAdr
>.7
ByteAdr
>
ByteAdr
>.7
ByteAdr
>
ByteAdr
>.7
ByteAdr
>.0
ByteAdr
>.4
ByteAdr
>.5
ByteAdr
>.6
ByteAdr
>.7
ByteAdr
>.0
ByteAdr
>.4
ByteAdr
>.5
PN/BACnet LINK

Quicklinks ausblenden:

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis