How to stop a flow immediately? [PickMaster 5]

Hi,

Can someone help me to understand how to correctly stop the flow immediately? I always?_T get the error ?_o112203 Wrong pick master error source value?__. I am not sure of wich bit should be ON. I try the entire bit ON because at point 1 of the PM book at page 237 is telling us to set the master work area and all is slave. In the controller properties of my project Infeeder1 is bit 1, outfeeder1 is bit 2, pallet is bit 3 and slipsheet is bit 4.

PM5 book:

Action

1 Set pmEvent_giErrorSource to select the flow’s master work area and all slave work

areas. See The Controller Properties window on page 64, on how to setup event signals

for the robot controller.

2 Pulse pmEvent_diTrigger to immediately generate an error on the flow and its work

areas.

3 Wait until the flow is in error state, which occurs when the flow’s status signal,

pmFlowX_goStatus, goes to 5.

So when I want to stop the flow because there is a problem during the movement whit the slipsheet which bit(s) should I but ON before trigging the pmEvent_giTrigger? And after for the recovery, can I do ?oredo last pick?_ or I have to do ?_oredo last layer?__?

To all PLC programmer: bit 1 means bit 0! Example, for a 16 bit word pickmaster name the bit 1 to 16 but a PLC programmer (like me!) neme it 0 to 15!!! :laughing:

So you solved that?

Yes is solve.

I was setting the wrong bit.

Just like I say in the controller properties of my project Infeeder1 is bit 1 and outfeeder1 is bit 2, so if I want to stop the infeeder1 immediately I was setting the second bit ON for the infeeder1 and the third bit ON for the outfeeder1 (for me the first bit is 0). Just like pmGripper1_goActivators the zone is 0 to 31 not 1 to 32.

So my opinion is (maybe I am wrong!) the choice of the bit in the controller properties of the project should be 0 to 7 not 1 to 8.