You are on page 1of 39

Totally Integrated

Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly]


PLC_1
General\Project information
Name PLC_1 Author API Comment
Slot 1 Rack 0
General\Catalog information
Short designation CPU 1214C AC/DC/Rly Description Work memory 100 KB; 120/240VAC Article number 6ES7 214-1BG40-0XB0
power supply with DI14 x 24VDC
SINK/SOURCE, DQ10 x relay and AI2
on board; 6 high-speed counters
and 4 pulse outputs on board; sig‐
nal board expands on-board I/O; up
to 3 communication modules for
serial communication; up to 8 sig‐
nal modules for I/O expansion; 0.04
ms/1000 instructions; PROFINET in‐
terface for programming, HMI and
PLC to PLC communication
Firmware version V4.1
General\Identification & Maintenance
Plant designation Location identifier Installation date 2018-06-04 17:36:20.071
Additional informa‐
tion
PROFINET interface [X1]\General
Name PROFINET interface_1 Author API Comment
PROFINET interface [X1]\General\Project information
Name DI 14/DQ 10_1 Comment Name AI 2_1
Comment Name AQ 1x12BIT_1 Comment
PROFINET interface [X1]\General\Catalog information
Short designation AQ1 signal board Description Signal board AQ1 x 12 bits; plug-in Article number 6ES7 232-4HA30-0XB0
terminal blocks; output: +/-10V and
0 to 20 mA; selectable diagnostics;
selectable substitute output value
Firmware version V1.0
PROFINET interface [X1]\Ethernet addresses\Interface networked with
Subnet: PN/IE_1
PROFINET interface [X1]\Ethernet addresses\IP protocol
Set IP address in the project IP address: 192.168.0.1 Subnet mask: 255.255.255.0
Use router False
PROFINET interface [X1]\Ethernet addresses\PROFINET
PROFINET device False Generate PROFINET True PROFINET device plc_1
name is set directly device name auto‐ name
at the device matically
Converted name: plcxb1d0ed Device number: 0
PROFINET interface [X1]\Time synchronization
Enable time syn‐ Enable time synchronization via IP addresses Server 1 0.0.0.0
chronization via NTP NTP server
server
Server 2 0.0.0.0 Server 3 0.0.0.0 Server 4 0.0.0.0
Update interval 10sec
PROFINET interface [X1]\Digital inputs\Channel0
Channel address I0.0 Input filters 6.4 millisec Enable pulse catch 0
PROFINET interface [X1]\Digital inputs\Channel0\
Enable rising edge 0 RidPrefixRisingEdg‐ 49152 Event name: 0
detection eEvent
Hardware interrupt: 0 Rising edge0 Rising edge0
PROFINET interface [X1]\Digital inputs\Channel0\
Enable falling edge 0 RidPrefixFallingEdg‐ 49280 Event name: 0
detection eEvent
Hardware interrupt: 0 Falling edge0 Falling edge0
PROFINET interface [X1]\Digital inputs\Channel1
Channel address I0.1 Input filters 6.4 millisec Enable pulse catch 0
PROFINET interface [X1]\Digital inputs\Channel1\
Enable rising edge 0 RidPrefixRisingEdg‐ 49153 Event name: 0
detection eEvent
Hardware interrupt: 0 Rising edge1 Rising edge1
PROFINET interface [X1]\Digital inputs\Channel1\
Enable falling edge 0 RidPrefixFallingEdg‐ 49281 Event name: 0
detection eEvent
Hardware interrupt: 0 Falling edge1 Falling edge1
PROFINET interface [X1]\Digital inputs\Channel2
Channel address I0.2 Input filters 6.4 millisec Enable pulse catch 0
PROFINET interface [X1]\Digital inputs\Channel2\
Enable rising edge 0 RidPrefixRisingEdg‐ 49154 Event name: 0
detection eEvent
Hardware interrupt: 0 Rising edge2 Rising edge2
PROFINET interface [X1]\Digital inputs\Channel2\
Enable falling edge 0 RidPrefixFallingEdg‐ 49282 Event name: 0
detection eEvent
Hardware interrupt: 0 Falling edge2 Falling edge2
PROFINET interface [X1]\Digital inputs\Channel3
Channel address I0.3 Input filters 6.4 millisec Enable pulse catch 0
PROFINET interface [X1]\Digital inputs\Channel3\
Enable rising edge 0 RidPrefixRisingEdg‐ 49155 Event name: 0
detection eEvent
Hardware interrupt: 0 Rising edge3 Rising edge3
PROFINET interface [X1]\Digital inputs\Channel3\
Enable falling edge 0 RidPrefixFallingEdg‐ 49283 Event name: 0
detection eEvent
Totally Integrated
Automation Portal

Hardware interrupt: 0 Falling edge3 Falling edge3


PROFINET interface [X1]\Digital inputs\Channel4
Channel address I0.4 Input filters 6.4 millisec Enable pulse catch 0
PROFINET interface [X1]\Digital inputs\Channel4\
Enable rising edge 0 RidPrefixRisingEdg‐ 49156 Event name: 0
detection eEvent
Hardware interrupt: 0 Rising edge4 Rising edge4
PROFINET interface [X1]\Digital inputs\Channel4\
Enable falling edge 0 RidPrefixFallingEdg‐ 49284 Event name: 0
detection eEvent
Hardware interrupt: 0 Falling edge4 Falling edge4
PROFINET interface [X1]\Digital inputs\Channel5
Channel address I0.5 Input filters 6.4 millisec Enable pulse catch 0
PROFINET interface [X1]\Digital inputs\Channel5\
Enable rising edge 0 RidPrefixRisingEdg‐ 49157 Event name: 0
detection eEvent
Hardware interrupt: 0 Rising edge5 Rising edge5
PROFINET interface [X1]\Digital inputs\Channel5\
Enable falling edge 0 RidPrefixFallingEdg‐ 49285 Event name: 0
detection eEvent
Hardware interrupt: 0 Falling edge5 Falling edge5
PROFINET interface [X1]\Digital inputs\Channel6
Channel address I0.6 Input filters 6.4 millisec Enable pulse catch 0
PROFINET interface [X1]\Digital inputs\Channel6\
Enable rising edge 0 RidPrefixRisingEdg‐ 49158 Event name: 0
detection eEvent
Hardware interrupt: 0 Rising edge6 Rising edge6
PROFINET interface [X1]\Digital inputs\Channel6\
Enable falling edge 0 RidPrefixFallingEdg‐ 49286 Event name: 0
detection eEvent
Hardware interrupt: 0 Falling edge6 Falling edge6
PROFINET interface [X1]\Digital inputs\Channel7
Channel address I0.7 Input filters 6.4 millisec Enable pulse catch 0
PROFINET interface [X1]\Digital inputs\Channel7\
Enable rising edge 0 RidPrefixRisingEdg‐ 49159 Event name: 0
detection eEvent
Hardware interrupt: 0 Rising edge7 Rising edge7
PROFINET interface [X1]\Digital inputs\Channel7\
Enable falling edge 0 RidPrefixFallingEdg‐ 49287 Event name: 0
detection eEvent
Hardware interrupt: 0 Falling edge7 Falling edge7
PROFINET interface [X1]\Digital inputs\Channel8
Channel address I1.0 Input filters 6.4 millisec Enable pulse catch 0
PROFINET interface [X1]\Digital inputs\Channel8\
Enable rising edge 0 RidPrefixRisingEdg‐ 49160 Event name: 0
detection eEvent
Hardware interrupt: 0 Rising edge8 Rising edge8
PROFINET interface [X1]\Digital inputs\Channel8\
Enable falling edge 0 RidPrefixFallingEdg‐ 49288 Event name: 0
detection eEvent
Hardware interrupt: 0 Falling edge8 Falling edge8
PROFINET interface [X1]\Digital inputs\Channel9
Channel address I1.1 Input filters 6.4 millisec Enable pulse catch 0
PROFINET interface [X1]\Digital inputs\Channel9\
Enable rising edge 0 RidPrefixRisingEdg‐ 49161 Event name: 0
detection eEvent
Hardware interrupt: 0 Rising edge9 Rising edge9
PROFINET interface [X1]\Digital inputs\Channel9\
Enable falling edge 0 RidPrefixFallingEdg‐ 49289 Event name: 0
detection eEvent
Hardware interrupt: 0 Falling edge9 Falling edge9
PROFINET interface [X1]\Digital inputs\Channel10
Channel address I1.2 Input filters 6.4 millisec Enable pulse catch 0
PROFINET interface [X1]\Digital inputs\Channel10\
Enable rising edge 0 RidPrefixRisingEdg‐ 49162 Event name: 0
detection eEvent
Hardware interrupt: 0 Rising edge10 Rising edge10
PROFINET interface [X1]\Digital inputs\Channel10\
Enable falling edge 0 RidPrefixFallingEdg‐ 49290 Event name: 0
detection eEvent
Hardware interrupt: 0 Falling edge10 Falling edge10
PROFINET interface [X1]\Digital inputs\Channel11
Channel address I1.3 Input filters 6.4 millisec Enable pulse catch 0
PROFINET interface [X1]\Digital inputs\Channel11\
Enable rising edge 0 RidPrefixRisingEdg‐ 49163 Event name: 0
detection eEvent
Hardware interrupt: 0 Rising edge11 Rising edge11
PROFINET interface [X1]\Digital inputs\Channel11\
Enable falling edge 0 RidPrefixFallingEdg‐ 49291 Event name: 0
detection eEvent
Hardware interrupt: 0 Falling edge11 Falling edge11
PROFINET interface [X1]\Digital inputs\Channel12
Channel address I1.4 Input filters 6.4 millisec Enable pulse catch 0
PROFINET interface [X1]\Digital inputs\Channel13
Channel address I1.5 Input filters 6.4 millisec Enable pulse catch 0
PROFINET interface [X1]\Analog inputs\Noise reduction
Integration time 50 Hz (20 ms)
PROFINET interface [X1]\Analog inputs\Channel0
Channel address IW64 Measurement type Voltage Voltage range 0..10 V
Smoothing Weak (4 cycles) Enable overflow di‐ 1
agnostics
Totally Integrated
Automation Portal

PROFINET interface [X1]\Analog inputs\Channel1


