Siwarex Uin The Cyclical Step 7 Program - Siemens Siwarex U Device Manual

Universal weighing module for simatic s7 300 and et 200m
Hide thumbs Also See for Siwarex U:
Table of Contents

Advertisement

7BCOMMUNICATION IN SIMATIC S7
8.3 SIWAREX U in the cyclical STEP 7 program
SIWAREX U communicates with the SIMATIC CPU using the function block FB
SIWA_ U. When programming the call, an instance data block is created for the FB
SIWA_U. Alongside the instance data block, a scale DB is required for each
SIWAREX U, in which the scale parameters can be stored. To create the
Scale_DB, the UDT delivered along with it can be used.
In addition, the vector DB must be loaded in the SIMATIC CPU. A vector DB can
be used by several SIWAREX U.
The function block FB SIWA_U and the data blocks are to be found on the CD of the
configuration package SIWAREX U for SIMATIC S7 in the project "Getting started".
The function block prepares specific current process values cyclically without data
set communication (via the peripheral area) and supports on request (commands)
the data record communication with the aid of internal calls of the SFB 52/53
modules.
CALL "SIWA_U", DB
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 8-1
Call parameters of the FB SIWA_U
8-52
10 (
:= 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_TRIGGER);
SIWAREX U

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents