Hey guys,
I'm taking a course on PLCs for my BTEC and my teacher is shockingly incompetant to the point the he took 2 hours to work out how to put in an input on GX-Developer... with our assistance... sigh
Needless to say, I'm desperate for help with an assignment on ladder logic. I'm not going to ask that you guys give me all the answers, but basically we've been given this:
|--| |------(R1)15---|
| IP0
|--| |-------[BSR]---|
| IP1 [R1 ]
| [BIT]
| [F1]
And told "rung 1 shows contact IP0 connected to a register. You must specify the bit to change when IP0 is closed. In this case, bit 15 which is the MSB. If IP0 is closed bit 15 is high, if open it is low. Rung 2 shows 1P1 followed by a command BSR (Bit Shift Right). Every time IP1 is closed, all the bits are shifted right. The LSB falls off the end and the MSB is replaced by a 1 or 0 depending on the state of IP0. Each time a right shift is done with bit 15 being replaced by a 0, the binary number is divided by two. If BSL is used (Bit Shift Left), all the bits are shifted left, with the LSB being replaced by a zerp, the binary value is doubled. Create the above programme using GX-DEveloper and text it under simulation"
...This is like French to me. I've never worked on PLCs before and I've asked him to explain but he's so bad he can't. I'm not going to ask you to do this assignment (I actually want to learn!) but could I have some sort of starting point? I am so clueless as to how even to approach this - how do you define the register? Indicate bit 15? I'm so lost!
Thank you so much anyone who sees this :/
I'm taking a course on PLCs for my BTEC and my teacher is shockingly incompetant to the point the he took 2 hours to work out how to put in an input on GX-Developer... with our assistance... sigh
Needless to say, I'm desperate for help with an assignment on ladder logic. I'm not going to ask that you guys give me all the answers, but basically we've been given this:
|--| |------(R1)15---|
| IP0
|--| |-------[BSR]---|
| IP1 [R1 ]
| [BIT]
| [F1]
And told "rung 1 shows contact IP0 connected to a register. You must specify the bit to change when IP0 is closed. In this case, bit 15 which is the MSB. If IP0 is closed bit 15 is high, if open it is low. Rung 2 shows 1P1 followed by a command BSR (Bit Shift Right). Every time IP1 is closed, all the bits are shifted right. The LSB falls off the end and the MSB is replaced by a 1 or 0 depending on the state of IP0. Each time a right shift is done with bit 15 being replaced by a 0, the binary number is divided by two. If BSL is used (Bit Shift Left), all the bits are shifted left, with the LSB being replaced by a zerp, the binary value is doubled. Create the above programme using GX-DEveloper and text it under simulation"
...This is like French to me. I've never worked on PLCs before and I've asked him to explain but he's so bad he can't. I'm not going to ask you to do this assignment (I actually want to learn!) but could I have some sort of starting point? I am so clueless as to how even to approach this - how do you define the register? Indicate bit 15? I'm so lost!
Thank you so much anyone who sees this :/
Last edited: