PMAC Product Guide CIRCLE2 Function : Set blended counterclockwise circular move mode Type : Motion program (PROG and ROT) Syntax : CIRCLE2 CIR2 The CIRCLE2 command puts the program into counterclockwise circular move mode. The plane for the circular interpolation is defined by the most recent NORMAL command which has also defined the sense of clockwise and counterclockwise in the plane. The program is taken out of this circular move mode by another move mode command: the other CIRCLE mode, LINEAR , PVT , RAPID etc. Any circular move command must have either an R or an IJK vector specification; otherwise it will be performed as a linear move even when in CIRCLE mode. Note:
PMAC must be in move segmentation mode (I13>0) in order to perform circular interpolation. If I13=0 (no move segmentation), the moves will be linearly interpolated. Examples: LINEAR ; Linear interpolation mode X10Y0 F2 ; Linear move CIRCLE2 ; Counterclockwise circular interpolation mode X20 Y10 J10 ; Arc of 10-unit radius X15 Y15 I-5 ; Arc of 5-unit radius CIRCLE1 ; Clockwise circle mode X5 Y25 J10 ; Arc move of 10-unit radius COMMAND"{command}" Function : Program command issuance Type : Motion program (PROG and ROT); PLC program Syntax : COMMAND "{command}" CMD "{command}" This statement causes the program to issue a command to PMAC as if it came from the host (except for addressing modes).
If there is a motor- or coordinate-system-specifier ( #n or &n ) within the quoted string, a motor- or coordinate-system-specific command will be directed to that motor or coordinate system. If there is no specifier, a motor- or coordinate-system-specific command will be directed to the first motor or coordinate system. Any specifier within a COMMAND statement is not modal; it does not affect the host addressing specifications or the modal addressing of any program, including its own. If I62=0, PMAC issues a carriage-return ( ) character automatically at the end of any data response to the command.
If I62=1, PMAC does not issue a character at the end of the data response; a SEND^M must be used to issue a in this case. Each PLC program has its own addressing mode for both motors and coordinate systems, independent of each other and independent of the host addressing modes. These are controlled by the PLC program ADDRESS command. This modal addressing affects commands issued from within a PLC program that do not have motor or coordinate-system specifiers. At power-up/reset, all PLC programs are addressing Motor 1 and Coordinate System 1. There is no modal ADDRESS command in motion programs.
Any motor-specific or coordinate-system- specific command issued from within a motion program without a specifier is addressed automatically to Motor 1 or Coordinate System 1, respectively. Buffer Commands 207