1 function and area of use 2 about this start up...

14
1 (14) Beijer Electronics Automation AB a Beijer Electronics Group company Head Office Subsidiaries Beijer Electronics Automation AB Norway, Drammen: Beijer Electronics AS, +47 32 24 30 00 P.O. Box 426, Stora Varvsgatan 13a Finland, Vantaa: Beijer Electronics Oy, +358 207 46 35 00 SE-201 24 Malmö, SWEDEN Denmark, Roskilde: Beijer Electronics A/S, +45 75 76 66 Telephone +46 40 35 86 00 Estonia, Tallinn: Beijer Electronics Eesti Oü, +372 6 518140 Fax +46 40 93 23 01 Latvia, Riga: Beijer Electronics SIA, +371 6 7842280 Lithuania, Kaunas: Beijer Electronics UAB, +370 5 2323101 Reg no. 556701-3965 VAT no SE556701396501 www.beijer.se [email protected] ~2733497.dot, 130103 iX TxB SoftControl, Basic setting KI00328A 2013-09 1 Function and area of use With the HMI soft controllers in the iX TxB SoftControl series, any HMI application can have an intuitive graphic iX interface with total CoDeSys control. The SoftController communicate with an external device, for example Remote I/O. 2 About this Start Up document This Start Up document should not be considered as a complete manual. It is an aid to be able to start up a normal application quickly and easily. Use the following software and drivers in order to obtain a stable application: Programming software iX Developer 2.0 SP1 (b 2.0.463.0) or later, programming the HMI in iX TxB SoftControl TxB SoftControl setup(.msi), enable iX TxB SoftControl in iX Developer CoDeSys 3.5 SP1 Patch 4 or later, programming the SoftControl (Compiler 3.5.1.40) Image, iX TxB SoftControl IML_TxB_b0138(.exe) or later. Latest version can be downloaded from our website (Help Online ). Driver, iX TxB SoftControl CoDeSys_SoftControl_Direct_Access ver 4.01.02 or later, driver iX HMI with SoftController. How to update the driver See chapter 4.3 Device description, iX TxB SoftControl TxB-SoftControl.devdesc(.xml) version 3.5.1.45, enable iX TxB SoftControl in CoDeSys Device description, CREVIS EtherCAT NA-9186 Crevis_EtherCAT_V1.000.xml or later, enable NA-9186 in CoDeSys. Latest version can be downloaded from our website (Help Online ). Library manager, CoDeSys Standard 3.5.1.0 Driver version for communication to Remote I/O StartUp document: KI00329 EtherCAT, KI00330 ModbusTCP, KI00331Modbus RTU In this document we have used following hardware iX T7B SoftControl

Upload: dangdieu

Post on 28-Sep-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

1 (14)

Beijer Electronics Automation AB a Beijer Electronics Group company

Head Office Subsidiaries

Beijer Electronics Automation AB Norway, Drammen: Beijer Electronics AS, +47 32 24 30 00 P.O. Box 426, Stora Varvsgatan 13a Finland, Vantaa: Beijer Electronics Oy, +358 207 46 35 00 SE-201 24 Malmö, SWEDEN Denmark, Roskilde: Beijer Electronics A/S, +45 75 76 66 Telephone +46 40 35 86 00 Estonia, Tallinn: Beijer Electronics Eesti Oü, +372 6 518140 Fax +46 40 93 23 01 Latvia, Riga: Beijer Electronics SIA, +371 6 7842280 Lithuania, Kaunas: Beijer Electronics UAB, +370 5 2323101

Reg no. 556701-3965 VAT no SE556701396501 www.beijer.se [email protected]

~2

73

34

97

.do

t, 1

30

10

3

iX TxB SoftControl, Basic setting KI00328A 2013-09

1 Function and area of use With the HMI soft controllers in the iX TxB SoftControl series, any HMI application can have an intuitive graphic iX interface with total CoDeSys control. The SoftController communicate with an external device, for example Remote I/O.

