33
Twido with AS-Interface Master Magelis, TeSysU and Preventa System User Guide [source code] 33003582.01

Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Embed Size (px)

Citation preview

Page 1: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis, TeSysU and Preventa

System User Guide [source code]

3300

3582

.01

Page 2: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

2

Contents Application Source Code .......................................................................................................3 Typical applications................................................................................................................4

Architecture.............................................................................................................................5 Installation...............................................................................................................................9

Hardware...........................................................................................................................................................10 Software ............................................................................................................................................................14 Communication .................................................................................................................................................15

Implementation .....................................................................................................................16 HMI ....................................................................................................................................................................17 PLC....................................................................................................................................................................19 Data exchange ..................................................................................................................................................23

Appendix ...............................................................................................................................24 Detailed components list.......................................................................................................24 Component protection classes..............................................................................................25 Performance characteristics of the complete system............................................................26

Performance characteristics for example application .......................................................................................26 Performance characteristics for Twido with AS-Interface .................................................................................28

Component Features ............................................................................................................29 Contact ..................................................................................................................................33

Introduction This document is intended to provide a quick introduction to the described System.

It is not intended to replace any specific product documentation. On the contrary, it offers additional information to the product documentation, for installing, configuring and starting up the system. A detailed functional description or the specification for a specific user application is not part of this document. Nevertheless, the document outlines some typical applications where the system might be implemented.

Page 3: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

3

Abbreviations

Word/Expression Explanation PLC Programmable Logic Controller HMI Human Machine Interface PC Personal Computer AC Alternating Current DC Direct Current PS Power Supply Unit I/O Input/Output CB Motor Circuit Breaker EMERGENCY Stop EMERGENCY Stop Twido Name of a mid-range Schneider PLC Phaseo Name of a Schneider range of power supply units TeSysU Name of a Schneider range of Motor Starters

Application Source Code

Introduction Examples of the source code and wiring diagrams used to attain the system function as

described in this document can be downloaded from our „Village“ website under this link.

Page 4: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

4

Typical applications

Introduction The following chapter describes some typical applications or partial applications for

this system in the following market segments: Industry • Small automated machine or plant components • Remote automation systems used to supplement large and medium-sized

machines Buildings/Services • Goods elevators, e.g., for use in cafeterias or hospitals • Climate management in greenhouses

Application Description Example

• Industry − conveying &

handling − moving walkway − machinery

automation systems, with low complexity

The example shows a small conveying system. The control elements are: • operator interface • peripheral motor control • AS-Interface

• Building / services − lift − escalator − Lighting

management − Access, control and

surveillance management

− Heating and air conditioning management

The example shows a lift control. The control elements are: • operator interface • central motor control • AS-Interface on each floor • AS-Interface in the shaft • AS-interface in the car

Page 5: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

5

Architecture

Overview The architecture consists of three main function groups:

• the Control Cabinet with operator interface • the Remote Cabinet with motor control • the Field Installation sub system

These three groups are described separately.

Layout Control Cabinet

Page 6: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

6

Description Control Cabinet

The main components of the Control Cabinet are: • Twido Compact PLC (PLC) with AS-Interface Master Module • Magelis XBT-N compact operator terminal (alphanumerical display) • Optional: Emergency Stop Safety Module category 3, based on Preventa Safety

module and additional standard components The Control Cabinet contains the PLC, the HMI and the optional Emergency Stop safety module. Also, the 400 VAC power distribution and protection as well as 30/24 VDC power supply for control unit and AS-Interface network are implemented here. The HMI terminal is powered by the 24 VDC sensor supply output from the PLC. This has the advantage that the PLC and HMI work independently of the other system components and are therefore capable of detecting and reporting fault conditions in other components. The optional safety module implements an Emergency stop which causes motor power disruption. The power can only be switched on again after pushing the confirmation button to confirm safety has been restored. Power availability is indicated by the light inside the button.

Layout Remote Cabinet

and Field Installation

Description Remote Cabinet

The main parts of the Remote Cabinet are: • 6 TeSysU Motor Starters with AS-Interface (TeSysU) • 4 digital I/O-blocks IP20 with AS-Interface (IP20-I/O) • Optional: Emergency Stop switch (EStp) The TeSysU motor starters can be installed side by side and powered via power rails. This minimizes space requirements and cabling. The IP20-I/O-modules can also be installed side by side. The optional Emergency Stop switch is hooked into the Emergency stop loop originating from the Safety Module in the Control Cabinet. It allows you to initiate an Emergency stop from the Remote Cabinet’s location.

