11.7 I/O interface of function block
The following scale parameters are available cyclically in the data block in the controller without
special reading of data records or can be sent to the scale without sending of data records:
Table 11-2 I/O data of the function block
Parameter (read) Meaning
SCALE_STATUS_1 (UINT) Bytes 0 & 1 of the scale status (→ DR 30 current process
values (Page 84))
SCALE_STATUS_2 (UINT) Bytes 2 & 3 of the scale status (→ DR 30 current process
values (Page 84))
Process value 1 Selection → Selection of process value 1, 2 (Page 82)
Process value 2 Selection → Selection of process value 1, 2 (Page 82)
Parameter (write)
S7 tare specification Specified value for tare weight. The value is applied by using
the "Tare specification valid (1016)" command.
11.8 Error codes of function block
Table 11-3 Statuses/errors when working with the function block
Error bit Error description
bo_ApplIDError Address module does not match the function block
bo_ApplIDDRError Data record does not match the inserted module
bo_SFBError Runtime error during transmission of data record
bo_RdPerError Reading of I/O data failed
bo_LifeBitError SIWAREX no longer responds
bo_StartUpError Command was sent although StartUp is still TRUE
bo_WrongFW Data record version does not match the firmware
bo_InvalidCMD An invalid command code was sent
bo_DataOperationError Synchronous data operation error has occurred
bo_StartUp Startup synchronization of module running
bo_InvalidHW_ID An invalid hardware ID was created at the function block call
("HW_ID" input).
Note
If execution of the function block is faulty, the variables shown do not correspond to the actual
status in the module.
Communication in SIMATIC S7-300/400/1200/1500
11.8 Error codes of function block
SIWAREX WP321
110 Operating Instructions, 08/2019, A5E33715669A-AD