Display data

The structure gpCh[channel_idx]^.bahn_state.conveyor_data supplies the state signals for this functionality via the HLI.

The variables current_pos_master, current_v_master, current_a_master indicate the unfiltered position, velocity and acceleration values for the linear conveyor with the logical axis number log_master_axis_nr.

The variables pos_master_comp, v_master_comp, a_master_comp indicate the filtered values.

Logical axis number of the linear conveyor

Description

Indicates the logical axis number of the linear conveyor.

Signal flow

CNC → PLC

ST path

gpCh[channel_idx]^.bahn_state.conveyor_data.log_master_axis_nr

Data type

UINT

Unit

[-]

Value range

[1, MAX_UNS16]

Access

PLC is reading

Special feature

Available as of CNC Build V4.20.0

Current unfiltered actual position of the workpiece in the currently selected PCS coordinate system

Description

This variable indicates the unfiltered actual position of the workpiece in the currently selected PCS coordinate system. This variable is only valid after a measured value is received for the current workpiece. The variable considers the measured value as well as the offset of the measuring system by the configured T0 coordinate system.

Signal flow

CNC → PLC

ST path

gpCh[channel_idx]^.bahn_state.conveyor_data.current_pos_master

Data type

DINT

Unit

[0.1 µm]

Value range

[MIN_SGN32, MAX_SGN32]

Access

PLC is reading

Special feature

Available as of CNC Build V4.20.0

Current unfiltered actual velocity of the linear conveyor

Description

This variable indicates the unfiltered actual velocity of the linear conveyor.

Signal flow

CNC → PLC

ST path

gpCh[channel_idx]^.bahn_state.conveyor_data.current_v_master

Data type

DINT

Unit

[0.1 µm/s]

Value range

[MIN_SGN32, MAX_SGN32]

Access

PLC is reading

Special feature

Available as of CNC Build V4.20.0

Current unfiltered actual acceleration of the linear conveyor

Description

This variable indicates the unfiltered actual acceleration of the linear conveyor.

Signal flow

CNC → PLC

ST path

gpCh[channel_idx]^.bahn_state.conveyor_data.current_a_master

Data type

DINT

Unit

[0.1 µm/s²]

Value range

[MIN_SGN32, MAX_SGN32]

Access

PLC is reading

Special feature

Available as of CNC Build V4.20.0

Current filtered actual position of the workpiece in the currently selected PCS coordinate system

Description

This variable indicates the filtered actual position of the workpiece in the currently selected PCS coordinate system. This variable is only valid after a measured value is received for the current workpiece. The variable considers the measured value as well as the offset of the measuring system by the configured T0 coordinate system.

Signal flow

CNC → PLC

ST path

gpCh[channel_idx]^.bahn_state.conveyor_data.pos_master_comp

Data type

DINT

Unit

[0.1 µm]

Value range

[MIN_SGN32, MAX_SGN32]

Access

PLC is reading

Special feature

Available as of CNC Build V4.20.0

Current filtered actual velocity of the linear conveyor.

Description

This variable indicates the filtered actual velocity of the linear conveyor.

Signal flow

CNC → PLC

ST path

gpCh[channel_idx]^.bahn_state.conveyor_data.v_master_comp

Data type

DINT

Unit

[0.1 µm/s]

Value range

[MIN_SGN32, MAX_SGN32]

Access

PLC is reading

Special feature

Available as of CNC Build V4.20.0

Current filtered actual acceleration of the linear conveyor

Description

This variable indicates the filtered actual acceleration of the linear conveyor.

Signal flow

CNC → PLC

ST path

gpCh[channel_idx]^.bahn_state.conveyor_data.a_master_comp

Data type

DINT

Unit

[0.1 µm/s²]

Value range

[MIN_SGN32, MAX_SGN32]

Access

PLC is reading

Special feature

Available as of CNC Build V4.20.0

Position difference: Actual position of the conveyor and machine position.

Description

If programmed correctly (see section Synchronising the workpiece on the linear conveyor), the variable indicates the current difference between the actual position of the machine axis and the feedforward controlled actual position of the workpiece.

When synchronisation is ideal, the position difference should be zero. However, deviations may result from delays on the control section or an inconstant velocity signal.

These variable is used to determine the deviation and therefore the delay time between the latch moment of the linear conveyor actual values and generating the command value for the machine axis.

The delay time is parameterised by the parameter conv_sync.delay_time (P-AXIS-00626).

 

If this variable has an average value unequal to zero, set the delay time as follows:

- synchro_lag > 0 -> delay_time set too high

- synchro_lag > 0 -> delay_time set too low

Signal flow

CNC → PLC

ST path

gpCh[channel_idx]^.bahn_state.conveyor_data.synchro_lag

Data type

DINT

Unit

[0.1 µm]

Value range

[MIN_SGN32, MAX_SGN32]

Access

PLC is reading

Special feature

Available as of CNC Build V4.20.0