Channel address IW66 Measurement type Voltage Voltage range 0..10 V
Smoothing Weak (4 cycles) Enable overflow di‐ 1
agnostics
PROFINET interface [X1]\Digital outputs
Reaction to CPU Use substitute value
STOP
PROFINET interface [X1]\Digital outputs\Channel0
Channel address Q0.0 Substitute a value 0
of 1 on a change
from RUN to STOP.
PROFINET interface [X1]\Digital outputs\Channel1
Channel address Q0.1 Substitute a value 0
of 1 on a change
from RUN to STOP.
PROFINET interface [X1]\Digital outputs\Channel2
Channel address Q0.2 Substitute a value 0
of 1 on a change
from RUN to STOP.
PROFINET interface [X1]\Digital outputs\Channel3
Channel address Q0.3 Substitute a value 0
of 1 on a change
from RUN to STOP.
PROFINET interface [X1]\Digital outputs\Channel4
Channel address Q0.4 Substitute a value 0
of 1 on a change
from RUN to STOP.
PROFINET interface [X1]\Digital outputs\Channel5
Channel address Q0.5 Substitute a value 0
of 1 on a change
from RUN to STOP.
PROFINET interface [X1]\Digital outputs\Channel6
Channel address Q0.6 Substitute a value 0
of 1 on a change
from RUN to STOP.
PROFINET interface [X1]\Digital outputs\Channel7
Channel address Q0.7 Substitute a value 0
of 1 on a change
from RUN to STOP.
PROFINET interface [X1]\Digital outputs\Channel8
Channel address Q1.0 Substitute a value 0
of 1 on a change
from RUN to STOP.
PROFINET interface [X1]\Digital outputs\Channel9
Channel address Q1.1 Substitute a value 0
of 1 on a change
from RUN to STOP.
PROFINET interface [X1]\Operating mode
IO controller True IO system Device number 0
IO device False
PROFINET interface [X1]\Analog outputs
Reaction to CPU Use substitute value
STOP
PROFINET interface [X1]\Analog outputs\Channel0
Channel address QW80 Analog output type Voltage Voltage range +/- 10 V
Substitute value for 0.000V Enable short circuit 1
channel on a diagnostics
change from RUN to
STOP
Enable overflow di‐ 1 Enable underflow 1
agnostics diagnostics
PROFINET interface [X1]\I/O addresses\Input addresses
Start address 0 End address 1 Organization block 0
Process image 0
PROFINET interface [X1]\I/O addresses\Output addresses
Start address 0 End address 1 Organization block 0
Process image 0
PROFINET interface [X1]\Advanced options\Interface options
Support device re‐ True Permit overwriting False Use IEC V2.2 LLDP False
placement without of device names of mode
exchangeable medi‐ all assigned IO devi‐
um ces
Send keepalives for 30s
connections
PROFINET interface [X1]\Advanced options\Real time settings\IO communication
Send clock: 1.000ms
PROFINET interface [X1]\Advanced options\Real time settings\Real time options
Calculated band‐ 0.000ms
width for cyclic IO
data:
PROFINET interface [X1]\Advanced options\Port [X1 P1]\General
Name Port_1 Author API Comment
PROFINET interface [X1]\Advanced options\Port [X1 P1]\Port interconnection\Local port:
Local port: PLC_1\PROFINET interface_1 Medium: Copper Cable name: ---
[X1]\Port_1 [X1 P1]
Totally Integrated
Automation Portal

PROFINET interface [X1]\Advanced options\Port [X1 P1]\Port interconnection\Partner port:


Monitoring of partner port is not Alternative partners False Partner port: Any partner
possible
PROFINET interface [X1]\Advanced options\Port [X1 P1]\Port options\Activate
Activate this port for True
use
PROFINET interface [X1]\Advanced options\Port [X1 P1]\Port options\Connection
Transmission rate / Automatic Monitor False Enable autonegotia‐ True
duplex: tion
PROFINET interface [X1]\Advanced options\Port [X1 P1]\Port options\Boundaries
End of detection of False End of topology dis‐ False End of the sync do‐ False
accessible devices covery main
PROFINET interface [X1]\Advanced options\Port [X1 P1]\Hardware identifier\Hardware identifier
Hardware identifier 65
PROFINET interface [X1]\Web server access
Enable Web server False The Web server
using this interface must also be activa‐
ted in the properties
of the PLC.
PROFINET interface [X1]\Hardware identifier\Hardware identifier
Hardware identifier 264 Hardware identifier 64
High speed counters (HSC)\HSC1\General\Enable
Enable this high 0
speed counter
High speed counters (HSC)\HSC1\General\Project information
Name HSC_1 Comment
High speed counters (HSC)\HSC1\Function
Type of counting Count Operating phase Single phase
Counting direction User program (internal direction Initial counting di‐ Count up
is specified by control) rection
Frequency measur‐ -/-sec
ing period
High speed counters (HSC)\HSC1\Reset to initial values\Reset values
Initial counter value 0 Initial reference val‐ 0
ue
High speed counters (HSC)\HSC1\Reset to initial values\Reset options
Use external reset 0 Reset signal level -/-
input
High speed counters (HSC)\HSC1\Event configuration\
Generate interrupt 0 RidPrefixCvEqualsPv 49152 Event name: 0
for counter value
equals reference
value event.
Hardware interrupt: 0 Counter value equal Counter value equal to reference ValueNull 0
to reference value0 value0
ValueNull 0 EventPriority 6
High speed counters (HSC)\HSC1\Event configuration\
Generate interrupt 0 RidPrefixExternalRe‐ 49408 Event name: 0
for external reset set
event.
Hardware interrupt: 0 External reset0 External reset0 ValueNull 0
ValueNull 0 EventPriority 6
High speed counters (HSC)\HSC1\Event configuration\
Generate interrupt 0 RidPrefixDirection‐ 49280 Event name: 0
for change of direc‐ Change
tion event.
Hardware interrupt: 0 Change of direc‐ Change of direction0 ValueNull 0
tion0
ValueNull 0 EventPriority 6
High speed counters (HSC)\HSC1\Hardware inputs\
Clock generator in‐ --- HSCInput0_Status 1 Direction input ---
put
Reset input --- Adapter name the HscChannel.AddressString Adapter name the HscChannel.SpeedAndSourceDis‐
user control should user control should play
use for the address use for the Spee‐
string dAndSourceDisplay
Adapter name the HscChannel.OutputSource
user control should
use for the Output
Source
High speed counters (HSC)\HSC1\Hardware inputs\
Direction input --- HSCInput1_Status 1 Clock generator in‐ ---
put
Reset input --- Adapter name the HscChannel.AddressString Adapter name the HscChannel.SpeedAndSourceDis‐
user control should user control should play
use for the address use for the Spee‐
string dAndSourceDisplay
Adapter name the HscChannel.OutputSource
user control should
use for the Output
Source
High speed counters (HSC)\HSC1\Hardware inputs\
Reset input --- HSCInput2_Status 1 Clock generator in‐ ---
put
Direction input --- Adapter name the HscChannel.AddressString Adapter name the HscChannel.SpeedAndSourceDis‐
user control should user control should play
use for the address use for the Spee‐
string dAndSourceDisplay
Adapter name the HscChannel.OutputSource
user control should
use for the Output
Source
High speed counters (HSC)\HSC1\I/O addresses\Input addresses
Start address 1000 End address 1003 Organization block 0
Totally Integrated
Automation Portal

Process image 0
High speed counters (HSC)\HSC1\Hardware identifier\Hardware identifier
Hardware identifier 257
High speed counters (HSC)\HSC2\General\Enable
Enable this high 0
speed counter
High speed counters (HSC)\HSC2\General\Project information
Name HSC_2 Comment
High speed counters (HSC)\HSC2\Function
Type of counting Count Operating phase Single phase
Counting direction User program (internal direction Initial counting di‐ Count up
is specified by control) rection
Frequency measur‐ -/-sec
ing period
High speed counters (HSC)\HSC2\Reset to initial values\Reset values
Initial counter value 0 Initial reference val‐ 0
ue
High speed counters (HSC)\HSC2\Reset to initial values\Reset options
Use external reset 0 Reset signal level -/-
input
High speed counters (HSC)\HSC2\Event configuration\
Generate interrupt 0 RidPrefixCvEqualsPv 49152 Event name: 0
for counter value
equals reference
value event.
Hardware interrupt: 0 Counter value equal Counter value equal to reference ValueNull 0
to reference value1 value1
ValueNull 0 EventPriority 6
High speed counters (HSC)\HSC2\Event configuration\
Generate interrupt 0 RidPrefixExternalRe‐ 49408 Event name: 0
for external reset set
event.
Hardware interrupt: 0 External reset1 External reset1 ValueNull 0
ValueNull 0 EventPriority 6
High speed counters (HSC)\HSC2\Event configuration\
Generate interrupt 0 RidPrefixDirection‐ 49280 Event name: 0
for change of direc‐ Change
tion event.
Hardware interrupt: 0 Change of direc‐ Change of direction1 ValueNull 0
tion1
ValueNull 0 EventPriority 6
High speed counters (HSC)\HSC2\Hardware inputs\
Clock generator in‐ --- HSCInput0_Status 1 Direction input ---
put
Reset input --- Adapter name the HscChannel.AddressString Adapter name the HscChannel.SpeedAndSourceDis‐
user control should user control should play
use for the address use for the Spee‐
string dAndSourceDisplay
Adapter name the HscChannel.OutputSource
user control should
use for the Output
Source
High speed counters (HSC)\HSC2\Hardware inputs\
Direction input --- HSCInput1_Status 1 Clock generator in‐ ---
put
Reset input --- Adapter name the HscChannel.AddressString Adapter name the HscChannel.SpeedAndSourceDis‐
user control should user control should play
use for the address use for the Spee‐
string dAndSourceDisplay
Adapter name the HscChannel.OutputSource
user control should
use for the Output
Source
High speed counters (HSC)\HSC2\Hardware inputs\
Reset input --- HSCInput2_Status 1 Clock generator in‐ ---
put
Direction input --- Adapter name the HscChannel.AddressString Adapter name the HscChannel.SpeedAndSourceDis‐
user control should user control should play
use for the address use for the Spee‐
string dAndSourceDisplay
Adapter name the HscChannel.OutputSource
user control should
use for the Output
Source
High speed counters (HSC)\HSC2\I/O addresses\Input addresses
Start address 1004 End address 1007 Organization block 0
Process image 0
High speed counters (HSC)\HSC2\Hardware identifier\Hardware identifier
Hardware identifier 258
High speed counters (HSC)\HSC3\General\Enable
Enable this high 0
speed counter
High speed counters (HSC)\HSC3\General\Project information
Name HSC_3 Comment
High speed counters (HSC)\HSC3\Function
Type of counting Count Operating phase Single phase
Counting direction User program (internal direction Initial counting di‐ Count up
is specified by control) rection
Frequency measur‐ -/-sec
ing period
High speed counters (HSC)\HSC3\Reset to initial values\Reset values
Initial counter value 0 Initial reference val‐ 0
ue
Totally Integrated
Automation Portal

