Object Count

What are Firmware Object Counts?

The RMP firmware uses dynamic memory allocation for the objects required by your application. It is required that you set the ALL of the required object counts BEFORE creating RapidCode objects (Axis via AxisGet(), MultiAxis via MultiAxisGet(), etc.)
If you change any of the firmware object counts, you’ll need to recreate all your RapidCode objects. RapidSetup does this automatically and you’ll see it refresh if you change any of the object counts.

How to use Firmware Object Counts?

You’ll need to configure object counts before creating RapidCode objects.
Changing any of the object counts will invalidate any RapidCode objects that were previously created. Previous objects will be invalided if any of these RapidCode methods are called (with new/changed counts).
AxisCountSet(...); MotionCountSet(...); UserLimitCountSet(...); RecorderCountSet(...); RecorderBufferSizeSet(...); CompensatorCountSet(...); CompensatorPointCountSet(...); SequencerCountSet(...); AxisFrameBufferSizeSet(...);
A great way to set object counts is using the rsiconfig.exe utility described on this page: XML Configuration
Last modified 2yr ago