Wp231Pr_Db" Instance Data Block - Siemens SIMATIC S7-1200 Manual

Hide thumbs Also See for SIMATIC S7-1200:
Table of Contents

Advertisement

4 Mode of Operation
4.2 SIWAREX blocks

"WP231PR_DB" instance data block

4.2.2
The "WP231PR_DB" instance data block forms the interface between the user
program and the "WP231PR" function block.
The following tags of the "WP231PR_DB" are used in the example project:
Table 4-2
Name
s_CMD1.i_CMD_CODE
s_CMD1.bo_CMD_TRIGGER
s_CMD2.i_CMD_CODE
s_CMD2.bo_CMD_TRIGGER
s_IO_DATA.SCALE_STATUS_1
.X8
.X9
.X10
.X0
.X1
.X2
.X3
.X6
s_IO_DATA.SCALE_STATUS_2
.X9
.X15
s_IO_DATA.PROCESS_VAL_1
s_IO_DATA.PROCESS_VAL_2
DR03
WEIGHT_UNIT
MAX_WEIGHT
CALIB_WEIGHT_0
CALIB_WEIGHT_1
RESOLUTION_D
The following write commands are used in the example project:
Table 4-3
Function
Load factory setting
Enable service mode
Disable service mode
Confirm empty scale
Confirm calibration weight
Set scale to zero
Taring
Weighing, Controlling and Logging (Set 6)
Entry ID: 82454336,
V2.0,
Data
Offset
type
Int
464.0
Bool
466.0
Int
468.0
Bool
470.0
UInt
490.0
Bool
490.0
Bool
490.1
Bool
490.2
Bool
491.0
Bool
491.1
Bool
491.2
Bool
491.3
Bool
491.6
UInt
492.0
Bool
492.1
Bool
492.7
Real
494.0
Real
498.0
Struct
534.0
String[4]
556.0
Real
574.0
Real
578.0
Real
582.0
Real
602.0
s_CMD1.i_CMD_CODE = 12
s_CMD2.i_CMD_CODE = 1
s_CMD2.i_CMD_CODE = 2
s_CMD2.i_CMD_CODE = 60
s_CMD2.i_CMD_CODE = 61
s_CMD2.i_CMD_CODE = 1001
s_CMD2.i_CMD_CODE = 1011
10/2017
Description
Command code 3
Command trigger 3
Command code 2
Command trigger 2
Status word 1
Scale empty
Limit 1 exceeded
Limit 2 exceeded
¼ numerical increment below minimum
9 numerical increments exceeded above
maximum
Scale tared
Scale manually tared
Scale is at a standstill
Status word 2
Service mode enabled
Record
Weight
Tare value
Data record 3 (calibration parameters)
Weight unit (shows the start value up to the
configuration via quick start)
Maximum weighing range
Calibration weight 0
Calibration weight 1
Numerical increment d (triggering der load
cell)
Code
s_CMD1.bo_CMD_TRIGGER = 1
s_CMD2.bo_CMD_TRIGGER = 1
s_CMD2.bo_CMD_TRIGGER = 1
s_CMD2.bo_CMD_TRIGGER = 1
s_CMD2.bo_CMD_TRIGGER = 1
s_CMD2.bo_CMD_TRIGGER = 1
s_CMD2.bo_CMD_TRIGGER = 1
19

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Siwarex wp231

Table of Contents