Goto, OUTSTD – Signal source or output

Block SymbolsLicensing group: STANDARD
PIC PIC

Function Description
The two blocks Goto (signal source) and OUTSTD (standard output) share the same symbol. They are used for providing signals, either internal or external.

In the function block library, you can only find the Goto block. It is converted to the OUTSTD block at compile time if necessary. The following rules define how the RexComp compiler distinguishes between the two block types:

The other parameter of the Goto block defines the visibility of the block within the given .mdl file. The TagVisibility parameter can be local, global or scoped, whose meaning is explained in the table below. This parameter is ignored if the block is compiled as the OUTSTD block.

In the case of OUTSTD block, the GotoTag parameter includes the symbol of the driver <DRV> and the name of the signal <signal> of the given driver:

E.g. the first digital output of a Modbus I/O device might be referenced by MBM__DO1. Detailed information about signal naming can be found in the user manual of the corresponding I/O driver.

Since version 2.50.5 it is possible to use placeholders in names of I/O driver signals. This is useful inside subsystems where this placeholder is replaced by the value of subsystem parameter. E.g. the flag MBM__DO<id> will refer to digital output 1, 2, 3 etc. depending on the parameter id of the subsystem the block is contained in. See the SubSystem function block for information on defining subsystem parameters.

Input

value

Signal going to I/O driver or From block. In case of connection to an I/O driver, the type of input is determined by the I/O driver from the GotoTag parameter.

unknown

Parameters

GotoTag

Reference to a From block with the same GotoTag parameter, which should be connected with the Goto block or a reference to output signal of the REX control system driver, which should send the data from block input to the process.

string

TagVisibility

Visibility (availability) of the block within the .mdl file. Defines conditions under which the two corresponding Goto and From blocks are reciprocally available:  local

string

local 

the two blocks must be in the same subsystem

global 

blocks can be anywhere in the given task (.mdl file)

scoped 

the From block must be placed in the same subsystem or in any lower hierarchical level below the GotoTagVisibility block with the same GotoTag parameter