High speed counters (HSC)\HSC3\Reset to initial values\Reset options


Use external reset 0 Reset signal level -/-
input
High speed counters (HSC)\HSC3\Event configuration\
Generate interrupt 0 RidPrefixCvEqualsPv 49152 Event name: 0
for counter value
equals reference
value event.
Hardware interrupt: 0 Counter value equal Counter value equal to reference ValueNull 0
to reference value2 value2
ValueNull 0 EventPriority 6
High speed counters (HSC)\HSC3\Event configuration\
Generate interrupt 0 RidPrefixExternalRe‐ 49408 Event name: 0
for external reset set
event.
Hardware interrupt: 0 External reset2 External reset2 ValueNull 0
ValueNull 0 EventPriority 6
High speed counters (HSC)\HSC3\Event configuration\
Generate interrupt 0 RidPrefixDirection‐ 49280 Event name: 0
for change of direc‐ Change
tion event.
Hardware interrupt: 0 Change of direc‐ Change of direction2 ValueNull 0
tion2
ValueNull 0 EventPriority 6
High speed counters (HSC)\HSC3\Hardware inputs\
Clock generator in‐ --- HSCInput0_Status 1 Direction input ---
put
Reset input --- Adapter name the HscChannel.AddressString Adapter name the HscChannel.SpeedAndSourceDis‐
user control should user control should play
use for the address use for the Spee‐
string dAndSourceDisplay
Adapter name the HscChannel.OutputSource
user control should
use for the Output
Source
High speed counters (HSC)\HSC3\Hardware inputs\
Direction input --- HSCInput1_Status 1 Clock generator in‐ ---
put
Reset input --- Adapter name the HscChannel.AddressString Adapter name the HscChannel.SpeedAndSourceDis‐
user control should user control should play
use for the address use for the Spee‐
string dAndSourceDisplay
Adapter name the HscChannel.OutputSource
user control should
use for the Output
Source
High speed counters (HSC)\HSC3\Hardware inputs\
Reset input --- HSCInput2_Status 1 Clock generator in‐ ---
put
Direction input --- Adapter name the HscChannel.AddressString Adapter name the HscChannel.SpeedAndSourceDis‐
user control should user control should play
use for the address use for the Spee‐
string dAndSourceDisplay
Adapter name the HscChannel.OutputSource
user control should
use for the Output
Source
High speed counters (HSC)\HSC3\I/O addresses\Input addresses
Start address 1008 End address 1011 Organization block 0
Process image 0
High speed counters (HSC)\HSC3\Hardware identifier\Hardware identifier
Hardware identifier 259
High speed counters (HSC)\HSC4\General\Enable
Enable this high 0
speed counter
High speed counters (HSC)\HSC4\General\Project information
Name HSC_4 Comment
High speed counters (HSC)\HSC4\Function
Type of counting Count Operating phase Single phase
Counting direction User program (internal direction Initial counting di‐ Count up
is specified by control) rection
Frequency measur‐ -/-sec
ing period
High speed counters (HSC)\HSC4\Reset to initial values\Reset values
Initial counter value 0 Initial reference val‐ 0
ue
High speed counters (HSC)\HSC4\Reset to initial values\Reset options
Use external reset 0 Reset signal level -/-
input
High speed counters (HSC)\HSC4\Event configuration\
Generate interrupt 0 RidPrefixCvEqualsPv 49152 Event name: 0
for counter value
equals reference
value event.
Hardware interrupt: 0 Counter value equal Counter value equal to reference ValueNull 0
to reference value3 value3
ValueNull 0 EventPriority 6
High speed counters (HSC)\HSC4\Event configuration\
Generate interrupt 0 RidPrefixExternalRe‐ 49408 Event name: 0
for external reset set
event.
Hardware interrupt: 0 External reset3 External reset3 ValueNull 0
ValueNull 0 EventPriority 6
Totally Integrated
Automation Portal

High speed counters (HSC)\HSC4\Event configuration\


Generate interrupt 0 RidPrefixDirection‐ 49280 Event name: 0
for change of direc‐ Change
tion event.
Hardware interrupt: 0 Change of direc‐ Change of direction3 ValueNull 0
tion3
ValueNull 0 EventPriority 6
High speed counters (HSC)\HSC4\Hardware inputs\
Clock generator in‐ --- HSCInput0_Status 1 Direction input ---
put
Reset input --- Adapter name the HscChannel.AddressString Adapter name the HscChannel.SpeedAndSourceDis‐
user control should user control should play
use for the address use for the Spee‐
string dAndSourceDisplay
Adapter name the HscChannel.OutputSource
user control should
use for the Output
Source
High speed counters (HSC)\HSC4\Hardware inputs\
Direction input --- HSCInput1_Status 1 Clock generator in‐ ---
put
Reset input --- Adapter name the HscChannel.AddressString Adapter name the HscChannel.SpeedAndSourceDis‐
user control should user control should play
use for the address use for the Spee‐
string dAndSourceDisplay
Adapter name the HscChannel.OutputSource
user control should
use for the Output
Source
High speed counters (HSC)\HSC4\Hardware inputs\
Reset input --- HSCInput2_Status 1 Clock generator in‐ ---
put
Direction input --- Adapter name the HscChannel.AddressString Adapter name the HscChannel.SpeedAndSourceDis‐
user control should user control should play
use for the address use for the Spee‐
string dAndSourceDisplay
Adapter name the HscChannel.OutputSource
user control should
use for the Output
Source
High speed counters (HSC)\HSC4\I/O addresses\Input addresses
Start address 1012 End address 1015 Organization block 0
Process image 0
High speed counters (HSC)\HSC4\Hardware identifier\Hardware identifier
Hardware identifier 260
High speed counters (HSC)\HSC5\General\Enable
Enable this high 0
speed counter
High speed counters (HSC)\HSC5\General\Project information
Name HSC_5 Comment
High speed counters (HSC)\HSC5\Function
Type of counting Count Operating phase Single phase
Counting direction User program (internal direction Initial counting di‐ Count up
is specified by control) rection
Frequency measur‐ -/-sec
ing period
High speed counters (HSC)\HSC5\Reset to initial values\Reset values
Initial counter value 0 Initial reference val‐ 0
ue
High speed counters (HSC)\HSC5\Reset to initial values\Reset options
Use external reset 0 Reset signal level -/-
input
High speed counters (HSC)\HSC5\Event configuration\
Generate interrupt 0 RidPrefixCvEqualsPv 49152 Event name: 0
for counter value
equals reference
value event.
Hardware interrupt: 0 Counter value equal Counter value equal to reference ValueNull 0
to reference value4 value4
ValueNull 0 EventPriority 6
High speed counters (HSC)\HSC5\Event configuration\
Generate interrupt 0 RidPrefixExternalRe‐ 49408 Event name: 0
for external reset set
event.
Hardware interrupt: 0 External reset4 External reset4 ValueNull 0
ValueNull 0 EventPriority 6
High speed counters (HSC)\HSC5\Event configuration\
Generate interrupt 0 RidPrefixDirection‐ 49280 Event name: 0
for change of direc‐ Change
tion event.
Hardware interrupt: 0 Change of direc‐ Change of direction4 ValueNull 0
tion4
ValueNull 0 EventPriority 6
High speed counters (HSC)\HSC5\Hardware inputs\
Clock generator in‐ --- HSCInput0_Status 1 Direction input ---
put
Reset input --- Adapter name the HscChannel.AddressString Adapter name the HscChannel.SpeedAndSourceDis‐
user control should user control should play
use for the address use for the Spee‐
string dAndSourceDisplay
Adapter name the HscChannel.OutputSource
user control should
use for the Output
Source
Totally Integrated
Automation Portal

High speed counters (HSC)\HSC5\Hardware inputs\


Direction input --- HSCInput1_Status 1 Clock generator in‐ ---
put
Reset input --- Adapter name the HscChannel.AddressString Adapter name the HscChannel.SpeedAndSourceDis‐
user control should user control should play
use for the address use for the Spee‐
string dAndSourceDisplay
Adapter name the HscChannel.OutputSource
user control should
use for the Output
Source
High speed counters (HSC)\HSC5\Hardware inputs\
Reset input --- HSCInput2_Status 1 Clock generator in‐ ---
put
Direction input --- Adapter name the HscChannel.AddressString Adapter name the HscChannel.SpeedAndSourceDis‐
user control should user control should play
use for the address use for the Spee‐
string dAndSourceDisplay
Adapter name the HscChannel.OutputSource
user control should
use for the Output
Source
High speed counters (HSC)\HSC5\I/O addresses\Input addresses
Start address 1016 End address 1019 Organization block 0
Process image 0
High speed counters (HSC)\HSC5\Hardware identifier\Hardware identifier
Hardware identifier 261
High speed counters (HSC)\HSC6\General\Enable
Enable this high 0
speed counter
High speed counters (HSC)\HSC6\General\Project information
Name HSC_6 Comment
High speed counters (HSC)\HSC6\Function
Type of counting Count Operating phase Single phase
Counting direction User program (internal direction Initial counting di‐ Count up
is specified by control) rection
Frequency measur‐ -/-sec
ing period
High speed counters (HSC)\HSC6\Reset to initial values\Reset values
Initial counter value 0 Initial reference val‐ 0
ue
High speed counters (HSC)\HSC6\Reset to initial values\Reset options
Use external reset 0 Reset signal level -/-
input
High speed counters (HSC)\HSC6\Event configuration\
Generate interrupt 0 RidPrefixCvEqualsPv 49152 Event name: 0
for counter value
equals reference
value event.
Hardware interrupt: 0 Counter value equal Counter value equal to reference ValueNull 0
to reference value5 value5
ValueNull 0 EventPriority 6
High speed counters (HSC)\HSC6\Event configuration\
Generate interrupt 0 RidPrefixExternalRe‐ 49408 Event name: 0
for external reset set
event.
Hardware interrupt: 0 External reset5 External reset5 ValueNull 0
ValueNull 0 EventPriority 6
High speed counters (HSC)\HSC6\Event configuration\
Generate interrupt 0 RidPrefixDirection‐ 49280 Event name: 0
for change of direc‐ Change
tion event.
Hardware interrupt: 0 Change of direc‐ Change of direction5 ValueNull 0
tion5
ValueNull 0 EventPriority 6
High speed counters (HSC)\HSC6\Hardware inputs\
Clock generator in‐ --- HSCInput0_Status 1 Direction input ---
put
Reset input --- Adapter name the HscChannel.AddressString Adapter name the HscChannel.SpeedAndSourceDis‐
user control should user control should play
use for the address use for the Spee‐
string dAndSourceDisplay
Adapter name the HscChannel.OutputSource
user control should
use for the Output
Source
High speed counters (HSC)\HSC6\Hardware inputs\
Direction input --- HSCInput1_Status 1 Clock generator in‐ ---
put
Reset input --- Adapter name the HscChannel.AddressString Adapter name the HscChannel.SpeedAndSourceDis‐
user control should user control should play
use for the address use for the Spee‐
string dAndSourceDisplay
Adapter name the HscChannel.OutputSource
user control should
use for the Output
Source
High speed counters (HSC)\HSC6\Hardware inputs\
Reset input --- HSCInput2_Status 1 Clock generator in‐ ---
put
Direction input --- Adapter name the HscChannel.AddressString Adapter name the HscChannel.SpeedAndSourceDis‐
user control should user control should play
use for the address use for the Spee‐
string dAndSourceDisplay
Totally Integrated
Automation Portal

Adapter name the HscChannel.OutputSource


user control should
use for the Output
Source
High speed counters (HSC)\HSC6\I/O addresses\Input addresses
Start address 1020 End address 1023 Organization block 0
Process image 0
High speed counters (HSC)\HSC6\Hardware identifier\Hardware identifier
Hardware identifier 262
Pulse generators (PTO/PWM)\PTO1/PWM1\General\Enable
Enable this pulse 0
generator
Pulse generators (PTO/PWM)\PTO1/PWM1\General\Project information
Name Pulse_1 Comment
Pulse generators (PTO/PWM)\PTO1/PWM1\Parameter assignment\Pulse options
Signal type PWM Time base: Milliseconds Pulse duration for‐ Hundredths
mat
Cycle time 100ms Initial pulse dura‐ 50Hundredths
tion
Pulse generators (PTO/PWM)\PTO1/PWM1\Hardware outputs
Enable direction 0
output
Pulse generators (PTO/PWM)\PTO1/PWM1\Hardware outputs\
Pulse output PulseOutput1_Sta‐ 1 Adapter name the PulseChannel.AddressString
tus user control should
use for the address
string
Adapter name the PulseChannel.SpeedAndSourceDis‐ Adapter name the PulseChannel.OutputSource
user control should play user control should
use for the Spee‐ use for the Output
dAndSourceDisplay Source
Pulse generators (PTO/PWM)\PTO1/PWM1\Hardware outputs\
PulseOutput2_Sta‐ 1 Pulse output Adapter name the PulseChannel.AddressString
tus user control should
use for the address
string
Adapter name the PulseChannel.SpeedAndSourceDis‐ Adapter name the PulseChannel.OutputSource
user control should play user control should
use for the Spee‐ use for the Output
dAndSourceDisplay Source
Pulse generators (PTO/PWM)\PTO1/PWM1\I/O addresses\Output addresses
Start address 1000 End address 1001 Organization block 0
Process image 0
Pulse generators (PTO/PWM)\PTO1/PWM1\Hardware identifier\Hardware identifier
Hardware identifier 265
Pulse generators (PTO/PWM)\PTO2/PWM2\General\Enable
Enable this pulse 0
generator
Pulse generators (PTO/PWM)\PTO2/PWM2\General\Project information
Name Pulse_2 Comment
Pulse generators (PTO/PWM)\PTO2/PWM2\Parameter assignment\Pulse options
Signal type PWM Time base: Milliseconds Pulse duration for‐ Hundredths
mat
Cycle time 100ms Initial pulse dura‐ 50Hundredths
tion
Pulse generators (PTO/PWM)\PTO2/PWM2\Hardware outputs
Enable direction 0
output
Pulse generators (PTO/PWM)\PTO2/PWM2\Hardware outputs\
Pulse output PulseOutput1_Sta‐ 1 Adapter name the PulseChannel.AddressString
tus user control should
use for the address
string
Adapter name the PulseChannel.SpeedAndSourceDis‐ Adapter name the PulseChannel.OutputSource
user control should play user control should
use for the Spee‐ use for the Output
dAndSourceDisplay Source
Pulse generators (PTO/PWM)\PTO2/PWM2\Hardware outputs\
PulseOutput2_Sta‐ 1 Pulse output Adapter name the PulseChannel.AddressString
tus user control should
use for the address
string
Adapter name the PulseChannel.SpeedAndSourceDis‐ Adapter name the PulseChannel.OutputSource
user control should play user control should
use for the Spee‐ use for the Output
dAndSourceDisplay Source
Pulse generators (PTO/PWM)\PTO2/PWM2\I/O addresses\Output addresses
Start address 1002 End address 1003 Organization block 0
Process image 0
Pulse generators (PTO/PWM)\PTO2/PWM2\Hardware identifier\Hardware identifier
Hardware identifier 266
Pulse generators (PTO/PWM)\PTO3/PWM3\General\Enable
Enable this pulse 0
generator
Pulse generators (PTO/PWM)\PTO3/PWM3\General\Project information
Name Pulse_3 Comment
Pulse generators (PTO/PWM)\PTO3/PWM3\Parameter assignment\Pulse options
Signal type PWM Time base: Milliseconds Pulse duration for‐ Hundredths
mat
Cycle time 100ms Initial pulse dura‐ 50Hundredths
tion
Pulse generators (PTO/PWM)\PTO3/PWM3\Hardware outputs
Enable direction 0
output
Totally Integrated
Automation Portal

Pulse generators (PTO/PWM)\PTO3/PWM3\Hardware outputs\


Pulse output PulseOutput1_Sta‐ 1 Adapter name the PulseChannel.AddressString
tus user control should
use for the address
string
Adapter name the PulseChannel.SpeedAndSourceDis‐ Adapter name the PulseChannel.OutputSource
user control should play user control should
use for the Spee‐ use for the Output
dAndSourceDisplay Source
Pulse generators (PTO/PWM)\PTO3/PWM3\Hardware outputs\
PulseOutput2_Sta‐ 1 Pulse output Adapter name the PulseChannel.AddressString
tus user control should
use for the address
string
Adapter name the PulseChannel.SpeedAndSourceDis‐ Adapter name the PulseChannel.OutputSource
user control should play user control should
use for the Spee‐ use for the Output
dAndSourceDisplay Source
Pulse generators (PTO/PWM)\PTO3/PWM3\I/O addresses\Output addresses
Start address 1004 End address 1005 Organization block 0
Process image 0
Pulse generators (PTO/PWM)\PTO3/PWM3\Hardware identifier\Hardware identifier
Hardware identifier 267
Pulse generators (PTO/PWM)\PTO4/PWM4\General\Enable
Enable this pulse 0
generator
Pulse generators (PTO/PWM)\PTO4/PWM4\General\Project information
Name Pulse_4 Comment
Pulse generators (PTO/PWM)\PTO4/PWM4\Parameter assignment\Pulse options
Signal type PWM Time base: Milliseconds Pulse duration for‐ Hundredths
mat
Cycle time 100ms Initial pulse dura‐ 50Hundredths
tion
Pulse generators (PTO/PWM)\PTO4/PWM4\Hardware outputs
Enable direction 0
output
Pulse generators (PTO/PWM)\PTO4/PWM4\Hardware outputs\
Pulse output PulseOutput1_Sta‐ 1 Adapter name the PulseChannel.AddressString
tus user control should
use for the address
string
Adapter name the PulseChannel.SpeedAndSourceDis‐ Adapter name the PulseChannel.OutputSource
user control should play user control should
use for the Spee‐ use for the Output
dAndSourceDisplay Source
Pulse generators (PTO/PWM)\PTO4/PWM4\Hardware outputs\
PulseOutput2_Sta‐ 1 Pulse output Adapter name the PulseChannel.AddressString
tus user control should
use for the address
string
Adapter name the PulseChannel.SpeedAndSourceDis‐ Adapter name the PulseChannel.OutputSource
user control should play user control should
use for the Spee‐ use for the Output
dAndSourceDisplay Source
Pulse generators (PTO/PWM)\PTO4/PWM4\I/O addresses\Output addresses
Start address 1006 End address 1007 Organization block 0
Process image 0
Pulse generators (PTO/PWM)\PTO4/PWM4\Hardware identifier\Hardware identifier
Hardware identifier 268
Startup
Startup after POWER Warm restart - mode before POWER Comparison preset Startup CPU even if mismatch Configuration time 60000ms
ON OFF to actual configura‐ for central and dis‐
tion tributed I/O
OBs should be inter‐ 1
ruptible
Cycle
Cycle monitoring 150ms Enable minimum cy‐ 0
time cle time for cyclic
OBs
Minimum cycle time 1ms
Communication load
Cycle load due to 20%
communication
System and clock memory\System memory bits
Enable the use of 0 Address of system 1 First cycle
system memory memory byte (MBx)
byte
Diagnostic status Always 1 (high) Always 0 (low)
changed
System and clock memory\Clock memory bits
Enable the use of 0 Address of clock 0 10 Hz clock
clock memory byte memory byte (MBx)
5 Hz clock 2.5 Hz clock 2 Hz clock
1.25 Hz clock 1 Hz clock 0.625 Hz clock
0.5 Hz clock
Web server\General
Activate Web server False Permit access only True
on all modules of with HTTPS
this device
Web server\Automatic update
Enable automatic True Update interval 0s
update
Totally Integrated
Automation Portal

Web server\User interface languages


Assign project language User interface languages
English (United States) German
English (United States) English
English (United States) French
English (United States) Spanish
English (United States) Italian
English (United States) Chinese (simplified)
Web server\User management
User name User rights
Everybody
Web server\User 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 server\Overview of interfaces
Device Interface Enabled web server access
PLC_1 PROFINET interface_1 False
User interface languages
Assign project language User interface languages
English (United States) German
English (United States) English
English (United States) French
English (United States) Spanish
English (United States) Italian
English (United States) Chinese (simplified)
Time of day\Local time
Time zone (UTC +01:00) Berlin, Bern, Brussels,
Rome, Stockholm, Vienna
Time of day\Daylight saving time
Activate daylight 1 Difference between 60mins
saving time standard and day‐
light saving time
Time of day\Daylight saving time\Start of daylight saving time
Starting week of the Last Sunday of March
month:
at 01:00 a.m.
Time of day\Daylight saving time\Start of standard time
Last Sunday of October
at 02:00 a.m.
Protection
Level of protection No protection
Protection\Connection mechanisms
Permit access with False
PUT/GET communi‐
cation from remote
partner (PLC, HMI,
OPC, ...)
Configuration control\Configuration control for central configuration
Allow to reconfigure 0
the device via the
user program
Anchor (AddressesOverviewMenu)
Inputs True Outputs True Address gaps False
Slot True
Anchor (AddressesOverviewMenu)\Overview of addresses
Type Addr. from Addr. to Module PIP DP PN Rack Slot
I 0 1 DI 14/DQ 10_1 None - - 0 11
I 64 67 AI 2_1 None - - 0 12
I 1000 1003 HSC_1 None - - 0 1 16
I 1004 1007 HSC_2 None - - 0 1 17
I 1008 1011 HSC_3 None - - 0 1 18
I 1012 1015 HSC_4 None - - 0 1 19
I 1016 1019 HSC_5 None - - 0 1 20
I 1020 1023 HSC_6 None - - 0 1 21
I 8 8 DI 8x24VDC_1 None - - 0 2
O 0 1 DI 14/DQ 10_1 None - - 0 11
O 1000 1001 Pulse_1 None - - 0 1 32
O 1002 1003 Pulse_2 None - - 0 1 33
O 1004 1005 Pulse_3 None - - 0 1 34
O 1006 1007 Pulse_4 None - - 0 1 35
O 80 81 AQ 1x12BIT_1 None - - 0 13
Totally Integrated
Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly] / Program blocks


Main [OB1]
Main Properties
General
Name Main Number 1 Type OB Language LAD
Numbering automatic
Information
Title "Main Program Sweep (Cy‐ Author Comment Family
cle)"
Version 0.1 User-defined
ID

Name Data type Default value Comment


Input
Initial_Call Bool Initial call of this OB
Remanence Bool =True, if remanent data are available
Temp
Constant

Network 1: Start do Equipamento


Instrução para iniciar a máquina e memorizar o estado de ON, o botão Start é momentaneo!

%M60.1
%I0.1 %I0.0 "Memoria_ON"
"Stop" "Start" SR
P S Q
%M60.0
"Memoria_
Flanco_P_Start"

%I0.1
"Stop"
R1

%M60.7
"Memoria_
Alarme"

Symbol Address Type Comment


"Memoria_Alarme" %M60.7 Bool
"Memoria_Flanco_P_Start" %M60.0 Bool
"Memoria_ON" %M60.1 Bool
"Start" %I0.0 Bool
"Stop" %I0.1 Bool

Network 2: Gestão do Nível do Tanque


Iniciar o funcionamento do conjunto bomba e tanque, mal o sistema esteja ON independentemente o estado Manual ou Automático

%M60.1 %FC1
"Memoria_ON" "FC_Tanque"
EN ENO

%IW64 %Q1.0
"Sensor_Nivel_ Bomba "Bomba"
Tanque" Sensor_Nivel "DB_Dados".
Nivel_
convertido Nivel_convertido
"DB_Dados".
Valor_Maximo_
Tanque Valor_Maximo

"DB_Dados".
Valor_Minimo_
Tanque Valor_Minimo

Symbol Address Type Comment


"Bomba" %Q1.0 Bool
"DB_Dados".Nivel_convertido Real
"DB_Dados".Valor_Maximo_Tan‐ Int
que
"DB_Dados".Valor_Minimo_Tanque Int
"Memoria_ON" %M60.1 Bool
"Sensor_Nivel_Tanque" %IW64 Int

Network 3: Modo Manual


Bloco de funções para o funcionamento em modo Manual
Totally Integrated
Automation Portal

%I0.4
%M60.1 "Manual_ %FC2
"Memoria_ON" Automatico" "FC_Manual"
EN ENO
%M100.1 %Q0.1
"Avanca_Cil_A" Avanca_Cil_A Cilindro_A "Cilindro_A"
%M100.0 %Q0.2
"Avanca_Cil_B" Avanca_Cil_B Cilindro_B "Cilindro_B"
%M100.2 %QW80
"Encher" Encher "Funil_De_
%I0.2 Funil Encher"
"Andar_Frente" Rodar_Frente %Q0.5
%I0.3 Motor_Frente "Motor_Frente"
"Andar_Tras" Rodar_Tras %Q0.6
Motor_Tras "Motor_Tras"
"DB_Dados". Valor_
Valor_Maximo_ Maximo_
Encher Encher

"DB_Dados". Valor_
Valor_Minimo_ Minimo_
Encher Encher

Symbol Address Type Comment


"Andar_Frente" %I0.2 Bool
"Andar_Tras" %I0.3 Bool
"Avanca_Cil_A" %M100.1 Bool
"Avanca_Cil_B" %M100.0 Bool
"Cilindro_A" %Q0.1 Bool
"Cilindro_B" %Q0.2 Bool
"DB_Dados".Valor_Maximo_Encher Int
"DB_Dados".Valor_Minimo_Encher Int
"Encher" %M100.2 Bool
"Funil_De_Encher" %QW80 Int
"Manual_Automatico" %I0.4 Bool
"Memoria_ON" %M60.1 Bool
"Motor_Frente" %Q0.5 Bool
"Motor_Tras" %Q0.6 Bool

Network 4: Modo Automático


Totally Integrated
Automation Portal

%I0.4
%M60.1 "Manual_ %FC7
"Memoria_ON" Automatico" "FC_Automatico"
EN ENO

%I0.5 %MD1
"Sensor_ Sensor_ "Memoria_
Garrafa_Vazia" Garrafa_Vazia Contagem_
Memoria_Vazia Vazia"
%I0.7
"Sensor_ Sensor_
Garrafa_Cheia" %MD6
Garrafa_Cheia
"Memoria_
Contagem_
%I8.0 Cheia"
Memoria_Cheia
"Reset_ Reset_
Contador_ Contador_ %M60.2
Vazias" Vazia
Memoria_A_ "Memoria_A_
Encher Encher"
%I8.1
"Reset_ Reset_ Base_Dados_ "DB_Dados".
Contador_ Contador_ Vazias Garrafas_Vazias
Cheias" Cheia
Base_Dados_ "DB_Dados".
Cheias Garrafas_Cheias
%I0.6
"Sensor_ Sensor_ "DB_Dados".
Garrafa_Funil" Garrafa_Funil Garrafas_
Base_Dados_
Partidas Partidas
"DB_Dados".
Tempo_De_ Tempo_ "DB_Dados".
Encher Base_Dados_
Encher_DB Embalagens_ Embalagens_
Realizadas Realizadas
"DB_Dados".
Tempo_De_ Tempo_
Embalamento %MD11
Embalamento
"Memoria_
"DB_Dados". Memoria_ Contagem_
Valor_
Valor_Maximo_ Partidas Partida"
Maximo_
Encher Encher
"DB_Dados".
"DB_Dados". Base_Dados_ Tempo_A_
Valor_ Encher
Valor_Minimo_ Minimo_ Tempo
Encher Encher
%QW80
%I8.5 "Funil_De_
"Cil_A_a1" a1 Funil Encher"

%I8.6 %Q0.1
"Cil_B_b1" b1 Cilindro_A "Cilindro_A"
"DB_Dados". %Q0.2
Embalgem Embalagem Cilindro_B "Cilindro_B"

"DB_Dados". %MW16
IEC_TIMER_ IEC_TIMER_ "Memoria_
INSTANCE_ INSTANCE_ Memoria_ Contagem_
Embalamento Embalamento Embalagem Embalagem"

"DB_Dados". %Q0.5
IEC_COUNTER_ IEC_COUNTER_ Tapete_Frente "Motor_Frente"
INSTANCE_1 VAZIA
%MD26
"DB_Dados". "Memoria_
IEC_COUNTER_ IEC_COUNTER_ Contagem_
INSTANCE_2 Memoria_
CHEIA Numero_ Embalagens_
Embalagens Realizadas"
"DB_Dados".
IEC_COUNTER_ IEC_COUNTER_
INSTANCE_3 %MD21
EMBALAGEM
Conv_ "Memoria_Conv_
Embalagem_ Numero_
Dint Embalagens"

"DB_Dados".
Garrafas_ Garrafas_
qualidade qualidade

"DB_Dados".
Garrafas_ Garrafas_
partidas_ partidas_
convertida convertida

"DB_Dados".
Garrafas_ Garrafas_
cheias_ cheias_
convertida convertida

Symbol Address Type Comment


"Cil_A_a1" %I8.5 Bool
"Cil_B_b1" %I8.6 Bool
"Cilindro_A" %Q0.1 Bool
"Cilindro_B" %Q0.2 Bool
"DB_Dados".Embalagens_Realiza‐ DInt
das
"DB_Dados".Embalgem Int
"DB_Dados".Garrafas_Cheias DInt
"DB_Dados".Garrafas_cheias_con‐ Real
vertida
"DB_Dados".Garrafas_Partidas DInt
"DB_Dados".Garrafas_parti‐ Real
das_convertida
"DB_Dados".Garrafas_qualidade Real
"DB_Dados".Garrafas_Vazias DInt
"DB_Dados".IEC_COUNTER_IN‐ IEC_DCounter
STANCE_1
"DB_Dados".IEC_COUNTER_IN‐ IEC_DCounter
STANCE_2
"DB_Dados".IEC_COUNTER_IN‐ IEC_Counter
STANCE_3
"DB_Dados".IEC_TIMER_IN‐ IEC_Timer
STANCE_Embalamento
"DB_Dados".Tempo_A_Encher Time
"DB_Dados".Tempo_De_Embala‐ Time
mento
"DB_Dados".Tempo_De_Encher Time
"DB_Dados".Valor_Maximo_Encher Int
"DB_Dados".Valor_Minimo_Encher Int
"Funil_De_Encher" %QW80 Int
"Manual_Automatico" %I0.4 Bool
"Memoria_A_Encher" %M60.2 Bool
"Memoria_Contagem_Cheia" %MD6 DWord
Totally Integrated
Automation Portal

