Download PNC CPL Programming Manual
Transcript
4–56 System Functions Function supplies / refresh1) <buffer> is of type 2) Syntax / description Channel operation mode Integer MCODS(31,<channel>,<version>,<buffer>,1) E Supplies in <buffer> the operation mode active in <channel>: 0 1 2 No operation mode and therefore no process is active. Jog mode. Axes can be jogged (+/–) Traverse to reference point. Axes can be started with the signals manual+ / manual–. 3 Reserved. 4 Manual data input. Individual NC blocks can be specified for machining. 5 Automatic. Part programs are completely executed. 6 Automatic (program block). Individual blocks of a part program are executed one after the other. Each individual block is prepared and started with cycle start. 7 Automatic (single step). From an individual NC block in the part program the NC may generate and process several blocks. In this operation mode cycle start always passes an individual block on to the interpolator for machining. 8 Reserved. 9 Reserved. 10 Automatic (single block). With cycle start all blocks generated and prepared on the basis of a single NC block in the part program are forwarded to the interpolator for machining. 11 Return to path. Axes can be removed manually from the contour and automatically or manually returned to it. 12: CPL debugger (program block operation): Single blocks are executed as they are specified in the part program. 13: CPL debugger (automatic operation): All blocks up to the next breakpoint are executed. 1) Data which the control unit provides cyclically are identified with ”Z”. Data available after each switching of blocks are identified with ”S”. Data which appear in irregular periods after a change are identified with an ”E”. Data which appear immediately when called for are identified with an ”I”. Data which never change (they only need to be called for once) are identified with ”R”. 2) Gives the variable type (integer, real, double, character) needed for <buffer>. If not a simple variable but a field variable is needed the variable type is followed by ”array”. 1070 073 740-111 (02.11) GB