# M and H technology functions

Technology functions can be output from the realtime cycle. The following rules then apply:

- Only channel-specific technology functions can be output but not axis-specific technology functions.
- Only technology functions defined in the channel parameters can be output. All others result in an error.
- All technology functions are output as MOS (without synchronisation), irrespective of the configured synchronisation type.

Realtime technology functions are output in a newly created section of the HLI and not in the section of classic technology functions. On the HLI, they are provided with the new identifier POS_RT.

Realtime technology functions are output on the HLI in the same CNC cycle in which they are commanded. The system does not wait for free resources. An error is output if realtime technology functions cannot be output in the correct cycle, e.g. because the HLI is assigned. Realtime technology functions are created on the HLI in the sequence in which they are commanded by realtime cycles. They are numbered consecutively within a cycle and time-stamped.

The user must ensure the following points to ensure that they function:

- The PLC must have a task in the CNC cycle to read realtime technology functions.
- The PLC must acknowledge a sufficient number of realtime technology functions in every cycle in order to create sufficient space on the HLI for realtime technology functions of the next CNC cycle.

## Programing Example

Output of technology functions

; Move X axis to 0mm

G00 X0

; Define realtime cycle

#RT CYCLE [SCOPE = PROG]

; Query ACS position of X axis

$IF ONCE V.RTA.ACS.ACT_POS.X > 200

; Output M function

; M100 must be configured in the channel

; will still be output in this cycle

; will be output without synchronisation (MOS)

M100

$ENDIF

#RT CYCLE END

; Move X axis to 300mm

G00 X300

; End main program

M30