Eric01234
Member
Hi all. (this is no homework)
For a couple of day I've been practicing on a Mitshi plc. All went fine including data registers etc until I tried the "for next" command. I wrote 2 very simple loops each to start with the same input say X0 for a k of 5. I would have thought that the first loop needs to be run 5x before the second loop starts. But instead both loops are running at the same time.
Where do I go wrong?
For a couple of day I've been practicing on a Mitshi plc. All went fine including data registers etc until I tried the "for next" command. I wrote 2 very simple loops each to start with the same input say X0 for a k of 5. I would have thought that the first loop needs to be run 5x before the second loop starts. But instead both loops are running at the same time.
Where do I go wrong?