beautypg.com

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

Page 106

background image

53MT6000 INSTRUCTION MANUAL

90 Database Editor

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

Words of L to Write:

Beginning with the Starting memory address for the writes, this is
the number of Logical data words to be written to the PLC. Words of
data stored in the controller’s database as "L" type data are 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]

Write Command:

This selection is used to tell the PLC the type of write to perform. There
are four supported options. [DDIA = B679, DDIB = B655]

6 = Preset Single Holding Register (C)
8 = Loopback Diagnostic
15 = Force Multiple Coils (L)
16 = Preset Multiple Holding Registers (may contain L- values)

PLC Error - Write:

This Error Code is the reply status from the PLC that is not associated
with communications. Here the error code is reported as a decimal
number. The PLC manual may report these in hexadecimal. [DDIA =
B681, DDIB = B657]

01 = Illegal function, not a valid function code
02 = Illegal Data Address, not an allowable address
03 = Illegal Data Value, the fetch quantity requested is not allowed
04 = Failure in Associated Device, the slave failed to respond to the

message

05 = Acknowledge, the slave has accepted and is processing a long

duration command

06 = Busy, Rejected Message, the slave is busy processing a long

duration command

07 = NAK, Negative acknowledgement, the program function just

requested can not be performed

Comm Error - Write:

This Error Code is used to report messages related to the
communication message. [DDIA = B682, DDIB = B658]

0 = no errors
251 = 53MC5000 hardware malfunction
252 = 53MC5000 hardware malfunction
253 = bad message, a bad message indicates that error 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 -
Write:

This is a running total of the PLC Errors that are not successful (PLC
Error other than 00). [DDIA = B683, DDIB = B659]