Beijer Electronics X2 control Startup Manual

1 (19)
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 Denmark, Roskilde: Beijer Electronics A/S, +45 75 76 66 SE-201 24 Malmö, SWEDEN Telephone +46 40 35 86 00 Fax +46 40 93 23 01
Reg no. 556701-3965 VAT no SE556701396501 www.beijer.se info@beijer.se
Normal.dotm
, 130103
X2 control – Start Up guide Basic settings SUEN284 2017-04
1 Introduction
This document goes through the basic settings and describes the required function and areas required to use the the X2 control device using the CODESYS and iX Developer program to achieve an easily get started.
With the HMI soft controllers in the X2 control series, any HMI application can have an intuitive graphic iX interface with total CODESYS control.
The CODESYS SoftController can communicate with external devices, for example Remote I/O. The different communication types are explained in detail in separate documents, see chapter 4.
2 Precautions
This Start Up document should not be considered as a complete manual. It´s aimed to get the user a guidline for an easy and quick setup of the configuration.
Copyright © Beijer Electronics, 2017
This documentation (below referred to as ‘the material’) is the property of Beijer Electronics. The holder or
user has a non-exclusive right to use the material. The holder is not allowed to distribute the material to anyone outside his/her organization except in cases where the material is part of a system that is supplied by the holder to his/her customer. The material may only be used with products or software supplied by Beijer Electronics. Beijer Electronics assumes no responsibility for any defects in the material, or for any consequences that might arise from the use of the material. It is the responsibility of the holder to ensure that any systems, for whatever applications, which is based on or includes the material (whether in its entirety or in parts), meets the expected properties or functional requirements. Beijer Electronics has no obligation to supply the holder with updated versions.
All safety and accident prevention regulations relevant to your specific application must be observed in the system design, installation, configuration, maintenance, servicing and testing of this product.
When making programs for this product make sure to leave sufficient CPU power for the HMI-part of the product to be able to execute smoothly. It´s recommended to keep the CPU-load below 80% on the kernel that CODESYS control applications run on. See chapter 13, to monitor the CPU-load.
X2 control – Basic Start Up settings
SUEN284 2017-04
www.beijerelectronics.se 2 (19)
Normal.dotm
, 070221
3 Table of Contents
1 Introduction............................................................................................................................................................ 1
2 Precautions ............................................................................................................................................................. 1
3 Table of Contents ................................................................................................................................................... 2
4 Software and documention.................................................................................................................................... 3
5 First step ................................................................................................................................................................. 4
6 Files in “Basic Settings” ........................................................................................................................................ 4
7 System configuration Remote I/O ........................................................................................................................ 5
8 Setup in the Programming tools ........................................................................................................................... 6
Setup in CODESYS ....................................................................................................................................... 7
Setup in iX Developer ................................................................................................................................... 9
9 Communication - iX Developer and CODESYS with Remote I/O .................................................................. 10
10 Retain and Persistent variables .......................................................................................................................... 11
11 Important settings ................................................................................................................................................ 13
Boot after Online Change and Restart of X2 control unit .......................................................................... 13
12 Project backup ..................................................................................................................................................... 14
CODESYS, create backup files ................................................................................................ ................... 14
CODESYS, Project Archive ........................................................................................................................ 14
CODESYS, source Download to X2 control ................................ ................................ ............................... 15
CODESYS, transfer project to X2 control via USB or SD card memory .................................................... 16
13 Diagnostics, CODESYS ....................................................................................................................................... 17
SoftControl Direct Acsess driver ................................................................................................................ 17
Monitor the CODESYS CPU load .............................................................................................................. 18
14 Document revision ............................................................................................................................................... 19
X2 control – Basic Start Up settings
SUEN284 2017-04
www.beijerelectronics.se 3 (19)
Normal.dotm
, 070221
4 Software and documention
Use the following software and drivers in order to obtain a stable configuration and application.
It´s always recommended to check the website for latest information, software and documentations: http://www.beijerelectronics.se/sv-SE/Products/Control___systems
Software programs
iX Developer 2.20 SP2 or later. CODESYS 3.5 SP10 Patch 1 or later CODESYS Runtime (compiler) 3.5.10.10 or later
X2 control, Software Firmware (Image)
Version 1.2 Build508? or later.
(X2ImageLoader_build508.exe)
Driver, iX Developer <-> CODESYS
SoftControl Direct Access version 4.03.03 or later.
X2 control, Device description file
X2 control.xml, to enable iX X2 control device in CODESYS.
Communication to Remote I/O
StartUp document:
KI00376 EtherCAT (NA-9286) KI00377 ModbusTCP (NA-9189/NA-9289) KI00378 Modbus RTU (NA-9173/NA-9473)
In this document we have used following software
iX Developer 2.20 SP2 CODESYS 3.5 SP10 Patch 1 CODESYS Runtime (compiler) version 3.5.10.10
In this document we have used following devices
X2 control 10 Remote I/O, Crevis FnIO-S series
For further information we refer to
iX Developer Reference Manual (MAxx831) iX Developer User's Guide (MAxx832D) SoftControl Direct Access, driver help in iX Developer X2 Image Software, reference manual (MA205A) CoDeSys manuals and help in the software: https://www.codesys.com/
This document and other Start Up documents can be obtained from the website.
X2 control – Basic Start Up settings
SUEN284 2017-04
www.beijerelectronics.se 4 (19)
Normal.dotm
, 070221
5 First step
For best understanding and easy working with iX X2 control configuration we recommend:
Prepare the computer with the programming tools CODESYS and iX Developer. Basic knowledge of CODESYS. There is a quick start in CODESYS help file. Download manuals:
http://www.beijerelectronics.se/sv-SE/Products/Control___systems
Install X2 control device description in CODESYS. Update the X2 control device with CODESYS Runtime (compiler) version 3.5.10.10
Note! Use always the latest valid versions of the driver and Image software!
6 Files in “Basic Settings”
Supplied with this document there is a folder containing example program för iX Developer and CODESYS. This basic applications can be used as a reference and to be downloaded on a X2 control device. Includes also an export folder to upload the project via USB-memory.
Tip! By importing the CODESYS project the installation of the X2 control device is automaticly made on your computer.
X2 control – Basic Start Up settings
SUEN284 2017-04
www.beijerelectronics.se 5 (19)
Normal.dotm
, 070221
7 System configuration Remote I/O
Overview of communication options
Note!
If EtherCAT defined, recommended to to use port LAN A and use LAN B for rest of the ethernet communications.
TCP
RTU
24 VDC COM 1/2 LAN A USB LAN B COM 3/4
X2 control – Basic Start Up settings
SUEN284 2017-04
www.beijerelectronics.se 6 (19)
Normal.dotm
, 070221
8 Setup in the Programming tools
iX Developer for the HMI application CODESYS for the Control application
X2 control
CODESYS
control-
application
iX
HMI-
application
-EtherCAT
-Modbus TCP/RTU
Ethernet
Loading...
+ 13 hidden pages