Call Parameter Of The Microscale Library; First_Aew, Second_Aew, Third_Aew, Fourth_Aew: In, Word; Firstvb_Pointer: In, Dword; Lib_Error_Bits: In_Out, Word - Siemens SIWAREX MS Device Manual

Weigh module for simatic s7-200
Hide thumbs Also See for SIWAREX MS:
Table of Contents

Advertisement

Programming in STEP 7-Micro/Win

8.5 Call Parameter of the MicroScale Library

The call parameters for the MicroScale library are described in the following
section. The variable memory is used for communication with the SIWAREX
module (e.g. Data storage, commands, etc.).
8.5.1

First_AEW, Second_AEW, Third_AEW, Fourth_AEW: IN, WORD

SIWAREX MS requires 4 words in the input area of the SIMATIC CPU for
operation. The parameters First_AEW, Second_AEW, Third_AEW and
Fourth_AEW must match with the actual module addresses.
8.5.2

FirstVB_POINTER: IN, DWORD

A range in the variable memory having a length of 20 bytes is used for
communication with the SIWAREX Module for every scale. The start byte of this
range is transferred with the parameter "FirstVB_POINTER" of the library in
Pointer-Format, e.g. for variable byte VB0: "&VB0".
The structure of the variable memory is explained in the following chapter "Variable
memory allocation".
8.5.3

Lib_Error_Bits: IN_OUT, WORD

If an error occurs while processing in the library, it is indicated by this word.
!
Warning
If a processing error occurs for the MicroScale library, it must be assumed that the
variables that have been output do not correspond with the actual status in the
module.
Bit0...7:
Bit8:
Bit9:
Bit10:
Bit11:
Bit12...15: Reserved
8.5.4

First_AAW, Second_AAW, Third_AAW, Fourth_AAW: OUT, WORD

SIWAREX MS requires 4 words in the output area of the SIMATIC CPU for
operation. The parameters First_AAW, Second_AAW, Third_AAW and
Fourth_AAW must match with the actual module addresses.
8-48
SIWAREX MS
Reserved
Error in Parameter "FirstVB_POINTER"
Lifebit-Error Siwarex MS
Error in Parameter "Select_Process_Value" (value: 0...6)
Command aborted because of reboot

Advertisement

Table of Contents
loading

Table of Contents