G4 – Dwell time in seconds

Temporally defined dwell time with defined duration in seconds and automatic program continuation. The dwell time must always be specified, i.e. it does not take effect modally. The command works in sets. Dwelling begins only when the previously programmed motion path has been run in its entirety. The program pointer does not switch on until the time has elapsed and therefore leads to an exact stop (even if the time is set to "0" seconds). The G-command must precede the parameter. Specifying the parameter is mandatory. The parameter identifier is freely selectable but must be present. An equal sign between the identifier and value is optional and is used to improve legibility. If a variable is used, the equal sign must be specified. When importing, note that the time specified in the G-code is converted into [s] and the time for the WAIT_TIME command is converted into milliseconds. The conversion is displayed as an expression in the SRL program (e.g. 0.8 s = 0.8 * 1000 ms). Besides specifying a constant value, a REAL variable can also be used. The value of the REAL variable is also interpreted in seconds.

Parameter:

  • Parameter name (a-z, A-Z)
  • Equal sign: "=" (optional, when using a constant numerical value)

Syntax: Observe Notation of the command syntax

G4 (a-z,A-Z)[=]<REAL>

G4 (a-z,A-Z) = <REAL Variable>

Example:

G4 F0.5

G4 F=0.5

G4 F=WaitTimeReal

Implementation in the SRL program:

WAIT_TIME (<REAL> * 1000 ) [ms]

or

WAIT_TIME (<REAL Variable> * 1000 ) [ms]

INFORMATION: The identifier WaitTimeReal is defined as a REAL variable.