Top Banner
Practice 11 : Premium and Ethernet Network applications Object: Help trainees understand and be able to configure, program for Premium Ethernet network applications. Ethernet Network is a advanced feature of Premium PAC that allow Premium to communicate to all of devices in market supported Modbus TCP protocol. In these exercises we will do 3 applications that is supported by ETY port integrated with Premium PAC TSX P573 3634M. Tool : Device Manufacture Premium PAC TSX P573 3634M Schneider Electric Ethernet distributed I/O Schneider Electric Twido PLC Schneider Electric IO Scanning service Application Exercise 1 : Problem Application of I/O Scanning service to exchange data between Premium PLC and Ethernet distributed I/O. the input of Ethernet distributed I/O Solution : Step 1: Create a project and configure hardware following the table below Rack/ Module Part Number Rack TSX RKY 8EX Digital Input TSX DEY 08D2 Digital Output TSX DSY 08T2 Analog Input TSX AEY 414 Analog Output TSX ASY 410
25
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 2. Network

Practice 11: Premium and Ethernet Network

applications

Object:

Help trainees understand and be able to configure, program for Premium Ethernet

network applications. Ethernet Network is a advanced feature of Premium PAC that

allow Premium to communicate to all of devices in market supported Modbus TCP

protocol. In these exercises we will do 3 applications that is supported by ETY port

integrated with Premium PAC TSX P573 3634M.

Tool :

Device Manufacture

Premium PAC TSX P573 3634M Schneider Electric

Ethernet distributed I/O Schneider Electric

Twido PLC Schneider Electric

IO Scanning service Application

Exercise 1 :

Problem

Application of I/O Scanning service to exchange data between Premium PLC and

Ethernet distributed I/O. the input of Ethernet distributed I/O

Solution :

Step 1: Create a project and configure hardware following the table below

Rack/ Module Part Number

Rack TSX RKY 8EX

Digital Input TSX DEY 08D2

Digital Output TSX DSY 08T2

Analog Input TSX AEY 414

Analog Output TSX ASY 410

Page 2: 2. Network

Step 2: Create new Ethernet network :

Communication → network → right click → New network.

Ethernet

Page 3: 2. Network

Step 3: After creating Ethernet_1 network, configure Ethernet service for the module.

Ethernet_1 → double click

Step 4: Configure IP address for the Premium PAC in IP configuration tab.

Page 4: 2. Network

Step5: : Configure Enable I/O scanning service .

I/O scanning service → yes

Step 6: On I/O scanning tab, configure I/O scanned slaves flowing table :

Order IP address RD

master

object

RD

slave

index

RD

length

WR

master

object

WR

slave

index

WR length

1 192.168.1.14 0 0 1 100 100 0

Page 5: 2. Network

Step 7 : Validate to finish configuration

Step 8: Make connection to connect PLC to Premium PAC, download project to PLC

and debug project.

- Create animation table to supervise the data of project.

Page 6: 2. Network

Exercise 2:

Problem

Application of I/O Scanning service to exchange data between Premium PLC and Twido

PLC.

Premium reads 10 words data from %MW0 - %MW9 of Twido PLC and store them in

%MW0 - %MW9 of Premium PAC. Premium writes 10 words data of Premium PLC from

%MW100 to %MW109 to %MW100- %MW109 of Twido PLC.

Solution

Start at Step 6, reconfigure IO scanning tab as following table.

Order IP address RD

master

object

RD

slave

index

RD

length

WR

master

object

WR

slave

index

WR length

1 192.168.1.12 0 0 10 100 100 10

Continue from Step 7.

Exercise 3 :

Problem

Application of I/O Scanning service is used to exchange data between Premium PAC

and Premium PAC.

Premium 1 reads 20 words data from %MW0 - %MW19 of Premium PAC 2 and store

them in %MW10 - %MW19 of Premium PAC 1. Premium PAC 1 writes 20 words data of

Premium PAC 1 from %MW100 to %MW119 to %MW100- %MW119 of Premium PAC 2.

Solution ( option).

Global Data service Application

Page 7: 2. Network

Exercise 1 :

Premium in the segment 1 publishes data to other segments in the center.

Publisher

Subscriber Subscriber

data

192.168.1.11

192.168.1.21 192.168.1.31

Solution

Step1: Define a new network and enable Global service.

Page 8: 2. Network

Step2 : Create new group : Group name :

Group1

Step 3: Link Ethernet_1 network to ETY port module.

Page 9: 2. Network

Step 4 : define elementary variables to be exchange in the group1 following the table

below:

For publisher:

Name Type address Global

data

group ID

Data_exchange Array[0..10] of INT %MW0 PUB Group1 1

