Cmd_Err:= "Db_Scale".Bo_Cmd_Err, Output, Bool - Siemens SIWAREX FTA Device Manual

Weighing electronics for automatic scale
Table of Contents

Advertisement

8.4.11 CMD_ERR:= "DB_SCALE".bo_CMD_ERR, Output, BOOL

This bit informs the user that a command has not been executed. The bit is set for
one cycle (edge) only. The cause can be evaluated in the same cycle with variable
CMD_ERR_C:= "DB_SCALE".b_CMD_ERR_CODE. The number is decoded in the
table "Data and Operating Errors" in chapter 7.6. If no error code is defined, the
error must be evaluated in "DB_SCALE".b_FB_ERR_CODE.
8.4.12 CMD_ERR_C:= "DB_SCALE".b_CMD_ERR_CODE, Output, BYTE
If a command is not executed (completed with error) the error code number is
output here. The number that is output is decoded in the table "Data and Operating
Errors" in chapter 7.6. The value remains in the output until the next command is
triggered. The evaluation is to be performed when the set bit CMD_ERR:=
"DB_SCALE".bo_CMD_ERR appears. If an error code is defined, the error must be
evaluated in "DB_SCALE".b_FB_ERR_CODE.
8.4.13 REF_COUNT:= "DB_SCALE".b_INFO_REFRESH_COUNT, Output, BYTE
The current output values which are prepared as output variables of the FB
SIWA_FTA are read cyclically by the FB through the peripheral range. SIWAREX
FTA updates the values internally in a 10 msec rhythm. Every update is assigned
a number which can be used in the SIMATIC CPU like a time stamp.
8.4.14 PROC_VAL1:= "DB_SCALE".r_PROCESS_VALUE1, Output, REAL
The selected process value can be output using this variable (See chapter 5.6.4).
The gross weight or the net weight of the scale is normally output here.
8.4.15 PROC_VAL2:= "DB_SCALE".w_PROCESS_VALUE2, Output, DWORD
The selected process value is output using this variable (See chapter 5.6.5). The
status of the automatic weighing instrument AWI (See chapter 5.19.2) is normally
output here.
8.4.16 SC_STATUS:= "DB_SCALE".dw_SCALE_STATUS, Output, DWORD
The status of the non-automatic weighing instrument NAWI (see chapter 5.19.1) is
always output through this variable.
8.4.17 ERR_MSG:= "DB_SCALE".bo_ERR_MSG, Output, BOOL
All messages that are prepared by SIWAREX FTA are prepared in an output buffer
on the module. If a new message appears, this bit is set. The user can evaluate the
meaning using variables RR_MSG_TYPE:= "DB_SCALE".b_ERR_MSG_TYPE
and ERR_MSG_C:= "DB_SCALE".b_ERR_MSG_CODE. After the message is
acknowledged by the user (ERR_MSG_Q:= "DB_SCALE".bo_ERR_MSG_QUIT),
the bit is reset by the function block.
SIWAREX FTA
Programming in SIMATIC STEP 7
8-163

Advertisement

Table of Contents
loading

Table of Contents