beautypg.com

Micromod Micro-DCI: 53MT6000 Micro-Tools User Manual

Page 111

background image

53MT6000 INSTRUCTION MANUAL

Database Editor 95

There are restrictions on the maximum number of L & C type data that can be written. Refer to the PLC
Instruction Manual for details.

Read Command
Code:

The Command Code is used to describe the type of data to be read
from the PLC. [DDIA = B669, DDIB = B645]

D: DataBlock (L & C type word data)
S: Absolute Address (L & C type word data)
Z: Counter Locations (C type word data)
E: Input Bytes (L type byte data)
A: Output Bytes (L type byte data)
M: Flag Bytes (L type byte data)

PLC Error - Read:

This Error Code is the reply status from the PLC. Here the error
code is reported as a decimal number. The PLC manual may
report these in hexadecimal. [DDIA = B671, DDIB = B647]. See the
Siemens PLC manual for the error code definitions

Comm Error - Read: This Error Code is used to report messages related to the

communication message. [DDIA = B672, DDIB = B648]

0 = no errors
251 = 53MC5000 hardware malfunction
252 = 53MC5000 hardware malfunction
253 = bad message, a bad message indicates that errors were

found in the predictable portion of the message

254 = bad checksum, the message frame is not properly

formatted

255 = timeout error, no message came back from the PLC

Comm Error Count -
Read:

This is a running total of the PLC Error codes and non-zero
Communications Error codes. [DDIA = B673, DDIB = B649]

Starting Memory
Address - Write:

This is the beginning memory address for writing data to the PLC.
All subsequent write memory locations are referenced from the
starting location as contiguous words of data. The written data is
mapped from the controller database into the PLC in exactly the
same order. This is a decimal number that is converted and stored
as two bytes in the controller database. [DDIA = B675 &B676, DDIB
= B651 & B652]

Words of L to Write:

Beginning with the Starting memory address for the writes, this is
the number Logical data words to be written to the PLC. Words of
data stored in the controller’s database as "L" type data is written to
the PLC as logical data. If no logical type data is to be written, this
value should be set to zero. [DDIA = B677, DDIB = B653]

Words of C to Write: Immediately following the logical words of data is the number of

floating-point words of data to be written. Words of data and stored
in the controller’s database as "C" type data is written to the PLC as
Floating point or integer data.
If no floating point or integer data is to be written, this value should
be set to zero. [DDIA = B678, DDIB = B654]