For Subscriber:

Name Type address Global

data

group ID

Data_exchange Array[0..10] of

INT

%MW0 SUB Group1 1

Step 5: Connect PC to Premium PAC and download your project.

Step6: Debug to supervise the operation of application.

Page 10: 2. Network

Create new animation table:

Modbus TCP messaging service

Exercises 1:

Applying Modbus messaging to exchange data between Premium PAC and Ethernet

Modbus distributed IO:

Premium PAC role is Client read input of Ethernet distributed IO ( modbus Address:

0 )

And write data to Output of Ethernet distributed IO ( Modbus Address: 100 ).

Page 11: 2. Network

Solution:

Step1: configure stations network on Messaging tab.

Xway address Ip address Comment

1.100 192.168.1.14 Ethernet distributed IO station

Step 2: Define elementary variables as following table below:

Variable Type Comment

Data_Read Array [0..0] of INT The array of values read from Ethernet

OTB

Data_Written Array [0..0] of INT The array of values written to Ethernet

OTB

EthIO_Address Array [0..5] of INT The array contains address of Ethernet

Page 12: 2. Network

distributed IO

Read_Manager_Par Array [0..3] of INT The array manages communication

parameters of READ_VAR function

Write_Manager_Par Array [ 0..3]of INT The array manages communication

parameters of WRITE_VAR function

Step 3: Create new section in master task named communication_section and write

the program below:

Page 13: 2. Network
Page 14: 2. Network

Step 4: Build your project and download your project to PLC.

Step 5: Debugging:

Create new animation table and copy all elementary variables that you want to

supervise.

Your animation table will be as the picture below:

Page 15: 2. Network

Exercise 2:

Develop your project to read 10 words ( %MW0-%MW9) from Twido PLC by using ST

language and write 10 words to Twido PLC ( %MW100 - %MW109).

Solution:

Step1: Add Twido station ( IP address : 192.168.1.12 ) to Ethernet_1 network :

Step2: Define new elementary variables for communication between Premium and

Twido

Variable Type Comment

Data_Read_Twido Array [0..9] of

INT

The array of values read from Twido

PLC

Data_Written_Twido Array [0..9] of

INT

The array of values written to Twido

PLC

Page 16: 2. Network

Twido_Address Array [0..5] of

INT

The array contains address of Twido

PLC

Twido_Read_Manager_Par Array [0..3] of

INT

The array manages communication

parameters of READ_VAR function for

Twido_Write_Manager_Par Array [ 0..3]of

INT

The array manages communication

parameters of WRITE_VAR function

Step 3: Create new section named Twido_Communication and write the program

below:

Page 17: 2. Network

Step4: Build your project and download it to controller.

Step5: Add variables into animation table to supervise your result.

Exercise 3: ( Options)

Configure and write application to exchange data among Premium PLCs in the lab by

using Function block language.

Page 18: 2. Network

Suggested Solution

• Define new

stations in your network

• Define new

variables that associates with the stations in network

• Write program

• Download

• Debug

Practice 12: Premium and CANopen Network

applications

Exercise 1

Page 19: 2. Network

Exchange data between CANopen distributed I/O and Premium PAC where

Premium is CANopen master reads data ( input of CANopen distributed IO ) and

write data to output of CANopen distributed IO.

Tools

Device, software Manufacture

Premium PAC TSX 57 3634M Schneider Electric

CANopen Distributed IO ( CANopen

OTB)

Schneider Electric

Sycon Software Schneider Electric

Unity pro 4.0 Schneider Electric

Solution:

Step1: configure CAN network by using Sycon software

- Open Sycon , create new field bus and chose CANopen

- Insert CAN open master:

Page 20: 2. Network

- Insert CANopen slave ( node)

- Save as your configuration file with name : OTBCANopen.co

Page 21: 2. Network

Step 2: Configuration for CANopen PCMCI card

- Insert card CANopen PCMCI card: Double click on slot B

- choose TSX CPP 110 card

Page 22: 2. Network

- configure for CANopen master.

Page 23: 2. Network

Symbolizing for input and output of CANopenOTB in IODT.

Page 24: 2. Network

Step 3: Download your project to Premium PAC and debug application

Exercise 2:

Make connection allow Premium PAC control Inverter Altivar 31 through CANopen

network.

Tools

Device, software Manufacture

Premium PAC TSX 57 3634M Schneider Electric

Altivar 31 Schneider Electric

Sycon Software Schneider Electric

Unity pro 4.0 Schneider Electric

Solution

- Step1 : Insert new Node ( Altivar 31 node) into CANopen network:

Page 25: 2. Network

- Save your configuration file as Altivar31.Co