Navigation:  Equipments (Devices) > SCA06 > Ladder > Module >

USERFB

Previous pageReturn to chapter overviewNext page

Block that performs a subroutine programmed by the user.

 

Ladder Representation

 

USERFB_block

 

Block Structure

 

Variable Type

Name

Data Type

Description

VAR_INPUT

EN

BOOL

Block enabling

INPUT

Conforme programação do usuário

Block inputs

VAR_OUTPUT

ENO

BOOL

End of operation

OUTPUT

Conforme programação do usuário

Block outputs

VAR_IN_OUT

IN_OUT

Conforme programação do usuário

Block inputs/outputs

VAR

MYUSERFB_INST_0

MYUSERFB

Instance of access to block structure

 

Operation

 

When this block has a TRUE value in EN, it updates the values of internal fields with the input variables, performs the Ladder routine programmed by the user and updates the values of the outputs after completing routine.

 

When EN has FALSE value, outputs remain unchanged.

 

The ENO value forwards to the next Ladder block the EN value after the operation is completed.

 

wpshelp_common_fig_note

NOTE!

Refer to section Working with USERFBs for further information.

 

Compatibility

 

Device

Version

PLC300

1.50 or higher

SCA06

2.00 or higher

 

Block Flowchart

 

USERFB_flowchart