How to make Push buttons in freelance to start motor or pump (write 1 in a variable)?
I made the action when pushed -> write variable -> operation & chose touch
but i dont know what to write in dimension & it doesnt work, Please anyone say the setting in details to make it
Thanks in advance
Voted best answer
Normal start/stop operation using single button graphic element you can configure/perform through following settings, Now for different operations you can select touch, inching or use fix to write fix value (useful incase of analog value). For more information search with key words " Buttons, Button Field, Radio Button" in online help search option in CBF or check manual 3BDD012518R0501_Eng_Man_Operator_Stat_Config
Hope that helps......
if i do understand your need will , i would say that your PB shall be connected to digital input . the address of the digital input shall be attached to boolian variable
when applying volyahe yo the digital input the state of the boolian varialbe shall be changed ,
how to use this variable in you logic can be based on the application you need to start your motor
hope that will help
"Touch" is used to set the value of a variable as long as your button is being pressed. When your button is released, the variable value returns to it's non-pressed state.
It sounds like you need to use the "Fix" option. This will write to a variable and the value will be retained when the button is released.