2 About this Start Up document This Start Up document should not be considered as a complete manual. It is an aid to be able to start up a normal application quickly and easily. Use the following software and drivers in order to obtain a stable application: Programming software iX Developer 2.0 SP1 (b 2.0.463.0) or later, programming the HMI in iX TxB

SoftControl TxB SoftControl setup(.msi), enable iX TxB SoftControl in iX Developer CoDeSys 3.5 SP1 Patch 4 or later, programming the SoftControl (Compiler 3.5.1.40)

Image, iX TxB SoftControl IML_TxB_b0138(.exe) or later.

Latest version can be downloaded from our website (Help Online). Driver, iX TxB SoftControl CoDeSys_SoftControl_Direct_Access ver 4.01.02 or later, driver iX HMI with

SoftController. How to update the driver See chapter 4.3 Device description, iX TxB SoftControl TxB-SoftControl.devdesc(.xml) version 3.5.1.45, enable iX TxB SoftControl in

CoDeSys Device description, CREVIS EtherCAT NA-9186 Crevis_EtherCAT_V1.000.xml or later, enable NA-9186 in CoDeSys.

Latest version can be downloaded from our website (Help Online). Library manager, CoDeSys Standard 3.5.1.0

Driver version for communication to Remote I/O StartUp document: KI00329 EtherCAT, KI00330 ModbusTCP, KI00331Modbus RTU

In this document we have used following hardware iX T7B SoftControl

iX TxB SoftControl, Basic setting KI00328A 2013-09

www.beijer.se 2 (14) ~2

73

34

97

.do

t, 0

70

22

1

For further information we refer to iX Developer Reference Manual (MAxx831) iX Developer User's Guide (MAxx832D) Driver help in iX Developer CoDeSys, Manuals and help in the software

This document and other Start Up documents can be obtained from our homepage. Please use the address [email protected] for feedback on our Start Up documents.

iX TxB SoftControl, Basic setting KI00328A 2013-09

www.beijer.se 3 (14) ~2

73

34

97

.do

t, 0

70

22

1

3 Table of Contents 1 Function and area of use ..................................................................................................................................................1

2 About this Start Up document .........................................................................................................................................1

3 Table of Contents ..............................................................................................................................................................3

4 Configuration of CoDeSys and iX Developer.................................................................................................................4 4.1 Add iX TxB SoftControl to CoDeSys ..........................................................................................................................4 4.2 Add iX TxB SoftControl to iX Developer....................................................................................................................5 4.3 Install the driver for iX HMI to the SoftControl .........................................................................................................5

5 iX TxB SoftControl connections ......................................................................................................................................6

6 Communication between iX HMI, iX TxB SoftControl and Remote I/O...................................................................7

7 Programming tools............................................................................................................................................................7

8 Persistent variables (32 kbyte) .........................................................................................................................................8

9 Important settings.............................................................................................................................................................9 9.1 Boot after Online Change and Restart of iX TxB SoftControl....................................................................................9

10 Project backup ................................................................................................................................................................10 10.1 CoDeSys, Create backup files ..................................................................................................................................10 10.2 CoDeSys, Project Archive ........................................................................................................................................10 10.3 CoDeSys, Sourse Download to iX TxB SoftControl .................................................................................................10 10.4 CoDeSys project to iX TxB SoftControl using USB memory....................................................................................11

11 Diagnostic, SoftController..............................................................................................................................................12

12 Files in “Start-kit”...........................................................................................................................................................14 12.1 Device Description iX TxB .......................................................................................................................................14 12.2 iX TxB SoftControl to iX...........................................................................................................................................14 12.3 Diagnostic Tag .........................................................................................................................................................14

iX TxB SoftControl, Basic setting KI00328A 2013-09

4 Configuration of CoDeSys and iX Developer This installation has to be done once for every computer.

4.1 Add iX TxB SoftControl to CoDeSys Change “Standard” to “Professional”

Install iX TxB SoftControl (Device description file) to CoDeSys

