Channel parameters

P-CHAN-00406

Activating real-time cycles

Description

This parameter enables the real-time cycle function in the NC channel.

The controller must be restarted to adopt the change.

Example:

configuration.rt_cycles.enable 1

Parameter

configuration.rt_cycles.enable

Data type

BOOLEAN

Data range

0/1

Dimension

----

Default value

0

Remarks

This parameter is available as of CNC Build V3.1.3107.10 or higher.

Use of the parameter “rt_cycles.enable“

rt_cycles.enable 1

(as of V3.1.3105) continues to be supported.

P-CHAN-00407

Memory size for real-time cycles

Description

This parameter defines the size of the memory for real-time cycles. The size of the memory is specified in bytes.

The controller must be restarted to adopt the change. Then the specified memory is also available for real-time cycles.

Example:

configuration.rt_cycles.memory 60000

Parameter

configuration.rt_cycles.memory

Data type

UNS32

Data range

0 ... MAX(UNS32) - 1

Dimension

----

Default value

48000

Remarks

Note:

The assignment of P-CHAN-00407 is only necessary if the memory set by default is no longer sufficient due to activation of the real-time cycles (P-CHAN-00406).

 

This parameter is available as of CNC Build V3.1.3107.10 or higher.

Use of the parameter “rt_cycles.memory“

rt_cycles.memory 60000

(as of V3.1.3105) continues to be supported.

P-CHAN-00424

Memory size for V.CH. variables

Description

This parameter defines the size of the memory in bytes for V.CH. variables.

Example:

configuration.decoder.v_ch_memory 10000

Parameter

configuration.decoder.v_ch_memory

Data type

UNS32

Data range

0 ... MAX(UNS32) - 1

Dimension

Byte

Default value

0

Remarks

The memory contains application data and internal management data. This means that the actually available user memory is always smaller than the set value.

This parameter is available as of Version V3.1.3107.10.

Direct use of the parameter “v_ch_memory“ without any structure (as of V3.1.3104) is still supported but should no longer be used in new applications.

v_ch_memory 10000

P-CHAN-00425

Max. execution time of realtime cycles per CNC cycle

Description

This parameter defines the maximum execution time of realtime cycles in the NC channel. The parameter is specified in percent (%) and refers to the length of the CNC cycle.

Example:

If the realtime task of the CNC is clocked at 2ms and parameter P-CHAN-00425 is 75, the realtime cycles may require a total execution time of maximum 1.5ms. If this time is exceeded, error ID 50939 is output.

Parameter

rt_cycles.max_duration

Data type

UNS16

Data range

0 < P-CHAN-00425 < MAX_UNS16

Dimension

%

Default value

75

Remarks

The user has no restrictions regarding the number of instructions within a realtime cycle.

Realtime timeouts will occur if realtime cycles contain too many instructions and cannot be executed in one CNC cycle,

 

The parameters P-CHAN-00426 and P-CHAN-00427 represent a safety mechanism to prevent such realtime timeouts as early as possible.

P-CHAN-00426

Number of elementary instructions for time check

Description

This parameter defines the number of elementary instructions after which another time check is executed.

 

A check for the execution time of realtime cycles must be made within a CNC cycle to see whether the permitted execution time is already exceeded. This takes place by checking the expired time after a specific number of elementary instructions in a cycle. Parameter P-CHAN-00426 indicates the number of these elementary instructions.

Parameter

rt_cycles.cont_steps

Data type

UNS32

Data range

0 < P-CHAN-00426 < MAX_UNS32

Dimension

----

Default value

100

Remarks

The user has no restrictions regarding the number of instructions within a realtime cycle.

Realtime timeouts will occur if realtime cycles contain too many instructions and cannot be executed in one CNC cycle,

 

The parameters P-CHAN-00425 and P-CHAN-00427 represent a safety mechanism to prevent such realtime timeouts as early as possible.

P-CHAN-00427

Max. number of elementary instructions per CNC cycle

Description

This parameter defines the maximum number of elementary instructions per CNC cycle.

P-CHAN-00427 as well as P-CHAN-00425 and P-CHAN-00426 can limit the execution time in realtime cycles in the CNC cycle.

 

If the number of elementary instructions in the current CNC cycle exceeds the value of this parameter, error ID 50854 is output.

Parameter

rt_cycles.max_steps

Data type

UNS32

Data range

0 < P-CHAN-00427 < MAX_UNS32

Dimension

----

Default value

MAX_UNS32 - 1

Remarks

The user has no restrictions regarding the number of instructions within a realtime cycle.

Realtime timeouts will occur if realtime cycles contain too many instructions and cannot be executed in one CNC cycle,

 

The parameters P-CHAN-00425 and P-CHAN-00426 represent a safety mechanism to prevent such realtime timeouts as early as possible.

P-CHAN-00480

Max. number of actions in a real-time cycle

Description

This parameter defines the maximum number of possible actions within a real-time cycle.

Possible actions include single-axis movement, spindle command, etc.

If too many actions are commanded within a real-time cycle, error ID 51028 is output.

Parameter

configuration.rt_cycles.buffers

Data type

UNS16

Data range

0 ... MAX(UNS16) - 1

Dimension

----

Default value

5

Remarks

The parameter is available as of V3.1.3107.10