edgar.guerra Posted April 21, 2021 Report Share Posted April 21, 2021 Good morning I am using a code so that when the plc is turned off it returns to its previous screen but I need to use another additional instruction because if before turning off some output is working when it is turned on it returns to the screen and continues with the output activated which can damage any actuator that is being driven by that output, how can I solve it Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted April 21, 2021 MVP 2022 Report Share Posted April 21, 2021 It will depend on what's turning on that output. If it's a SET coil, then use the Power-Up feature to RESET the output. If it's a direct coil, then you will need code to stop the coil from being activated at power on. Quote Link to comment Share on other sites More sharing options...
edgar.guerra Posted April 21, 2021 Author Report Share Posted April 21, 2021 40 minutes ago, Flex727 said: Dependerá de lo que active esa salida. Si se trata de una bobina SET, utilice la función de encendido para RESTABLECER la salida. Si se trata de una bobina directa, necesitará un código para evitar que la bobina se active al encenderla. with the ignition function you could reset the variables that activate the output, but exactly what would be the ignition function. SB2? Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted April 21, 2021 MVP 2022 Report Share Posted April 21, 2021 SB 2 is called the Power-Up System Bit. It is on during the first PLC scan and is off thereafter. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.