Field Installation The Field Installation consists of 3 digital I/O-blocks IP67 with AS-Interface (IP67-I/O). These blocks and their taps need no housings and can be installed as and where required.

Page 7: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

7

Components Hardware for Control Cabinet: • Vario VCF mains switch (with red and yellow knob) (MS) -optional • GV2ME motor circuit breaker (MCB) • 2 x GB2 circuit breaker (CB) • GB 2 circuit breaker 1-pol. (CB-1) • Phaseo AS-Interface power supply 30/24V (PS) • TWIDO modular PLC with second Modbus-Interface and AS-Interface Master

(PLC) • Magelis XBT-N compact operator terminal (alphanumerical display) Hardware for Emergency Stop Safety Module (part of the Control Cabinet) – all optional: • XPSAF Preventa Safety module • XALK locking-type Emergency stop with rotary unlock (tamper-proof) • XB5AW indication pushbutton with XALD housing • 2 x LC1D Contactor with LADN supporting contact module Hardware for Remote Cabinet: • 6 x TeSysU motor starters with AS-Interface (TeSysU) • 2 x GV2G power rails with GV1G terminal blocks • 6 x Tap for connection with AS-Interface bus • 4 x ASI20MT digital I/O blocks (4Transistor in/ 3 Transistor out) IP20 with AS-

Interface (IP20-I/O) • 4 x ASI20MACC insulation displacement connectors for connection with AS-

Interface bus • XALK locking-type Emergency stop with rotary unlocking (tamper-proof) (EStp) -

optional Hardware for Field Installation: • 3 x ASI67FMP digital I/O blocks (4Transistor in/ 3 Transistor out) IP67 with AS-

Interface (IP67-I/O) • 3 x ASIDCMP Taps for connection with AS-Interface bus • XZ CP1564x Jumper cables for connection to machinery or similar • AS-Interface flat cable (yellow) and AS-Interface auxiliary cable (black) Software: • Twidosoft V3.2 • Magelis XBT-L1000 – V4.3

Number of components

A detailed list of the required components, including quantities and part numbers, is included in the appendix of this document.

Degrees of protection

Not all of the components used within this configuration have been designed to withstand the full range of environmental conditions in the field. Some components will, therefore, require additional protection and are only suitable for installation in a control cabinet. For information on which components are suitable for direct installation on site, please refer to the list provided in the Appendix (column headed “In the field, on site”, which also indicates the relevant IP protection class).

Page 8: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

8

Supply voltage 400 V AC Total supply output ~ 5 kW Motor output <= 0.75 kW Motor brake No Connector cross-section 3x 2.5mm² (L, N, PE)

Design data

Safety category Cat. 3 (optional)

Safety notice In this application example, Category 3 (according to EN 954-1) has been selected

for the purpose of ensuring safety. The issue of whether a safety category (1-4) should be adopted and, if so, which one, is determined by the system’s design and the overall extent to which this system represents a hazard to people and machinery. Safety category 3, based on EN 954-1, is the second highest category.

Size/ Dimensions

The components of the Control Cabinet can be installed inside a housing with approximate external dimensions of 500 x 500 x 210 mm (WxHxD). The Safety Module with the mains switch and circuit breaker is also intended to be housed here. The components of the Remote Cabinet can be installed very close together. The TeSysU motor starters are installed side by side and supplied via power rails. The IP20-I/O modules can also be installed side by side. The housing needed should have approximate external dimensions of 400 x 600 x 210 mm (WxHxD). The Field Devices with their taps do not need a housing. They are installed as and where required.

Page 9: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

9

Installation

Introduction This chapter describes the steps required to assemble the hardware and install the

software to acheive the application task concerned.

Note This document does not claim to be comprehensive and does not absolve users of

their duty to check the safety requirements of their equipment and to ensure compliance with the relevant national or international rules and regulations in this respect. Safety category 3, which is suggested here as one possible option, is not necessarily required/adequate for every application, as a risk analysis must be drawn up and verified for each system in accordance with national and/or international standards and regulations.

General • The components designed for installation in a control cabinet, i.e., Twido PLC, Phaseo

power supply unit, Emergency stop safety module, line circuit breaker, contactors and motor circuit breaker, can be snapped onto a 35 mm DIN rail.

• Emergency stop, mains and maintenance switches are designed for backplane assembly in the field; all switches can also be installed directly in a control cabinet (e.g., on the control cabinet door) without their own housings.

• There are two options available for mounting XB5 push buttons and indicator lamps: 1. Using a 22 mm hole drilled into the front door of the control cabinet in the

appropriate position. 2. Using an XALD housing, which can house up to 5 push buttons or indicator lamps.

This XALD is designed for backplane assembly or direct wall mounting. • 400 VAC wiring between the master switch, the 24 V power supply unit (primary), as

well as the motor circuit breaker and motor starters and motors. • 24 VDC wiring between the power supply unit and the Safety Module. • AS-Interface power and Aux.-power 30/24 VDC via yellow and black AS-Interface

cables.

Page 10: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

10

Hardware

Components Control Cabinet

Option 1:

Emergency Stop Mains switch

VCF-02GE

(red/yellow

knob)

Motor circuit

breaker Circuit breaker

GV2-M16

Circuit Breaker

2-pol.

GB2-DB06

Circuit Breaker

1-pol.

GB2-CD08

Phaseo power

supply unit

ASI ABLM3024

Page 11: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

11

Twido PLC

TWD LCAA 24DRF

Twido AS-

Interface Master Module

TWD NOI

10M3

Magelis operator

terminal

XBT-N401

Option 2: Safety Module

EMERGENCY

Stop

XALK178G

Harmony Style 5 pushbutton switch with

indicator LED XB5AW-36M5

and Push Button

Housing XALD01

TeSys Contactor

LC1 D18 BD

Page 12: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

12

Auxiliary Contact

for TeSys Contactor

LAD N11

Safety Module, for

EMERGENCY Stop

XPS AF 5130

Components Remote Cabinet

EMERGENCY Stop

XALK178G

(only when option 2 is installed)

AS-Interface Input/Output

Block IP20

ASI 20MT 4I3OSE

with ASI 20MACC1

ASI 20MACC1

Motor Starter

Motor Starter Power base LU2B12B

+

Motor Starter Control Module

LUCA05BL

Page 13: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

13

AS-Interface-Module

ASI LUF C5 +

Coil Connection LU9M RC

+ AS-Interface-Tap

XZ CG0142

Power-Rail-

System GV2G345

with Connection

Block GV1 G09

Only applicable if the motor starter devices are installed side-by-side.

Components Field Installation

AS-Interface Input/Output

Block IP67

ASI 67FMP 43E

with ASI DCPM

12D03

ASI DCPM 12D03

AS-Interface Sensor/actuator connection

XZ CP1564x

Page 14: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

14

Software

General The Twidosoft programming tool is used for programming the Twido PLC, including

creating the configuration for communication and assigning the inputs and outputs. The HMI application on the Magelis operator terminal is configured using XBT-L1000 software. One of the following versions of the Windows operating system must be installed on your PC: • • Windows 2000 or • Windows XP The default installation path on the hard drive of your PC for each of these software programs is: • Twidosoft C:\Program Files\Schneider Electric\TwidoSoft • XBT-L1000 C:\Program Files\Schneider Electric\XBT-L1000

Page 15: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

15

Communication

General A Modbus connection is used to exchange data between the Magelis terminal and the

Twido PLC. The XBTZ9680 communication cable shown below is needed to connect these two devices. The software driver required for Modbus communication is contained in both the software packages for the Magelis panel and the Twido PLC.

Twido Serial Interface Adaptor

for Modbus TWD NAC 485D

Magelis Communication cable

XBTZ9680

Page 16: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

16

Implementation

Introduction This chapter describes how to install and set up the software for the task associated

with the following application.

Function Functional description

1. The whole application is controlled via the HMI in the Control Cabinet. 2. The installed hardware must be in operation mode:

- The components have to be installed properly. - The mains switch must be switched on. – All circuit breakers must be closed. – The motor starters must be switched on. – The Emergency stop components have to be acknowledged so that the foreseen safety level is achieved.

3. The HMI has six screens to observe and control the motor starters. Each screen shows the states of the motor starter (Ready/Run) and allows you to control the motor starter (Forward/Reverse).

4. The HMI has an additional screen to enable the outputs of the seven digital I/O-modules. Setting enable starts periodical on/off-toggle of the digital outputs LED indicators.

5. The left navigation button on the HMI switches between the motor starter control screens and the I/O control screen.

