The G100
command invokes an internal PLC function that is selected via the Pp
parameter value.
Usually, arguments specified in the various functions are mandatory except those enclosed in curly brackets, e.g., [Bb]
.
Some functions can use an incremental order of passed values as: Aa
or Aa Bb
or Aa Bb Cc
and so on. In that case, the behavior is described in the function.
A list of available PLC functions:
Function | Arguments | Is Blocking | Function Description |
---|---|---|---|
P0 | NO |
Defines a programmed start/resume point (track). |
|
P1 | Aa Bb |
Go To a position. |
|
P2 | Aa Bb | YES |
Starts an axis-free movement. |
P3 | Aa Bb Cc Dd | YES |
Starts axis movement continuously from the point defined by |
P4 | Aa | NO |
Set plasma power. |
P5 | Aa[0|1]? [Bb] | YES |
Set plasma voltage. |
P6 | Aa Bb Cc Dd Ee Ff Hh [I[0|1|2]?] | YES |
Plasma Probing Z Position and Active Plasma with THC.
Normal Mode Operations Sequence |
P7 | A[0|1]? | NO |
THC comparator control state setting.
This instruction is used to enable or disable the THC comparator stage. |
P8 | A[1|2|3|11|12|13]? | NO |
Lube start request for axis and/or spindle.
|
P1000 | Aa Bb Cc Dd Ee Ff Hh Ii | YES |
Update Modbus shared area. |
Example 1: G100 P2
( © 2020 by RosettaCNC Motion ) G21 G40 G49 G90 G54 G50 G69 G101 P47 ; Axes X,Y,Z,A,C will be interpolated G0 X0 Y0 Z0 A45 C90 G101 P27 ; Axes X,Y,Z and C will be interpolated. A can be moved G100 P2 A4 B1000 ; Start axis A free forward rotation at 1000°/min G100 P2 A6 B-500 ; Start axis C free backward rotation at 500°/min G100 P2 A4 B0 ; Stop axis A free rotation G101 P47 ; Warning after this line A and C will be interpolated again and their position will be forced by the first motion command that is met. ; With the following command ; A will be moved to the last interpolated position that is 45 ; C will be moved to the last interpolated position that is 90. ; To prevent that you should specify explicitly the target positions of all the axes that were moved in non interpolated mode. G1 X10 ; ... M2
Example 2: G100 P1000
( © 2020 by RosettaCNC Motion ) G100 P1000 A10 ; Write value 10 for parameter A of Modbus shared area G100 P1000 A2 B3 C4 ; Write new values for parameters A, B, C G100 P1000 B3 A2 C4 ; This is equivalent to previous line: the order of arguments is irrelevant G100 P1000 B3 C4 ; This command does not work. Current implementation does not raise errors, but parameters will not be changed M2