(iX TxB_SoftControl.devdesc.xml) (use version…link)

The file is installed under PLCs

www.beijer.se 4 (14) ~2

73

34

97

.do

t, 0

70

22

1

iX TxB SoftControl, Basic setting KI00328A 2013-09

4.2 Add iX TxB SoftControl to iX Developer To get the iX TxB SoftControl terminals in iX Developer. Run the file: “TxB SoftControl Setup.msi”.

Double click on the “TxB SoftControl Setup.msi” file to install

4.3 Install the driver for iX HMI to the SoftControl The driver (CoDeSys_SoftControl_Direct_Access) is installed with iX Developer.

Update the driver

To update the driver, you should be logged in as administrator. Right-click the icon for iX and select "run as administrator".

Start iX Developer and make a iX T7B SoftControl project (don´t select any driver)

Click on the symbol under “iX” in the upper left corner of the program

Select “Update Drivers”, then “Update Drivers From Internet”

Highlight the “CoDeSys_SoftControl_Direct….” and press “Download”

Once installed, re-start iX Developer

www.beijer.se 5 (14) ~2

73

34

97

.do

t, 0

70

22

1 Note! The installation of the driver needs only to be done once for every computer running iX.

iX TxB SoftControl, Basic setting KI00328A 2013-09

www.beijer.se 6 (14) ~2

73

34

97

.do

t, 0

70

22

1

5 iX TxB SoftControl connections

Ethernet Modbus EtherCAT

TCP

RTU

24 VDC COM 1/2 LAN A USB LAN B COM 3/4

Note! The Ethernet port "LAN B" is always dedicated to the EtherCAT driver (even when the EtherCAT driver is not used in the application). “LAN B” can not be used for other functions such as Modbus TCP or downloading of iX-Developer or CoDeSys-project.

iX TxB SoftControl, Basic setting KI00328A 2013-09

6 Communication between iX HMI, iX TxB SoftControl and Remote I/O

The terminal uses two drivers for communication between iX HMI, iX TxB SoftControl and remote I/O. Driver 1: iX HMI application with iX TxB SoftControl (CoDeSys SoftControl Direct Access) Driver 2: iX TxB SoftControl with Remote I/O - EtherCAT on “LAN B”, Modbus TCP on “LAN A” - Serial Modbus RTU at COM1: RS-232, COM2: RS-485, COM3: RS-232

7 Programming tools iX Developer for iX HMI application

CoDeSys for the SoftControl

www.beijer.se 7 (14) ~2

73

34

97

.do

t, 0

70

22

1

Example: Crevis FnIO-S Series

TxB SoftControl

SoftControl

iX HMI application

iX-driver

“Direct access”

Driver 2

TxB SoftControl

SoftControl

iX HMI application

EtherCAT

Ethernet

Modbus TCP/RTU

Driver 1

iX TxB SoftControl, Basic setting KI00328A 2013-09

8 Persistent variables (32 kbyte) Persistent variables (battery powered) can ONLY be declared in a special global variables list of object type, which is assigned to an application. There might be only ONE such list per application. Highlight the “Application” entry in “Devices” Right click and select “Add Object” Choose “PersistentVariables..” In next “PopUp” write the Name “PersistentVars” and click “Open”

Persistent variables, function. iX TxB SoftControl supports “Persistent variables”.

www.beijer.se 8 (14) ~2

73

34

97

.do

t, 0

70

22

1

iX TxB SoftControl, Basic setting KI00328A 2013-09

9 Important settings

9.1 Boot after Online Change and Restart of iX TxB SoftControl This must be done to make a safe restart after power off. In other case the CoDeSys project have to be downloaded again.

Highlight the “Application” option in the “Device” window and right click

Select “Properties” and “Boot application”

Default setting in iX TxB SoftControl

www.beijer.se 9 (14) ~2

73

34

97

.do

t, 0

70

22

1

iX TxB SoftControl, Basic setting KI00328A 2013-09

10 Project backup