6. The right navigation button on the HMI cycles through all six motor starter screens.

Page 17: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

17

HMI

Introduction This application features a compact Magelis XBT-N401 HMI,

that is interfaced with the PLC via the Modbus protocol. XBT-L1000 software is used to program and configure the terminal. The following pages explain this procedure.

Preconditions The following conditions must be met in order to carry out the steps described below:

• The XBT-L1000 configuration tool is installed on your PC • The “DP-ASI.dop“ project is available in the default directory that has been set up

(C:\Program Files\Schneider Electric\XBT-L1000\Apps). • The Magelis terminal is supplied with power from the Twido PLC i.e. the PLC has to

be switched on and supplied with power. • The Magelis terminal and the PC are linked to one another via the PC <> Twido

programming cable (XBTZ915).

Programming/ Configuration

1 When the XBT-L1000 program starts up, the configuration screen for creating a new application appears. Click "Cancel" to exit this dialog.

2 Select File -> Open to go to the default path: “C:\Program Files\Schneider Electric\XBT-L1000\Apps”. This is where the “DP-ASI(.dop)“ application should be stored. After selecting the application and clicking on Open, one of the configured screens from the HMI apllication will appear on the screen.

Simulation 1 The behaviour of the HMI

terminal can be simulated by selecting Simulation in the menu bar, followed by Simulation Application.

Page 18: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

18

Transferring a program

1 In order to transfer the program from the PC to the terminal, the two must be connected with the XBTZ915 communication cable.

2 The application is transferred to

the Magelis terminal by selecting Transfers in the menu bar, followed by Export. Before the download begins, a message appears, which you should confirm with "OK". Two other windows will follow; the first informs you of the progress of the download and the second tells you that the transfer has been completed successfully. Confirm with “OK”.

3 You can now disconnect the

programming cable from the Magelis terminal and insert the communication cable XBTZ9680, used to link to the Twido via additional port 2. If the PLC is active, a “Connection in progress" message will appear on the panel shortly after the connection is made. This message disappears once the bus connection has been established successfully and the application is then displayed.

Page 19: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

19

PLC

Introduction The PLC chapter describes how to initialize, parameterize and load the program to the

PLC in order to implement the functional description described above. The PLC program is created using Twidosoft.

Preconditions The following conditions must be met in order to carry out the steps described below:

• The Twidosoft Version 3.2 programming tool is installed on your PC • The “DP-ASI.twd“ Twidosoft project is available in the default directory that has been

set up (C:\Program Files\Schneider Electric\TwidoSoft\Applications) • The Twido PLC is switched on and supplied with power • The PLC and the PC are linked to one another via the PC <> Twido programming

cable (TSXPCX1031) via built-in port1.

Setting up communication

1 Once the Twido programming software has been launched, start by calling up the "DP-ASI.twd" PLC program by selecting: File -> Open. The "Applications” default directory in which the file should be located is displayed.

2 After the program has been loaded, communication with the PLC must be set up. Select : PLC -> Select a connection And select the port to be used; in this case, COM1.

Page 20: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

20

Transferring a program

1 In order to transfer the program, the PLC and the PC must be connected to one another via the communication cable. Once the cable has been connected, select PLC-> Connect to create an online connection to the PLC so that you can download the program.

2 Before a program is downloaded to the PLC Twidosoft usually informs you that the program to be downloaded and the program in the PLC are different. In this case, use the button PC -> Controller to transfer the program to the PLC. If the PLC is in “run“ mode you are asked to stop the controller first before the download can be performed. In this case click OK. If there is a valid application on the PLC you are informed that this application will be replaced with the new application. In this case click OK again.

Assigning of Addresses to the AS-Interface modules

1 AS-Interface modules fresh from stock do not have a pre-set slave address. As it is not allowed to have more than one module with a certain address connected to one AS-Interface master, they need to be assigned a unique address. At this stage no AS-Interface module should be connected to the bus. To assign addresses to the modules select: Hardware -> Configure a module.

2 The dialog now shown, should list all configured modules connected to the Twido Expansion Bus – in this case only the AS-Interface master “TWD NOI 10M3”. Select this module and click OK.

Page 21: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

21

3 The Configure Module dialog appears. As we are connected to the PLC the dialog has two Tabs: Configuration and Debug. Switch to the Debug tab. All configured AS-Interface modules are shown (addresses 01 .. 13). The indicators are red because the AS-Interface Master detects no module connected.

