Db_Vector:= 11, Input, Int - Siemens SIWAREX FTA Device Manual

Weighing electronics for automatic scale
Table of Contents

Advertisement

Programming in SIMATIC STEP 7
8.4.3

DB_VECTOR:= 11, Input, INT

The content of the vector DB may not be modified by the user. It must be loaded
one time only per SIMATIC CPU, independent of the number of SIWAREX FTA
modules that are used. The number of the DB can be selected as desired.
8.4.4
CMD_IN:= "DB_SCALE".i_CMD_INPUT, Input, INT
The user controls all command using this input variable, whether for transferring
a data record or executing a weighing task. The commands are described in
chapter 6. The user prepares the command number using this variable and triggers
the command using variable CMD_EN:= "DB_SCALE".bo_CMD_ENABLE
(see chapter 8.4.23). The FB SIWA_FTA does not delete the command number,
it resets the trigger variable CMD_EN:= "DB_SCALE".bo_CMD_ENABLE after the
command is finished.
8.4.5
SIM_VAL:= "DB_SCALE".r_SIM_VALUE, Input, REAL
If the simulation has been enabled (see chapter 5.6.1), the value to be simulated
can be defined on this input. The value should be found in the weighing range of
the weighing instrument.
8.4.6
ANA_OUT:= "DB_SCALE".r_ANALOG_OUT_VALUE, Input, REAL
If control of the analog outputs has been enabled (see chapter 5.6.11), the value to
be controlled can be defined on this input. The value should be found in the
defined range of the weighing instrument.
8.4.7
DO_FORCE:= "DB_SCALE".b_DIG_OUTPUT_FORCE, Input, BYTE
If forced control of the digital outputs has been enabled (see chapter 5.6.3), the
value to be controlled can be defined on this input. Bit 0 corresponds with digital
output 0, bit 1 corresponds with digital output 1, etc.
8.4.8
TRANSITION:= "DB_SCALE".b_TRANSITIONS, Input, BYTE
The user can influence the progress of the weighing procedure. The weighing
procedure is divided into steps and one step is only executed if the respective bit is
not set for the transition (see chapter 5.5). If the value of all bits of the variable is 0
then the weighing procedure is not held in any segment and its progress is strictly
the result of the weighing progress. If the value of e.g. bit 2 is set to 1 then step 2 in
the weighing procedure is not executed and it waits until the bit is reset.
8.4.9
CMD_INPR:= "DB_SCALE".bo_CMD_IN_PROGRESS, Output, BOOL
This bit informs the user that a command is being processed at the moment.
8.4.10 CMD_INPR:= "DB_SCALE".bo_CMD_FOK, Output, BOOL
This bit informs the user that a command has been executed successfully
(Command complete without errors).
8-162
SIWAREX FTA

Advertisement

Table of Contents
loading

Table of Contents