T He Dr 46 Parameter For Reading From Mmc Logs In Simatic - Siemens SIWAREX FTA Device Manual

Weighing electronics for automatic scale
Table of Contents

Advertisement

Weighing Functions
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
Index
ID number for reading
DINT
Request for the last data
BYTE
record
Reserved
BYTE
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
MMC-ID
BYTE[5]
Reserve 1
BYTE
Reserve 2
WORD
5-122
Type
Address
Default
DBD000
0
DBB004
0
DBB005
0
6
Address
Default
DBB000
DBB005
DBB006
Range of Values / Meaning
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.
With the definition = 1, the last log is read
through data record DR 47.
Reserve.
Range of Values / Meaning
0
1 byte manufacturer's ID + 4 bytes serial
number; with log output to RS232 interface
always 0
0
Reserve 1
0
Reserve 2
Reference
Reference
SIWAREX FTA

Advertisement

Table of Contents
loading

Table of Contents