{}

Our Brands

Impact-Company-Logo-English Black-01-177x54

Welcome to the Schneider Electric Website

Welcome to our website.
How can we help you today?
How can I ensure that my HMISCU or XBTGC HMI Combo Controller starts in Run mode after a power cycle?
Issue
If I have downloaded a project from Vijeo Designer via File System USB memory stick to an HMISCU or XBTGC, the PLC does not start in RUN in subsequent power cycles.
How can I ensure that the PLC starts in RUN after power cycles when I download with this method?

Product Line
EcoStruxure Machine Expert v1.1+ / SoMachine v3.1 and higher
Harmony HMISCU and XBTGC

Environment
PLC Logic Builder and Vijeo Designer HMI configuration software in Windows

Cause
The flag for startup in the XBTGC and HMISCU is managed by a configuration file in their file system which can only be set with a cable (Ethernet or USB) download.
This flag is not settable using USB memory stick File System method of download.

The configuration flag is only set when these 3 conditions are met with a Cable-method download:
1) The download method is from the Online -> Multiple Download window
2) The "Start all applications after download or online change." checkbox is activated with a tick mark
3) The "<name>: HMI Application" is activated with a tick mark
Multiple Download dialog

This is not possible from Vijeo Designer's File System download.

Resolution
The method to always have the PLC start in RUN mode, regardless of Download method is to make a configuration change in Vijeo Designer by way of creating an Action in Vijeo Designer to write a non-zero value to a Variable with System Property @prop:0 on startup in order to guarantee the PLC starts in RUN after each power cycle.

Follow these two steps below to achieve this:

1) Create a new external variable INT in Vijeo Designer and address it as @prop:0. In this example, the Variable is named "RunController"
Create External Variable with @prop:0 assigned to Device Address

2) Create an action to write a non-zero value to the variable on startup.
Create new Action
Choose Startup Event Trigger
Set 1 to RunController
Resulting Action in Global Actions



[Other Useful Properties]
Here is a list of all driver properties for the HMISCU and XBTGC series HMI combo controllers that can be used as an Integer variable in Vijeo Designer:

@prop:0
  • Read/Write access
  • Writing any non-zero value will put the controller application in RUN

@prop:1
  • Read/Write access
  • Writing any non-zero value will put the controller application in STOP

@prop:2
  • Read-Only access
  • This returns an integer that is associated with the state of the controller
    • 0 - N/A
    • 1 - Running
    • 2 - Stopped
    • 3 - Error
@prop:3
  • Read-Only access
  • This returns an integer that is associated with the Error state of the controller
    • 0 - No Errors
    • 1 - Error

Schneider Electric Australia

Explore more
Range:
Articles that might be helpful Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range: