Pin Description - StatisticDataStorage_2

Input Pin Description

Input

Data Type

Description

i_xEn

BOOL

TRUE: Enables the function block.

FALSE: Disables the function block.

Refer also to detailed description of i_xEn.

i_xFwd

BOOL

Forward command from the hoist axis.

NOTE: It is not possible to run forward (i_xFwd) and reverse (i_xRev) at the same time. The FB accepts the first command in time if both inputs are TRUE.

TRUE: Forward

FALSE: Not forward

i_xRev

BOOL

Reverse command from the hoist axis.

NOTE: It is not possible to run forward (i_xFwd) and reverse (i_xRev) at the same time. The FB accepts the first command in time if both inputs are TRUE.

TRUE: Reverse

FALSE: Not reverse

i_xRstOps

BOOL

Reset input to clear the following retained values on a rising edge:

oq_rOpHrs

oq_dwOpNb

oq_dwPlsNb

oq_dwBtrkNb

TRUE: Active

FALSE: Inactive

i_xEn

By setting the i_xEn input to FALSE the output states will be overwritten by a defined fallback state which is specific for each function block.

As soon as the function block gets enabled again the output states will be updated corresponding to the function block behavior as described above. There is no additional action required from you to re-establish the enabled state.

The fallback states of StatisticDataStorage_2 are given in the table below.

Output

Data Type

Fallback State

q_xEn

BOOL

FALSE

q_rOpHrs

REAL

not altered - retained value

q_dwOpNb

DWORD

not altered - retained value

q_dwPlsNb

DWORD

not altered - retained value

q_dwBtrkNb

DWORD

not altered - retained value

Output Pin Description

Output

Data Type

Description

q_xEn

BOOL

Displays the status of the enable parameter input i_xEn. If the output stays FALSE although i_xEn is TRUE, an EcoStruxure Machine Expert controller platform cannot be detected.

TRUE: Function block enabled.

FALSE: Function block disabled.

q_rOpHrs

REAL

Displays the actual value of operating hours of the monitored axis.

Scaling/Unit: 1 hour

q_dwOpNb

DWORD

Displays the actual number of operations of the monitored axis. Each forward and each reverse command is increasing the number by one..

Scaling/Unit: 1 operation

q_dwPlsNb

DWORD

Displays the actual number of pulsating incidents of the monitored axis.

Scaling/Unit: 1 pulse

Refer to detailed description below this table.

q_dwBtrkNb

DWORD

Displays the actual number of backtracking incidents of the monitored axis.

Scaling/Unit: 1 operation

Refer to detailed description below this table.

q_dwPlsNb

A pulsating incident is defined as followed:

oA falling edge on a forward command followed by a rising edge of a forward command within 2 seconds.

oA falling edge on a reverse command followed by a rising edge of a reverse command within 2 seconds.

q_dwBtrkNb

A backtracking incident is defined as followed:

oA falling edge on a forward command followed by a rising edge of a reverse command within 2 seconds.

oA falling edge on a reverse command followed by a rising edge of a forward command within 2 seconds.