EasyManuals Logo
Home>Siemens>Accessories>SIWAREX WP321

Siemens SIWAREX WP321 Manual

Siemens SIWAREX WP321
126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #100 background imageLoading...
Page #100 background image
Communication in SIMATIC S7-300/1200/1500
11.6 Working with the function block
SIWAREX WP321
100 Manual, 07/2014, A5E33715669A-02
11.6
Working with the function block
Data records in SIWAREX weighing modules
All parameters in SIWAREX weighing modules are structured in data records. These data
records must be considered as connected packages and can only be respectively read into
the CPU or written to the SIWAREX as complete packages. Reading or writing of a single
parameter within a data record is not possible. You can find a description of all data records
and their parameters in chapterScale parameters and functions (Page 45).
Reading and writing of data records is carried out using special command codes which can
be sent with three command mailboxes handled according to priority within the instance DB:
Figure 11-6 CMD command mailboxes
As shown in the graphics, a command mailbox always consists of a command code (Int) and
four bits (Bool). A command is set by entering the desired command code in the
"i_CMD_CODE" parameter and setting the respective command trigger
"bo_CMD_TRIGGER". The status bits "bo_CMD_InProgress" (command being processed),
"bo_CMD_FinishedOk" (command finished without errors) and "bo_CMD_FinishedError"
(command rejected or finished with error) can be evaluated in the user program.
In addition, the three command mailboxes are managed and processed according to priority.
CMD1 has the highest priority, CMD3 has the lowest priority. If all three command mailboxes
are triggered simultaneously by the user program, for example, the function block initially

Table of Contents

Other manuals for Siemens SIWAREX WP321

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIWAREX WP321 and is the answer not in the manual?

Siemens SIWAREX WP321 Specifications

General IconGeneral
BrandSiemens
ModelSIWAREX WP321
CategoryAccessories
LanguageEnglish

Related product manuals