Symbol Address Type Comment


"Memoria_Contagem_Embalagem" %MW16 Word
"Memoria_Contagem_Embala‐ %MD26 DInt
gens_Realizadas"
"Memoria_Contagem_Partida" %MD11 DWord
"Memoria_Contagem_Vazia" %MD1 DWord
"Memoria_Conv_Numero_Embala‐ %MD21 DInt
gens"
"Memoria_ON" %M60.1 Bool
"Motor_Frente" %Q0.5 Bool
"Reset_Contador_Cheias" %I8.1 Bool
"Reset_Contador_Vazias" %I8.0 Bool
"Sensor_Garrafa_Cheia" %I0.7 Bool
"Sensor_Garrafa_Funil" %I0.6 Bool
"Sensor_Garrafa_Vazia" %I0.5 Bool

Network 5: Controlo do Nível de Tanque

%FC8
"FC_Controlo"
EN ENO

%IW64 "DB_Dados".
"Sensor_Nivel_ Alarme Alarme
Tanque" Sensor_Nivel ALarme_
Valor_ Valor_ "DB_Dados".
"DB_Dados". Minimo_ Minimo_ ALarme_Valor_
Valor_Minimo_ Tanque_ Tanque Minimo_Tanque
Tanque_ALarme ALarme ALarme_
Valor_ Valor_ "DB_Dados".
"DB_Dados". Maximo_ Maximo_ ALarme_Valor_
Valor_Maximo_ Tanque_ Tanque Maximo_Tanque
Tanque_Alarme Alarme

Symbol Address Type Comment


"DB_Dados".Alarme Bool
"DB_Dados".ALarme_Valor_Maxi‐ Bool
mo_Tanque
"DB_Dados".ALarme_Valor_Mini‐ Bool
mo_Tanque
"DB_Dados".Valor_Maximo_Tan‐ DInt Nível do tanque Igual a 96%
que_Alarme
"DB_Dados".Valor_Minimo_Tan‐ Int Nível do tanque Igual a 4%
que_ALarme
"Sensor_Nivel_Tanque" %IW64 Int
Totally Integrated
Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly] / Program blocks


DB_Dados [DB1]
DB_Dados Properties
General
Name DB_Dados Number 1 Type DB Language DB
Numbering automatic
Information
Title Author Comment Family
Version 0.1 User-defined
ID

Name Data type Start value Retain Accessible Visible in Setpoint Comment
from HMI HMI
Static
Alarme Bool false True True True False
ALarme_Valor_Minimo_Tanque Bool false True True True False
ALarme_Valor_Maximo_Tanque Bool false True True True False
Tempo_De_Embalamento Time T#1S True True True False
Tempo_De_Encher Time T#4000ms True True True False
Tempo_A_Encher Time T#0ms True True True False
Embalgem Int 6 True True True False
Garrafas_Cheias DInt 0 True True True False
Garrafas_Vazias DInt 0 True True True False
Garrafas_Partidas DInt 0 True True True False
Garrafas_qualidade Real 0.0 True True True False
Garrafas_cheias_convertida Real 0.0 True True True False
Garrafas_partidas_convertida Real 0.0 True True True False
Embalagens_Realizadas DInt 0 True True True False
Valor_Maximo_Tanque_Alarme DInt 26542 True True True False Nível do tanque Igual a 96%
Valor_Maximo_Tanque Int 26266 True True True False
Valor_Minimo_Tanque Int 1383 True True True False
Valor_Minimo_Tanque_ALarme Int 1106 True True True False Nível do tanque Igual a 4%
Valor_Maximo_Encher Int 27648 True True True False
Valor_Minimo_Encher Int 0 True True True False
Nivel_convertido Real 0.0 True True True False
IEC_COUNTER_INSTANCE_1 CTU_DINT True True True False
CU Bool false True True True False
CD Bool false True True True False
R Bool false True True True False
LD Bool false True True True False
QU Bool false True True True False
QD Bool false True True True False
PV DInt 0 True True True False
CV DInt 0 True True True False
IEC_COUNTER_INSTANCE_2 CTU_DINT True True True False
CU Bool false True True True False
CD Bool false True True True False
R Bool false True True True False
LD Bool false True True True False
QU Bool false True True True False
QD Bool false True True True False
PV DInt 0 True True True False
CV DInt 0 True True True False
IEC_COUNTER_INSTANCE_3 CTU_INT True True True False
CU Bool false True True True False
CD Bool false True True True False
R Bool false True True True False
LD Bool false True True True False
QU Bool false True True True False
QD Bool false True True True False
PV Int 0 True True True False
CV Int 0 True True True False
IEC_TIMER_INSTANCE_Embala‐ TON_TIME True True True False
mento
ST Time T#0ms True True True False
PT Time T#0ms True True True False
ET Time T#0ms True True True False
RU Bool false True False False False
IN Bool false True True True False
Q Bool false True True True False
IEC_TIMER_INSTANCE TON_TIME True True True False
ST Time T#0ms True True True False
PT Time T#0ms True True True False
ET Time T#0ms True True True False
RU Bool false True False False False
IN Bool false True True True False
Q Bool false True True True False
Totally Integrated
Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly] / Program blocks


FC_Tanque [FC1]
FC_Tanque Properties
General
Name FC_Tanque Number 1 Type FC Language LAD
Numbering automatic
Information
Title Author Comment Family
Version 0.1 User-defined
ID

Name Data type Default value Comment


Input
Sensor_Nivel Int
Valor_Maximo Int
Valor_Minimo Int
Output
Bomba Bool
Nivel_convertido Real
InOut
Temp
Normalizado Real
Constant
Return
FC_Tanque Void

Network 1: Controla Nível de tanque

%M60.3
"Memoria_
Estado_Bomba"
#Sensor_Nivel
SR #Bomba
<=
Int S Q
#Valor_Minimo

#Sensor_Nivel
>=
Int R1
#Valor_Maximo

Symbol Address Type Comment


"Memoria_Estado_Bomba" %M60.3 Bool
#Bomba Bool
#Sensor_Nivel Int
#Valor_Maximo Int
#Valor_Minimo Int

Network 2: HMI visualização

NORM_X SCALE_X
Int to Real Real to Real
EN ENO EN ENO
0 MIN OUT #Normalizado 0.0 MIN OUT #Nivel_convertido
#Sensor_Nivel VALUE #Normalizado VALUE
27648 MAX 2500.0 MAX

Symbol Address Type Comment


#Nivel_convertido Real
#Normalizado Real
#Sensor_Nivel Int
Totally Integrated
Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly] / Program blocks


FC_Manual [FC2]
FC_Manual Properties
General
Name FC_Manual Number 2 Type FC Language LAD
Numbering automatic
Information
Title Author Comment Family
Version 0.1 User-defined
ID

Name Data type Default value Comment


Input
Avanca_Cil_A Bool
Avanca_Cil_B Bool
Encher Bool
Rodar_Frente Bool
Rodar_Tras Bool
Valor_Maximo_Encher Int
Valor_Minimo_Encher Int
Output
Cilindro_A Bool
Cilindro_B Bool
Funil Int
Motor_Frente Bool
Motor_Tras Bool
InOut
Temp
Constant
Return
FC_Manual Void

Network 1:

#Avanca_Cil_A #Cilindro_A

Symbol Address Type Comment


#Avanca_Cil_A Bool
#Cilindro_A Bool

Network 2:

#Avanca_Cil_B #Cilindro_B

Symbol Address Type Comment


#Avanca_Cil_B Bool
#Cilindro_B Bool

Network 3:

#Encher MOVE
EN ENO
#Valor_Maximo_ OUT1 #Funil
Encher IN

Symbol Address Type Comment


#Encher Bool
#Funil Int
#Valor_Maximo_Encher Int

Network 4:

#Encher MOVE
EN ENO
#Valor_Minimo_ OUT1 #Funil
Encher IN

Symbol Address Type Comment


#Encher Bool
#Funil Int
Totally Integrated
Automation Portal

Symbol Address Type Comment


#Valor_Minimo_Encher Int

Network 5:

#Rodar_Frente #Rodar_Tras #Motor_Frente

Symbol Address Type Comment


#Motor_Frente Bool
#Rodar_Frente Bool
#Rodar_Tras Bool

Network 6:

#Rodar_Frente #Rodar_Tras #Motor_Tras

Symbol Address Type Comment


#Motor_Tras Bool
#Rodar_Frente Bool
#Rodar_Tras Bool
Totally Integrated
Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly] / Program blocks


FC_Contagem [FC3]
FC_Contagem Properties
General
Name FC_Contagem Number 3 Type FC Language LAD
Numbering automatic
Information
Title Author Comment Family
Version 0.1 User-defined
ID

Name Data type Default value Comment


Input
Sensor_Garrafa Bool
Faz_Reset Bool
Output
Base_Dados DInt
Memoria_Contagem DInt
InOut
IEC_Counter_Instance CTU_DINT
CU Bool
CD Bool
R Bool
LD Bool
QU Bool
QD Bool
PV DInt
CV DInt
Temp
Constant
Return
FC_Contagem Void

Network 1:

#IEC_Counter_
Instance
CTU
#Sensor_Garrafa DInt
P CU Q
%M70.0 #Memoria_
"Memoria_ CV Contagem
Flanco_P_
Sensor_Garrafa_
Vazia"

#Faz_Reset
P R
%M70.1 0 PV
"Memoria_
Flanco_P_
Reset_
Contagem_
Vazia"

Symbol Address Type Comment


"Memoria_Flanco_P_Reset_Conta‐ %M70.1 Bool
gem_Vazia"
"Memoria_Flanco_P_Sensor_Garra‐ %M70.0 Bool
fa_Vazia"
#Faz_Reset Bool
#IEC_Counter_Instance IEC_DCounter
#Memoria_Contagem DInt
#Sensor_Garrafa Bool

Network 2:

MOVE
EN ENO
#Memoria_ OUT1 #Base_Dados
Contagem IN

Symbol Address Type Comment


#Base_Dados DInt
#Memoria_Contagem DInt
Totally Integrated
Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly] / Program blocks


FC_Embalagem [FC4]
FC_Embalagem Properties
General
Name FC_Embalagem Number 4 Type FC Language LAD
Numbering automatic
Information
Title Author Comment Family
Version 0.1 User-defined
ID

Name Data type Default value Comment


Input
Tempo_Embalamento Time
Sensor_Garrafa_Cheia Bool
a1 Bool
b1 Bool
Embalagem Int
Output
Cilindro_A Bool
Cilindro_B Bool
Memoria_Contagem_Embalagem Int
InOut
IEC_Timer_Instance TON_TIME
ST Time
PT Time
ET Time
RU Bool
IN Bool
Q Bool
IEC_Counter_Instance CTU_INT
CU Bool
CD Bool
R Bool
LD Bool
QU Bool
QD Bool
PV Int
CV Int
Temp
Constant
Return
FC_Embalagem Void

Network 1:

#IEC_Counter_ #IEC_Timer_
Instance Instance

#Sensor_ CTU TOF


Garrafa_Cheia Int Time #Cilindro_A
P CU Q IN Q S
%M60.4 #Tempo_ ET ...
#Memoria_
"Memoria_ Embalamento PT
Contagem_
Flanco_P_
CV Embalagem
Sensor_
Embalagem" #IEC_Timer_
Instance
TOF
#a1 #b1 Time #Cilindro_B
R IN Q S
#Embalagem PV #Tempo_ ET ...
Embalamento PT

Symbol Address Type Comment


"Memoria_Flanco_P_Sensor_Em‐ %M60.4 Bool
balagem"
#a1 Bool
#b1 Bool
#Cilindro_A Bool
#Cilindro_B Bool
#Embalagem Int
#IEC_Counter_Instance IEC_Counter
#IEC_Timer_Instance IEC_Timer
#Memoria_Contagem_Embalagem Int
#Sensor_Garrafa_Cheia Bool
#Tempo_Embalamento Time

Network 2:
Totally Integrated
Automation Portal

#a1 #b1 #Cilindro_A


R

#Cilindro_B
R

Symbol Address Type Comment


#a1 Bool
#b1 Bool
#Cilindro_A Bool
#Cilindro_B Bool
Totally Integrated
Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly] / Program blocks


FC_Encher [FC5]
FC_Encher Properties
General
Name FC_Encher Number 5 Type FC Language LAD
Numbering automatic
Information
Title Author Comment Family
Version 0.1 User-defined
ID

Name Data type Default value Comment


Input
Sensor_Encher Bool
Tempo_Encher Time
Valor_Maximo_Encher Int
Valor_Minimo_Encher Int
Output
A_Encher Bool
Base_Dados Time
Funil Int
InOut
IEC_Timer_Instance TON_TIME
ST Time
PT Time
ET Time
RU Bool
IN Bool
Q Bool
Temp
Constant
Return
FC_Encher Void

Network 1:

#IEC_Timer_
Instance
TOF
#Sensor_Encher Time #A_Encher
P IN Q
%M70.2 #Tempo_Encher PT ET ...
"Memoria_ MOVE
Flanco_P_
Sensor_Funil" EN ENO
#Valor_Maximo_ OUT1 #Funil
Encher IN

Symbol Address Type Comment


"Memoria_Flanco_P_Sensor_Funil" %M70.2 Bool
#A_Encher Bool
#Funil Int
#IEC_Timer_Instance IEC_Timer
#Sensor_Encher Bool
#Tempo_Encher Time
#Valor_Maximo_Encher Int

Network 2:

#A_Encher MOVE
EN ENO
#Valor_Minimo_ OUT1 #Funil
Encher IN

Symbol Address Type Comment


#A_Encher Bool
#Funil Int
#Valor_Minimo_Encher Int

Network 3:

MOVE
EN ENO
#IEC_Timer_ OUT1 #Base_Dados
Instance.ET IN
Totally Integrated
Automation Portal

Symbol Address Type Comment


#Base_Dados Time
#IEC_Timer_Instance.ET Time
Totally Integrated
Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly] / Program blocks


FC_Tapete [FC6]
FC_Tapete Properties
General
Name FC_Tapete Number 6 Type FC Language LAD
Numbering automatic
Information
Title Author Comment Family
Version 0.1 User-defined
ID

Name Data type Default value Comment


Input
Memoria_Encher Bool
Output
Tapete_frente Bool
InOut
Temp
Constant
Return
FC_Tapete Void

Network 1:

#Memoria_
Encher #Tapete_frente

Symbol Address Type Comment


#Memoria_Encher Bool
#Tapete_frente Bool
Totally Integrated
Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly] / Program blocks


FC_Automatico [FC7]
FC_Automatico Properties
General
Name FC_Automatico Number 7 Type FC Language LAD
Numbering automatic
Information
Title Author Comment Family
Version 0.1 User-defined
ID

Name Data type Default value Comment


Input
Sensor_Garrafa_Vazia Bool
Sensor_Garrafa_Cheia Bool
Reset_Contador_Vazia Bool
Reset_Contador_Cheia Bool
Sensor_Garrafa_Funil Bool
Tempo_Encher_DB Time
Tempo_Embalamento Time
Valor_Maximo_Encher Int
Valor_Minimo_Encher Int
a1 Bool
b1 Bool
Embalagem Int
Output
Memoria_Vazia DInt
Memoria_Cheia DInt
Memoria_A_Encher Bool
Base_Dados_Vazias DInt
Base_Dados_Cheias DInt
Base_Dados_Partidas DInt
Base_Dados_Embalagens_Realizadas DInt
Memoria_Partidas DInt
Base_Dados_Tempo Time
Funil Int
Cilindro_A Bool
Cilindro_B Bool
Memoria_Embalagem Int
Tapete_Frente Bool
Memoria_Numero_Embalagens DInt
Conv_Embalagem_Dint DInt
Garrafas_qualidade Real
Garrafas_partidas_convertida Real
Garrafas_cheias_convertida Real
InOut
IEC_TIMER_INSTANCE_Embalamento TON_TIME
ST Time
PT Time
ET Time
RU Bool
IN Bool
Q Bool
IEC_COUNTER_VAZIA CTU_DINT
CU Bool
CD Bool
R Bool
LD Bool
QU Bool
QD Bool
PV DInt
CV DInt
IEC_COUNTER_CHEIA CTU_DINT
CU Bool
CD Bool
R Bool
LD Bool
QU Bool
QD Bool
PV DInt
CV DInt
IEC_COUNTER_EMBALAGEM CTU_INT
CU Bool
CD Bool
R Bool
LD Bool
QU Bool
QD Bool
PV Int
Totally Integrated
Automation Portal

Name Data type Default value Comment


CV Int
Temp
Constant
Return
FC_Automatico Void

Network 1: Contagem Garrafas Vazias

%FC3
"FC_Contagem"
EN ENO
#Sensor_ #Base_Dados_
Garrafa_Vazia Sensor_Garrafa Base_Dados Vazias

#Reset_ Memoria_
Contagem #Memoria_Vazia
Contador_Vazia Faz_Reset
#IEC_COUNTER_ IEC_Counter_
VAZIA Instance

Symbol Address Type Comment


#Base_Dados_Vazias DInt
#IEC_COUNTER_VAZIA IEC_DCounter
#Memoria_Vazia DInt
#Reset_Contador_Vazia Bool
#Sensor_Garrafa_Vazia Bool

Network 2: Contagem Garrafas Cheias

%FC3
"FC_Contagem"
EN ENO
#Sensor_ #Base_Dados_
Garrafa_Cheia Sensor_Garrafa Base_Dados Cheias

#Reset_ Memoria_
Contagem #Memoria_Cheia
Contador_Cheia Faz_Reset
#IEC_COUNTER_ IEC_Counter_
CHEIA Instance

Symbol Address Type Comment


#Base_Dados_Cheias DInt
#IEC_COUNTER_CHEIA IEC_DCounter
#Memoria_Cheia DInt
#Reset_Contador_Cheia Bool
#Sensor_Garrafa_Cheia Bool

Network 3: Contagem Garrafas Não conformes

SUB #Memoria_
Auto (DInt) Partidas
MOVE
>=
EN ENO EN ENO
DInt
"DB_Dados". #Memoria_ 0 #Memoria_ #Base_Dados_
Garrafas_Vazias IN1 OUT Partidas Partidas IN OUT1 Partidas

"DB_Dados".
Garrafas_Cheias IN2
#Memoria_
Partidas
MOVE
<
DInt EN ENO
0 0 IN #Base_Dados_
OUT1 Partidas

CONV
DInt to Real
EN ENO
#Base_Dados_ #Garrafas_
Partidas IN partidas_
OUT convertida

CONV
DInt to Real
EN ENO
#Base_Dados_ #Garrafas_
Cheias IN cheias_
OUT convertida

DIV MUL
Real Auto (Real)
EN ENO EN ENO

#Garrafas_ #Garrafas_ #Garrafas_ #Garrafas_


partidas_ OUT qualidade qualidade IN1 OUT qualidade
convertida IN1 100.0 IN2

#Garrafas_
cheias_
convertida IN2

Symbol Address Type Comment


"DB_Dados".Garrafas_Cheias DInt
"DB_Dados".Garrafas_Vazias DInt
#Base_Dados_Cheias DInt
#Base_Dados_Partidas DInt
Totally Integrated
Automation Portal

Symbol Address Type Comment


#Garrafas_cheias_convertida Real
#Garrafas_partidas_convertida Real
#Garrafas_qualidade Real
#Memoria_Partidas DInt

Network 4: Numero Embalagens

