Beijer Electronics X2 control Startup Manual

Beijer Electronics X2 control Startup Manual

Hide thumbs Also See for X2 control:

Advertisement

X2 control – Start Up guide Basic settings

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.
Beijer Electronics Automation AB  a Beijer Electronics Group company
Head Office
Beijer Electronics Automation AB
P.O. Box 426, Stora Varvsgatan 13a
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
Subsidiaries
Norway, Drammen: Beijer Electronics AS,  +47 32 24 30 00
Denmark, Roskilde: Beijer Electronics A/S,  +45 75 76 66
SUEN284 2017-04
1 (19)

Advertisement

Table of Contents
loading

Summary of Contents for Beijer Electronics X2 control

  • Page 1: Introduction

    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.
  • Page 2: Table Of Contents

    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 ......................
  • Page 3: Software And Documention

    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) ...
  • Page 4: First Step

    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. 4 (19)
  • Page 5: System Configuration Remote I/O

    X2 control – Basic Start Up settings SUEN284 2017-04 7 System configuration Remote I/O Overview of communication options 24 VDC COM 1/2 LAN A USB LAN B COM 3/4 Note! If EtherCAT defined, recommended to to use port LAN A and use LAN B for rest of the ethernet communications.
  • Page 6: Setup In The Programming Tools

    X2 control – Basic Start Up settings SUEN284 2017-04 8 Setup in the Programming tools  iX Developer for the HMI application  CODESYS for the Control application X2 control CODESYS -EtherCAT HMI- control- -Modbus TCP/RTU application application Ethernet 6 (19)
  • Page 7: Setup In Codesys

    After this version has been installed, you can install later versions, see chapter 7.1.6. Device description of the X2 control device needs to be installed in the CODESYS software. The installation file to be found on our website, see chapter 4.
  • Page 8 X2 control – Basic Start Up settings SUEN284 2017-04 8.1.1 CODESYS Runtime (compiler) version Note ! It’s important to take notice of the device Runtime version for CODESYS devices. This decides which Runtime version that shall be used in your project. Using the wrong...
  • Page 9: Setup In Ix Developer

    CODESYS and vice versa. Create a new project Open iX Developer and click on Create New Project.  Select the iX X2 control device for your system.  Select SoftControl Direct Access. Continue to follow the steps to create a new project.
  • Page 10: Communication - Ix Developer And Codesys With Remote I/O

    X2 control – Basic Start Up settings SUEN284 2017-04 9 Communication - iX Developer and CODESYS with Remote I/O The X2 control device uses two drivers for communication between HMI-application, PLC- applicatio and Remote I/O. Driver 1: - HMI application with X2 control and SoftControl Direct Access driver...
  • Page 11: Retain And Persistent Variables

    Overview of Retain/persistant data configurations: Refer to documentation for details: “How to use Retain/Persistent data in CoDeSys on X2 control/motion/marine SC” Persistent variables (non-volatile memory) can ONLY be declared in a special global variables list, which is assigned to an application. There might be only ONE such list per application.
  • Page 12 X2 control – Basic Start Up settings SUEN284 2017-04  Command Table from CODESYS Online Help “-“ = values gest initiated 12 (19) www.beijerelectronics.se...
  • Page 13: Important Settings

    X2 control – Basic Start Up settings SUEN284 2017-04 11 Important settings Boot after Online Change and Restart of X2 control unit This is highly recommended! Boot application can be regarded as the compiled, executable code. Default setting when creating a new project is that, when performing an Online Change, the boot application is not overwritten automaticly but instead saved in temporary memory which will result in that the project will “return”...
  • Page 14: Project Backup

    X2 control – Basic Start Up settings SUEN284 2017-04 12 Project backup 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.
  • Page 15: Codesys, Source Download To X2 Control

    X2 control – Basic Start Up settings SUEN284 2017-04 CODESYS, source Download to X2 control The CODESYS application can be saved in the panel and uploaded to CODESYS. A projectarchive file will be saved on the unit.  Menu\File\Source upload\... vs …\Source Download\...
  • Page 16: Codesys, Transfer Project To X2 Control Via Usb Or Sd Card Memory

    The USB- or SD-card memory must be prepared with CODESYS PLC application. Boot up the X2 control device with the USB or SD card memory mounted, then will you be able upload the CODESYS application from the memory to the X2 control device.
  • Page 17: Diagnostics, Codesys

    X2 control – Basic Start Up settings SUEN284 2017-04 13 Diagnostics, CODESYS SoftControl Direct Acsess driver Check the SoftControl Direct Access driver help file on the functionality.  Example: HMI application with Diagnostics and RUN / STOP function 17 (19)
  • Page 18: Monitor The Codesys Cpu Load

    To check the cpu load you need to use following Systems tags, configurable via iX Developer Dual cores: X2 control 4, control 7 and marine 7 SC. Quad cores: X2 control 10, control 12, control 15, marine 7 HB SC, marine 15 SC, marine 15 HB SC 18 (19)
  • Page 19: Document Revision

    X2 control – Basic Start Up settings SUEN284 2017-04 14 Document revision Rev. Pages, Description Author/Date Ind. Chapter First version SKN/2017-04-27 19 (19) www.beijerelectronics.se...

Table of Contents