You are on page 1of 16

Project Name: New project

Project Name: New project


05/01/2024 - 10:25 PM
1/16
CONTENTS
Bill Of Material ........................................................................................................................................ 4
Controller ................................................................................................................................ 4
Hardware Configuration ......................................................................................................................... 5
MyController - TM221CE16R ................................................................................................. 5
Digital Inputs ........................................................................................................... 5
Digital Outputs ........................................................................................................ 5
Analog Inputs .......................................................................................................... 5
Fast Counters ......................................................................................................... 5
High Speed Counters ............................................................................................. 6
ETH1 ....................................................................................................................... 6
EtherNet/IP protocol ................................................................................ 6
SL1 (Serial line) ...................................................................................................... 7
Software Configuration .......................................................................................................................... 8
Constant Words ...................................................................................................................... 8
KW .......................................................................................................................... 8
KD ........................................................................................................................... 8
KF ........................................................................................................................... 8
Network Objects ..................................................................................................................... 9
Input Assembly (Ethernet/Ip) .................................................................................. 9
Output Assembly (Ethernet/Ip) ............................................................................... 9
Input Registers (Modbus Tcp) ................................................................................ 9
Output Registers (Modbus Tcp) .............................................................................. 9
Digital inputs (IOScanner) ....................................................................................... 9
Digital outputs (IOScanner) .................................................................................... 9
Input registers (IOScanner) .................................................................................... 9
Output registers (IOScanner) .................................................................................. 9
Software Objects .................................................................................................................. 10
Timers ................................................................................................................... 10
Counters ............................................................................................................... 10
LIFO/FIFO Registers ............................................................................................ 10
Drums ................................................................................................................... 10
Shift Bit Registers ................................................................................................. 10
Step Counters ....................................................................................................... 10
Schedule Blocks ................................................................................................... 10
RTC ...................................................................................................................... 10
PID ........................................................................................................................ 10
Grafcet Steps ........................................................................................................ 11

Project Name: New project


05/01/2024 - 10:25 PM
2/16
Program ............................................................................................................................................... 12
Behavior ............................................................................................................................... 12
Memory Consumption .......................................................................................................... 12
Application Architecture ........................................................................................................ 12
Master Task .......................................................................................................... 12
Periodic Task ........................................................................................................ 12
POU ...................................................................................................................................... 13
Master Task .......................................................................................................... 13
1 - New POU ........................................................................................ 13
Rung0 .................................................................................... 13
Rung1 .................................................................................... 13
Rung2 .................................................................................... 13
Rung3 .................................................................................... 14
Rung4 .................................................................................... 14
Rung5 .................................................................................... 14
Rung6 .................................................................................... 14
Symbols ............................................................................................................................................... 15
Cross-Reference Table ........................................................................................................................ 16

Project Name: New project


05/01/2024 - 10:25 PM
3/16
BILL OF MATERIAL

Controller
Reference TM221CE16R

Description TM221CE16R (screw)


9 digital inputs, 7 relay
outputs (2 A), 2 analog inputs,
1 serial line port, 1 Ethernet
port, 100-240 Vac power supply
controller with removable
terminal blocks.
Power supplied to the IO bus 5V: 325 mA / 24V: 120 mA

Project Name: New project


05/01/2024 - 10:25 PM
4/16
HARDWARE CONFIGURATION
MyController - TM221CE16R
Digital Inputs
Used Address Filtering Latch Run/Stop Events Priority Subroutine

X %I0.0 3 ms Not Used

X %I0.1 3 ms Not Used

%I0.2 3 ms Not Used

%I0.3 3 ms Not Used

%I0.4 3 ms Not Used

%I0.5 3 ms Not Used

%I0.6 3 ms Not Used

%I0.7 3 ms Not Used

%I0.8 3 ms Not Used

Digital Outputs
Used Address Status Alarm Fallback value Used by

X %Q0.0 0 User logic

X %Q0.1 0 User logic

%Q0.2 0

%Q0.3 0

%Q0.4 0

%Q0.5 0

%Q0.6 0

Analog Inputs
Used Address Type Scope Range Filter Sampling

%IW0.0 0 - 10 V Normal 0-1000 0

%IW0.1 0 - 10 V Normal 0-1000 0

Fast Counters
Used Address Input Configured Preset Double Word

%FC0 %I0.2 NotUsed 0

%FC1 %I0.3 NotUsed 0

%FC2 %I0.4 NotUsed 0

%FC3 %I0.5 NotUsed 0

Project Name: New project


05/01/2024 - 10:25 PM
5/16
High Speed Counters
Used Address Type

%HSC0 Not Configured

%HSC1 Not Configured

%HSC2 Not Configured

%HSC3 Not Configured

ETH1
Device name: M221

IP Mode: Fixed

IP address: 192.168.0.20

Subnet mask: 255.255.255.0

Gateway address: 0.0.0.0

Transfer Rate: Auto

Security Parameters: Programming protocol enabled

Auto discovery protocol enabled

Modbus server enabled

EtherNet/IP protocol enabled

EtherNet/IP protocol
Input assembly (Target -->
Instance=100
Originator, %QWE):
Size (Words)=20

Output assembly (Originator -->


Instance=150
Target, %IWE):
Size (Words)=20

Project Name: New project


05/01/2024 - 10:25 PM
6/16
SL1 (Serial line)
Physical Settings

Device: None

