Hi all,
I am struggling all day to understand the strange behaviour I observe, hope that someone here can help.
I have a rotating table with two sets of clamps on both sides.
Stage 1 waits for "Clamp 1" button, stage 2 clamps c1 and waits for "Clamp 2", stage 3 clamps c2, sends "Rotate table" signal and waits for "Rotation complete" response from servo, then jumps back to stage 1. Rotation and control take place in a separate block (which is enabled in stage 3), and that's where the trouble resides - second "Rotation complete" signal never comes on (while during the first rotation it does exactly what I want it to). I am just simulating at this moment, so the block is empty except for a timer that sets the "Rotation complete" bit 1 second after the block is enabled.
I am monitoring all the relevant coils and can see only one changing - the bit enabling servo block toggles constantly, at a rate that doesn't correspond to timer values. When I look at the contacts on the rung that enables the BCALL, I see no change at all - the block should be on until timer sets the "Rotation complete", which in turn causes the stage to go back to Stage 1.
What am I doing wrong?
I am struggling all day to understand the strange behaviour I observe, hope that someone here can help.
I have a rotating table with two sets of clamps on both sides.
Stage 1 waits for "Clamp 1" button, stage 2 clamps c1 and waits for "Clamp 2", stage 3 clamps c2, sends "Rotate table" signal and waits for "Rotation complete" response from servo, then jumps back to stage 1. Rotation and control take place in a separate block (which is enabled in stage 3), and that's where the trouble resides - second "Rotation complete" signal never comes on (while during the first rotation it does exactly what I want it to). I am just simulating at this moment, so the block is empty except for a timer that sets the "Rotation complete" bit 1 second after the block is enabled.
I am monitoring all the relevant coils and can see only one changing - the bit enabling servo block toggles constantly, at a rate that doesn't correspond to timer values. When I look at the contacts on the rung that enables the BCALL, I see no change at all - the block should be on until timer sets the "Rotation complete", which in turn causes the stage to go back to Stage 1.
What am I doing wrong?