P
ROGRAMMING IN
SIMATIC
STEP
7
8.4.10 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
. If no error code is specified, the
error must be evaluated in "DB_SCALE".b_FB_ERR_CODE.
8.4.11 CMD_ERR_C:= "DB_SCALE".b_CMD_ERR_CODE, Output, BYTE
For a command that is not executed (Finished with errors), the error number is
output here. The number that is output is decoded in table "Data and Operating
Errors" in chapter
The value remains in the output until the next
command is triggered. The evaluation is to be performed with the set bit
CMD_ERR:= "DB_SCALE".bo_CMD_ERR appears. If no error code is specified,
the error must be evaluated in "DB_SCALE".b_FB_ERR_CODE.
8.4.12 REF_COUNT:= "DB_SCALE".b_INFO_REFRESH_COUNT, Output, BYTE
The current output values which are prepared as output variables of the
FB SIWA_FTC are read cyclically by the FB through the peripheral range.
SIWAREX FTC 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.13 PROC_VAL1:= "DB_SCALE".r_PROCESS_VALUE1, Output, REAL
The selected process value is output using this variable (See chapter
).
Normally, the belt load is output here.
8.4.14 PROC_VAL2:= "DB_SCALE".w_PROCESS_VALUE2, Output, DWORD
The selected process value is output using this variable (See chapter
).
The status of the continuous weighing is normally output here (see chapter
8.4.15 SC_STATUS:= "DB_SCALE".dw_SCALE_STATUS, Output, DWORD
The status of the non-automatic weighing instrument NAWI (see chapter
) is
always output through this variable.
8.4.16 ERR_MSG:= "DB_SCALE".bo_ERR_MSG, Output, BOOL
All messages that SIWAREX FTC prepares 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 ERR_MSG_TYPE:= "DB_SCALE".b_ERR_MSG_TYPE
and ERR_MSG_C:= "DB_SCALE".b_ERR_MSG_CODE. After acknowledging the
message by the user (ERR_MSG_Q:= "DB_SCALE".bo_ERR_MSG_QUIT), the bit
is reset by the block.
8.4.17 ERR_MSG_TYPE:= "DB_SCALE".b_ERR_MSG_TYPE, Output, BYTE
The user is shown which message is there with variable:
SIWAREX FTC
8-115
Содержание SIWAREX FTC
Страница 1: ...SIWAREX FTC Device Manual Status 10 2010 Module for Belt scale ...
Страница 12: ......
Страница 134: ...11 Empty 11 122 SIWAREX FTC ...