Decimal points
From the manual:
G04 – Dwell
A dwell is simply a pause in the program. The duration of the dwell is specified by P or X in milliseconds with no decimal point. If a decimal point is used, then P or X specifies seconds. The dwell may also be specified with U without a decimal point for milliseconds. No machine movement will take place during a dwell. No auxiliary codes will be turned off, i.e. if the spindle is on it will stay on, coolant will stay on, etc.
The dwell must be the only G code in the block.
Format 1: G04 P__ Format 2: G04 X__ Format 3: G04 U__
Example: Program a 5 second dwell after positioning to X1.0, Z1.0 (using no decimal point to specify milliseconds).
G0 G54 G18 G40 G80 Safe start line
T0101
Tool change S2500 M3 Start spindle
G0 X1.0 Z1.0
Rapid to XZ position G4 P5000 Dwell for 5 seconds
M30
Program end and rewind
Example: Program a 5 second dwell after positioning to X1.0, Z1.0 (using decimal point to specify seconds). G0 G54 G18 G40 G80 Safe start line
T0101
Tool change S2500 M3 Start spindle
G0 X1.0 Z1.0
Rapid to XZ position G4 P5. Dwell for 5 seconds
M30
Program end and rewind