AdvancedHMI Software

General Category => Support Questions => Topic started by: dwight.arrants@tstc.edu on November 30, 2020, 04:27:59 PM

Title: Motor State (T/F) remains the same, but goes green even when PLC is offline
Post by: dwight.arrants@tstc.edu on November 30, 2020, 04:27:59 PM
Using a pair (start / stop) of momentary button switches to start / stop motor

Looks like the motor goes green when start command is sent, not when motor is actually running.
When the PLC is offline, I get an error message, but the color still changes.

Is there a way to read the real state (on/off) of the motor instead of the intended state?

What I am asking is can I stop the motor changing colors when the PLC is offline?
Title: Re: Motor State (T/F) remains the same, but goes green even when PLC is offline
Post by: Archie on November 30, 2020, 04:57:20 PM
You will have to give more details. What addresses are your motors set to? The buttons? What does you ladder code look like?

The easiest thing to do is to add BasicLabels set to the same PLCAddresses so you can see True/False instead of colors.
Title: Re: Motor State (T/F) remains the same, but goes green even when PLC is offline
Post by: dwight.arrants@tstc.edu on November 30, 2020, 05:19:19 PM
I guess this is a total newbie question, but it seems to me the HMI should have 3 states for the motor

On, Off, and duh I don't know the PLC won't talk to me.
When the PLC is online and running everything works.

Problem is when the PLC is turned off, the color of the motor on the HMI changes. the color change gives the impression that the HMI is still in control.
Title: Re: Motor State (T/F) remains the same, but goes green even when PLC is offline
Post by: Archie on November 30, 2020, 06:32:13 PM
The motor color should freeze at its last state if the PLC loses comminutions. I think a message will appear on themotor saying communications were lost.
Title: Re: Motor State (T/F) remains the same, but goes green even when PLC is offline
Post by: dwight.arrants@tstc.edu on December 01, 2020, 03:29:08 PM
Thank you sir,
Yes, it was operator error at another location in the code I wrote.