Hello
I have encountered a problem when trying to convert an AXC3050 PLC program to AXC F2152.
The sittuation is as follows:
working.PNGnot_working.PNG
1. Make first rung true - uint#1 goes to var test.
2. Make second rung true - uint#2 goes to var test
3. In the above screen, I want to assign an uint#1 to a variable when rung 1 is true, and to assign uint#2 to the same variable when rung 2 is true. (note that the truth condition of the rungs is mutual exclusive).
The problem comes when i try to formulate the “problem” as per the screen below:
When I cold start the controller, and execute the program:
Make first rung true - uint#1 goes to var test.
4. Make second rung true - uint#2 goes to var test.
5. Make first rung true again, the test var never changes, no matter what.
I tried making both rungs false and forcing another value to var test but in vain…
Of course, i could choose the first formulation and get done with this, but the program is more complex, and i would like to know, is there some sort of limitation in using coils over ENO of the blocks? Is it a bug? Has anyone encountered this behaviour?
As of record, I am new to PLC Next Engineer and do not know the limitations of this controllers.
The hardware I am using is an AXC F2152, fw 2022.6.0 (22.6.0.43), hw rev 04, FPGA v 1.1.80
Please if anyone encountered the same problem post a reply, or if any of you know what might be the problem.
I don’t want to rewrite hundreds of lines, only to find out it will not work.
Thank you!