Conveyor_Modulo function block inputs

The "Conveyor_Modulo" machine module is used for transporting products at a certain speed. The conveyor belt follows the state machine of the master.

xEnable

The xEnable input must be set to TRUE to activate the FB.

xActivateSimulation

The xActivateSimulation input is used to simulate the axes connected to the machine module. Use this function during startup or software development. If the machine module is used on a real machine, set the xActivateSimulation input to FALSE.

xAcknowledge

The xAcknowledge input is set to TRUE with the xResetError variable. Using this variable, you can reset errors in all machine modules via the monitor of the MasterStateMachine.

xJogPlus

The xJogPlus input activates Jog_CW.

xJogMinus

The xJogMinus input activates Jog_CCW.

lrSpeed

The setpoint speed is set via the lrSpeed input. This input can also be assigned to a process data word of the higher-level controller or to the corresponding PackML command.

lrJogSpeed

The lrJogSpeed input is used to set the setpoint speed for maintenance mode.

lrAccDec

The lrAccDec input is used to set the ramp time.

lrJerk

The lrJerk input is used to set the jerk.

stExtMonitor

If this input is not used, it remains unassigned. This function is then not available.

stExtMonitor is the structure with all relevant data for the external HMI. The same structure can be used for an external monitor. If the inputs are used directly at FB_Master_StateMachine_Internal, these values are copied to a third structure of the same type. This has the advantage that the machine module program always works with the internal _stFB.

interface_Axis

The axis interfaces are assigned via interface_Conveyor_Modulo.