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:
Reserved
Bit8:
Error in Parameter “FirstVB_POINTER”
Bit9: Lifebit-Error
Siwarex
MS
Bit10:
Error in Parameter “Select_Process_Value” (value: 0...6)
Bit11:
Command aborted because of reboot
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
Summary of Contents for SIWAREX MS
Page 1: ...SIWAREX MS Device Manual Status 12 2005 ...
Page 8: ......