警告

これは、古いバージョンのドキュメントです。 最新の情報をご覧になりたい場合は、次をご覧ください。 2024.12 .

Function blocks description

FB_Execute_Sequence

Inputs and Outputs description

This function block can be used to trigger the execution of a vibration sequence. This function block also allows to turn ON or OFF the backlight of the Asycube. One instance of this block is used per Asycube.

../../../_images/FB_Execute_sequence_ethercat.png

図 168 FB_Execute_Sequence

表 35 Inputs

Variable

Type

説明

boStartPIN

Boolean

A rising edge starts the sequence.

boStopPIN

Boolean

A rising edge stops the sequence.

If the system is in Error state, a rising edge clears the error.

inSeqIDPIN

Integer

Vibration ID (0..25)

inVibrationSetPIN

Integer

Vibration recipe ID (1..26)

inNbPartsPIN

Integer

Number of remaining parts currently on the Asycube.

inNbPartsMaxPIN

Integer

Desired number of parts that you want on the Asycube.

inXPosPIN

Integer

X Coordinate of the center of mass of the remaining parts (-100..100).

Corresponds to 100x the values described in the coordinate system for the center of mass.

inYPosPIN

Integer

Y Coordinate of the center of mass of the remaining parts (-100..100).

Corresponds to 100x the values described in the coordinate system for the center of mass.

boBacklightPIN

Boolean

Turns ON and OFF the backlight

regAsycubeWritePIO

Struct

This input must be linked to the GVL structure containing the write registers. (see Plugin installation and configuration to import the structure)

regAsycubeReadPIO

Struct

This input must be linked to the GVL structure containing the read registers. (see Plugin installation and configuration to import the structure)

表 36 Outputs

Variable

Type

説明

woStatePOU

Word

State : 0 = Idle, 1 = Running, 2 = Stopping, 10 = Error

boDonePOU

Boolean

A rising edge indicates the end of the sequence

boBacklightStatePOU

Boolean

State: TRUE = backlight ON, FALSE = Backlight OFF

tiRemainingTimePOU

Time

Remaining time of the sequence

boErrorPOU

Boolean

Goes to TRUE if an error occurred on the block

inErrorIDPOU

Integer

Error ID (See Error List)

stErrorNamePOU

String

Error Description (See Error List)

Error List

表 37 FB_Execute_Sequence - Error List

ID

Cause

Resolution

700

Transition error

Input that was activated is not allowed in the current state.

Only use command when you are in the correct state.

701

Modbus error

Refer to 主な Modbus 例外コード

702

Internal Modbus error

Refer to ホールディング・レジスタ:エラーコード

703

Warning

Refer to アジキューブの警告とアラーム

704

アラーム

Refer to アジキューブの警告とアラーム

705

Gateway disconnected from PLC

Communication problem on the EtherCAT segment

Check the cable between gateway and PLC

706

Asycube disconnected from gateway

Communication problem on the Modbus TCP segment

Check the cable between gateway and Asycube

707

Time out

Connection was lost with the Asycube

Check the cables. Check that the Asycube is supplied. Check the Gateway state.

708

Wrong parameter

Wrong input parameter

Correct the wrong input parameter.

709

-

該当なし

-

FB_Execute_Platform_Vibration

This function block is used to execute a single platform vibration. Standard vibration or centering vibration can be triggered using this block.

Inputs and Outputs description

../../../_images/FB_Execute_platform_vibration_ethercat.png

図 169 FB_Execute_Platform_Vibration

表 38 Inputs

Variable

Type

説明

inSelectModePIN

Integer

Mode: 0 = Standard Vibration, 1 = Centering vibration

boStartPIN

Boolean

A rising edge starts the vibration.

boStopPIN

Boolean

A rising edge stops the vibration.

If the system is in "Error" state, a rising edge clears the error.

inVibrationIDPIN

Integer

Vibration ID (0..25)

inVibrationSetPIN

Integer

Vibration recipe ID (1..26)

inXPosPIN

Integer

X Coordinate of the center of mass of the remaining parts (-100..100).

Corresponds to 100x the values described in the coordinate system for the center of mass.

Only if Mode = 1.

inYPosPIN

Integer

Y Coordinate of the center of mass of the remaining parts (-100..100).

Corresponds to 100x the values described in the coordinate system for the center of mass.

Only if Mode = 1.

tiDurationPIN

Time

Duration of vibration (0 = unlimited). Only if Mode = 0

表 39 Outputs

Variable

Type

説明

woStatePOU

Word

State : 0 = Idle, 1 = Running, 2 = Stopping, 10 = Error

boDonePOU

Boolean

A rising edge indicates the end of the sequence

tiRemainingTimePOU

Time

Remaining time of the vibration.

boErrorPOU

Boolean

Goes to TRUE if an error occurred on the block

inErrorIDPOU

Integer

Error ID (See Error List)

stErrorNamePOU

String

Error Description (See Error List)

表 40 Inputs/Outputs

Variable

Type

説明

regAsycubeWritePIO

Struct

This input must be linked to the GVL structure containing the write registers (See Plugin installation and configuration to import the structure)

regAsycubeReadPIO

Struct

This input must be linked to the GVL structure containing the read registers (See Plugin installation and configuration to import the structure)

Error List

表 41 FB_Execute_Platform_Vibration - Error List.

ID

Cause

Resolution

710

Transition error

Input that was activated is not allowed in the current state.

Only use command when you are in the correct state.

711

Modbus error

Refer to 主な Modbus 例外コード

712

Internal Modbus error

Refer to ホールディング・レジスタ:エラーコード

713

Warning

Refer to アジキューブの警告とアラーム

714

