EIO0000000638.04www.schneider-electric.comMagelis XBT GT, XBT GK HMI ControllerEIO0000000638 04/2012Magelis XBT GT, XBT GK HMI ControllerProgramming G
10 EIO0000000638 04/2012
Troubleshooting and FAQ100EIO0000000638 04/2012Frequently Asked QuestionsHow can I Determine the Firmware, Boot and Chip Version of the Controller?In
Troubleshooting and FAQEIO0000000638 04/2012 101When should I use Freewheeling or Cyclic Mode?z Freewheeling: use this mode if you accept a variable c
Troubleshooting and FAQ102EIO0000000638 04/2012To update the controller name you can:z Update manually (see page 102) the controller name in the HMI a
Troubleshooting and FAQEIO0000000638 04/2012 1034 Click Edit..., the Device window opens:5 Copy the controller name available in the Address → Device
Troubleshooting and FAQ104EIO0000000638 04/2012Paste the controller device name into Vijeo-Designer Network Equipment Configuration window, as explain
Troubleshooting and FAQEIO0000000638 04/2012 105How do I manually update the Modicon M238 Logic Controller name in my SoMachine application using Vije
Troubleshooting and FAQ106EIO0000000638 04/2012Copy the controller device name into the SoMachine Device Editor as explained in the procedure below:St
Troubleshooting and FAQEIO0000000638 04/2012 107How do I create a generic application ?The following procedure shows the main steps for creating and u
Troubleshooting and FAQ108EIO0000000638 04/2012Create a Project Archive FileCreate a project archive file by selecting File → Project Archive → Save/S
Troubleshooting and FAQEIO0000000638 04/2012 109Copy the Controller Device NameFollow the procedure below to copy the controller device name (LateConf
EIO0000000638 04/2012 111Magelis XBT GT, XB T GK HMI ControllerNew ProjectEIO0000000638 04/2012Starting with a New ProjectIntroductionThis chapter des
Troubleshooting and FAQ110EIO0000000638 04/2012
EIO0000000638 04/2012 111Magelis XBT GT, XBT GK HMI ControllerGlossaryEIO00000 00638 04/2012Glossary0-9%IAccording to the IEC standard, %I represents
Glossary112EIO0000000638 04/2012AASCIIThe american standard code for information interchange is a communication protocol for representing alphanumeric
GlossaryEIO0000000638 04/2012 113BYTEWhen 8 bits are grouped together, they are called a BYTE. You can enter a BYTE either in binary mode or in base 8
Glossary114EIO0000000638 04/2012DINTA double integer type is encoded in a 32-bit format.DNSThe domain name system is the naming system for computers a
GlossaryEIO0000000638 04/2012 115GGVLThe global variable list manages global variables that are available in every application POU.HHMIA human-machine
Glossary116EIO0000000638 04/2012ILA program written in the instruction list language is composed of a series of instructions executed sequentially by
GlossaryEIO0000000638 04/2012 117master/slaveThe single direction of control in a network that implements the master/slave model is always from a mast
Glossary118EIO0000000638 04/2012protocolA protocol is a convention or standard that controls or enables the connection, communication, and data transf
GlossaryEIO0000000638 04/2012 119SDOA service data object message is used by the fieldbus master to access (read/write) the object directories of netw
New Project12EIO0000000638 04/20121.1 New ProjectIntroductionThis section will guide you through creating a new XBT GT/GK HMI Controller project.What’
Glossary120EIO0000000638 04/2012UUDINTThis abbreviation for an unsigned double integer (encoded in 32 bits).UINTAn unsigned integer is encoded in 16 b
EIO0000000638 04/2012 121CBAMagelis X BT GT, XBT GK HMI C ontrollerIndexEIO0000000638 04/2012IndexAAddingCANopen Module, 21Controller, 18Devices, 17Ad
Index122EIO0000000638 04/2012DevicesAdding, 17Tree, 15, 16Window, 15Devices EditorWindow, 69DownloadApplication, 93USB, 90Download application, 63EEdi
IndexEIO0000000638 04/2012 123Serial LinkSoMachine Network Manager, 84SoMachine Network Manager, 84State diagram, 48Stop command, 59StructureData Exch
Index124EIO0000000638 04/2012
New ProjectEIO0000000638 04/2012 13Creating a new Project IntroductionThis section describes the general characteristics of the XBT GT/GK HMI Controll
New Project14EIO0000000638 04/2012NOTE: Refer to the Controller specifications (see Magelis XBT GT, XBT GK, XBT GH, Hardware Guide) for addtional info
New ProjectEIO0000000638 04/2012 15Devices Tree DescriptionIntroductionThe Devices tree shows the hardware objects such as the controller, field bus n
New Project16EIO0000000638 04/2012Devices Tree DescriptionThe following table describes the items in the Devices tree:Item DescriptionHMI Application
New ProjectEIO0000000638 04/2012 171.2 Adding Devices to the ProjectIntroductionThis section shows you how to add devices to your project.What’s in th
New Project18EIO0000000638 04/2012Adding an XBT GT/GK HMI ControllerIntroductionThe following paragraphs explain how to add the XBT GT/GK HMI Controll
New ProjectEIO0000000638 04/2012 192 In the Add Devices window, select the XBT GT device, as shown in the figure below.Note: To sort the devices by ty
2 EIO0000000638 04/2012 The information provided in this documentation contains general descriptions and/or technical characteristics of the performan
New Project20EIO0000000638 04/2012NOTE: Another method to add a controller to your project is to use the Graphical Configuration Editor (see SoMachine
New ProjectEIO0000000638 04/2012 21Adding a CANopen Expansion ModuleIntroductionYou can add one of the following CANopen expansion module with the XBT
New Project22EIO0000000638 04/2012
EIO0000000638 04/2012 232Magelis XBT GT, XB T GK HMI ControllerLibrariesEIO0000000638 04/2012LibrariesLibrariesIntroductionThe libraries of the contro
Libraries24EIO0000000638 04/2012
EIO0000000638 04/2012 253Magelis XBT GT, XB T GK HMI Controller VariablesEIO0000000638 04/2012Supported Standard Data TypesIntroductionThis chapter pr
Variables26EIO0000000638 04/2012Supported VariablesSupported Variables TypesThe following table provides the XBT GT/GK HMI Controller supported variab
VariablesEIO0000000638 04/2012 27Variables ExchangeIntroductionYou can exchange variables with the XBT GT/GK HMI Controller range between SoMachine an
Variables28EIO0000000638 04/2012
EIO0000000638 04/2012 294Magelis XBT GT, XB T GK HMI ControllerMemoryEIO0000000638 04/2012Controller Memory MappingIntroductionThis chapter provides t
EIO0000000638 04/2012 3Table of ContentsSafety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5About the Book . . . . . . .
Memory30EIO0000000638 04/2012Memory MappingIntroductionThis section provides the RAM (Random Access Memory) size for each area of the XBT GT/GK HMI Co
MemoryEIO0000000638 04/2012 31Memory of the Supported ApplicationsThe following table lists the memory capacity of supported applications:Types of app
Memory32EIO0000000638 04/2012Controllers and HMI Address Mapping DifferencesIntroductionThis following paragraphs provide instructions for double word
MemoryEIO0000000638 04/2012 33ExamplesThe following gives examples of memory match for the double words:z %MD2 memory area of the XBT GT/GK HMI Contro
Memory34EIO0000000638 04/2012
EIO0000000638 04/2012 355Magelis XBT GT, XB T GK HMI ControllerTasksEIO0000000638 04/2012TasksIntroductionThe Task Configuration node in the SoMachine
Tasks36EIO0000000638 04/2012Maximum Number of TasksMaximum Number of TasksThe maximum number of tasks you can define for the XBT GT/GK HMI Controller
TasksEIO0000000638 04/2012 37Task Configuration ScreenScreen DescriptionThe following screen allows you to configure the tasks. Double click on the ta
Tasks38EIO0000000638 04/2012The following table describes the fields of the Task Configuration screen:Field Name DefinitionPriority You can configure
TasksEIO0000000638 04/2012 39XBT GT/GK HMI Controller Cycle Time ManagementThe XBT GT/GK HMI Controller cycle time management is set with the followin
4 EIO0000000638 04/20126.3 State Transitions and System Events . . . . . . . . . . . . . . . . . . . . . . . . . . . 55Controller States and Output B
Tasks40EIO0000000638 04/2012Task TypesIntroductionThe following section describes the various task types available for your program, along with a desc
TasksEIO0000000638 04/2012 41Freewheeling TaskA Freewheeling task does not have a fixed duration. Each Freewheeling task type executes as follows:1. R
Tasks42EIO0000000638 04/2012System and Task WatchdogsIntroductionTwo types of watchdog functionality are implemented for the XBT GT/GK HMI Controller.
TasksEIO0000000638 04/2012 43Task PrioritiesIntroductionYou can configure the priority of each task between 0 and 31 (0 is the highest priority, 31 is
Tasks44EIO0000000638 04/2012Task Preemption Due to Task PrioritiesWhen a task cycle starts, it can interrupt any task with lower priority (task preemp
TasksEIO0000000638 04/2012 45WARNINGUNINTENDED EQUIPMENT OPERATIONMap your inputs so that tasks do not alter the input images in an unexpected manner.
Tasks46EIO0000000638 04/2012Default Task ConfigurationDefault Task ConfigurationFor the XBT GT/GK HMI Controller:z The MAST task can be configured in
EIO0000000638 04/2012 476Magelis XBT GT, XB T GK HMI ControllerController States and Behavi orsEIO0000000638 04/2012Controller States and BehaviorsIn
Controller States and Behaviors48EIO0000000638 04/20126.1 Controller State DiagramController State DiagramController State DiagramThe following diagra
Controller States and BehaviorsEIO0000000638 04/2012 49Legend:z Controller states are indicated in ALL-CAPS BOLDz User and application commands are in
EIO0000000638 04/2012 5§Safety InformationImportant InformationNOTICERead these instructions carefully, and look at the equipment to become familiar w
Controller States and Behaviors50EIO0000000638 04/2012Note 7However, there are two important considerations in this regard:z Online Change: An online
Controller States and BehaviorsEIO0000000638 04/2012 51Note 8The SoMachine software platform allows many powerful options for managing task execution
Controller States and Behaviors52EIO0000000638 04/20126.2 Controller States DescriptionController States DescriptionIntroductionThis section provides
Controller States and BehaviorsEIO0000000638 04/2012 53Details of the STOPPED StateThe following statements are always true for the STOPPED state:z Et
Controller States and Behaviors54EIO0000000638 04/2012z The Write Outputs operation continues. The %Q output memory variable is updated to reflect eit
Controller States and BehaviorsEIO0000000638 04/2012 556.3 State Transitions and System EventsOverviewThis section begins with an explanation of the o
Controller States and Behaviors56EIO0000000638 04/2012Controller States and Output BehaviorIntroductionThe XBT GT/GK HMI Controller defines output beh
Controller States and BehaviorsEIO0000000638 04/2012 57Set All Outputs to DefaultYou can select this option by choosing Set all outputs to default in
Controller States and Behaviors58EIO0000000638 04/2012WARNINGUNINTENDED EQUIPMENT OPERATIONz You must have a thorough understanding of how forcing wil
Controller States and BehaviorsEIO0000000638 04/2012 59Commanding State TransitionsRun CommandEffect: Commands a transition to the RUNNING controller
6 EIO0000000638 04/2012PLEASE NOTEElectrical equipment should be installed, operated, serviced, and maintained only by qualified personnel. No respons
Controller States and Behaviors60EIO0000000638 04/2012z REBOOT by Script: The file transfer script on a USB memory key can issue a REBOOT as its final
Controller States and BehaviorsEIO0000000638 04/2012 61Methods for Issuing a Reset Cold Command:z SoMachine Online Menu: Select the Reset cold command
Controller States and Behaviors62EIO0000000638 04/2012RebootEffect: Commands a reboot of the controller.Starting Conditions:z Any state.z ControllerLo
Controller States and BehaviorsEIO0000000638 04/2012 637. All fieldbus communications are stopped and restarted after the boot application is loaded s
Controller States and Behaviors64EIO0000000638 04/20128. All fieldbus communications are stopped and then any configured fieldbus of the new applicati
Controller States and BehaviorsEIO0000000638 04/2012 65Error Detection, Types, and ManagementDetected Error ManagementThe controller manages 3 types o
Controller States and Behaviors66EIO0000000638 04/2012NOTE: Refer to the XBT PLCSystem library (see Magelis XBTGC, XBTGT, XBTGK HMI Controller, System
Controller States and BehaviorsEIO0000000638 04/2012 67Remanent VariablesRemanent VariablesRemanent variables can retain their values in the event of
Controller States and Behaviors68EIO0000000638 04/2012
EIO0000000638 04/2012 697Magelis XBT GT, XB T GK HMI ControllerController ConfigurationEIO0000000638 04/2012Controller ConfigurationDevice EditorIntro
EIO0000000638 04/2012 7About the BookAt a GlanceDocument ScopeThe purpose of this document is to:z show you how to program and operate your XBT GT/GK
Controller Configuration70EIO0000000638 04/2012Tabs Description The following table provides a description of the tabs available from the Device Edito
EIO0000000638 04/2012 718Magelis XBT GT, XB T GK HMI ControllerEthernet C onfigura tionEIO0000000638 04/2012Ethernet Configuration IP Address Configur
Ethernet Configuration72EIO0000000638 04/2012The following table briefly explains the different parameters needed for setting up an Ethernet configura
EIO0000000638 04/2012 739Magelis XBT GT, XB T GK HMI ControllerCANopen ConfigurationEIO0000000638 04/2012CANopen ConfigurationIntroductionThis chapter
CANopen Configuration74EIO0000000638 04/2012CANopen Interface ConfigurationXBT GT/GK HMI Controller Maximum Hardware ConfigurationUp to 10 CANopen rem
CANopen ConfigurationEIO0000000638 04/2012 75NOTE: You can also add a CANopen Master Unit using the Graphical Configuration Editor (see SoMachine, Pro
CANopen Configuration76EIO0000000638 04/2012Baudrate ConfigurationThe following table provides the procedure for accessing the CANopen Baudrate config
CANopen ConfigurationEIO0000000638 04/2012 77CANopen Optimized ManagerAdding the CANopen Optimized ManagerAdd the CANopen_Optimized Manager to your p
CANopen Configuration78EIO0000000638 04/2012CANopen Remote DevicesAdding a Remote Device to the CANopen_Optimized managerTo add a remote device to the
CANopen ConfigurationEIO0000000638 04/2012 79CANopen Remote Device Configuration ScreenYou can access the remote device configuration screen by double
8 EIO0000000638 04/2012You can download these technical publications and other technical information from our website at www.schneider-electric.com.Pr
CANopen Configuration80EIO0000000638 04/2012
EIO0000000638 04/2012 8110Magelis XBT GT, XB T GK HMI ControllerSerial Line ConfigurationEIO0000000638 04/2012Serial Line ConfigurationIntroductionThi
Serial Line Configuration82EIO0000000638 04/2012Serial Line ConfigurationIntroductionThe serial line configuration window allows configuration of the
Serial Line ConfigurationEIO0000000638 04/2012 83The following table provides the description of each parameter:Network ManagerThe SoMachine-Network_M
Serial Line Configuration84EIO0000000638 04/2012SoMachine Network ManagerAdding a SoMachine Network ManagerTo add a SoMachine Network Manager proceed
Serial Line ConfigurationEIO0000000638 04/2012 85SoMachine Network Manager Configuration WindowDouble click SoMachine Network Manager in the device tr
Serial Line Configuration86EIO0000000638 04/2012Modbus ManagerAdding a Modbus Network ManagerTo add a Modbus-Network_Manager proceed as explained in t
Serial Line ConfigurationEIO0000000638 04/2012 87Modbus Manager Configuration WindowDouble click Modbus_Manager in the device tree to access the Modbu
Serial Line Configuration88EIO0000000638 04/2012
EIO0000000638 04/2012 8911Magelis XBT GT, XB T GK HMI Controller Managing Online ApplicationsEIO0000000638 04/2012Managing Online ApplicationsConnect
EIO0000000638 04/2012 9User CommentsWe welcome your comments about this document. You can reach us by e-mail at [email protected]
Managing Online Applications90EIO0000000638 04/2012USB Cables RequirementsTo connect the controller to your PC, specific USB cables are required as sh
Managing Online ApplicationsEIO0000000638 04/2012 91The following diagram shows how to connect the XBT GT/GK HMI Controller directly to a PC:Legend:1:
Managing Online Applications92EIO0000000638 04/2012The following diagram shows how to connect the XBT GT/GK HMI Controller to a PC, when mounted on a
Managing Online ApplicationsEIO0000000638 04/2012 93Application Download with Firmware ChangeThe XBT GT/GK HMI Controller can download an application
Managing Online Applications94EIO0000000638 04/2012NOTE: Use a FAT32 USB memory key to save your application and firmware. 4 Select File System from t
EIO0000000638 04/2012 9512Magelis XBT GT, XB T GK HMI ControllerTroubles hooting and FAQEIO0000000638 04/2012Troubleshooting and FAQIntroductionThis
Troubleshooting and FAQ96EIO0000000638 04/2012TroubleshootingIntroductionThis section lists the possible troubleshooting solutions with the XBT GT/GK
Troubleshooting and FAQEIO0000000638 04/2012 97Resolution: Follow the flowchart below for troubleshooting purposes and then refer to the next table:Ch
Troubleshooting and FAQ98EIO0000000638 04/2012Application Does Not Go To RUN StatePossible causes:No POU declared in the task.ControllerLockout activa
Troubleshooting and FAQEIO0000000638 04/2012 99Creating the Boot Application is not PossiblePossible cause: Operation not possible while the controlle
Comments to this Manuals