u/Jacunia

▲ 3 r/PLC

Hi,

I'm facing a small logic issue in a Ladder routine in Studio 5000, and I can't find the explanation for why it behaves this way.

https://preview.redd.it/j2rnwrzrhpzg1.png?width=945&format=png&auto=webp&s=9a02d3d1f9c66874d513f101276129bd299e72ca

Why PackMLStatus_Alarm.Sts_Resetting_SC is not active? Because of this, my PackML module does not transition into the Idle state.

The strange thing as well is that this does not happen every time I reset the machine. Around 2 out of 3 times, it works correctly.

Cross references:

https://preview.redd.it/ec922bcaipzg1.png?width=945&format=png&auto=webp&s=a799ea1f4339d7e0696afa12a8c7284f12b70f77

This reference to AOI_PackML_Module_Init looks like this:

https://preview.redd.it/uruy0f9kipzg1.png?width=945&format=png&auto=webp&s=46109af271f926832e4c03df6817137f9ba43a2d

And AOI inside:

https://preview.redd.it/de573f3lipzg1.png?width=945&format=png&auto=webp&s=64fd2f2cc1cd35658ade1fc2ca7f1c0a73557dc1

I've also checked and PackML_UN00.Stopped is not getting active during Resetting step.

I don't have anymore ideas, what could be the reason.

For any advices I will be very grateful.

reddit.com
u/Jacunia — 16 days ago