アラーム

Refer to アジキューブの警告とアラーム

715

Gateway disconnected from PLC

Communication problem on the EtherCAT segment

Check the cable between gateway and PLC

716

Asycube disconnected from gateway

Communication problem on the Modbus TCP segment

Check the cable between gateway and Asycube

717

Time out

Connection was lost with the Asycube

Check the cables. Check that the Asycube is supplied. Check the Gateway state.

718

Wrong parameter

Wrong input parameter

Correct the wrong input parameter.

719

-

該当なし

-

FB_Execute_Hopper_Vibration

This function block is used to execute a single hopper vibration. Standard vibration or Quantity Adjusted vibration can be triggered using this block.

Inputs and Outputs description

../../../_images/FB_Execute_hopper_vibration_ethercat.png

図 170 FB_Execute_Hopper_Vibration

表 42 Inputs

Variable

Type

説明

inSelectModePIN

Integer

Mode: 0 = Standard Vibration, 1 = Centering vibration

boStartPIN

Boolean

A rising edge starts the vibration.

boStopPIN

Boolean

A rising edge stops the vibration.

If the system is in Error state, a rising edge clears the error.

inVibrationIDPIN

Integer

Vibration ID (0..25)

inVibrationSetPIN

Integer

Vibration recipe ID (1..26)

inNbPartsPIN

Integer

Number of remaining parts currently on the Asycube. Only if Mode = 1

inNbPartsMaxPIN

Integer

Desired number of parts that you want on the Asycube. Only if Mode = 1.

tiDurationPIN

Time

Duration of vibration (0 = unlimited). Only if Mode = 0

表 43 Outputs

Variable

Type

説明

woStatePOU

Word

State : 0 = Idle, 1 = Running, 2 = Stopping, 10 = Error

boDonePOU

Boolean

A rising edge indicates the end of the sequence

tiRemainingTimePOU

Time

Remaining time of the sequence

boErrorPOU

Boolean

Goes to TRUE if an error occurred on the block

inErrorIDPOU

Integer

Error ID (See Error List)

stErrorNamePOU

String

Error Description (See Error List)

表 44 Inputs/Outputs

Variable

Type

説明

regAsycubeWritePIO

Struct

This input must be linked to the GVL structure containing the write registers (See Plugin installation and configuration to import the structure)

regAsycubeReadPIO

Struct

This input must be linked to the GVL structure containing the read registers (See Plugin installation and configuration to import the structure)

Error List

表 45 FB_Execute_Platform_Vibration - Error List.

ID

Cause

Resolution

720

Transition error

Input that was activated is not allowed in the current state.

Only use command when you are in the correct state.

721

Modbus error

Refer to 主な Modbus 例外コード

722

Internal Modbus error

Refer to ホールディング・レジスタ:エラーコード

723

Warning

Refer to アジキューブの警告とアラーム

724

アラーム

Refer to アジキューブの警告とアラーム

725

Gateway disconnected from PLC

Communication problem on the EtherCAT segment

Check the cable between gateway and PLC

726

Asycube disconnected from gateway

Communication problem on the Modbus TCP segment

Check the cable between gateway and Asycube

727

Time out

Connection was lost with the Asycube

Check the cables. Check that the Asycube is supplied. Check the Gateway state.

728

Wrong parameter

Wrong input parameter

Correct the wrong input parameter.

729

-

該当なし

-

FB_Backlight

This function block is used to control the backlight. Backlight can be controlled in continuous or in flash mode.

Inputs and Outputs description

../../../_images/FB_Backlight_ethercat.png

図 171 FB_Backlight

表 46 Inputs

Variable

Type

説明

boLightONPIN

Boolean

A rising edge turns ON the backlight

boLightOFFPIN

Boolean

A rising edge turns OFF the backlight.

If the system is in Error state, a rising edge clears the error.

tiDurationPIN

Time

Duration of the backlight. If 0, backlight turns OFF only if boLightOFFPIN is activated.

表 47 Outputs

Variable

Type

説明

woStatePOU

Word

State: 0 = IDLE, 1 = Running, 2 = Stopping, 10 = Error

tiRemainingTimePOU

Time

Remaining time of backlight. If tiDurationPIN ≠ 0.

boErrorPOU

Boolean

Goes to TRUE if an error occurred on the block

inErrorIDPOU

Word [Signed]

Error ID (See Error List)

stErrorNamePOU

String

Error Description

表 48 Inputs/Outputs

Variable

Type

説明

regAsycubeWritePIO

Struct

This input must be linked to the GVL structure containing the write registers (See Plugin installation and configuration to import the structure)

regAsycubeReadPIO

Struct

This input must be linked to the GVL structure containing the read registers (See Plugin installation and configuration to import the structure)

Error List

表 49 FB_Execute_Platform_Vibration – Error List.

ID

Cause

Resolution

730

Transition error

Input that was activated is not allowed in the current state.

Only use command when you are in the correct state.

731

Modbus error

Refer to 主な Modbus 例外コード

732

Internal Modbus error

Refer to ホールディング・レジスタ:エラーコード

733

Warning

Refer to アジキューブの警告とアラーム

734

アラーム

Refer to アジキューブの警告とアラーム

735

Gateway disconnected from PLC

Communication problem on the EtherCAT segment

Check the cable between gateway and PLC

736

Asycube disconnected from gateway

Communication problem on the Modbus TCP segment

Check the cable between gateway and Asycube

737

Time out

Connection was lost with the Asycube

Check the cables.

Check that the Asycube is supplied.

Check the Gateway state.

738

Wrong parameter

Wrong input parameter

Correct the wrong input parameter.

739

-

該当なし

-