Weighing Functions
SIWAREX FTA
5-122
5.28 The DR 46 parameter for reading from MMC logs in SIMATIC
Scale logs can be saved on the MMC card. If necessary, a verifiable (legal) log can
be read and its contents can be checked using the SIWATOOL FTA program.
Data records DR 46/DR 47 can be used to read any log in SIMATIC (not
verifiable). The user enters the desired log ID in DR 46 and then sends DR 46 to
the SIWAREX FTA. A short time later, the log is prepared for reading (Status bit
“MMC data ready S7). If the user now requests the DR 47, the log with the desired
ID is read in DR 47.
The last log can also be read through DR 47. The value 1 is to be entered in BYTE
4 of DR 46. In this case, the predefined log ID is ignored and the last log will be
prepared for DR 47.
Procedures:
o
Define ID number and enter in DR 46
o
Send DR 46 to the scale
o
Wait for status bit “MMC data ready S7”
o
Read DR 47
o
Display or inspect the contents of the log.
Name
Type
Address
Default
Range of Values / Meaning
Reference
Index
ID number for reading
DINT
DBD000
0
The definition ensures that the log with the ID
number is read when reading the DR 47. If the
request of the last data record (byte 0) is
activated, the ID number is ignored.
Request for the last data
record
BYTE
DBB004
0
With the definition = 1, the last log is read
through data record DR 47.
Reserved
BYTE
DBB005
0
Reserve.
6
Table 5-31
Allocation of DR 46
5.29 DR 47 requested log (NAWI, AWI)
The log data is prepared in DR 47.
Name
Type
Address
Default
Range of Values / Meaning
Reference
MMC-ID
BYTE[5]
DBB000
0
1 byte manufacturer's ID + 4 bytes serial
number; with log output to RS232 interface
always 0
Reserve 1
BYTE
DBB005
0
Reserve 1
Reserve 2
WORD
DBB006
0
Reserve 2