Search the Community
Showing results for tags 'Mitsibishi A171SHCPUN'.
Found 2 results
Hello Everyone, I am writing one logic and need some help regarding that logic. CURRENT LOGIC - -There are two timers TON_1 and TON_2. -TON_1 timer will start as soon as PLC turns on. -After the done bit of TON_1 timer, the TON_2 timer goes on. -After the done bit of TON_2 timer, again the TON_1 timer will start. -This logic cycle will run continuously, both timers will run turn by turn. Code (Codesys/Schneider Eco Structure Machine Expert)- PROGRAM POU_1 VAR TON_1: TON; TON_2: TON; END_VAR TON_1(IN:=(NOT(TON_2.Q)) , PT:= T#100S); TON_2(IN:=(TON_1.Q) AND (NOT(TON_2.Q)) , PT:= T#20S); Actual Requirement - -There is a BOOL tag. -If the BOOL tag gets high during the TON_1 running, the logic should move to the TON_2 immediately. -If the BOOL tag does not get high during the TON_1 running, the logic should move to the TON_2 after completion of TON_1. -after the completion of TON_2, again restart TON_1. -Logic Runs continuously in a cyclic mode. Give me your valuable idea to fulfill the logic requirement.
Hello all, I got a problem here with Mitsibishi A171SHCPUN, Our molding machines were with NO energy along 8 months, we turned machines ON and we saw backup batteries was empty and program was gone, PLC shows error led ON, I connected using GX Developer to download program from a similar machine with similar PLC but error led still ON all the time, even if PLC is in stop position error led is ON. I read in this forum a similar problem regarding A171SHCPUN with no outputs signal enabled. This is similar because my PLCs don't show signal in output ports. In the forum they talk about load operative system into PLC. How Can a loa operative system into A171SHCPUN??? What kind of interface I should use???