4 Now connect one non-

addressed TeSysU module to the AS-Interface bus. An “Unknown” module appears at address 00. The indicator is red because one module with the invalid address 00 is detected Now click on the “Unknown” module and drag it to first “ASI LUF C5” field left of address 01 and drop it there. After a few seconds the module is detected, the indicator turns to green and the “Unknown” module on address 00 disappears.

5 Repeat the procedure described above (4) for the • remaining 5 TeSysU

modules • 3 IP67 modules

ASI67FPM43E • 4 IP20 modules

ASI20MT4I3OSE when done the dialog shows all 13 modules detected and indicated as green. The AS-Interface master module is now able to operate the bus. End the dialog by clicking “OK”.

Page 22: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

22

Starting the application

1 Now the application is ready to run. Select: PLC -> Run (RUN).

2 You have to confirm the start of the PLC by clicking OK.

Page 23: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

23

Data exchange

Introduction The Magelis terminal is connected via Modbus to the Twido PLC. Magelis acts as

Modbus master, Twido as Modbus slave (slave address 1). For this connection the Remote Link 2 on Twido PLC is used. This chapter explains how the data is exchanged between the Magelis terminal and the Twido PLC via the Modbus connection as well as the assignment of communication data to the AS-Interface modules.

Data exchange

for TeSysU

Magelis XBT-N401

(Modbus master)

Twido PLC

(Modbus slave) Variable Access Designation assignment to

AS-Interface module

module 1 %M11 Read RDY_TESYSU_1 %IA1.1A.0 D0:Not ready or fault=0 / Ready=1

%M12 Read RUN_TESYSU_1 %IA1.1A.1 D1: Stopped=0 / Running=1

%M13 Read/Write FWD_TESYSU_1 %QA1.1A.0 D0: Stop=0 / Forward=1

%M14 Read/Write REV_TESYSU_1 %QA1.1A.1 D1: Stop=0 / Reverse=1

module 2 %M21 ..

%M24

RDY_TESYSU_2 ..

REV_TESYSU_2

%IA1.2A.0 ..

%QA1.2A1

..

module 6 %M61 ..

%M64

RDY_TESYSU_6 ..

REV_TESYSU_6

%IA1.6A.0 ..

%QA1.6A.1

Data exchange

for digital I/O

Magelis XBT-N401

(Modbus master)

Twido PLC

(Modbus slave) Variable Access Designation Enable of

AS-Interface module outputs

AS-Interface module inputs (not used here)

IP67 module 7 %M111 Read/Write EN_1 %QA1.7A.0 .. %QA1.7A.2

%IA1.7A.0 .. %IA1.7A.3

IP67 module 8 %M112 Read/Write EN_2 %QA1.8A.0 .. %QA1.8A.2

%IA1.8A.0 .. %IA1.8A.3

IP67 module 9 %M113 Read/Write EN_3 %QA1.9A.0 .. %QA1.9A.2

%IA1.9A.0 .. %IA1.9A.3

IP20 module 10 %M114 Read/Write EN_4 %QA1.10A.0 .. %QA1.10A.2

%IA1.10A.0 .. %IA1.10A.3

IP20 module 11 %M115 Read/Write EN_5 %QA1.11A0 .. %QA1.11A2

%IA1.11A0 .. %IA1.11A3

IP20 module 12 %M116 Read/Write EN_6 %QA1.12A.0 .. %QA1.12A.2

%IA1.12A.0 .. %IA1.12A.3

IP20 module 13 %M117 Read/Write EN_7 %QA1.13A.0 .. %QA1.13A.2

%IA1.13A.0 .. %IA1.13A.3

Page 24: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

24

Appendix

Detailed components list

Hardware components Item No. Description Part no.

Remark

Control Cabinet 1.1 1 Master switch, red/yellow knob VCF-02GE Option

1 1.2 1 Motor circuit breaker, 9 to 14A, adjustable GV2-M16 1.3 2 Circuit breaker, 1A, 3-pole GB2-DB06 1.4 1 Circuit breaker, 3A, 1-pole GB2-CD08 1.5 1 Phaseo AS-Interface power supply unit

30/24V, 3A ASI ABLM3024

1.6 1 Twido Compact PLC, 220VAC, 14 In, 10 Relay Out

TWDLCAA24DRF

1.7 1 Serial Interface Adaptor, RS 485, Mini-DIN TWD NAC 485D 1.8 1 Twido AS-Interface master module TWD NOI 10M3 1.9 1 Magelis operator terminal, alpha-numeric,

4lines XBT-N401

1.10 1 Communication cable XBTZ9680 Safety Module 2.1 1 Preventa Emergency stop XPS AF 5130 Option

2 2.2 2 TeSys Contactor, 18 A, 24 V DC operated,

3-pole, AC3, 1x NO + 1x NC LC1 D18 BD

“ 2.3 1 TeSys Contactor Auxiliary switch,

1 x NO + 1 x NC LAD N11

“ 2.4 1 Emergency Stop with housing XALK 178G “

2.5

1 Harmony style pushbutton switch with indicator LED

XB5AW-36M5 “

2.6 1 Pushbutton housing XALD01 “ Remote Cabinet

3.1 1 Emergency stop with housing XALK 178G Option2

3.2 4 AS-Interface digital input/output block IP20, 4 in, 3 transistor out

ASI 20MT4I3OSE

3.3 1 AS-Interface insulation displacement connectors, 4 x yellow, 4 x black, 5/5 pcs.

ASI 20MACC1

3.4 6 TeSysU Motor starter power base, 2 directions, 12A

LU2B12B

3.5 6 TeSysU Motor starter control module, standard, 1.25 .. 5 A

LUCA05BL

3.6 6 TeSysU Motor starter AS-Interface module ASI LUF C5 3.7 6 TeSysU Motor starter coil connection LU9M RC 3.8 6 AS-Interface Tap for TeSysU motor starter XZ CG0142 3.9 2 Power rail system, 3 pole, 3 outputs GV2G345 3.10 2 Power rail connection block, 3 pole GV1 G09

Field Installation

4.1 3 AS-Interface digital input/output block IP67, 4 in, 3 transistor out

ASI 67FMP 43E

4.2 3 AS-Interface Tap for AS-Interface block ASI DCPM 12D03 4.3 ..21 AS-Interface sensor/actuator connection

(or similar) XZ CP 1564x

4.4 ..2 Connector sealing plug, 10 pcs. (if needed) FTX CM 12B 4.5 1 AS-Interface flat cable, yellow, 100m XZ CB11001 4.6 1 AS-Interface auxiliary cable, black, 100m XZ CB11002

Page 25: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

25

Software components Item No. Description Part no. Rev./

Vers. 5.1 1 Twidosoft programming software incl. cable TWD SPU

1001V10M 3.2

or 5.2 1 Twidosoft programming software TWD SPU

1002V10M 3.2

5.3 1 Twido programming cable TSX PCX 1031 5.4 1 Magelis configuration software (complete

version) XBTL-1000 4.30

5.5 1 Magelis programming cable XBTZ915

Component protection classes

Recommended installation locations/ Protection class

Components

Field, on site

IP 55/IP 65

Field, on site

IP 67

Control cabinet

IP20

Master switch X Emergency stop X Contactors X Illuminated push buttons with housing X Circuit breakers, all types and ratings X Preventa Emergency stop X Phaseo power supply X Twido PLC X Magelis operator terminal X TeSysU motor starters X AS-Interface digital input/output block

IP20 X

AS-Interface digital input/output block IP67 X

Page 26: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

26

Performance characteristics of the complete system

Performance characteristics for example application

Introduction The data provided in this chapter is related to the system and its features as

described and specified in this document. The values shown vary widely depending on:

• the number of I/O points • the number of AS-Interface I/O modules • the number of instructions/operations (program size) • the memory utilization

Application reaction time for example application

The application reaction time is defined as the time needed to obtain an output reaction as a result from an input action. This means that the application reaction time is dependent on (simplified):

• the time needed to recognize the input signal • the time to transfer the input signal from the I/O module to the PLC memory • the time for the PLC application to calculate the dependent output value(s) • the time to transfer the output values from thePLC memory to the I/O

modules Furthermore one has to consider a worst case reaction time in order to ensure the given reaction time covers all cases. (see the tables below for worst cases(max))

The PLC scan time for example is 10 ms. The relevant application reaction time was measured as 33 ms (average: 25 ms, best case: 17 ms).

Generalised results for 13 AS-Interface modules

Performance with 13 ASI-Nodes

17,0128,54

38,0145,53

58,7565,91

81,41

106,86100,56

110,53

32,65

53,51

73,72

91,41

116,12

132,12

156,28 151,59

195,23

214,44

24,84

41,03

55,96

70,16

86,56

100,57

117,92

130,34

147,12

168,62

0,00

50,00

100,00

150,00

200,00

250,00

10 20 30 40 50 60 70 80 90 100

PLC-Scan (msec)

App

licat

ion

Rea

ctio

n (m

sec)

Min.Max.Average

PLC-Scan

10 20 30 40 50 60 70 80 90 100

Min. 17 29 38 46 59 66 81 107 101 111Max. 33 54 74 91 116 132 156 152 195 214

Avg. 25 41 56 70 87 101 118 130 147 169

Page 27: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

27

Generalised results for 31 AS-Interface modules

Performance with 31 ASI-Nodes

14,07

30,17

44,0150,05

60,5869,72

79,84

111,35101,37

113,04

38,56

62,89

77,19

98,99

119,52

139,91

159,17167,91

194,84

216,37

28,30

44,77

60,44

74,77

88,29

104,21

120,15 121,49

150,38

165,14

0,00

50,00

100,00

150,00

200,00

250,00

10 20 30 40 50 60 70 80 90 100

PLC-Scan (msec)

App

licat

ion

Rea

ctio

n (m

sec)

Min.Max.Average

PLC-Scan

10 20 30 40 50 60 70 80 90 100

Min. 14 30 44 50 61 70 80 111 101 113Max. 39 63 77 99 120 140 159 168 195 216

Avg. 28 45 60 75 88 104 120 121 150 165

Worst-case Application Reaction for 13 and 31 AS-Interface modules

The Table below shows the differences between configurations of 13 respectively 31 AS-Interface modules. These differences vary between 3 and 8 ms. This shows that the dependence of the application reaction time on the number of configured AS-Interface modules is very low. The application reaction is almost stable for any number of AS-Interface modules.

This statement is valid only for AS-Interface on Twido PLCs and cannot be generalized for other Schneider Electric products.

PLC-Scan 10 20 30 40 50 60 70 80 90 100

13 AS-Interface

nodes 33 54 74 91 116 132 156 152 195 214

31 AS-Interface

nodes 39 63 77 99 120 140 159 168 195 216

Remark: How to get the relevant PLC scan time

Twidosoft displays the PLC scan time, together with other information, in the Controller Operations dialog. This dialog can be accessed after the PLC is started (see above) via PLC -> Check PLC. The Controller Operations dialog shows the longest, shortest and current PLC scan time.

How to use tables or diagrams

Read the current scan time. With that go to the relevant table or diagram above to obtain the expected application reaction time. See below for a more generalised method to estimate the application reaction time.

Page 28: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

28

Performance characteristics for Twido with AS-Interface

Introduction The following sections discuss some notable facts of the AS-Interface bus system

when used in co-operation with Twido PLCs. Cable The length of an AS-Interface cable system is limited to 100 m. It can be extended

using repeaters to an overall length of 300 m (2 repeaters max.). Any branches off from the ‘main’ cable must be added to the cable length. AS-Interface modules which drive devices (e.g. TeSysU motor starters) or I/O-modules which require more than 20 mA load on their outputs need external auxiliary power via the ‘black cable’.

Number of modules

Dependent from the interface version of the module the Twido master module can operate the bus in two topologies: • There may be up to 31 modules with standard addressing connected to one

Twido AS-Interface master. The bus cycle is dependent on the number of connected modules and needs approximately 0.16ms per module – i.e. 5 ms for an AS-Interface cable with 31 modules.

• Using extended addressing, there may be up to 62 modules connected to one Twido AS-Interface master. The bus cycle is dependent on the number of connected modules and needs approximately 0.16ms per module – i.e. 10 ms for an AS-Interface cable with 31 modules addressed as A-Slaves and 31 modules addressed as B-slaves.

• Modules with standard addressing appear as A- and B-slaves simultaneously. Performance of Twido AS-Interface master

The master module is responsible for transferring the data from the connected AS-Interface modules to the PLC memory and vice versa. The time required for this is fixed and independent of the number of connected modules and is 8 ms. If the twido uses two AS-Interface master modules, the time needed is 18 ms.

Performance Rule of Thumb

To estimate the maximum application reaction time the following algorithm can be used: Application Reaction Time (ms) = 2 * PLC scan (ms) + 2 * No_Of_Modules * 0.16 ms + 10 ms

Caution

