beautypg.com

Delta RMC151 User Manual

Page 538

background image

RMC70/150 and RMCTools User Manual

Wait until the Read/Write Request bit is equal to the Read/Write Acknowledge

bit. When they are equal, the RMC70 has received the data written to it.


To further clarify the ordering, keep these basic rules in mind:

Do change the Read/Write bit, write address, and write value before toggling the

Read/Write Request bit.

Do not change the Read/Write bit, write address, or write value when the

Read/Write Request bit does not match the Read/Write Acknowledge bit.

Debugging

Using the Event Log for PROFIBUS
The Event Log can record every change in the PROFIBUS data received by the RMC75P.

This is the data in the Command Block. It does not record the data in the Response Block,

which is sent by the RMC75P. The Event log displays the received data in hexadecimal

format.

The Event Log can log an entry when any of the following occurs:

Data is Initialized

(the Configuration Information box must be checked in the Event Log filter for

PROFIBUS)

This typically occurs when the RMC70 is restarted. The Event Log entry will be labeled

initial data. It provides the user with a reference of what the initial data is.

For example, assume a user wrote a 1 to the Command Request bit to issue a

command immediately after starting the PROFIBUS communications, but the

command was not issued. The user then looked in the Event Log and found out that

the initial data showed that the Command Request bit already was 1, which explains

why the command was not issued. The bit must be toggled to send a command, so he

should have written a 0.

Data Changes

(the Command Channel Logging and Data Channel Logging boxes must be set to

All in the Event Log filter for PROFIBUS)

Each time the data in the Command Block changes, the data will be logged with an

entry labeled changed. The entry will also specify which data changed, as described

below.

A Request is Made

(the Command Channel Logging and Data Channel Logging boxes must be set to

All or Requests in the Event Log filter for PROFIBUS)

Each time a Command Request bit or Read/Write Request bit is toggled, the entry will

be labeled request made. This indicates a command was requested to be issued, or a

read or write was made.

Tip:

In some cases, a request can be made, but nothing happens. This is probably

caused by one of the following:

- A command was requested, but no Selected Axis bit was set.

- A read or write of multiple registers was requested, but the Count was set to 0.


The Event Log labels the logged entries in the following manner:

Command Area

These 6 registers are the data used to issue commands to the RMC70.

518

Delta Computer Systems, Inc.

This manual is related to the following products: