Calling The Scale Fb; Alarms; Configuring With Wincc Flexible - Siemens SIWAREX U Getting Started

Hide thumbs Also See for SIWAREX U:
Table of Contents

Advertisement

5.4 Calling the Scale FB

Calling the FB SIWA_U is done in OB1. The FB is called with the following
parameters:
CALL "SIWA_U" , DB10
ADDR
DB_SCALE
DB_VECTOR
CMD_IN
CMD_INPR
CMD_FOK
CMD_ERR
CMD_ERR_C
REF_COUNT1
SC_STATUS1
ASYNC_ERR1
GROSS1
FLT_RAW1
REF_COUNT2
SC_STATUS2
ASYNC_ERR2
GROSS2
FLT_RAW2
FB_ERR
FB_ERR_C
START_UP
RESTART
CMD_EN
Figure 5-3
Call Parameters for FB SIWA_U

5.5 Alarms

The message texts and help texts (German and English) are integrated in the
control unit.
Of course, the user can delete these program sections and use his own message
system.

5.6 Configuring with WinCC flexible

The software is for setup for showing a scale in TP270.
The conversion to other SIMATIC HMI devices is possible.
WinCC flexible offers a selection of target devices for the conversion.
5-16
SIWAREX U
:=256
:=9
:=8
:="DB_SIWA_U".i_CMD_CODE_INPUT
:="DB_SIWA_U".bo_CMD_IN_PROGRESS
:="DB_SIWA_U".bo_CMD_FINISHED_OK
:="DB_SIWA_U".bo_CMD_ERR
:="DB_SIWA_U".b_CMD_ERR_CODE
:="DB_SIWA_U".b_CYCLE_COUNT_CH1
:="DB_SIWA_U".b_SCALE_STATUS_CH1
:="DB_SIWA_U".w_OPR_ERR_MSG_CH1
:="DB_SIWA_U".i_GROSS_WEIGT_CH1
:="DB_SIWA_U".w_ADC_VALUE_FILTERED_CH1
:="DB_SIWA_U".b_CYCLE_COUNT_CH2
:="DB_SIWA_U".b_SCALE_STATUS_CH2
:="DB_SIWA_U".w_OPR_ERR_MSG_CH2
:="DB_SIWA_U".i_GROSS_WEIGT_CH2
:="DB_SIWA_U".w_ADC_VALUE_FILTERED_CH2
:="DB_SIWA_U".bo_FB_ERR
:="DB_SIWA_U".b_FB_ERR_CODE
:="DB_SIWA_U".bo_STARTING_UP
:="DB_SIWA_U".bo_RESTART
:="DB_SIWA_U".bo_CMD_EN

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents