NickV Posted May 24, 2017 Report Posted May 24, 2017 Dear, Since a few weeks I started working with the Vision PLC 430 J T 2. I have three expansion modules (2 for analog inputs and 1 for load cells). Recently I've started writing down the logic of my final program. Until now I only have experience with the Siemens S7 with associated software. I want to create a sequence where the transition from state to state is based upon conditions. Only one transition can be true at any point and the sequence is always the same. I've always done this with flip flops which set and reset each other. Now I’m searching for the correct way to implement this into the Vision software. Can someone advise me on this? Thank you in advance! Nick Verlooy
MVP 2023 Flex727 Posted May 24, 2017 MVP 2023 Report Posted May 24, 2017 I know that @Joe Tauser would recommend a State Machine, and I would agree, but there is no reason you can't do it exactly like you would in S7 using ladder logic. You can SET and RESET bits in VisiLogic in any way you see fit.
NickV Posted May 24, 2017 Author Report Posted May 24, 2017 Thank you for the fast response. Indeed, I could arrange this with setting and resetting bits but a state machine may be also a solution. Anyway it is hard for me to start programming this since I don't find a proper example of how to build a state machine. Do you maybe know where I can find it? I've searched on this forum and examples but maybe I’m overlooking it.
MVP 2023 Flex727 Posted May 24, 2017 MVP 2023 Report Posted May 24, 2017 Joe Tauser was kind enough to educate us all on this topic and wrote a very nice example program, which can be found here: 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now