This document contains a summary of an HVACR control system PLC program. It lists the program blocks, function blocks, data blocks, and configuration of various modules including the CPU, digital and analog input/output modules, and distributed I/O. System blocks for diagnostics, function blocks for controlling pumps, fans, chillers and more are defined. The document provides an overview of the PLC tags, user constants, and configuration of the PROFINET, PROFIBUS, and local I/O modules used in the system.
3. Totally Integrated
Automation Portal
DISCONNECT 2nd VFD [DB34] 67 - 1
Technology objects
CONT_C_DB_1 [DB27] 68 - 1
CONT_C_DB_2 [DB38] 69 - 1
PLC tags
Default tag table [220]
PLC tags 70 - 1
User constants 71 - 1
HMI Messages [79]
PLC tags 72 - 1
User constants 73 - 1
Memory Bits [121]
PLC tags 74 - 1
User constants 75 - 1
PID_TAGS [9]
PLC tags 76 - 1
User constants 77 - 1
PLC data types 78 - 1
Watch and force tables
Force table 79 - 1
PID_01_02 80 - 1
PLC alarms
PLC alarms 81 - 1
User diagnostics alarms 82 - 1
System alarms 83 - 1
Text lists 84 - 1
Local modules
DI 16/DO 16x24VDC/0.5A_1 85 - 1
DI 32x24VDC_1 86 - 1
DI 32x24VDC_2 87 - 1
DO 32x24VDC/0.5A_1 88 - 1
AI 8x13BIT_1 89 - 1
AI 8x13BIT_2 90 - 1
AI 8x13BIT_3 91 - 1
AO 4x12BIT_1 92 - 1
Distributed I/O
DP-Mastersystem (1): PROFIBUS_1 93 - 1
Slave_1 94 - 1
Kons.: 62 Word In, 4 Byte Out_1 95 - 1
4. Totally Integrated
Automation Portal
PLC_1 [CPU 314C-2 PN/DP]
PLC_1
General
Name PLC_1 Author SARFRAZ Comment
Rack 0 Slot 2
GeneralCatalog information
Short designation CPU 314C-2 PN/DP Description Work memory 192KB; 0.6ms/1000
instructions; DI24/DO16; AI5/AO2
integrated; 4 pulse outputs
(2.5kHz); 4 channels counting and
measuring with 24 V (60kHz) incre‐
mental encoders; integrated posi‐
tioning function; PROFINET inter‐
face and 2 Ports; MRP; PROFINET
CBA; PROFINET CBA Proxy; TCP/IP
transport protocol; combined
MPI/DP interface (MPI or DP master
or DP slave); multi-tier configura‐
tion up to 31 modules; capable of
sending and receiving in direct data
exchange; constant bus cycle time;
routing; firmware V3.3
Order number 6ES7 314-6EH04-0AB0
Firmware version V3.3
GeneralIdentification & Maintenance
Plant designation Location identifier
Isochronous mode interrupts
OB number Priority Distributed I/O Process image partition(s) Delay time (ms) Automatic setting
OB 61: 25 0 0.000 True
Isochronous mode interruptsOB 61
Application cycle
(ms):
0ms Time lag: 0.000ms Automatic setting True
Distributed I/O: 0
Isochronous mode interruptsOB 61Process image partition
PIP:
MPI/DP interfaceGeneral
Name MPI/DP interface_1 Comment
MPI/DP interfacePROFIBUS addressInterface networked with
Subnet: PROFIBUS_1
MPI/DP interfacePROFIBUS addressParameters
Interface type: PROFIBUS Address: 2 Highest address: 126
Transmission speed: 1.5 Mbps
MPI/DP interfaceOperating mode
Operating mode DP master DP master system: DP-Mastersystem (1) Assigned DP Master: Not assigned
MPI/DP interfaceOperating modeDPOperatingModeAddOnsMenu
Test, commissioning
and routing
False Watchdog True
MPI/DP interfaceAnchor (TimeSyncMenu)
The TreeNode Time‐
SyncMenu was not
filled by some ACF
MPI/DP interfaceSYNC/FREEZE
Group SYNC FREEZE Comment
1 True True
2 True True
3 True True
4 True True
5 True True
6 True True
7 True True
8 True True
MPI/DP interfaceDiagnostics addressesDiagnostics addresses
Start address 2047
Overview of addresses
Inputs True Outputs True Address gaps False
Slot True
5. Totally Integrated
Automation Portal
Overview of addressesOverview of addresses
Type Addr. from Addr. to Module PIP DP PN Rack Slot
I* 2047 2047 MPI/DP interface_1 - - - 0 2 X1
I* 2046 2046 PROFINET inter‐
face_1
- - - 0 2 X2
I* 2045 2045 Port_1 - - - 0 2 X2 P1 R
I* 2044 2044 Port_2 - - - 0 2 X2 P2 R
I 816 831 Count_1 - - - 0 2 7
I 832 847 Positioning_1 - - - 0 2 8
I 0 1 DI 16/DO
16x24VDC/0.5A_1
OB1-PI - - 0 4
I* 2043 2043 Slave_1 - 1(3) - 0 0
I 368 491 Kons.: 62 Word In,
4 Byte Out_1
- 1(3) - 0 1
I 752 761 AI 5/AO 2_1 - - - 0 2 6
I 124 126 DI 24/DO 16_1 OB1-PI - - 0 2 5
I 2 5 DI 32x24VDC_1 OB1-PI - - 0 5
I 6 9 DI 32x24VDC_2 OB1-PI - - 0 6
I 268 283 AI 8x13BIT_1 - - - 0 8
I 284 299 AI 8x13BIT_2 - - - 0 9
I 300 315 AI 8x13BIT_3 - - - 0 10
Q 816 831 Count_1 - - - 0 2 7
Q 832 847 Positioning_1 - - - 0 2 8
Q 0 1 DI 16/DO
16x24VDC/0.5A_1
OB1-PI - - 0 4
Q 368 375 AO 4x12BIT_1 - - - 0 11
Q 256 259 Kons.: 62 Word In,
4 Byte Out_1
- 1(3) - 0 1
Q 752 755 AI 5/AO 2_1 - - - 0 2 6
Q 124 125 DI 24/DO 16_1 OB1-PI - - 0 2 5
Q 2 5 DO 32x24VDC/
0.5A_1
OB1-PI - - 0 7
PROFINET interface [X2]General
Name PROFINET interface_1 Comment
PROFINET interface [X2]Ethernet addressesInterface networked with
Subnet: PN/IE_1
PROFINET interface [X2]Ethernet addressesIP protocol
Set IP address in the project IP address: 192.168.0.1 Subnet mask: 255.255.255.0
Use router False
PROFINET interface [X2]Ethernet addressesPROFINET
PROFINET device
name is set directly
at the device
False Generate PROFINET
device name auto‐
matically
True PROFINET device
name
plc_1
Converted name: plcxb1d0ed Device number: 0
PROFINET interface [X2]Time synchronizationNTP mode
Enable time syn‐
chronization via NTP
server
False IP addresses Server 1 0.0.0.0
Server 2 0.0.0.0 Server 3 0.0.0.0 Server 4 0.0.0.0
Update interval 10s
PROFINET interface [X2]Operating modePNOperatingModeInsiderPNOperatingModeMenuType5
IO controller True IO system Device number 0
IO device False Assigned IO control‐
ler
Parameter assign‐
ment of PN inter‐
face by higher-level
IO controller
0
Prioritized startup False Device number
PROFINET interface [X2]Advanced optionsInterface options
Call the user pro‐
gram if communica‐
tion errors occur
False Support device re‐
placement without
exchangeable medi‐
um
True Use IEC V2.2 LLDP
mode
True
Send keepalives for
connections
30s
PROFINET interface [X2]Advanced optionsMedia redundancy
MRP domain mrpdomain-1 Media redundancy
role:
Not device in the ring
PROFINET interface [X2]Advanced optionsReal time settingsIO communication
Send clock: 1.000ms
PROFINET interface [X2]Advanced optionsReal time settingsSynchronization
Sync domain: Sync-Domain_1 Synchronization
role:
Unsynchronized RT class: RT,IRT
PROFINET interface [X2]Advanced optionsReal time settingsReal time options
Calculated band‐
width for cyclic IO
data:
0.000ms
PROFINET interface [X2]Advanced optionsPort [X2 P1]General
Rack 1 Name Port_1 Rack 1
Comment Name Port_1 Comment
PROFINET interface [X2]Advanced optionsPort [X2 P1]Port interconnectionLocal port:
Local port: PLC_1PROFINET interface_1
[X2]Port_1 [X2 P1 R]
Medium: Copper Cable name: ---
6. Totally Integrated
Automation Portal
PROFINET interface [X2]Advanced optionsPort [X2 P1]Port interconnectionPartner port:
Alternative partners False Partner port: Any partner
PROFINET interface [X2]Advanced optionsPort [X2 P1]Port optionsActivate
Activate this port for
use
True
PROFINET interface [X2]Advanced optionsPort [X2 P1]Port optionsConnection
Transmission rate /
duplex:
Automatic Monitor False Enable autonegotia‐
tion
True
PROFINET interface [X2]Advanced optionsPort [X2 P1]Port optionsBoundaries
End of detection of
accessible devices
False End of topology dis‐
covery
False End of the sync do‐
main
False
PROFINET interface [X2]Advanced optionsPort [X2 P1]Diagnostics addressesDiagnostics addresses
Start address 2045 Start address 2045
PROFINET interface [X2]Diagnostics addressesDiagnostics addresses
Start address 2046
DI 24/DO 16General
Name DI 24/DO 16_1 Comment
DI 24/DO 16GeneralCatalog information
Short designation DI 24/DO 16 Description Digital input/output DI24 + DO16
DI 24/DO 16InputsChannel group 0 - 3
Input delay 3ms
DI 24/DO 16InputsChannel group 0 - 3Hardware interrupt channel 0Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 0 - 3Hardware interrupt channel 0Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 0 - 3Hardware interrupt channel 1Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 0 - 3Hardware interrupt channel 1Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 0 - 3Hardware interrupt channel 2Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 0 - 3Hardware interrupt channel 2Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 0 - 3Hardware interrupt channel 3Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 0 - 3Hardware interrupt channel 3Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 4 - 7
Input delay 3ms
DI 24/DO 16InputsChannel group 4 - 7Hardware interrupt channel 4Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 4 - 7Hardware interrupt channel 4Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 4 - 7Hardware interrupt channel 5Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 4 - 7Hardware interrupt channel 5Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 4 - 7Hardware interrupt channel 6Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 4 - 7Hardware interrupt channel 6Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 4 - 7Hardware interrupt channel 7Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 4 - 7Hardware interrupt channel 7Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 8 - 11
Input delay 3ms
DI 24/DO 16InputsChannel group 8 - 11Hardware interrupt channel 8Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 8 - 11Hardware interrupt channel 8Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 8 - 11Hardware interrupt channel 9Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 8 - 11Hardware interrupt channel 9Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 8 - 11Hardware interrupt channel 10Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 8 - 11Hardware interrupt channel 10Falling (negative) edge
Falling (negative)
edge
False
7. Totally Integrated
Automation Portal
DI 24/DO 16InputsChannel group 8 - 11Hardware interrupt channel 11Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 8 - 11Hardware interrupt channel 11Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 12 - 15
Input delay 3ms
DI 24/DO 16InputsChannel group 12 - 15Hardware interrupt channel 12Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 12 - 15Hardware interrupt channel 12Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 12 - 15Hardware interrupt channel 13Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 12 - 15Hardware interrupt channel 13Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 12 - 15Hardware interrupt channel 14Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 12 - 15Hardware interrupt channel 14Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 12 - 15Hardware interrupt channel 15Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 12 - 15Hardware interrupt channel 15Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 16 - 19
Input delay 3ms
DI 24/DO 16InputsChannel group 16 - 19Hardware interrupt channel 16Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 16 - 19Hardware interrupt channel 16Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 16 - 19Hardware interrupt channel 17Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 16 - 19Hardware interrupt channel 17Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 16 - 19Hardware interrupt channel 18Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 16 - 19Hardware interrupt channel 18Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 16 - 19Hardware interrupt channel 19Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 16 - 19Hardware interrupt channel 19Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 20 - 23
Input delay 3ms
DI 24/DO 16InputsChannel group 20 - 23Hardware interrupt channel 20Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 20 - 23Hardware interrupt channel 20Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 20 - 23Hardware interrupt channel 21Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 20 - 23Hardware interrupt channel 21Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 20 - 23Hardware interrupt channel 22Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 20 - 23Hardware interrupt channel 22Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16InputsChannel group 20 - 23Hardware interrupt channel 23Rising (positive) edge
Rising (positive)
edge
False
DI 24/DO 16InputsChannel group 20 - 23Hardware interrupt channel 23Falling (negative) edge
Falling (negative)
edge
False
DI 24/DO 16I/O addressesInput addresses
Start address 124 End address 126 Process image OB1-PI
Interrupt OB num‐
ber
40
DI 24/DO 16I/O addressesOutput addresses
Start address 124 End address 125 Process image OB1-PI
AI 5/AO 2General
Name AI 5/AO 2_1 Comment
8. Totally Integrated
Automation Portal
AI 5/AO 2GeneralCatalog information
Short designation AI 5/AO 2 Description Analog I/O AI5 + AO2
AI 5/AO 2Inputs
Temperature unit Degrees Celsius
AI 5/AO 2InputsChannel 0
Measuring type Deactivated Measuring range Deactivated Interference fre‐
quency suppression
---
Integration time ---
AI 5/AO 2InputsChannel 1
Measuring type Deactivated Measuring range Deactivated Interference fre‐
quency suppression
---
Integration time ---
AI 5/AO 2InputsChannel 2
Measuring type Deactivated Measuring range Deactivated Interference fre‐
quency suppression
---
Integration time ---
AI 5/AO 2InputsChannel 3
Measuring type Deactivated Measuring range Deactivated Interference fre‐
quency suppression
---
Integration time ---
AI 5/AO 2InputsChannel 4
Measuring type Deactivated Measuring range Deactivated
AI 5/AO 2OutputsOutput 0
Output type Voltage Output range 0..10V
AI 5/AO 2OutputsOutput 1
Output type Voltage Output range 0..10V
AI 5/AO 2I/O addressesInput addresses
Start address 752 End address 761 Process image None
Interrupt OB num‐
ber
40
AI 5/AO 2I/O addressesOutput addresses
Start address 752 End address 755 Process image None
CountGeneral
Name Count_1 Comment
CountGeneralCatalog information
Short designation Count Description 4 channels; counting and frequen‐
cy measurement at 60 kHz, pulse
width modulation at 2.5 kHz
switching frequency
CountInterrupt selection
Interrupt selection None
CountChannel 0
Operating mode Not configured
CountChannel 1
Operating mode Not configured
CountChannel 2
Operating mode Not configured
CountChannel 3
Operating mode Not configured
CountI/O addressesInput addresses
Start address 816 End address 831 Process image None
Interrupt OB num‐
ber
40
CountI/O addressesOutput addresses
Start address 816 End address 831 Process image None
PositioningGeneral
Name Positioning_1 Comment
PositioningGeneralCatalog information
Short designation Positioning Description 1 channel; positioning with analog
and digital outputs, counting fre‐
quency
PositioningInterrupt selection
Interrupt selection None
PositioningChannel 0
Operating mode None
PositioningI/O addressesInput addresses
Start address 832 End address 847 Process image None
Interrupt OB num‐
ber
40
PositioningI/O addressesOutput addresses
Start address 832 End address 847 Process image None
Startup
Startup if preset
configuration does
not match actual
configuration
True Reset outputs at hot
restart
True Disable hot restart
when started by op‐
erator or by a com‐
munication job
True
Startup after POWER
ON
Warm restart
StartupMonitoring time for
Ready message
from modules
650x 100 ms Parameter transfer
to modules
100x 100 ms
Cycle
Update process im‐
age cyclically
True Cycle monitoring
time
150ms Minimum scan cycle
time [ms]:
0
Cycle load due to
communication
20% Size of the process
image input:
256 Size of the process
image output:
256
OB85 call if I/O ac‐
cess error occurs
No OB85 call
Clock memory
Clock memory True Memory byte 50
9. Totally Integrated
Automation Portal
InterruptsTime-of-day interrupts
OB number Priority Active Execution Start time
OB 10: 2 False None 1994-01-01 00:00:00.000
InterruptsTime-delay interrupts
OB number Priority Process image partition(s)
OB 20: 3 None
OB 21: 4 None
InterruptsCyclic interrupts
OB number Priority Execution Phase offset Unit
OB 32: 9 1000 0 ms
OB 33: 10 500 0 ms
OB 34: 11 200 0 ms
OB 35: 12 100 0 ms
InterruptsHardware interrupts
OB number Priority
OB 40: 16
InterruptsInterrupts for DPV1
OB number Priority
OB 55: 2
OB 56: 2
OB 57: 2
InterruptsAsynchronous error interrupts
OB number Priority
OB 82: 26
OB 83: 26
OB 85: 26
OB 86: 26
OB 87: 26
Retentive memory
Number of memory
bytes starting at MB
0
0 Number of S7 timers
starting at T 0
0 Number of S7 coun‐
ters starting at C 0
8
Protection
Password Confirm password
Protection
Level of protection No protection
Protection Can be canceled with password
Can be canceled
with password
False
Diagnostics system
Report cause of
STOP
True Number of alarms in
the diagnostics buf‐
fer
10
System diagnosticsGeneral
Activate system di‐
agnostics for this
PLC
True
System diagnosticsAlarm settings
Category Alarm Acknowledgement Alarm class
Fault True False No Acknowledgement
Maintenance demanded True False No Acknowledgement
Maintenance required True False No Acknowledgement
Info True False No Acknowledgement
System diagnosticsDiagnostic support
Query for status "ac‐
tivated/deactivated"
after startup
False Send alarm if status
changes from/to ac‐
tivated or deactiva‐
ted
False
Additional blocks for diagnostic data Create Block name Block number
Diagnostic status DB: True RSE_DIAGNOSTIC_STATUS_DB 127
System diagnosticsSystem diagnostic blocks
System diagnostic blocks Block name Block number
FB: RSE_FB 49
DB: RSE_DB 49
Global DB: RSE_GLOBAL_DB 50
FC: RSE_FC 49
Time of day
Correction factor 0ms
Time of daySynchronization on PLC
Type of synchroni‐
zation
None Time interval None
Time of daySynchronization on MPI
Type of synchroni‐
zation
None Time interval None
Web serverGeneral
Activate web server
on this module
True Permit access only
with HTTPS
False
Web serverAutomatic update
Enable automatic
update
True Update interval 10s
Web serverLanguages
Active Web server language Assign project language
False German None
True English English (United States)
False French None
False Spanish None
False Italian None
False Japanese None
False Chinese (simplified) None
10. Totally Integrated
Automation Portal
Web serverUser management
User name User rights
Everybody
Web serverUser defined web pages
Application name HTML source path Default HTML page Files with dynamic content Web DB number Fragment DB number
index.htm .htm;.html 333 334
Web serverDisplay classes of messages
Display class Active
0 True
1 True
2 True
3 True
4 True
5 True
6 True
7 True
8 True
9 True
10 True
11 True
12 True
13 True
14 True
15 True
16 True
Anchor (ParameterCommunicationMenu)
The TreeNode Pa‐
rameterCommunica‐
tionMenu was not
filled by some ACF
Anchor (AddressesOverviewMenu)
The AddressesOver‐
viewMenu was not
filled by some ACF
11. Totally Integrated
Automation Portal
PLC_1 [CPU 314C-2 PN/DP] / Program blocks
Main [OB1]
Main Properties
General
Name Main Number 1 Type OB Language STL
Numbering automatic
Information
Title "Main Program Sweep (Cy‐
cle)"
Author Comment Family
Version 0.1 User-defined
ID
Name Data type Offset Default value Comment
Temp
OB1_EV_CLASS Byte 0.0 Bits 0-3 = 1 (Coming event), Bits 4-7 = 1 (Event class 1)
OB1_SCAN_1 Byte 1.0 1 (Cold restart scan 1 of OB 1), 3 (Scan 2-n of OB 1)
OB1_PRIORITY Byte 2.0 Priority of OB Execution
OB1_OB_NUMBR Byte 3.0 1 (Organization block 1, OB1)
OB1_RESERVED_1 Byte 4.0 Reserved for system
OB1_RESERVED_2 Byte 5.0 Reserved for system
OB1_PREV_CYCLE Int 6.0 Cycle time of previous OB1 scan (milliseconds)
OB1_MIN_CYCLE Int 8.0 Minimum cycle time of OB1 (milliseconds)
OB1_MAX_CYCLE Int 10.0 Maximum cycle time of OB1 (milliseconds)
OB1_DATE_TIME Date_And_Time 12.0 Date and time OB1 started
Constant
Network 1:
0001 CALL "MEMORY=PERIPHERAL"
0002 CALL "ALARM MESSAGES"
0003 CALL "DATE AND TIME"
0004 CALL "ENERGY MONITORING"
0005 CALL "AUXILIARY WATCHDOG TIMERS"
0006 CALL "PRIMARY PUMP"
0007 CALL "SECONDARY PUMP"
0008 CALL "COOLING TOWER FANS"
0009 CALL "PV_FLOW_MONITORING"
0010 CALL "SYSTEM START_STOP_FAULT"
0011 CALL "VFD SPEED CONTROL"
0012 CALL "CHILLER START_STOP"
0013 CALL "PV_LEVEL_MONITORING"
0014 CALL "PV_PRESSURE_MONITORING"
0015 CALL "PV_TEMPERATURE_MONITORING"
0016 CALL "SECONDARY DUTY CYCLE"
0017 CALL "PRIMARY DUTY CYCLE"
0018 CALL "Coefficient of Performance"
Symbol Address Type Comment
Network 2: Call system diagnostics block
0001 CALL "RSE_FB", "RSE_DB"
Symbol Address Type Comment
12. Totally Integrated
Automation Portal
PLC_1 [CPU 314C-2 PN/DP] / Program blocks
MEMORY=PERIPHERAL [FC1]
MEMORY=PERIPHERAL Properties
General
Name MEMORY=PERIPHERAL Number 1 Type FC Language STL
Numbering automatic
Information
Title Author Comment Family
Version 0.1 User-defined
ID
Name Data type Offset Default value Comment
Input
Output
InOut
Temp
Constant
Return
MEMORY=PERIPHERAL Void
Network 1: MEMORY BITS AGAINST PERIPHERAL INPUTS
0001 A "SURGE FAULT INPUT (4SPD3)"
0002 = "SURGE FAULT INPUT (4SPD3) MEMORY BIT"
0003 A "PHASE SEQUENCE RELAY (4PFR5)"
0004 = "PHASE SEQUENCE RELAY (4PFR5) MEMORY BIT"
0005 A "PANEL COOLING FAN MCB INPUT (5F4)"
0006 = "PANEL COOLING FAN MCB INPUT (5F4) MEMORY BIT"
0007 A "SYSTEM START PUSH BUTTON (8S4)"
0008 = "SYSTEM START PUSH BUTTON (8S4) MEMORY BIT"
0009 A "SYSTEM STOP PUSH BUTTON (8S5)"
0010 = "SYSTEM STOP PUSH BUTTON (8S5) MEMORY BIT"
0011 A "SYSTEM RESET PUSH BUTTON (8S5.1)"
0012 = "SYSTEM RESET PUSH BUTTON (8S5.1) MEMORY BIT"
0013 A "EMERGENCY STOP AT PANEL (8S6)"
0014 = "EMERGENCY STOP AT PANEL (8S6) MEMORY BIT"
0015 A "AUTO/MANUAL SELECTOR SWITCH (8SS6.1)"
0016 = "AUTO/MANUAL SELECTOR SWITCH (8SS6.1) MEMORY BIT"
0017 A "FIELD INSTRUMENT MCB (5F0.0)"
0018 = "FIELD INSTRUMENT MCB (5F0.0) MEMORY BIT"
0019 A "FIELD INSTRUMENT MCB (5F1)"
0020 = "FIELD INSTRUMENT MCB (5F1) MEMORY BIT"
0021 A "FIELD INSTRUMENT MCB (5F2)"
0022 = "FIELD INSTRUMENT MCB (5F2) MEMORY BIT"
0023 A "FIELD INSTRUMENT MCB (5F3.1)"
0024 = "FIELD INSTRUMENT MCB (5F3.1) MEMORY BIT"
0025 A "FIELD INSTRUMENT MCB (5F4)"
0026 = "FIELD INSTRUMENT MCB (5F4) MEMORY BIT"
0027 A "SPARE(7)"
0028 = "SPARE(82) MEMORY BIT"
0029 A "SPARE(8)"
0030 = "SPARE(83) MEMORY BIT"
0031 A "SPARE(9)"
0032 = "SPARE(84) MEMORY BIT"
0033 A "SPARE(10)"
0034 = "SPARE(85) MEMORY BIT"
0035 A "SPARE(11)"
0036 = "SPARE(86) MEMORY BIT"
0037 A "SPARE(12)"
0038 = "SPARE(87) MEMORY BIT"
0039 A "SPARE(13)"
0040 = "SPARE(88) MEMORY BIT"
0041 A "SPARE(14)"
0042 = "SPARE(89) MEMORY BIT"
0043 A "SPARE(15)"
0044 = "SPARE(90) MEMORY BIT"
0045 A "SPARE(16)"
0046 = "SPARE(91) MEMORY BIT"
0047 A "SPARE(17)"
0048 = "SPARE(92) MEMORY BIT"
0049 A "Primary Pump P103A Running Feed Back"
0050 = "Primary Pump P103A Running Feed Back MEMORY BIT"
0051 A "Primary Pump P103B Running Feed Back"
0052 = "Primary Pump P103B Running Feed Back MEMORY BIT"
0053 A "Primary Pump P103C Running Feed Back"
0054 = "Primary Pump P103C Running Feed Back MEMORY BIT"
0055 A "Secondary Pump P104A VFD Running Feed Back"
0056 = "Secondary Pump P104A VFD Running Feed Back MEMORY BIT"
0057 A "Secondary Pump P104B VFD Running Feed Back"
0058 = "Secondary Pump P104B VFD Running Feed Back MEMORY BIT"
0059 A "Secondary Pump P104C VFD Running Feed Back"
0060 = "Secondary Pump P104C VFD Running Feed Back MEMORY BIT"
0061 A "Cooling Tower Fan 01 Running Feed Back"
0062 = "Cooling Tower Fan 01 Running Feed Back MEMORY BIT"
0063 A "Cooling Tower Fan 02 Running Feed Back"
0064 = "Cooling Tower Fan 02 Running Feed Back MEMORY BIT"
13. Totally Integrated
Automation Portal
0065 A "Cooling Tower Fan 03 Running Feed Back"
0066 = "Cooling Tower Fan 03 Running Feed Back MEMORY BIT"
0067 A "Cooling Tower Fan 04 Running Feed Back"
0068 = "Cooling Tower Fan 04 Running Feed Back MEMORY BIT"
0069 A "Cooling Tower Fan 05 Running Feed Back"
0070 = "Cooling Tower Fan 05 Running Feed Back MEMORY BIT"
0071 A "Cooling Tower Fan 06 Running Feed Back"
0072 = "Cooling Tower Fan 06 Running Feed Back MEMORY BIT"
0073 A "Return Water PIT 101 Valve Open Feed Back"
0074 = "Return Water PIT 101 Valve Open Feed Back MEMORY BIT"
0075 A "SPARE(34)"
0076 = "SPARE(93) MEMORY BIT"
0077 A "SPARE(35)"
0078 = "SPARE(94) MEMORY BIT"
0079 A "SPARE(36)"
0080 = "SPARE(95) MEMORY BIT"
0081 AN "Primary Pump P103A Manual Mode Selected"
0082 = "Primary Pump P103A Auto/Manual Mode Selected MEMORY BIT"
0083 AN "Primary Pump P103B Manual Mode Selected"
0084 = "Primary Pump P103B Auto/Manual Mode Selected MEMORY BIT"
0085 AN "Primary Pump P103C Manual Mode Selected"
0086 = "Primary Pump P103C Auto/Manual Mode Selected MEMORY BIT"
0087 AN "Secondary Pump P104A Manual Mode Selected"
0088 = "Secondary Pump P104A Auto/Manual Mode Selected MEMORY BIT"
0089 AN "Secondary Pump P104B Manual Mode Selected"
0090 = "Secondary Pump P104B Auto/Manual Mode Selected MEMORY BIT"
0091 AN "Secondary Pump P104C Manual Mode Selected"
0092 = "Secondary Pump P104C Auto/Manual Mode Selected MEMORY BIT"
0093 AN "Cooling Tower Fan 01 Manual Mode Selected"
0094 = "Cooling Tower Fan 01 Auto/Manual Mode Selected MEMORY BIT"
0095 AN "Cooling Tower Fan 02 Manual Mode Selected"
0096 = "Cooling Tower Fan 02 Auto/Manual Mode Selected MEMORY BIT"
0097 AN "Cooling Tower Fan 03 Manual Mode Selected"
0098 = "Cooling Tower Fan 03 Auto/Manual Mode Selected MEMORY BIT"
0099 AN "Cooling Tower Fan 04 Manual Mode Selected"
0100 = "Cooling Tower Fan 04 Auto/Manual Mode Selected MEMORY BIT"
0101 AN "Cooling Tower Fan 05 Manual Mode Selected"
0102 = "Cooling Tower Fan 05 Auto/Manual Mode Selected MEMORY BIT"
0103 AN "Cooling Tower Fan 06 Manual Mode Selected"
0104 = "Cooling Tower Fan 06 Auto/Manual Mode Selected MEMORY BIT"
0105 A "SPARE(40)"
0106 = "SPARE(96) MEMORY BIT"
0107 A "SPARE(41)"
0108 = "SPARE(97) MEMORY BIT"
0109 A "SPARE(42)"
0110 = "SPARE(98) MEMORY BIT"
0111 A "SPARE(43)"
0112 = "SPARE(99) MEMORY BIT"
0113 A "Absorption Chiller Unit-A Running Feedback"
0114 = "Absorption Chiller Unit-A Running Feedback MEMORY BIT"
0115 A "Absorption Chiller Unit-B Running Feedback"
0116 = "Absorption Chiller Unit-B Running Feedback MEMORY BIT"
0117 A "Trane Chiller Unit-A Running Feedback"
0118 = "Trane Chiller Unit-A Running Feedback MEMORY BIT"
0119 A "Trane Chiller Unit-B Running Feedback"
0120 = "Trane Chiller Unit-B Running Feedback MEMORY BIT"
0121 AN "Carrier-6 Chiller Unit-A Running Feedback"
0122 = "Carrier-6 Chiller Unit-A Running Feedback MEMORY BIT"
0123 AN "Carrier-6 Chiller Unit-B Running Feedback"
0124 = "Carrier-6 Chiller Unit-B Running Feedback MEMORY BIT"
0125 AN "Carrier-6 Chiller Unit-C Running Feedback"
0126 = "Carrier-6 Chiller Unit-C Running Feedback MEMORY BIT"
0127 AN "Carrier-7 Chiller Unit-A Running Feedback"
0128 = "Carrier-7 Chiller Unit-A Running Feedback MEMORY BIT"
0129 AN "Carrier-7 Chiller Unit-B Running Feedback"
0130 = "Carrier-7 Chiller Unit-B Running Feedback MEMORY BIT"
0131 A "Carrier-7 Chiller Unit-C Running Feedback"
0132 = "Carrier-7 Chiller Unit-C Running Feedback MEMORY BIT"
0133 A "SPARE(44)"
0134 = "SPARE(100) MEMORY BIT"
0135 A "SPARE(45)"
0136 = "SPARE(101) MEMORY BIT"
0137 A "SPARE(46)"
0138 = "SPARE(102) MEMORY BIT"
0139 A "SPARE(47)"
0140 = "SPARE(103) MEMORY BIT"
0141 A "SPARE(48)"
0142 = "SPARE(104) MEMORY BIT"
0143 A "SPARE(49)"
0144 = "SPARE(105) MEMORY BIT"
0145
Symbol Address Type Comment
"Absorption Chiller Unit-A Running
Feedback MEMORY BIT"
%M4.0 Bool
"Absorption Chiller Unit-A Running
Feedback"
%I4.0 Bool
"Absorption Chiller Unit-B Running
Feedback MEMORY BIT"
%M4.1 Bool
"Absorption Chiller Unit-B Running
Feedback"
%I4.1 Bool
17. Totally Integrated
Automation Portal
PLC_1 [CPU 314C-2 PN/DP] / Program blocks
ENERGY MONITORING [FC4]
ENERGY MONITORING Properties
General
Name ENERGY MONITORING Number 4 Type FC Language STL
Numbering automatic
Information
Title Author Comment Family
Version 0.1 User-defined
ID
Name Data type Offset Default value Comment
Input
Output
InOut
Temp
Constant
Return
ENERGY MONITORING Void
Network 1: ENERGY ANALYZER UMG96RM-P
0001 L 8
0002 T "WRITE PROFILE 8":P
0003 L "VOLTAGE L1-N":P
0004 TRUNC
0005 T "UMG96RM"."VOLTAGE L1-N"
0006 L "VOLTAGE L2-N":P
0007 TRUNC
0008 T "UMG96RM"."VOLTAGE L2-N"
0009 L "VOLTAGE L3-N":P
0010 TRUNC
0011 T "UMG96RM"."VOLTAGE L3-N"
0012 L "CURRENT-L1":P
0013 T "UMG96RM"."CURRENT-L1"
0014 L "CURRENT-L2":P
0015 T "UMG96RM"."CURRENT-L2"
0016 L "CURRENT-L3":P
0017 T "UMG96RM"."CURRENT-L3"
0018 L "CURRENT SUM L1...L3":P
0019 T "UMG96RM"."CURRENT SUM L1...L3"
0020 L "POWER-L1":P
0021 TRUNC
0022 T "UMG96RM"."POWER-L1"
0023 L "POWER-L2":P
0024 TRUNC
0025 T "UMG96RM"."POWER-L2"
0026 L "POWER-L3":P
0027 TRUNC
0028 T "UMG96RM"."POWER-L3"
0029 L "POWER SUM L1...L3":P
0030 TRUNC
0031 T "UMG96RM"."POWER SUM L1...L3"
0032 L "Cos phi-L1":P
0033 ABS
0034 T "UMG96RM"."Cos phi-L1"
0035 L "Cos phi-L2":P
0036 ABS
0037 T "UMG96RM"."Cos phi-L2"
0038 L "Cos phi-L3":P
0039 ABS
0040 T "UMG96RM"."Cos phi-L3"
0041 L "FREQUENCY"
0042 TRUNC
0043 T "UMG96RM".FREQUENCY
0044
0045 //SPD SURGE COUNTER(4 SPD3 )
0046
0047 A "TIMER SURGE COUNTER"
0048 FP "PULSE_3"
0049 JNB WNV_0
0050 L "UMG96RM"."SURGE COUNTER"
0051 L 1
0052 +I
0053 T "UMG96RM"."SURGE COUNTER"
0054 WNV_0: NOP 0
0055
Symbol Address Type Comment
"Cos phi-L1":P %ID425:P DWord
"Cos phi-L2":P %ID429:P DWord
"Cos phi-L3":P %ID433:P DWord
"CURRENT SUM L1...L3":P %ID409:P DWord
"CURRENT-L1":P %ID393:P DWord
"CURRENT-L2":P %ID397:P DWord
"CURRENT-L3":P %ID401:P DWord
18. Totally Integrated
Automation Portal
Symbol Address Type Comment
"FREQUENCY" %ID437 DWord
"POWER SUM L1...L3":P %ID441:P DWord
"POWER-L1":P %ID413:P DWord
"POWER-L2":P %ID417:P DWord
"POWER-L3":P %ID421:P DWord
"PULSE_3" %M77.5 Bool
"TIMER SURGE COUNTER" %T7 Timer
"UMG96RM"."Cos phi-L1" %DB2.DBD44 Real
"UMG96RM"."Cos phi-L2" %DB2.DBD48 Real
"UMG96RM"."Cos phi-L3" %DB2.DBD52 Real
"UMG96RM"."CURRENT SUM
L1...L3"
%DB2.DBD24 Real
"UMG96RM"."CURRENT-L1" %DB2.DBD12 Real
"UMG96RM"."CURRENT-L2" %DB2.DBD16 Real
"UMG96RM"."CURRENT-L3" %DB2.DBD20 Real
"UMG96RM"."POWER SUM L1...L3" %DB2.DBD40 DInt
"UMG96RM"."POWER-L1" %DB2.DBD28 DInt
"UMG96RM"."POWER-L2" %DB2.DBD32 DInt
"UMG96RM"."POWER-L3" %DB2.DBD36 DInt
"UMG96RM"."SURGE COUNTER" %DB2.DBW60 Int
"UMG96RM"."VOLTAGE L1-N" %DB2.DBD0 DInt
"UMG96RM"."VOLTAGE L2-N" %DB2.DBD4 DInt
"UMG96RM"."VOLTAGE L3-N" %DB2.DBD8 DInt
"UMG96RM".FREQUENCY %DB2.DBD56 Real
"VOLTAGE L1-N":P %ID369:P DWord
"VOLTAGE L2-N":P %ID373:P DWord
"VOLTAGE L3-N":P %ID377:P DWord
"WRITE PROFILE 8":P %QB256:P Byte
19. Totally Integrated
Automation Portal
PLC_1 [CPU 314C-2 PN/DP] / Program blocks
UMG96RM [DB2]
UMG96RM Properties
General
Name UMG96RM Number 2 Type DB Language DB
Numbering automatic
Information
Title Author Comment Family
Version 0.1 User-defined
ID
Name Data type Offset Start value Retain Accessible
from HMI
Visible in
HMI
Setpoint Comment
Static
VOLTAGE L1-N DInt 0.0 0 True True True False
VOLTAGE L2-N DInt 4.0 0 True True True False
VOLTAGE L3-N DInt 8.0 0 True True True False
CURRENT-L1 Real 12.0 0.0 True True True False
CURRENT-L2 Real 16.0 0.0 True True True False
CURRENT-L3 Real 20.0 0.0 True True True False
CURRENT SUM L1...L3 Real 24.0 0.0 True True True False
POWER-L1 DInt 28.0 0 True True True False
POWER-L2 DInt 32.0 0 True True True False
POWER-L3 DInt 36.0 0 True True True False
POWER SUM L1...L3 DInt 40.0 0 True True True False
Cos phi-L1 Real 44.0 0.0 True True True False
Cos phi-L2 Real 48.0 0.0 True True True False
Cos phi-L3 Real 52.0 0.0 True True True False
FREQUENCY Real 56.0 0.0 True True True False
SURGE COUNTER Int 60.0 0 True True True False
20. Totally Integrated
Automation Portal
PLC_1 [CPU 314C-2 PN/DP] / Program blocks
COMPLETE RESTART [OB100]
COMPLETE RESTART Properties
General
Name COMPLETE RESTART Number 100 Type OB Language STL
Numbering manual
Information
Title "Complete Restart" Author Comment Family
Version 0.1 User-defined
ID
Name Data type Offset Default value Comment
Temp
OB100_EV_CLASS Byte 0.0 16#13, Event class 1, Entering event state, Event logged in di‐
agnostic buffer
OB100_STRTUP Byte 1.0 16#81/82/83/84 Method of startup
OB100_PRIORITY Byte 2.0 Priority of OB Execution
OB100_OB_NUMBR Byte 3.0 100 (Organization block 100, OB100)
OB100_RESERVED_1 Byte 4.0 Reserved for system
OB100_RESERVED_2 Byte 5.0 Reserved for system
OB100_STOP Word 6.0 Event that caused CPU to stop (16#4xxx)
OB100_STRT_INFO DWord 8.0 Information on how system started
OB100_DATE_TIME Date_And_Time 12.0 Date and time OB100 started
Constant
Network 1: Initialize PID loop Function, OB 100 is a Start-up OB, as are OB101 and OB102, these are executed on a CPU Start or Restart of
the System
0001 SET
0002 = "COM_RST"
0003 SET
0004 = "P_SEL_1"
0005 = "I_SEL_1"
0006 = "D_SEL_1"
Symbol Address Type Comment
"COM_RST" %M60.0 Bool
"D_SEL_1" %M60.5 Bool
"I_SEL_1" %M60.4 Bool
"P_SEL_1" %M60.3 Bool
21. Totally Integrated
Automation Portal
PLC_1 [CPU 314C-2 PN/DP] / Program blocks
CYCL_FLT [OB80]
CYCL_FLT Properties
General
Name CYCL_FLT Number 80 Type OB Language STL
Numbering manual
Information
Title "Cycle Time Fault" Author Comment Family
Version 0.1 User-defined
ID
Name Data type Offset Default value Comment
Temp
OB80_EV_CLASS Byte 0.0 16#35, Event class 3, Entering event state, Internal fault event
OB80_FLT_ID Byte 1.0 16#XX, Fault identifcation code
OB80_PRIORITY Byte 2.0 Priority of OB Execution
OB80_OB_NUMBR Byte 3.0 80 (Organization block 80, OB80)
OB80_RESERVED_1 Byte 4.0 Reserved for system
OB80_RESERVED_2 Byte 5.0 Reserved for system
OB80_ERROR_INFO Word 6.0 Error information on event
OB80_ERR_EV_CLASS Byte 8.0 Class of event causing error
OB80_ERR_EV_NUM Byte 9.0 Number of event causing error
OB80_OB_PRIORITY Byte 10.0 Priority of OB causing error
OB80_OB_NUM Byte 11.0 Number of OB causing error
OB80_DATE_TIME Date_And_Time 12.0 Date and time OB80 started
Constant
22. Totally Integrated
Automation Portal
PLC_1 [CPU 314C-2 PN/DP] / Program blocks
I/O_FLT1 [OB82]
I/O_FLT1 Properties
General
Name I/O_FLT1 Number 82 Type OB Language STL
Numbering manual
Information
Title "I/O Point Fault" Author Comment Family
Version 0.1 User-defined
ID
Name Data type Offset Default value Comment
Temp
OB82_EV_CLASS Byte 0.0 16#39, Event class 3, Entering event state, Internal fault event
OB82_FLT_ID Byte 1.0 16#XX, Fault identifcation code
OB82_PRIORITY Byte 2.0 Priority of OB Execution
OB82_OB_NUMBR Byte 3.0 82 (Organization block 82, OB82)
OB82_RESERVED_1 Byte 4.0 Reserved for system
OB82_IO_FLAG Byte 5.0 Input (01010100), Output (01010101)
OB82_MDL_ADDR Word 6.0 Base address of module with fault
OB82_MDL_DEFECT Bool 8.0 Module defective
OB82_INT_FAULT Bool 8.1 Internal fault
OB82_EXT_FAULT Bool 8.2 External fault
OB82_PNT_INFO Bool 8.3 Point information
OB82_EXT_VOLTAGE Bool 8.4 External voltage low
OB82_FLD_CONNCTR Bool 8.5 Field wiring connector missing
OB82_NO_CONFIG Bool 8.6 Module has no configuration data
OB82_CONFIG_ERR Bool 8.7 Module has configuration error
OB82_MDL_TYPE Byte 9.0 Type of module
OB82_SUB_MDL_ERR Bool 10.0 Sub-Module is missing or has error
OB82_COMM_FAULT Bool 10.1 Communication fault
OB82_MDL_STOP Bool 10.2 Module is stopped
OB82_WTCH_DOG_FLT Bool 10.3 Watch dog timer stopped module
OB82_INT_PS_FLT Bool 10.4 Internal power supply fault
OB82_PRIM_BATT_FLT Bool 10.5 Primary battery is in fault
OB82_BCKUP_BATT_FLT Bool 10.6 Backup battery is in fault
OB82_RESERVED_2 Bool 10.7 Reserved for system
OB82_RACK_FLT Bool 11.0 Rack fault, only for bus interface module
OB82_PROC_FLT Bool 11.1 Processor fault
OB82_EPROM_FLT Bool 11.2 EPROM fault
OB82_RAM_FLT Bool 11.3 RAM fault
OB82_ADU_FLT Bool 11.4 ADU fault
OB82_FUSE_FLT Bool 11.5 Fuse fault
OB82_HW_INTR_FLT Bool 11.6 Hardware interupt input in fault
OB82_RESERVED_3 Bool 11.7 Reserved for system
OB82_DATE_TIME Date_And_Time 12.0 Date and time OB82 started
Constant
Network 1: Call system diagnostics block
0001 CALL "RSE_FB", "RSE_DB"
Symbol Address Type Comment
23. Totally Integrated
Automation Portal
PLC_1 [CPU 314C-2 PN/DP] / Program blocks
PROG_ERR [OB121]
PROG_ERR Properties
General
Name PROG_ERR Number 121 Type OB Language STL
Numbering manual
Information
Title "Programming Error" Author Comment Family
Version 0.1 User-defined
ID
Name Data type Offset Default value Comment
Temp
OB121_EV_CLASS Byte 0.0 16#25, Event class 2, Entering event state, Internal fault event
OB121_SW_FLT Byte 1.0 16#XX Software programming fault
OB121_PRIORITY Byte 2.0 Priority of OB Execution
OB121_OB_NUMBR Byte 3.0 121 (Organization block 121, OB121)
OB121_BLK_TYPE Byte 4.0 16#88/8A/8B/8C/8E Type of block fault occured in
OB121_RESERVED_1 Byte 5.0 Reserved for system
OB121_FLT_REG Word 6.0 16#XX Specific register that caused fault
OB121_BLK_NUM Word 8.0 Number of block that programming fault occured in
OB121_PRG_ADDR Word 10.0 Address in block where programming fault occured
OB121_DATE_TIME Date_And_Time 12.0 Date and time OB121 started
Constant
24. Totally Integrated
Automation Portal
PLC_1 [CPU 314C-2 PN/DP] / Program blocks
MOD_ERR [OB122]
MOD_ERR Properties
General
Name MOD_ERR Number 122 Type OB Language STL
Numbering manual
Information
Title "Module Access Error" Author Comment Family
Version 0.1 User-defined
ID
Name Data type Offset Default value Comment
Temp
OB122_EV_CLASS Byte 0.0 16#29, Event class 2, Entering event state, Internal fault event
OB122_SW_FLT Byte 1.0 16#XX Software error code
OB122_PRIORITY Byte 2.0 Priority of OB Execution
OB122_OB_NUMBR Byte 3.0 122 (Organization block 122, OB122)
OB122_BLK_TYPE Byte 4.0 16#88/8C/8E Type of block fault occured in
OB122_MEM_AREA Byte 5.0 Memory area where access error occured
OB122_MEM_ADDR Word 6.0 Memory address where access error occured
OB122_BLK_NUM Word 8.0 Block number in which error occured
OB122_PRG_ADDR Word 10.0 Program address where error occured
OB122_DATE_TIME Date_And_Time 12.0 Date and time OB1 started
Constant
25. Totally Integrated
Automation Portal
PLC_1 [CPU 314C-2 PN/DP] / Program blocks
CYC_INT5 [OB35]
CYC_INT5 Properties
General
Name CYC_INT5 Number 35 Type OB Language LAD
Numbering manual
Information
Title "Cyclic Interrupt" Author Comment Family
Version 0.1 User-defined
ID
Name Data type Offset Default value Comment
Temp
OB35_EV_CLASS Byte 0.0 Bits 0-3 = 1 (Coming event), Bits 4-7 = 1 (Event class 1)
OB35_STRT_INF Byte 1.0 16#36 (OB 35 has started)
OB35_PRIORITY Byte 2.0 Priority of OB Execution
OB35_OB_NUMBR Byte 3.0 35 (Organization block 35, OB35)
OB35_RESERVED_1 Byte 4.0 Reserved for system
OB35_RESERVED_2 Byte 5.0 Reserved for system
OB35_PHASE_OFFSET Word 6.0 Phase offset (msec)
OB35_RESERVED_3 Int 8.0 Reserved for system
OB35_EXC_FREQ Int 10.0 Frequency of execution (msec)
OB35_DATE_TIME Date_And_Time 12.0 Date and time OB35 started
Constant
Network 1: INITIALIZATION
0001 A "COM_RST"
Symbol Address Type Comment
"COM_RST" %M60.0 Bool
Network 2: PID CONTROLLER (SECONDARY PUMPS)
0001 CALL CONT_C , "CONT_C_DB_1"
0002 COM_RST :="COM_RST"
0003 MAN_ON :="MAN_ON_1"
0004 PVPER_ON :="PVPER_ON_1"
0005 P_SEL :="P_SEL_1"
0006 I_SEL :="I_SEL_1"
0007 INT_HOLD :=
0008 I_ITL_ON :=
0009 D_SEL :="D_SEL_1"
0010 CYCLE :=
0011 SP_INT :=
0012 PV_IN :="PV_PRESSURE"."Pressure Transmitter Secondary Pump Common Header"
0013 PV_PER :=
0014 MAN :=
0015 GAIN :=
0016 TI :=
0017 TD :=
0018 TM_LAG :=
0019 DEADB_W :=
0020 LMN_HLM :=
0021 LMN_LLM :=
0022 PV_FAC :=
0023 PV_OFF :=
0024 LMN_FAC :=
0025 LMN_OFF :=
0026 I_ITLVAL :=
0027 DISV :=
0028 LMN :=
0029 LMN_PER :=
0030 QLMN_HLM :=
0031 QLMN_LLM :=
0032 LMN_P :=
0033 LMN_I :=
0034 LMN_D :=
0035 PV :=
0036 ER :=
Symbol Address Type Comment
"COM_RST" %M60.0 Bool
"D_SEL_1" %M60.5 Bool
"I_SEL_1" %M60.4 Bool
"MAN_ON_1" %M60.1 Bool
"P_SEL_1" %M60.3 Bool
"PV_PRESSURE"."Pressure Transmit‐
ter Secondary Pump Common
Header"
%DB30.DBD4 Real
"PVPER_ON_1" %M60.2 Bool
Network 3: If RLO = "0" Jump to Jump label "WNV_LHR_PK" and Continue Program Execution there.
26. Totally Integrated
Automation Portal
0001 A "COM_RST"
0002 JCN WNV_LHR_PK
0003 CLR
0004 = "COM_RST"
0005 WNV_LHR_PK : NOP 0
Symbol Address Type Comment
"COM_RST" %M60.0 Bool
27. Totally Integrated
Automation Portal
PLC_1 [CPU 314C-2 PN/DP] / Program blocks
I/O_FLT2 [OB83]
I/O_FLT2 Properties
General
Name I/O_FLT2 Number 83 Type OB Language STL
Numbering automatic
Information
Title "I/O Point Fault" Author Comment Family
Version 0.1 User-defined
ID
Name Data type Offset Default value Comment
Temp
OB83_EV_CLASS Byte 0.0 16#38/39, Event class 3, module inserted/removed (8/9)
OB83_FLT_ID Byte 1.0 16#XX, Fault identifcation code
OB83_PRIORITY Byte 2.0 Priority of OB Execution
OB83_OB_NUMBR Byte 3.0 83 (Organization block 83, OB83)
OB83_RESERVED_1 Byte 4.0 Reserved for system
OB83_MDL_ID Byte 5.0 Input module (01010100), Output module (01010101)
OB83_MDL_ADDR Word 6.0 Base address of module with point fault
OB83_RACK_NUM Int 8.0 Number of rack that has module with point fault
OB83_MDL_TYPE Word 10.0 Module type with point fault
OB83_DATE_TIME Date_And_Time 12.0 Date and time OB83 started
Constant
Network 1: Call system diagnostics block
0001 CALL "RSE_FB", "RSE_DB"
Symbol Address Type Comment
28. Totally Integrated
Automation Portal
PLC_1 [CPU 314C-2 PN/DP] / Program blocks
RACK_FLT [OB86]
RACK_FLT Properties
General
Name RACK_FLT Number 86 Type OB Language STL
Numbering automatic
Information
Title "Loss Of Rack Fault" Author Comment Family
Version 0.1 User-defined
ID
Name Data type Offset Default value Comment
Temp
OB86_EV_CLASS Byte 0.0 16#38/39 Event class 3
OB86_FLT_ID Byte 1.0 16#C1/C4/C5, Fault identification code
OB86_PRIORITY Byte 2.0 Priority of OB Execution
OB86_OB_NUMBR Byte 3.0 86 (Organization block 86, OB86)
OB86_RESERVED_1 Byte 4.0 Reserved for system
OB86_RESERVED_2 Byte 5.0 Reserved for system
OB86_MDL_ADDR Word 6.0 Base address of IM module in rack with fault
OB86_RACKS_FLTD Array[0..31] of
Bool
8.0 Racks in fault
OB86_RACKS_FLTD[0] Bool 0.0
OB86_RACKS_FLTD[1] Bool 0.1
OB86_RACKS_FLTD[2] Bool 0.2
OB86_RACKS_FLTD[3] Bool 0.3
OB86_RACKS_FLTD[4] Bool 0.4
OB86_RACKS_FLTD[5] Bool 0.5
OB86_RACKS_FLTD[6] Bool 0.6
OB86_RACKS_FLTD[7] Bool 0.7
OB86_RACKS_FLTD[8] Bool 1.0
OB86_RACKS_FLTD[9] Bool 1.1
OB86_RACKS_FLTD[10] Bool 1.2
OB86_RACKS_FLTD[11] Bool 1.3
OB86_RACKS_FLTD[12] Bool 1.4
OB86_RACKS_FLTD[13] Bool 1.5
OB86_RACKS_FLTD[14] Bool 1.6
OB86_RACKS_FLTD[15] Bool 1.7
OB86_RACKS_FLTD[16] Bool 2.0
OB86_RACKS_FLTD[17] Bool 2.1
OB86_RACKS_FLTD[18] Bool 2.2
OB86_RACKS_FLTD[19] Bool 2.3
OB86_RACKS_FLTD[20] Bool 2.4
OB86_RACKS_FLTD[21] Bool 2.5
OB86_RACKS_FLTD[22] Bool 2.6
OB86_RACKS_FLTD[23] Bool 2.7
OB86_RACKS_FLTD[24] Bool 3.0
OB86_RACKS_FLTD[25] Bool 3.1
OB86_RACKS_FLTD[26] Bool 3.2
OB86_RACKS_FLTD[27] Bool 3.3
OB86_RACKS_FLTD[28] Bool 3.4
OB86_RACKS_FLTD[29] Bool 3.5
OB86_RACKS_FLTD[30] Bool 3.6
OB86_RACKS_FLTD[31] Bool 3.7
OB86_DATE_TIME Date_And_Time 12.0 Date and time OB86 started
Constant
Network 1: Call system diagnostics block
0001 CALL "RSE_FB", "RSE_DB"
Symbol Address Type Comment
29. Totally Integrated
Automation Portal
PLC_1 [CPU 314C-2 PN/DP] / Program blocks
OBNL_FLT [OB85]
OBNL_FLT Properties
General
Name OBNL_FLT Number 85 Type OB Language STL
Numbering manual
Information
Title "Organization Block (OB)
Not Loaded Fault"
Author Comment Family
Version 0.1 User-defined
ID
Name Data type Offset Default value Comment
Temp
OB85_EV_CLASS Byte 0.0 16#35 Event class 3
OB85_FLT_ID Byte 1.0 16#XX, Fault identification code
OB85_PRIORITY Byte 2.0 Priority of OB Execution
OB85_OB_NUMBR Byte 3.0 85 (Organization block 85, OB85)
OB85_RESERVED_1 Byte 4.0 Reserved for system
OB85_RESERVED_2 Byte 5.0 Reserved for system
OB85_RESERVED_3 Int 6.0 Reserved for system
OB85_ERR_EV_CLASS Byte 8.0 Class of event causing error
OB85_ERR_EV_NUM Byte 9.0 Number of event causing error
OB85_OB_PRIOR Byte 10.0 Priority of OB causing error
OB85_OB_NUM Byte 11.0 Number of OB causing error
OB85_DATE_TIME Date_And_Time 12.0 Date and time OB85 started
Constant
Network 1:
0001 L b#16#A1 //
0002 L #OB85_FLT_ID
0003 ==I
0004 JC K_OB
0005 L b#16#A2 //
0006 ==I
0007 JC K_OB
0008 L b#16#A3 //
0009 L #OB85_FLT_ID
0010 ==I
0011 JC K_B
0012 JU F_PA
0013
Symbol Address Type Comment
#OB85_FLT_ID Byte 16#XX, Fault identification code
Network 2:
0001 K_OB: JU STOP
0002 JU ENDE
0003
Symbol Address Type Comment
Network 3:
0001 K_B: JU STOP
0002 JU ENDE
0003
Symbol Address Type Comment
Network 4:
0001 F_PA: NOP 0
0002 JU ENDE
0003
Symbol Address Type Comment
Network 5:
0001 STOP: CALL STP
0002
Symbol Address Type Comment
Network 6:
37. Totally Integrated
Automation Portal
Symbol Address Type Comment
"CARRIER-7 CHILLER RUNNING
FEED BACK FAULT MESSAGE BIT"
%M204.3 Bool
"Carrier-7 Chiller".Q %DB24.DBX6.0 Bool
"RESET ALARM HMI BUTTON" %M21.5 Bool
"SYSTEM RESET PUSH BUTTON
(8S5.1) MEMORY BIT"
%M126.5 Bool
"TRANE CHILLER RUNNING FEED
BACK FAULT MESSAGE BIT"
%M205.6 Bool
"Trane Chiller".Q %DB19.DBX6.0 Bool
Network 6: CHILLERS INLET OUTLET TEMPERATURE, FLOW AND RETURN LEVEL MESSAGES
0001 // "TRANE CHILLER OUTLET WATER TEMPERATURE HIGH (TT-107) MESSAGE BIT"
0002 L "PV_TEMPERATURE"."Temperature Transmitter Trane Chiller Outlet"
0003 L 6.0
0004 >=R
0005 A "Trane Chiller Unit_A-B Running"
0006 = "TRANE CHILLER OUTLET WATER TEMPERATURE HIGH (TT-107) MESSAGE BIT"
0007
0008 // TRANE CHILLER INLET WATER TEMPERATURE HIGH (TT-102) MESSAGE BIT
0009 L "PV_TEMPERATURE"."Temperature Transmitter Trane Chiller Inlet"
0010 L 10.0
0011 >=R
0012 A "Trane Chiller Unit_A-B Running"
0013 = "TRANE CHILLER INLET WATER TEMPERATURE HIGH (TT-102) MESSAGE BIT"
0014
0015 // "CARRIER-7 CHILLER OUTLET WATER TEMPERATURE HIGH (TT-109) MESSAGE BIT"
0016 L "PV_TEMPERATURE"."Temperature Transmitter Carrier-7 Outlet"
0017 L 6.0
0018 >=R
0019 A "Carrier-7 Chiller Unit_A-B-C Running"
0020 = "CARRIER-7 CHILLER OUTLET WATER TEMPERATURE HIGH (TT-109) MESSAGE BIT"
0021
0022 // "CARRIER-7 CHILLER INLET WATER TEMPERATURE HIGH (TT-104) MESSAGE BIT"
0023 L "PV_TEMPERATURE"."Temperature Transmitter Carrier-7 Inlet"
0024 L 10.0
0025 >=R
0026 A "Carrier-7 Chiller Unit_A-B-C Running"
0027 = "CARRIER-7 CHILLER INLET WATER TEMPERATURE HIGH (TT-104) MESSAGE BIT"
0028
0029 // "CARRIER-6 CHILLER INLET WATER TEMPERATURE HIGH (TT-103) MESSAGE BIT"
0030 L "PV_TEMPERATURE"."Temperature Transmitter Carrier-6 Inlet"
0031 L 10.0
0032 >=R
0033 A "Carrier-6 Chiller Unit_A-B-C Running"
0034 = "CARRIER-6 CHILLER INLET WATER TEMPERATURE HIGH (TT-103) MESSAGE BIT"
0035
0036 // "CARRIER-6 CHILLER OUTLET WATER TEMPERATURE HIGH (TT-103) MESSAGE BIT"
0037 L "PV_TEMPERATURE"."Temperature Transmitter Carrier-6 Outlet"
0038 L 6.0
0039 >=R
0040 A "Carrier-6 Chiller Unit_A-B-C Running"
0041 = "CARRIER-6 CHILLER OUTLET WATER TEMPERATURE HIGH (TT-108) MESSAGE BIT"
0042
0043 // "ABSORPTION CHILLER INLET WATER TEMPERATURE HIGH (TT-101) MESSAGE BIT"
0044 // L "PV_TEMPERATURE"."Temperature Transmitter Absorption Inlet"
0045 L 10.0
0046 >=R
0047 A "Absorption Chiller Unit_A-B Running"
0048 // = "ABSORPTION CHILLER INLET WATER TEMPERATURE HIGH (TT-101) MESSAGE BIT"
0049
0050 // "ABSORPTION CHILLER OUTLET WATER TEMPERATURE HIGH (TT-101) MESSAGE BIT"
0051 // L "PV_TEMPERATURE"."Temperature Transmitter Absorption Outlet"
0052 L 6.0
0053 >=R
0054 A "Absorption Chiller Unit_A-B Running"
0055 // = "ABSORPTION CHILLER OUTLET WATER TEMPERATURE HIGH (TT-106) MESSAGE BIT"
0056
0057 // "SECONDARY PUMPS COMMON HEADER TEMPERATURE HIGH (TT-107) MESSAGE BIT"
0058 L "PV_TEMPERATURE"."Temperature Transmitter Secondary Pumps Common Header"
0059 L 6.0
0060 >=R
0061 = "SECONDARY PUMPS COMMON HEADER TEMPERATURE HIGH (TT-107) MESSAGE BIT"
0062
0063 // "RETURN PIT-101 WATER TEMPERATURE HIGH (TT-101) MESSAGE BIT"
0064 L "PV_TEMPERATURE"."Temperature Transmitter Return Pit"
0065 L 10.0
0066 >=R
0067 = "RETURN PIT-101 WATER TEMPERATURE HIGH (TT-101) MESSAGE BIT"
0068
0069 // "COOLING TOWER WATER SUPPLY LINE TEMPERATURE HIGH (TT-001) MESSAGE BIT"
0070 L "PV_TEMPERATURE"."Temperature Transmitter Cooling tower Fan Supply line"
0071 L 28.0
0072 >=R
0073 = "COOLING TOWER WATER SUPPLY LINE TEMPERATURE HIGH (TT-001) MESSAGE BIT"
0074
0075 // "COOLING TOWER WATER RETURN LINE TEMPERATURE HIGH (TT-111) MESSAGE BIT"
0076 L "PV_TEMPERATURE"."Temperature Transmitter Cooling tower Fan Return line"
0077 L 34.0
38. Totally Integrated
Automation Portal
0078 >=R
0079 = "COOLING TOWER WATER RETURN LINE TEMPERATURE HIGH (TT-111) MESSAGE BIT"
0080
0081 // "LOW WATER FLOW AT ABSORPTION CHILLER OUTLET LINE (FT-101) MESSAGE BIT"
0082 // A "SYSTEM START_STOP_SR"
0083 L "COP"."Absorption Chiller"."m3/h to GPM"
0084 L 40.0
0085 <=R
0086 A "Absorption Chiller Start Output Relay (25R3)"
0087 A "Absorption Chiller Unit_A-B Running"
0088 // S "LOW WATER FLOW AT ABSORPTION CHILLER OUTLET LINE (FT-101) MESSAGE BIT"
0089
0090 // ABSORPTION FLOW MESSAGE RESET
0091 O "SYSTEM RESET PUSH BUTTON (8S5.1) MEMORY BIT"
0092 O "RESET ALARM HMI BUTTON"
0093 O
0094 AN "Absorption Chiller Start Output Relay (25R3)"
0095 A "Absorption Chiller Unit_A-B Running"
0096 O
0097 A "Absorption Chiller Start Output Relay (25R3)"
0098 AN "Absorption Chiller Unit_A-B Running"
0099 // R "LOW WATER FLOW AT ABSORPTION CHILLER OUTLET LINE (FT-101) MESSAGE BIT"
0100
0101 // "LOW WATER FLOW AT TRANE CHILLER OUTLET LINE (FT-102) MESSAGE BIT"
0102 A "SYSTEM START_STOP_SR"
0103 L "COP"."Trane Chiller"."m3/h to GPM"
0104 L 40.0
0105 <=R
0106 A "Trane Chiller Start Output Relay (25R3.1)"
0107 A "Trane Chiller Unit_A-B Running"
0108 S "LOW WATER FLOW AT TRANE CHILLER OUTLET LINE (FT-102) MESSAGE BIT"
0109
0110 // TRANE FLOW MESSAGE RESET
0111 O "SYSTEM RESET PUSH BUTTON (8S5.1) MEMORY BIT"
0112 O "RESET ALARM HMI BUTTON"
0113 O
0114 AN "Trane Chiller Start Output Relay (25R3.1)"
0115 A "Trane Chiller Unit_A-B Running"
0116 O
0117 A "Trane Chiller Start Output Relay (25R3.1)"
0118 AN "Trane Chiller Unit_A-B Running"
0119 R "LOW WATER FLOW AT TRANE CHILLER OUTLET LINE (FT-102) MESSAGE BIT"
0120
0121 // "LOW WATER FLOW AT CARRIER-6 CHILLER OUTLET LINE (FT-103) MESSAGE BIT"
0122 A "SYSTEM START_STOP_SR"
0123 L "COP"."Carrier-6 Chiller"."m3/h to GPM"
0124 L 40.0
0125 <=R
0126 A "Carrier-6 Chiller Start Output Relay (25R4)"
0127 A "Carrier-6 Chiller Unit_A-B-C Running"
0128 S "LOW WATER FLOW AT CARRIER-6 CHILLER OUTLET LINE (FT-103) MESSAGE BIT"
0129
0130 // CARRIER-6 FLOW MESSAGE RESET
0131 O "SYSTEM RESET PUSH BUTTON (8S5.1) MEMORY BIT"
0132 O "RESET ALARM HMI BUTTON"
0133 O
0134 AN "Carrier-6 Chiller Start Output Relay (25R4)"
0135 A "Carrier-6 Chiller Unit_A-B-C Running"
0136 O
0137 A "Carrier-6 Chiller Start Output Relay (25R4)"
0138 AN "Carrier-6 Chiller Unit_A-B-C Running"
0139 R "LOW WATER FLOW AT CARRIER-6 CHILLER OUTLET LINE (FT-103) MESSAGE BIT"
0140
0141 // "LOW WATER FLOW AT CARRIER-7 CHILLER OUTLET LINE (FT-104) MESSAGE BIT"
0142 A "SYSTEM START_STOP_SR"
0143 L "COP"."Carrier-7 Chiller"."m3/h to GPM"
0144 L 40.0
0145 <=R
0146 A "Carrier-7 Chiller Start Output Relay (25R4.1)"
0147 A "Carrier-7 Chiller Unit_A-B-C Running"
0148 S "LOW WATER FLOW AT CARRIER-7 CHILLER OUTLET LINE (FT-104) MESSAGE BIT"
0149
0150 // CARRIER-7 FLOW MESSAGE RESET
0151 O "SYSTEM RESET PUSH BUTTON (8S5.1) MEMORY BIT"
0152 O "RESET ALARM HMI BUTTON"
0153 O
0154 AN "Carrier-7 Chiller Start Output Relay (25R4.1)"
0155 A "Carrier-7 Chiller Unit_A-B-C Running"
0156 O
0157 A "Carrier-7 Chiller Start Output Relay (25R4.1)"
0158 AN "Carrier-7 Chiller Unit_A-B-C Running"
0159 R "LOW WATER FLOW AT CARRIER-7 CHILLER OUTLET LINE (FT-104) MESSAGE BIT"
0160
0161 // "RETURN WATER PIT-101 WATER LEVEL LOW (LT-101) MESSAGE BIT"
0162 L "PV_LEVEL"."Level Transmitter Return PIT 101"
0163 L 30.0
0164 <=R
0165 = "RETURN WATER PIT-101 WATER LEVEL LOW (LT-101) MESSAGE BIT"
0166
39. Totally Integrated
Automation Portal
Symbol Address Type Comment
"Absorption Chiller Start Output
Relay (25R3)"
%Q2.0 Bool
"Absorption Chiller Unit_A-B Run‐
ning"
%M74.3 Bool
"CARRIER-6 CHILLER INLET WATER
TEMPERATURE HIGH (TT-103)
MESSAGE BIT"
%M207.0 Bool
"CARRIER-6 CHILLER OUTLET WA‐
TER TEMPERATURE HIGH (TT-108)
MESSAGE BIT"
%M207.4 Bool
"Carrier-6 Chiller Start Output Re‐
lay (25R4)"
%Q2.2 Bool
"Carrier-6 Chiller Unit_A-B-C Run‐
ning"
%M74.1 Bool
"CARRIER-7 CHILLER INLET WATER
TEMPERATURE HIGH (TT-104)
MESSAGE BIT"
%M207.1 Bool
"CARRIER-7 CHILLER OUTLET WA‐
TER TEMPERATURE HIGH (TT-109)
MESSAGE BIT"
%M207.5 Bool
"Carrier-7 Chiller Start Output Re‐
lay (25R4.1)"
%Q2.3 Bool
"Carrier-7 Chiller Unit_A-B-C Run‐
ning"
%M74.2 Bool
"COOLING TOWER WATER RETURN
LINE TEMPERATURE HIGH (TT-111)
MESSAGE BIT"
%M206.3 Bool
"COOLING TOWER WATER SUPPLY
LINE TEMPERATURE HIGH (TT-001)
MESSAGE BIT"
%M206.2 Bool
"COP"."Absorption Chiller"."m3/h
to GPM"
%DB42.DBD0 Real
"COP"."Carrier-6 Chiller"."m3/h to
GPM"
%DB42.DBD32 Real
"COP"."Carrier-7 Chiller"."m3/h to
GPM"
%DB42.DBD48 Real
"COP"."Trane Chiller"."m3/h to
GPM"
%DB42.DBD16 Real
"LOW WATER FLOW AT CARRIER-6
CHILLER OUTLET LINE (FT-103)
MESSAGE BIT"
%M209.0 Bool
"LOW WATER FLOW AT CARRIER-7
CHILLER OUTLET LINE (FT-104)
MESSAGE BIT"
%M209.1 Bool
"LOW WATER FLOW AT TRANE
CHILLER OUTLET LINE (FT-102)
MESSAGE BIT"
%M206.7 Bool
"PV_LEVEL"."Level Transmitter Re‐
turn PIT 101"
%DB29.DBD0 Real
"PV_TEMPERATURE"."Temperature
Transmitter Carrier-6 Inlet"
%DB31.DBD20 Real
"PV_TEMPERATURE"."Temperature
Transmitter Carrier-6 Outlet"
%DB31.DBD4 Real
"PV_TEMPERATURE"."Temperature
Transmitter Carrier-7 Inlet"
%DB31.DBD24 Real
"PV_TEMPERATURE"."Temperature
Transmitter Carrier-7 Outlet"
%DB31.DBD8 Real
"PV_TEMPERATURE"."Temperature
Transmitter Cooling tower Fan Re‐
turn line"
%DB31.DBD44 Real
"PV_TEMPERATURE"."Temperature
Transmitter Cooling tower Fan
Supply line"
%DB31.DBD40 Real
"PV_TEMPERATURE"."Temperature
Transmitter Return Pit"
%DB31.DBD36 Real
"PV_TEMPERATURE"."Temperature
Transmitter Secondary Pumps
Common Header"
%DB31.DBD32 Real
"PV_TEMPERATURE"."Temperature
Transmitter Trane Chiller Inlet"
%DB31.DBD16 Real
"PV_TEMPERATURE"."Temperature
Transmitter Trane Chiller Outlet"
%DB31.DBD0 Real
"RESET ALARM HMI BUTTON" %M21.5 Bool
"RETURN PIT-101 WATER TEMPER‐
ATURE HIGH (TT-101) MESSAGE
BIT"
%M206.5 Bool
"RETURN WATER PIT-101 WATER
LEVEL LOW (LT-101) MESSAGE BIT"
%M206.4 Bool
"SECONDARY PUMPS COMMON
HEADER TEMPERATURE HIGH
(TT-107) MESSAGE BIT"
%M207.6 Bool
"SYSTEM RESET PUSH BUTTON
(8S5.1) MEMORY BIT"
%M126.5 Bool
"SYSTEM START_STOP_SR" %M21.7 Bool
"TRANE CHILLER INLET WATER
TEMPERATURE HIGH (TT-102)
MESSAGE BIT"
%M204.7 Bool
"TRANE CHILLER OUTLET WATER
TEMPERATURE HIGH (TT-107)
MESSAGE BIT"
%M207.3 Bool
"Trane Chiller Start Output Relay
(25R3.1)"
%Q2.1 Bool
"Trane Chiller Unit_A-B Running" %M74.0 Bool
40. Totally Integrated
Automation Portal
Network 7: "SYSTEM_RUNNING_STOP_FAULT_MESSAGES
0001 A "SYSTEM START_STOP_SR"
0002 = "SYSTEM RUNNING MESSAGE BIT"
0003 NOT
0004 = "SYSTEM STOP MESSAGE BIT"
0005 A "FAULT NOT RESET"
0006 = "SYSTEM FAULT MESSAGE BIT"
Symbol Address Type Comment
"FAULT NOT RESET" %M22.0 Bool
"SYSTEM FAULT MESSAGE BIT" %M209.4 Bool
"SYSTEM RUNNING MESSAGE BIT" %M209.2 Bool
"SYSTEM START_STOP_SR" %M21.7 Bool
"SYSTEM STOP MESSAGE BIT" %M209.3 Bool
Network 8: PUMPS, CHILLERS AND FANS ON MAINTENANCE MESSAGES
0001 A "Retentive Memory"."PRIMARY PUMP P103A MAINTENANCE ON/OFF"
0002 = "PRIMARY PUMP P103A ON MAINTENANCE MESSAGE BIT"
0003 A "Retentive Memory"."PRIMARY PUMP P103B MAINTENANCE ON/OFF"
0004 = "PRIMARY PUMP P103B ON MAINTENANCE MESSAGE BIT"
0005 A "Retentive Memory"."PRIMARY PUMP P103C MAINTENANCE ON/OFF"
0006 = "PRIMARY PUMP P103C ON MAINTENANCE MESSAGE BIT"
0007 A "Retentive Memory"."SECONDARY PUMP P104A MAINTENANCE ON/OFF"
0008 = "SECONDARY PUMP P104A ON MAINTENANCE MESSAGE BIT"
0009 A "Retentive Memory"."SECONDARY PUMP P104B MAINTENANCE ON/OFF"
0010 = "SECONDARY PUMP P104B ON MAINTENANCE MESSAGE BIT"
0011 A "Retentive Memory"."SECONDARY PUMP P104C MAINTENANCE ON/OFF"
0012 = "SECONDARY PUMP P104C ON MAINTENANCE MESSAGE BIT"
0013 A "Retentive Memory"."COOLING TOWER FAN 01 MAINTENANCE ON/OFF"
0014 = "COOLING TOWER FAN 01 ON MAINTENANCE MESSAGE BIT"
0015 A "Retentive Memory"."COOLING TOWER FAN 02 MAINTENANCE ON/OFF"
0016 = "COOLING TOWER FAN 02 ON MAINTENANCE MESSAGE BIT"
0017 A "Retentive Memory"."COOLING TOWER FAN 03 MAINTENANCE ON/OFF"
0018 = "COOLING TOWER FAN 03 ON MAINTENANCE MESSAGE BIT"
0019 A "Retentive Memory"."COOLING TOWER FAN 04 MAINTENANCE ON/OFF"
0020 = "COOLING TOWER FAN 04 ON MAINTENANCE MESSAGE BIT"
0021 A "Retentive Memory"."COOLING TOWER FAN 05 MAINTENANCE ON/OFF"
0022 = "COOLING TOWER FAN 05 ON MAINTENANCE MESSAGE BIT"
0023 A "Retentive Memory"."COOLING TOWER FAN 06 MAINTENANCE ON/OFF"
0024 = "COOLING TOWER FAN 06 ON MAINTENANCE MESSAGE BIT"
0025 A "Retentive Memory"."ABSORPTION CHILLER ON MAINTENANCE ON/OFF"
0026 = "ABSORPTION CHILLER ON MAINTENANCE MESSAGE BIT"
0027 A "Retentive Memory"."TRANE CHILLER ON MAINTENANCE ON/OFF"
0028 = "TRANE CHILLER ON MAINTENANCE MESSAGE BIT"
0029 A "Retentive Memory"."CARRIER-6 CHILLER ON MAINTENANCE ON/OFF"
0030 = "CARRIER-6 CHILLER ON MAINTENANCE MESSAGE BIT"
0031 A "Retentive Memory"."CARRIER-7 CHILLER ON MAINTENANCE ON/OFF"
0032 = "CARRIER-7 CHILLER ON MAINTENANCE MESSAGE BIT"
Symbol Address Type Comment
"ABSORPTION CHILLER ON MAIN‐
TENANCE MESSAGE BIT"
%M211.1 Bool
"CARRIER-6 CHILLER ON MAINTE‐
NANCE MESSAGE BIT"
%M211.3 Bool
"CARRIER-7 CHILLER ON MAINTE‐
NANCE MESSAGE BIT"
%M211.4 Bool
"COOLING TOWER FAN 01 ON
MAINTENANCE MESSAGE BIT"
%M208.3 Bool
"COOLING TOWER FAN 02 ON
MAINTENANCE MESSAGE BIT"
%M208.4 Bool
"COOLING TOWER FAN 03 ON
MAINTENANCE MESSAGE BIT"
%M208.5 Bool
"COOLING TOWER FAN 04 ON
MAINTENANCE MESSAGE BIT"
%M208.6 Bool
"COOLING TOWER FAN 05 ON
MAINTENANCE MESSAGE BIT"
%M208.7 Bool
"COOLING TOWER FAN 06 ON
MAINTENANCE MESSAGE BIT"
%M211.0 Bool
"PRIMARY PUMP P103A ON MAIN‐
TENANCE MESSAGE BIT"
%M209.5 Bool
"PRIMARY PUMP P103B ON MAIN‐
TENANCE MESSAGE BIT"
%M209.7 Bool
"PRIMARY PUMP P103C ON MAIN‐
TENANCE MESSAGE BIT"
%M209.6 Bool
"Retentive Memory"."ABSORPTION
CHILLER ON MAINTENANCE ON/
OFF"
%DB1.DBX2.2 Bool
"Retentive Memory"."CARRIER-6
CHILLER ON MAINTENANCE ON/
OFF"
%DB1.DBX2.4 Bool
"Retentive Memory"."CARRIER-7
CHILLER ON MAINTENANCE ON/
OFF"
%DB1.DBX2.5 Bool
"Retentive Memory"."COOLING
TOWER FAN 01 MAINTENANCE
ON/OFF"
%DB1.DBX0.6 Bool
"Retentive Memory"."COOLING
TOWER FAN 02 MAINTENANCE
ON/OFF"
%DB1.DBX0.7 Bool
42. Totally Integrated
Automation Portal
PLC_1 [CPU 314C-2 PN/DP] / Program blocks
DATE AND TIME [FC3]
DATE AND TIME Properties
General
Name DATE AND TIME Number 3 Type FC Language LAD
Numbering automatic
Information
Title Author Comment Family
Version 0.1 User-defined
ID
Name Data type Offset Default value Comment
Input
Output
InOut
Temp
temp1 Int 0.0
temp3 Time_Of_Day 2.0
temp2 Int 6.0
Constant
Return
DATE AND TIME Void
Network 1: READ PLC TIME and WRITE PLC TIME
0001 // READ PLC TIME
0002 A(
0003 CALL RD_SYS_T
0004 Date_And_Time
0005 RET_VAL :=#temp1
0006 OUT :="PLC Time"."READ PLC DATE TIME"
0007 A BR
0008 )
0009 JNB WNV_01
0010 CALL T_CONV
0011 Date_And_Time TO Time_Of_Day
0012 IN :="PLC Time"."READ PLC DATE TIME"
0013 OUT :=#temp3
0014 WNV_01 : NOP 0
0015
0016 // WRITE PLC TIME
0017 A(
0018 A "SET PLC TIME"
0019 L S5T#5S
0020 SD "SET PLC TIMER"
0021 A "SET PLC TIMER"
0022 )
0023 JNB WNV_02
0024 CALL WR_SYS_T
0025 Date_And_Time
0026 IN :="PLC Time"."WRITE PLC DATE TIME"
0027 RET_VAL :=#temp2
0028 WNV_02 : NOP 0
Symbol Address Type Comment
"PLC Time"."READ PLC DATE TIME" P#DB3.DBX8.0 Date_And_Time
"PLC Time"."WRITE PLC DATE TIME" P#DB3.DBX0.0 Date_And_Time
"SET PLC TIME" %M21.6 Bool
"SET PLC TIMER" %T1 Timer
#temp1 Int
#temp2 Int
#temp3 Time_Of_Day
43. Totally Integrated
Automation Portal
PLC_1 [CPU 314C-2 PN/DP] / Program blocks
PLC Time [DB3]
PLC Time Properties
General
Name PLC Time Number 3 Type DB Language DB
Numbering automatic
Information
Title Author Comment Family
Version 0.1 User-defined
ID
Name Data type Offset Start value Retain Accessible
from HMI
Visible in
HMI
Setpoint Comment
Static
WRITE PLC DATE TIME Date_And_Time 0.0 DT#1990-01-01-00:00:00 True True True False
READ PLC DATE TIME Date_And_Time 8.0 DT#1990-01-01-00:00:00 True True True False
SECONDARY PUMPS MAINTE‐
NANCE HOURE SET POINT
Real 16.0 0.0 True True True False
PRIMARY PUMPS MAINTE‐
NANCE HOURE SET POINT
Real 20.0 0.0 True True True False
HOUR COUNTER (PRIMARY) Real 24.0 0.0 True True True False
SECOND COUNTER (PRIMARY) DInt 28.0 0 True True True False
SECOND COUNTER (SECON‐
DARY)
DInt 32.0 0 True True True False
HOUR COUNTER (SECON‐
DARY)
Real 36.0 0.0 True True True False