It may be that the Application Reaction Time calculated with the given algorithm leads to incorrect results. Under particular circumstances the Twido-AS-Interface-system could have longer application reaction times as expected!

Remark: How to get the relevant PLC scan time

Twidosoft displays the PLC scan time, together with other information, in the Controller Operations dialog. This dialog can be accessed after the PLC is started (see above) via PLC -> Check PLC. The Controller Operations dialog shows the longest, shortest and current PLC scan time.

How to use the Algorithm

Read the “current” scan time. With that and the quantity of AS-Interface modules use the formula above to calculate the expected application reaction time.

Page 29: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

29

Component Features

Twido PLC

with AS-Interface

Master Module

TWD LCAA 24DRF

TWD NOI 10M3

The PLC used in this example is chosen because it provides local I/O for usage inside or close to the Control Cabinet. The remote I/O is implemented specifically via AS-Interface blocks and devices.

• 100 .. 240 V DC power supply • 14 digital inputs, 24VDC • 10 relay outputs • Can be extended up to a maximum of 4 modules (digital/analog/remote I/O) • max. 152 local I/Os • AS-Interface master module for 31slaves with standard

addressing / 62 slaves with extended addressing 3 programming languages:

• Ladder Language (LD) • Instruction List (IL) • Sequential Function Chart/Grafcet (SFC)

Predefined functions: • Drum controller • High-speed counter up to 5 kHz • Very high-speed counter up to 20 kHz • Frequency meter 1 to 20 kHz • Register areas for LIFO/FIFO execution • PWM/PCS output • External PLC start • PID controller

Page 30: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

30

Magelis Operator Terminal

XBT-N401

The functions implemented with the Magelis display unit are: • Displaying data of the control system and reporting Alarms (not

implemented here) • Modifying control system parameters and Controlling a process using

discrete commands The HMI terminal is powered from the 24 VDC sensor supply output from the PLC. This has the advantage that PLC and HMI work independently of other system components.

Display: • alphanumeric, 1 to 4 lines, 5 to 20 characters • backlit LCD 122 x 32 pixels, green/orange/red • additional 6 LEDs

Functions: • 200 application pages, 256 alarm pages • 25 lines/page, 40 variables/page

Communication : • Modbus • Unitelway

Phaseo power

supply unit

ASI ABLM 3024

• 100 to 240 V AC • 30VDC/2.4A + 24VDC/3A

• Short-circuit-proof, earth fault detection

Preventa

safety module for

Emergency Stop

XPS AF 5130

Safety module for monitoring Emergency stop and positioning/limit switches

• 3 safety closing relay outputs • 3 indicator LEDs

Page 31: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

31

TeSysU Motor Starter

LU2B12B

Motor starter base for two directions with indication

• screw clamp connectors 12 A (12 ..32A available) • control unit LUCA 05BL, 1.25.. 5A /1.5 kW max. (0.09 .. 15 kW available) • communication module ASI LUFC5, AS-Interface Version 2.0, standard

addressing • connection to AS-Interface and auxiliary cable via Tap XZCG0142

AS-Interface

Digital I/O Module IP20

ASI 20MT 4I3OSE

Discrete modular interface IP20

• 4 inputs, 3 transistor outputs, 0.5 A • output supply via external power 24 VDC (black cable) • AS-Interface Version 2.1, extended addressing • connection to AS-Interface and auxiliary cables via screw clamp connectors

or insulation displacement connectors

Page 32: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

Schneider Electric

32

AS-Interface Digital I/O

Module IP67

ASI 67FMP43E

Discrete interface, remote connection

• 4 inputs, 3 transistor outputs, 2A • output supply via external power 24 VDC (block cable) • AS-Interface Version 2.1, extended addressing • connection to AS-Interface and auxiliary cables via Tap ASI DCPM 12D03

(module types with insulation displacement connectors available)

Page 33: Twido with AS-Interface Master Magelis, TeSysU and ... SYSTEMOW AUTOMATYKI TL2007/T… · Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN Schneider Electric 3 Abbreviations

Schneider Electric GmbH Steinheimer Strasse 117 D - 63500 Seligenstadt Germany Twido with AS-Interface Master Magelis,TeSysU and Preventa_EN

As standards, specifications and designs change from time to time, please ask for confirmation of the information given in this publication.

33

Contact

Author Phone E-mail

Schneider Electric GmbH Customer & Market System & Architecture Architecture Definition Support

+49 6182 81 25 55 [email protected]