Delta RMC151 User Manual

Page 216

Advertising
background image

RMC70/150 and RMCTools User Manual

1. Preparation

This process will restart the RMC. Therefore, make sure the RMC is in a state

where restarting it will not cause problems. For example, you may wish to put

the axes in open loop and the RMC in PROGRAM mode.

Connect the PLC to the RMC via Ethernet.

2. Reset the Image Area.

This step is not strictly necessary, but is required if an Upload Image has been built.

To reset the Image Area, write Reset Image Area (3) to the Image Area

Command (%MDx.0) register.

3. Write the Image to the RMC Controller

Write the image to the RMC Controller by repeatedly writing to the Image Data

(%MDx.4-…) registers until the entire image has been transferred. Each subsequent

write must begin at the start of the Image Data array. The RMC will reassemble the

data from each write into a single image.
The PLC may choose to include the Current Index (%MDx.3) register in each write.

The RMC will verify that the index value written matches the next expected image

index. If the index value is incorrect, then the Image Area State (%MDx.1) will

change to Download Sequence Error (22).
The PLC can choose to write a fixed-length image to the RMC—as long as the image is

known to fit within that size—or it can adjust the length of the image it writes based

on the actual length of the image, which is found in the first register of the stored

image.

4. Trigger the RMC to Apply the Image

The PLC must then instruct the RMC to apply the newly-downloaded image. To do so,

write Apply Download Image (2) to the Image Area Command (%MDx.0)

register.

5. Wait for the Apply to Complete

Applying the image takes between 10-20 seconds (to shorten this time, see Do Not

Restart Controller Option below). The controller will verify the integrity of the

downloaded image, save a copy of the image in the controller’s flash memory, and

then automatically restart to apply the new image.
The PLC should monitor the progress of the apply process using the Image Area

State (%MDx.1) register. If the image is successfully verified and saved to flash,

then the state will transition from Applying Image (4) to Controller Restart

Pending (5). The controller holds this state for two (2) seconds before restarting.

When the PLC sees that the controller is in the Controller Restart Pending (5)

state, it should stop communicating with the RMC for approximately 10 seconds to

allow the controller to restart without triggering unnecessary communication errors.

Do Not Restart Controller Option
The Do Not Restart Controller (+16) option can be used if the downloaded image does

not change the axis definitions or loop time. This option will speed up the process, as the

RMC does not need to restart. The image will be saved to Flash and all the settings will be

available for use immediately. Downloading using this option typically takes less than 5

seconds.
If the Do Not Restart Controller (+16) option is used, then you should instead wait for

the Image Area State (%MDx.1) register to become Image Applied (10). There is

no need to stop communicating with the RMC when this option is used. The RMC must be

in PROGRAM mode when the image is applied.

Using RMCLink to Store and Download Images

The Controller Image Upload/Download feature can also be accessed from a Windows-

based PC using the RMCLink component. This component contains methods that make it

easy to upload and download configurations in custom applications using a variety of

programming languages. RMCLink can be downloaded from Delta’s website. Review the

196

Delta Computer Systems, Inc.

Advertising
This manual is related to the following products: