Custom button with output status

seler
2025-11-18
2025-11-20
  • seler - 2025-11-18

    Hi,
    Im struggle with making custom button. The idea is simple grey light bulb after touch (input var) it changes to yellow but shows output var status not switch status. So if light is physically on, switched by physical switch, bulb is also yellow. How to do it?

     
  • seler - 2025-11-19

    Just to clarify. Output for lamp will have two inputs: from plc IN (wall switch) and from visu button. Until now I had separate object for visu button and separate for visu lamp. Now I want it to be one object, bulb icone which will change color on lamp status and yet by touching it will change visu button state. Tried "Switch Image" object but there is no way to assign switch var.

     

    Last edit: seler 2025-11-19
  • seler - 2025-11-20

    I did some work around by adding IN switch on top of OUT bulb picture(SwitchImage) and setting IN switch button to invisible but this is not quite elegant. How to combine it to one visu element?

     

Log in to post a comment.