OP TIME ENGINE

From Macros Wiki
Jump to navigationJump to search

Up

Command

OP_TIME_ENGINE <options>


Use the operation time engine to calculate times and path length for an individual operation or the complete part. You must initialize the engine before using it (this make take a little time if there are a large number of operations).

Parameters

<option>
Option, this determines any additional parameters>


INIT no additional parameters. Use this first to initialize the engine.
FINISH no additional parameters. Close the engine, use this after you have all the data you require.


GET_OP_START_TIME <op number>
GET_OP_END_TIME <op number>
GET_OP_TOTAL_TIME <op number>
GET_OP_FEED_LEN <op number> <length> Get the length of all feed moves in an operation.
GET_OP_RAPID_LEN <op number> <length> Get the length of all rapid moves in an operation.


GET_PART_TIME
GET_PART_FEED_LEN <length> Get the total length of all feed moves in the part.
GET_PART_RAPID_LEN <length> Get the total length of all rapid moves in the part.

Example

OP_TIME_ENGINE INIT
OP_TIME_ENGINE GET_OP_START_TIME, 3, time3
OP_TIME_ENGINE GET_OP_FEED_LEN, 3, feed3
OP_TIME_ENGINE GET_PART_TIME, part_time
OP_TIME_ENGINE FINISH