警告

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

Add-on instructions description

AO_Execute_Sequence

Inputs and Outputs description

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

../../../_images/AO_Execute_sequence.png

図 189 AO_Execute_Sequence

表 53 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

boGatewayConnectionFaultPIN

Boolean

Connection fault status of the gateway.

表 54 Outputs

Variable

Type

説明

inStatePOU

Integer

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

diRemainingTimePOU

Double Integer

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)

表 55 Inputs/Outputs

Variable

Type

説明

regAsycubeWritePIO

Integer[0..33]

This input must be linked to the GVL structure containing the write registers

(See Plugin installation and configuration to import the structure)

regAsycubeReadPIO

Integer[0..33]

This input must be linked to the GVL structure containing the read registers

(See Plugin installation and configuration to import the structure)

Error List

表 56 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 Ethernet/IP 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

-

該当なし

-

AO_Execute_Platform_Vibration

This Add-On instruction is used to execute a single platform vibration. Standard vibration or centering vibration can be triggered using this instruction.

Inputs and Outputs description

../../../_images/AO_Execute_platform_vibration.png

図 190 AO_Execute_Platform_Vibration

表 57 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.

diDurationPIN

Double Integer

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

boGatewayConnectionFaultPIN

Boolean

Connection fault status of the gateway

表 58 Outputs

Variable

Type

説明

inStatePOU

Integer

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

boDonePOU

Boolean

A rising edge indicates the end of the sequence

diRemainingTimePOU

Double Integer

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)

表 59 Inputs/Outputs

Variable

Type

説明

regAsycubeWritePIO

Integer[0..33]

This input must be linked to the GVL structure containing the write registers

(See Plugin installation and configuration to import the structure)

regAsycubeReadPIO

Integer[0..33]

This input must be linked to the GVL structure containing the read registers

(See Plugin installation and configuration to import the structure)

Error List

表 60 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 Ethernet/IP 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

-

該当なし

-

AO_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/AO_Execute_hopper_vibration.png

図 191 AO_Execute_Hopper_Vibration

表 61 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.

diDurationPIN

Double Integer

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

boGatewayConnectionFaultPIN

Boolean

Connection fault status of the gateway

表 62 Outputs

Variable

Type

説明

inStatePOU

Integer

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

boDonePOU

Boolean

A rising edge indicates the end of the vibration.

diRemainingTimePOU

Double Integer

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)

表 63 Inputs/Outputs

Variable

Type

説明

regAsycubeWritePIO

Integer[0..33]

This input must be linked to the GVL structure containing the write registers

(See Plugin installation and configuration to import the structure)

regAsycubeReadPIO

Integer[0..33]

This input must be linked to the GVL structure containing the read registers

(See Plugin installation and configuration to import the structure)

Error List

表 64 AO_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 Ethernet/IP 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 Add-On instruction is used to control the backlight. Backlight can be controlled in continuous or in flash mode.

Inputs and Outputs description

../../../_images/AO_Backlight.png

図 192 AO_Backlight

表 65 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.

diDurationPIN

Double Integer

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

boGatewayConnectionFaultPIN

Boolean

Connection fault status of the gateway.

表 66 Outputs

Variable

Type

説明

inStatePOU

Word

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

tiRemainingTimePOU

Double Integer

Remaining time of backlight. If tiDurationPIN ≠ 0.

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)

表 67 Inputs/Outputs

Variable

Type

説明

regAsycubeWritePIO

Integer[0..33]

This input must be linked to the GVL structure containing the write registers

(See Plugin installation and configuration to import the structure)

regAsycubeReadPIO

Integer[0..33]

This input must be linked to the GVL structure containing the read registers

(See Plugin installation and configuration to import the structure)

Error List

表 68 AO_Backlight - 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 Ethernet/IP 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.

739

-

該当なし

-