Programt 1
Programt 1
Controller
Reference TM221CE40T
Description TM221CE40T (screw)
24 digital inputs, 16 source
transistor outputs (0,5 A), 2
analog inputs, 1 serial line
port, 1 Ethernet port, 24 Vdc
power supply controller with
removable terminal blocks.
Power supplied to the IO bus 5V: 520 mA / 24V: 304 mA
Modules
Reference TM3DI16K
Description TM3DI16K
16-channel, 24 Vdc digital input
expansion module with 1 common
line, sink/source and HE10
connector.
Consumption on the IO bus 5V: 34 mA / 24V: 0 mA
Reference TM3DQ16T/G
Description TM3DQ16T (screw), TM3DQ16TG
(spring)
16-channel, 0.5A source
transistor outputs expansion
module with 1 common line and
removable terminal block.
Consumption on the IO bus 5V: 20 mA / 24V: 16 mA
%Q0.0 0
Analog Inputs
Used Address Type Scope Range Filter Sampling
Fast Counters
Used Address Input Configured Preset Double Word
ETH1
Device name: M221
IP Mode: Fixed
IP address: 0.0.0.0
Device: None
Parity: Even
Data bits: 8
Stop bits: 1
Polarization: No
Protocol Settings
Protocol: Modbus
Addressing: Slave
Address: 1
TM3DI16K
Digital Inputs
Used Address
X %I1.0
X %I1.1
X %I1.2
X %I1.3
X %I1.4
X %I1.5
X %I1.6
%I1.7
%I1.8
X %I1.9
%I1.10
%I1.11
%I1.12
%I1.13
%I1.14
%I1.15
Digital Outputs
X %Q2.0 0
X %Q2.1 0
X %Q2.2 0
X %Q2.3 0
X %Q2.4 0
X %Q2.5 0
X %Q2.6 0
X %Q2.7 0
X %Q2.8 0
X %Q2.9 0
X %Q2.10 0
X %Q2.11 0
X %Q2.12 0
X %Q2.13 0
X %Q2.14 0
%Q2.15 0
Allocated: 0
KD
Allocation: Automatic
Allocated: 0
KF
Allocation: Automatic
Allocated: 0
Allocated: 8
X %TM6 TON 1 s 2
X %TM7 TON 1 s 2
Counters
Allocation: Automatic
Allocated: 1
X %C0 3 komunikacioni
LIFO/FIFO Registers
Allocation: Automatic
Allocated: 0
Drums
Allocation: Automatic
Allocated: 0
Allocated: 0
Step Counters
Allocation: Automatic
Allocated: 0
Schedule Blocks
Allocation: Automatic
Allocated: 0
RTC
Project Name: New project
05/21/2021 - 08:22 AM
14/47
PID
Used PID Symbol Type Comment
Grafcet Steps
Allocation: Automatic
Allocated: 0
X %READ_VAR0
%READ_VAR0
Write Var
Used Address Symbol Comment
X %WRITE_VAR0
%WRITE_VAR0
Watchdog: 250 ms
Periodic Task
Period: 255 ms
Free POUs
POU list: Uslovi_kretanje
start
smetnje
KOMUNIKACIJA
UDFB3_
Master Task
1 - New POU
Master Task
Rung0 - INIT_INSTANCES
Rung1
Variables used:
%KOCNICE0
%M31 kocnice M1
%M32 kocnice M2
Rung2
Variables used:
%M31 kocnice M1
%M32 kocnice M2
%M33 greska kocnice
Rung3
Variables used:
SR0
Legend:
1 %MW2:X1
Variables used:
%I1.4 spreman za rad
%M30 ispunjeni uslovi
%M50 spreman za rad
%M71 provjera starta motora
%MW2:X1
Rung5
Comment: start
Variables used:
SR1
Rung6
Variables used:
SR2
Free POUs
Rung0
Legend:
1 %MW0:X0
Variables used:
%I0.0 smetnje zatezanje trake
%MW0:X0 uslovi
%Q0.6 zatezni uređaj
Rung1
Legend:
1 %MW0:X1
Variables used:
%I0.1 pot.uze desno
%MW0:X1 uslovi
%Q0.7 potezno desno
Rung2
Legend:
1 %MW0:X2
Variables used:
%I0.2 potezno uze lijevo
%MW0:X2 uslovi
%Q0.8 potezno lijevo
Legend:
1 %MW0:X3
Variables used:
%I0.3 bocno skretanje rep
%MW0:X3 uslovi
%Q0.9 bocno rep
Rung4
Legend:
1 %MW0:X4
Variables used:
%I0.4 bocno skretanje pog.
%MW0:X4 uslovi
%Q0.10 bocno pogonska
Rung5
Legend:
1 %MW0:X5
Variables used:
%I0.5 preopterec. bim M1
%MW0:X5 uslovi
%Q0.11 bimetal M1
Legend:
1 %MW0:X6
Variables used:
%I0.6 preopter.bim M2
%MW0:X6 uslovi
%Q0.12 bimetal M2
Rung7
Legend:
1 %MW0:X7
Variables used:
%I0.7 Preg.osig. M1
%MW0:X7 uslovi
%Q0.13 osigurac M1
Rung8
Legend:
1 %MW0:X8
Variables used:
%I0.8 preg. osig.M2
%MW0:X8 uslovi
%Q0.14 osigurac M2
Legend:
1 %MW0:X9
Variables used:
%I0.9 grij.redukt M1
%MW0:X9 uslovi
%Q0.15 grij.lez.M1
Rung10
Legend:
1 %MW0:X10
Variables used:
%I0.10 grij.namot. M1
%MW0:X10 uslovi
%Q2.0 grij.nam.M1
Rung11
Legend:
1 %MW0:X11
Variables used:
%I0.11 Grij.red. M2
%MW0:X11 uslovi
%Q2.1 grij.lez.M2
Legend:
1 %MW0:X12
Variables used:
%I0.12 Grij. nam.M2
%MW0:X12 uslovi
%Q2.2 grij.nam.M2
Rung13
Legend:
1 %MW0:X13
Variables used:
%I0.13 SF6 gas M1
%MW0:X13 uslovi
%Q2.3 SF6 M1
Rung14
Legend:
1 %MW0:X14
Variables used:
%I0.14 SF6 Gas M2
%MW0:X14 uslovi
%Q2.4 SF6 M2
Legend:
1 %MW0:X15
Variables used:
%I0.15 zapunjenost kosa
%MW0:X15 uslovi
%Q2.5 zapunjenost kosa
Rung16
Legend:
1 %MW1:X0
Variables used:
%I0.16 Not pogon
%MW1:X0
%Q2.6 not pogon
Rung17
Legend:
1 %MW1:X1
Variables used:
%I0.17 Not mot.
%MW1:X1
%Q2.7 not motor
Legend:
1 %MW1:X2
Variables used:
%M40 proklizavanje
%MW1:X2
%Q2.8 proklizavanje
Rung19
Legend:
1 %MW1:X3
Variables used:
%I0.19 krajnji vrata M1
%MW1:X3
%Q2.9 krajnji vrata M1
Rung20
Legend:
1 %MW1:X4
Variables used:
%I0.20 Krajnji vrata M2
%MW1:X4
%Q2.10 krajnji vrata M2
Legend:
1 %MW1:X5
Variables used:
%M21 greska kocnicesig.
%M33 greska kocnice
%MW1:X5
Rung22
Legend:
1 %MW2:X1
Variables used:
%M30 ispunjeni uslovi
%MW0 uslovi
%MW1
%MW2:X1
Free POUs
Rung0
Variables used:
%I0.23 signal. start s3
%I1.3 lokalno0-centralno1
%M50 spreman za rad
%M60 uslov starta centralno
Rung1
Variables used:
%I1.2 pogon1-spit.0
%I1.3 lokalno0-centralno1
%I1.6 start kontejn.
%M50 spreman za rad
%M61 uslov starta kontejner
Rung2
Variables used:
%I1.2 pogon1-spit.0
%I1.3 lokalno0-centralno1
%I1.5 start rukov
%M50 spreman za rad
%M62 uslov starta rukovaoc
Variables used:
%M60 uslov starta centralno
%M61 uslov starta kontejner
%M62 uslov starta rukovaoc
%M63 start
Rung4
Variables used:
%M63 start
%M64 vrij.starta
%M70 rad
Rung5
Variables used:
%M64 vrij.starta
%Q0.1 zvučni signal
Rung6
Variables used:
%I0.1 pot.uze desno
%I0.2 potezno uze lijevo
%Q0.1 zvučni signal
%Q0.2 svjetlosni signal
Time base of 1 s generated by an
%S6 SB_TB1S
internal clock
Variables used:
%M64 vrij.starta
%M69 impuls rada
%TM0 trajanje zvucnog signala
Rung8
Variables used:
%M63 start
%M69 impuls rada
%M70 rad
%M71 provjera starta motora
Rung9
Variables used:
%I0.21 signal uklj. Rollarc M1
%I0.22 signal uklj. Rollarc M2
%M70 rad
%M71 provjera starta motora
%TM1 vrij.starta
Rung10
Variables used:
%M70 rad
%Q0.4 uključenje M1
Variables used:
%Q0.3 uključenje kočnica
%Q0.4 uključenje M1
Rung12
Variables used:
%Q0.4 uključenje M1
%Q0.5 uključenje M2
%TM2 pauza izmed.mot
Free POUs
Rung0
Variables used:
%I1.9 kvitiranje smetnji
%M70 rad
%M101 pamc.gresaka
Variables used:
%M31 kocnice M1
%M32 kocnice M2
%M40 proklizavanje
%M71 provjera starta motora
%M101 pamc.gresaka
%M103 greska pokretanja
%M104 greska prokliz.trake
%M105 kocnice m1
%M106 greska kocnice m2
%Q2.11 greska pokretanja
%Q2.12 greska prokliz.trake
%Q2.13 kocnica M1
%Q2.14 kocnica M2
Properties
Inputs/Outputs
Inputs: I_0
Outputs: Q_0,Q_1
Parameters
%PARAM0: Word
Local variables
Rung0
Legend:
1 %PARAM0:X0
Variables used:
%I1.0 smetnje kočn. M1
%PARAM0:X0
%Q0.4 uključenje M1
%TMA
Legend:
1 %PARAM0:X1
Variables used:
%I1.1 smetnje kočn. M2
%PARAM0:X1
%Q0.5 uključenje M2
%TMB
Rung2
Legend:
1 %PARAM0:X0
Variables used:
%PARAM0:X0
%Q_0
Rung3
Legend:
1 %PARAM0:X1
Variables used:
%PARAM0:X1
%Q_1
Properties
Inputs/Outputs
Inputs: I_0
Outputs:
Parameters
%K1: Word
Local variables
Rung0
Variables used:
%C0 komunikacioni
%K1:X0
Time base of 100 ms generated by an
%S5 SB_TB100MS
internal clock
Rung1
Variables used:
%C0.V komunikacioni
%K1:X1
Variables used:
%C0.V komunikacioni
%K1:X2
Rung3
Variables used:
%K1:X1
%READ_VAR0
Rung4
Variables used:
%K1:X2
%WRITE_VAR0
Properties
Inputs/Outputs
Inputs: I_0
Outputs:
Parameters
Local variables
Rung0
Variables used:
%I0.18 proklizavanje
%I0.21 signal uklj. Rollarc M1
%M40 proklizavanje
%TM5 proklizavanje
Rung1 --|/|--
Rung2 --|/|--
--| |--
--| |--
--| |--
--( )--
--| |--