Closed yeu-degroot closed 4 months ago
In the current state, PosTable can run with 2 instances up to 20. However, running the code with 1 instance needs some modifications. Do we really want to do this ?
Indeed it doesn't make sense to set just one instance. Let's limit it to 2 to 20
.
This is about optimizing the source code of
McePosTable
.In
0.1.0-beta
, the program is quite large. There might be room for improvement:11/12/13
into a dynamic state11..19
, where everything scales by a global constantNR_OF_INSTANCES
This can be handled externally using the
nPosTableMode
andbWaitForStep
FOR
loops)Additional changes:
ACTIONID_WAIT_STEP
nCustomActionID
input so the user can mirror the currentnActionID
output number. So thebCustomeActionDone
refers to the rightnActionID
nAbortingMode
asSINT
for the user to choose between a controlled or an uncontrolled stop when resetting PosTablenPostableMode
tonMode
nMoveStep
tonInstanceNumber
QAmax
toQA_MAX
QA_MAX
valuebUserframeDone
andbToolDone
temporary variable to enable motion FBnPercentComplete
mappingio.nCustomeActionID
. CheckCustomActionDone
only ifnActionID < 20
2
innPostableMode = 2
by a constant namedPT_MODE_2