Communication in SIMATIC S7-300/1200/1500
11.7 I/O interface of function block
SIWAREX WP321
Manual, 07/2014, A5E33715669A-02
103
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
SCALE_STATUS_1 (UINT) Bytes 0 & 1 of the scale status (→ DR 30 current process
values (Page 74))
SCALE_STATUS_2 (UINT) Bytes 2 & 3 of the scale status (→ DR 30 current process
values (Page 74))
Process value 1 Selection → Selection of process value 1, 2 (Page 72)
Process value 2 Selection → Selection of process value 1, 2 (Page 72)
S7 tare specification Specified value for tare weight. The value is applied by
using the "Tare specification valid (1016)" command.
Error codes of function block
Table 11- 3 Statuses/errors when working with the function block
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
If execution of the function block is faulty, the variables shown do not correspond to the
actual status in the module.