Author Topic: TwinCATviaAMSRouterCom - Write Boolean  (Read 849 times)

fixit742

  • Newbie
  • *
  • Posts: 1
    • View Profile
TwinCATviaAMSRouterCom - Write Boolean
« on: November 07, 2020, 11:18:36 AM »
Hello

I can't write a boolean variable to True from any type of pushbutton or Switch, either in momentary, setTrue or toggle.
The boolean var in TwinCAT is always written to False (if state is true in plc, it is written to false)
Lights or switch states work correctly with the same boolean variable, if set to 1 in the PLC.

If i use a Twincat integer variable in the button, it is set to 1 and toggle works.