Todd Dice (Customer) asked a question.

Some guidance with memory in a P1-412 CPU

I developed a product using the P1-540 CPU, and I'm attempting going with the P1-412 as its reduced width is very appealing, as I'm continually asked by the sales department, "can we make product X smaller?"

 

Anyway, there is approximately 350 rungs and some are complex, meaning I can have a rung 30, 30.1, 30.2, etc. to combine CPD instructions triggered by a few boolean inputs. Another is I have 24 drum instructions, and finally 150 recipes.

 

I've deleted every non-used tag from memory & UDS's, and the only way I can get the software to not warn me about going over the retentive memory limit is reducing the recipe count to 10.

 

What steps do I need to take to reduce memory usage so I can have 50 recipes?

 

I know from prior experience with Click and their 8000-word limit, reducing branches saved memory, so is this one of the paths I need to take?

 

I really like the P1-412, but running out of memory on a simple project like this is disappointing.


  • z28z34man (Customer)

    I haven't played with it yet but i think the file control instructions could work. You should be able to save the recipies to an SD card and load them from the SD card.

  • PouchesInc (Customer)

    I doubt you will be able to fix it. Remember the 412 is extremely cut down, and has 27kb of retentive memory space compared to the entire rest of the Productivity CPU line's 500-512kb.

    • Todd Dice (Customer)

      I think you're right. Have wonder what audience was asking for a "PAC" with such puny retentive memory? Maybe its strength is being an Ethernet/IP adapter?