#Memoria_
CONV DIV Numero_
Embalagens
Int to DInt Auto (DInt) MOVE
>=
EN ENO EN ENO DInt EN ENO
#Embalagem IN "DB_Dados". 0
#Conv_ #Memoria_ #Memoria_ #Base_Dados_
Embalagem_ Garrafas_Cheias IN1 Numero_ Numero_ Embalagens_
OUT Dint OUT Embalagens Embalagens IN OUT1 Realizadas
#Conv_
Embalagem_
Dint IN2
#Memoria_
Numero_
Embalagens
MOVE
<
DInt EN ENO
0 0 IN #Base_Dados_
Embalagens_
OUT1 Realizadas

Symbol Address Type Comment


"DB_Dados".Garrafas_Cheias DInt
#Base_Dados_Embalagens_Reali‐ DInt
zadas
#Conv_Embalagem_Dint DInt
#Embalagem Int
#Memoria_Numero_Embalagens DInt

Network 5: Encher Garrafas

%FC5
"FC_Encher"
EN ENO
#Sensor_ #Memoria_A_
Garrafa_Funil Sensor_Encher A_Encher Encher

#Tempo_ #Base_Dados_
Encher_DB Tempo_Encher Base_Dados Tempo
Valor_ Funil #Funil
#Valor_Maximo_ Maximo_
Encher Encher
Valor_
#Valor_Minimo_ Minimo_
Encher Encher

"DB_Dados".
IEC_TIMER_ IEC_Timer_
INSTANCE Instance

Symbol Address Type Comment


"DB_Dados".IEC_TIMER_INSTANCE IEC_Timer
#Base_Dados_Tempo Time
#Funil Int
#Memoria_A_Encher Bool
#Sensor_Garrafa_Funil Bool
#Tempo_Encher_DB Time
#Valor_Maximo_Encher Int
#Valor_Minimo_Encher Int

Network 6: Embalagem Garrafas

%FC4
"FC_Embalagem"
EN ENO
#Tempo_ Tempo_ Cilindro_A #Cilindro_A
Embalamento Embalamento Cilindro_B #Cilindro_B
#Sensor_ Memoria_
Sensor_ Contagem_ #Memoria_
Garrafa_Cheia Garrafa_Cheia Embalagem Embalagem
#a1 a1
#b1 b1
#Embalagem Embalagem

#IEC_TIMER_
INSTANCE_ IEC_Timer_
Embalamento Instance
#IEC_COUNTER_ IEC_Counter_
EMBALAGEM Instance

Symbol Address Type Comment


#a1 Bool
#b1 Bool
#Cilindro_A Bool
#Cilindro_B Bool
#Embalagem Int
#IEC_COUNTER_EMBALAGEM IEC_Counter
#IEC_TIMER_INSTANCE_Embala‐ IEC_Timer
mento
Totally Integrated
Automation Portal

Symbol Address Type Comment


#Memoria_Embalagem Int
#Sensor_Garrafa_Cheia Bool
#Tempo_Embalamento Time

Network 7: Tapete

%FC6
"FC_Tapete"
EN ENO
#Memoria_A_ Memoria_ Tapete_frente #Tapete_Frente
Encher Encher

Symbol Address Type Comment


#Memoria_A_Encher Bool
#Tapete_Frente Bool

Network 8: Memoria Absoluta

Symbol Address Type Comment


Totally Integrated
Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly] / Program blocks


FC_Controlo [FC8]
FC_Controlo Properties
General
Name FC_Controlo Number 8 Type FC Language LAD
Numbering automatic
Information
Title Author Comment Family
Version 0.1 User-defined
ID

Name Data type Default value Comment


Input
Sensor_Nivel Int
Valor_Minimo_Tanque_ALarme Int
Valor_Maximo_Tanque_Alarme Int
Output
Alarme Bool
ALarme_Valor_Minimo_Tanque Bool
ALarme_Valor_Maximo_Tanque Bool
InOut
Temp
Constant
Return
FC_Controlo Void

Network 1: Verifica se Bomba arranca para um valor de nível do tanque de 4%

#ALarme_Valor_
#Sensor_Nivel Minimo_Tanque
<=
Int
#Valor_Minimo_
Tanque_ALarme

Symbol Address Type Comment


#ALarme_Valor_Minimo_Tanque Bool
#Sensor_Nivel Int
#Valor_Minimo_Tanque_ALarme Int

Network 2: Verifica se Bomba arranca para um valor de nível do tanque de 96%

#ALarme_Valor_
#Sensor_Nivel Maximo_Tanque
>=
Int
#Valor_Maximo_
Tanque_Alarme

Symbol Address Type Comment


#ALarme_Valor_Maximo_Tanque Bool
#Sensor_Nivel Int
#Valor_Maximo_Tanque_Alarme Int

Network 3:

"DB_Dados".
ALarme_Valor_
Maximo_Tanque #Alarme

"DB_Dados".
ALarme_Valor_
Minimo_Tanque

Symbol Address Type Comment


"DB_Dados".ALarme_Valor_Maxi‐ Bool
mo_Tanque
"DB_Dados".ALarme_Valor_Mini‐ Bool
mo_Tanque
#Alarme Bool
Totally Integrated
Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly]


Technology objects
This folder is empty.
Totally Integrated
Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly] / PLC tags / Default tag table [67]
PLC tags
PLC tags
Name Data type Address Retain Visible in Accessible Comment
HMI from HMI
Sensor_Nivel_Tanque Int %IW64 False True True
Andar_Frente Bool %I0.2 False True True
Andar_Tras Bool %I0.3 False True True
Manual_Automatico Bool %I0.4 False True True
Stop Bool %I0.1 False True True
Start Bool %I0.0 False True True
Sensor_Garrafa_Vazia Bool %I0.5 False True True
Sensor_Garrafa_Cheia Bool %I0.7 False True True
Sensor_Garrafa_Funil Bool %I0.6 False True True
Reset_Contador_Vazias Bool %I8.0 False True True
Reset_Contador_Cheias Bool %I8.1 False True True
Cil_A_a1 Bool %I8.5 False True True
Cil_B_b1 Bool %I8.6 False True True
Avanca_Cil_A Bool %M100.1 False True True
Avanca_Cil_B Bool %M100.0 False True True
Encher Bool %M100.2 False True True
Funil_De_Encher Int %QW80 False True True
Bomba Bool %Q1.0 False True True
Cilindro_A Bool %Q0.1 False True True
Cilindro_B Bool %Q0.2 False True True
Motor_Frente Bool %Q0.5 False True True
Motor_Tras Bool %Q0.6 False True True
Memoria_ON Bool %M60.1 True True True
Memoria_Flanco_P_Start Bool %M60.0 True True True
Memoria_Contagem_Vazia DWord %MD1 True True True
Memoria_Contagem_Cheia DWord %MD6 True True True
Memoria_A_Encher Bool %M60.2 True True True
Memoria_Contagem_Partida DWord %MD11 True True True
Memoria_Contagem_Embalagem Word %MW16 True True True
Memoria_Estado_Bomba Bool %M60.3 True True True
Memoria_Flanco_P_Sensor_Garra‐ Bool %M70.0 False True True
fa_Vazia
Memoria_Flanco_P_Reset_Conta‐ Bool %M70.1 False True True
gem_Vazia
Memoria_Flanco_P_Sensor_Embala‐ Bool %M60.4 True True True
gem
Memoria_Flanco_P_Sensor_Funil Bool %M70.2 False True True
Memoria_Conv_Numero_Embalagens DInt %MD21 True True True
Memoria_Contagem_Embalagens_Re‐ DInt %MD26 True True True
alizadas
Memoria_Alarme Bool %M60.7 True True True
Totally Integrated
Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly] / PLC tags / Default tag table [67]
User constants
User constants
Name Data type Value Comment
Totally Integrated
Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly]


PLC data types
This folder is empty.
Totally Integrated
Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly] / Watch and force tables


Force table
Name Address Display format Force value Comment
Totally Integrated
Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly] / Traces


Measurements
This folder is empty.
Totally Integrated
Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly]


Text lists
This folder is empty.
Totally Integrated
Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly] / Local modules


AQ 1x12BIT_1
AQ 1x12BIT_1
General\Project information
Name AQ 1x12BIT_1 Comment
General\Catalog information
Short designation AQ1 signal board Description Signal board AQ1 x 12 bits; plug-in Article number 6ES7 232-4HA30-0XB0
terminal blocks; output: +/-10V and
0 to 20 mA; selectable diagnostics;
selectable substitute output value
Firmware version V1.0
Analog outputs
Reaction to CPU Use substitute value
STOP
Analog outputs\Channel0
Channel address QW80 Analog output type Voltage Voltage range +/- 10 V
Substitute value for 0.000V Enable short circuit 1
channel on a diagnostics
change from RUN to
STOP
Enable overflow di‐ 1 Enable underflow 1
agnostics diagnostics
I/O addresses\Output addresses
Start address 80 End address 81 Organization block 0
Process image 0
Hardware identifier\Hardware identifier
Hardware identifier 269
Totally Integrated
Automation Portal

PLC_1 [CPU 1214C AC/DC/Rly] / Local modules


DI 8x24VDC_1
DI 8x24VDC_1
General\Project information
Name DI 8x24VDC_1 Author API Comment
Slot 2
General\Catalog information
Short designation SM 1221 DI8 x 24VDC Description Digital input module DI8 x 24VDC Article number 6ES7 221-1BF32-0XB0
SINK/SOURCE; configurable input
delay; plug-in terminal blocks
Firmware version V2.0
DI 8\Project information
Name DI 8x24VDC_1 Comment
DI 8\Digital inputs\Input filters
I8.0 - I8.3 6.40ms I8.4 - I8.7 6.40ms
DI 8\Digital inputs\Channel0
Channel address I8.0
DI 8\Digital inputs\Channel1
Channel address I8.1
DI 8\Digital inputs\Channel2
Channel address I8.2
DI 8\Digital inputs\Channel3
Channel address I8.3
DI 8\Digital inputs\Channel4
Channel address I8.4
DI 8\Digital inputs\Channel5
Channel address I8.5
DI 8\Digital inputs\Channel6
Channel address I8.6
DI 8\Digital inputs\Channel7
Channel address I8.7
DI 8\I/O addresses\Input addresses
Start address 8 End address 8 Organization block 0
Process image 0
DI 8\Hardware identifier\Hardware identifier
Hardware identifier 270

You might also like