10.1 CoDeSys, Create backup files If this option is activated, at each saving the project will not only be saved in <projectname>.project but also copied to a file <projectname>.backup. If needed you can rename this backup-file and re-open in CoDeSys.

Menu \Tools\Options

10.2 CoDeSys, Project Archive The best way to get all components from a CoDeSys project is to make a ‘Save/Send Archive’. That will save and pack all files referenced by and used within the currently opened project in to one archive file. The archive file can either be stored or sent as attachment of an email. The archive file can easily be unpacked by use of ‘Extract Archive’

Note! The archive function is not intended for restoring a project environment. It is designed for an easy packing of all files belonging to a project!

10.3 CoDeSys, Sourse Download to iX TxB SoftControl The CoDeSys project can be saved in the terminal and uploaded to CoDeSys.

Upload / Download Project setting

www.beijer.se 10 (14) ~2

73

34

97

.do

t, 0

70

22

1

Alternative to upload the “archive.prj” file

iX TxB SoftControl, Basic setting KI00328A 2013-09

10.4 CoDeSys project to iX TxB SoftControl using USB memory It is possible to export a CoDeSys project and then save it in the root on a USB memory stick. If booting the iX TxB SoftControl panel with the USB memory plugged in it should be possible to upload the CoDeSys project from the USB memory to the iX TxB SoftControl. Note! SD memory can also be used.

Export project from CoDeSys programming tool

In menu “Online” select “Create boot application” and save the project files (.app/.crc) in the root of the USB memory

Copy CoDeSys project from USB to iX TxB SoftControl

Restart the iX TxB SoftControl panel with USB memory

You will be asked if you wish to load the CoDeSys project “Copy PLC project from USB memory?”

Important note!

When download a CoDeSys project the SoftControl memory will be cleared! Also the “Persistent” area (the battery powered memorycells and register)

Tip!

It’s also possible to download the iX Developer project in same way!

www.beijer.se 11 (14) ~2

73

34

97

.do

t, 0

70

22

1

iX TxB SoftControl, Basic setting KI00328A 2013-09

11 Diagnostic, SoftController The driver supports some diagnostics tags, for example the RUN-state of the controller application. These tags are all addressed by the prefix "Diagnostics.", which is why tags which start with "Diagnostics." can't be used in the controller application. All diagnostics tags are listed below.

Up to 20 Tasks are supported and can be addressed by changing the task-number in the tag-syntax between 0-19. For example the name of task 6 (the seventh since the number begins at 0) is addressed with Diagnostics.Task6.Name.

All diagnostics times and intervals are given in microseconds.

From example project

www.beijer.se 12 (14) ~2

73

34

97

.do

t, 0

70

22

1

Diagnostic and RUN / STOP of the SoftControl

iX TxB SoftControl, Basic setting KI00328A 2013-09

Tip! Import “Diagnostic Tag” to your project: - Import the following file: “T7B_SC_NA91xx_Ex1_Diagnostic_TagsImport_To_iX.txt”. You find the file in library “StartKit_TxB_SoftControl\DiagnosticTag\..”

www.beijer.se 13 (14) ~2

73

34

97

.do

t, 0

70

22

1

iX TxB SoftControl, Basic setting KI00328A 2013-09

www.beijer.se 14 (14) ~2

73

34

97

.do

t, 0

70

22

1

12 Files in “Start-kit” The folder in “StartKit_TxB_SoftControl” contains the latest files to prepare iX TxB SoftControl. Download from homepage!

12.1 Device Description iX TxB Files: - TxB-SoftControl.devdesc.xml* - T7B.bmp Enable iX TxB SoftControl in CoDeSys.

12.2 iX TxB SoftControl to iX File: - TxB SoftControl Setup.msi Enable iX TxB SoftControl in iX Developer 2.0 SP1.

12.3 Diagnostic Tag File: - T7B _SC_NA91xx_Ex1_Diagnostic_TagsImport_To_iX.txt Import of “Diagnostic Tag” to your project

*, use version…link