Baud rate: 19200

Parity: Even

Data bits: 8

Stop bits: 1

Physical medium: RS-485

Polarization: No

Protocol Settings

Protocol: Modbus

Response timeout (× 100 ms): 10

Time between frames (ms): 10

Transmission mode: RTU

Addressing: Slave

Address: 1

Project Name: New project


05/01/2024 - 10:25 PM
7/16
SOFTWARE CONFIGURATION
Constant Words
KW
Allocation: Automatic

Allocated: 0

Used Equ Used Address Symbol Value Comment

KD
Allocation: Automatic

Allocated: 0

Used Equ Used Address Symbol Value Comment

KF
Allocation: Automatic

Allocated: 0

Used Equ Used Address Symbol Value Comment

Project Name: New project


05/01/2024 - 10:25 PM
8/16
Network Objects
Input Assembly (Ethernet/Ip)
Used Address Symbol Fallback value Comment

Output Assembly (Ethernet/Ip)


Used Address Symbol Comment

Input Registers (Modbus Tcp)


Used Address Symbol Fallback value Comment

Output Registers (Modbus Tcp)


Used Address Symbol Comment

Digital inputs (IOScanner)


Used Address Channel Symbol Comment

Digital outputs (IOScanner)


Used Address Channel Fallback value Symbol Comment

Input registers (IOScanner)


Used Address Channel Symbol Comment

Output registers (IOScanner)


Used Address Channel Fallback value Symbol Comment

Project Name: New project


05/01/2024 - 10:25 PM
9/16
Software Objects
Timers
Allocation: Automatic

Allocated: 2

Co
Dynamic
Used Address Symbol Type Retentive Time Base Preset mm
Preset
ent
X %TM0 TON 1 s 3

X %TM1 TON 1 s 3

Counters
Allocation: Automatic

Allocated: 0

LIFO/FIFO Registers
Allocation: Automatic

Allocated: 0

Drums
Allocation: Automatic

Allocated: 0

Shift Bit Registers


Allocation: Automatic

Allocated: 0

Step Counters
Allocation: Automatic

Allocated: 0

Schedule Blocks
Allocation: Automatic

Allocated: 0

RTC
PID
Used PID Symbol Type Comment

Project Name: New project


05/01/2024 - 10:25 PM
10/16
Grafcet Steps
Allocation: Automatic

Allocated: 0

Project Name: New project


05/01/2024 - 10:25 PM
11/16
PROGRAM
Behavior
Functional level: Level 12.0

Starting mode: Start In Previous State

Watchdog: 250 ms

Fallback behavior: Fallback value

String end character: CR (Carriage Return)

Memory consumption
A successful compilation is required to obtain memory information.

Application Architecture
Master Task
Scan mode: Normal

POU list: 1 - New POU

Periodic Task
Period: 255 ms

Project Name: New project


05/01/2024 - 10:25 PM
12/16
POU

Master Task
1 - New POU

Master Task

Rung0

Variables used:
%I0.0
%M1
%M2
%Q0.0
%Q0.1
%TM0

Rung1

Variables used:
%I0.1
%M1
%M2

Rung2

Variables used:
%M1
%M2
%TM1

Project Name: New project


05/01/2024 - 10:25 PM
13/16
Rung3

Legend:
1 %MW0 := %TM0.V

Variables used:
%MW0
%TM0.V

Rung4

Legend:
1 %MW1 := %TM1.V

Variables used:
%MW1
%TM1.V

Rung5

Legend:
1 %MW2 := %TM0.P

Variables used:
%MW2
%TM0.P

Rung6

Legend:
1 %MW3 := %TM1.P

Variables used:
%MW3
%TM1.P

Project Name: New project


05/01/2024 - 10:25 PM
14/16
SYMBOLS

No Symbols defined in the project.

Used Address Symbol Comment

Project Name: New project


05/01/2024 - 10:25 PM
15/16
CROSS-REFERENCE TABLE

Address Object Rung Code


%I0.0.... 1 - New POU Rung0 --| |--

%I0.1.... 1 - New POU Rung1 --| |--

%M1...... 1 - New POU Rung0 --|/|--

Rung1 --( )--

--| |--

Rung2 --| |--

%M2...... 1 - New POU Rung0 --|/|--

Rung1 --|/|--

Rung2 --( )--

%MW0..... 1 - New POU Rung3 --[...]-- %MW0 := %TM0.V

%MW1..... 1 - New POU Rung4 --[...]-- %MW1 := %TM1.V

%MW2..... 1 - New POU Rung5 --[...]-- %MW2 := %TM0.P

%MW3..... 1 - New POU Rung6 --[...]-- %MW3 := %TM1.P

%Q0.0.... 1 - New POU Rung0 --( )--

--| |--

%Q0.1.... 1 - New POU Rung0 --( )--

%TM0..... 1 - New POU Rung0 %TM0

%TM0.P... 1 - New POU Rung5 --[...]-- %MW2 := %TM0.P

%TM0.V... 1 - New POU Rung3 --[...]-- %MW0 := %TM0.V

%TM1..... 1 - New POU Rung2 %TM1

%TM1.P... 1 - New POU Rung6 --[...]-- %MW3 := %TM1.P

%TM1.V... 1 - New POU Rung4 --[...]-- %MW1 := %TM1.V

Project Name: New project


05/01/2024 - 10:25 PM
16/16

You might also like