Err_Msg_Type:= "Db_Scale".B_Err_Msg_Type, Output, Byte - Siemens SIWAREX FTA Device Manual

Weighing electronics for automatic scale
Table of Contents

Advertisement

Programming in SIMATIC STEP 7

8.4.18 ERR_MSG_TYPE:= "DB_SCALE".b_ERR_MSG_TYPE, Output, BYTE

The user is shown which message is there with variable:
Bit 0 – Operating message (Fault)
Bit 1 – Technology error
Bit 2 – Data or operating error
8.4.19 ERR_MSG_C:= "DB_SCALE".b_ERR_MSG_CODE, Output, BYTE
The user is informed of the message number with this variable (suitable for
ERR_MSG_TYPE:= "DB_SCALE".b_ERR_MSG_TYPE). After the evaluation of
the message, the user indicates to the FB that the message has been evaluated
(with variable ERR_MSG_Q:= "DB_SCALE".bo_ERR_MSG_QUIT) and the FB
SIWA_FTA is ready to output the next message if one exists.
8.4.20 FB_ERR:= "DB_SCALE".bo_FB_ERR, Output, BOOL
If an error has occurred during the processing of the function block itself, it is
indicated through this variable.
!
Warning
If a processing error occurs for FB SIWA_FTA, we have to assume that the
variables that have been output do not correspond with the actual status in the
module.
8.4.21 FB_ERR_C:= "DB_SCALE".b_FB_ERR_CODE
The error number of the FB SIWA_FTA is output through this variable.
The following messages can be output:
Bit 0 - DB_SCALE or DB_VECTOR are missing or have incorrect lengths, or
SFB52/SFB53 is not available in the CPU
Bit 1 - Error with internal call for SFC58 or SFC59, the value RET_VAL is entered
in DW4 for one cycle in the scale DB
Bit 2 - Error interpreting a data record / command, defined data record or command
number is incorrect.
Bit 3 - Lifebit error, SIWAREX FTA not responding
Bit 4 - Peripheral data could not be read in this cycle
Bit 5 - Activated command was interrupted with a restart
Bit 6 - Reserved
Bit 7 - Reserved
8-164
SIWAREX FTA

Advertisement

Table of Contents
loading

Table of Contents