Delta RMC151 User Manual
Page 215
3 Controller Features
experienced RMC user may not be available.
3. Make more user programs available to the user
If an application requires more user programs than will fit in the RMC, and only a few
user programs are used at any given time, this feature allows splitting up the user
programs between several images. When a certain user program is required, the
respective image is downloaded to the RMC, then the user program can be run.
4. Multiple machine configurations
Some machines need to occasionally change the axis definitions. For example, an axis
may need to use a different feedback input for certain runs. This feature provides a
method of resetting the entire controller configuration in such applications.
Image Size
The size of the image varies based on the specific configuration, especially the amount of user
programming and curves included. The Image Upload/Download supports image sizes up to
65,000 32-bit registers. Typically, the image size is much smaller—on the order of 4,000
registers, unless the controller includes large curves, in which case the image may exceed
65,000 registers, which is not supported by the Image Upload/Download.
Uploading an Image into a PLC
Refer to the Image Area section below for the registers referred to by this procedure.
1. Preparation
•
Make sure the RMC contains the desired project and that it is saved to Flash.
•
Verify that the project's IP address and subnet mask are configured correctly,
otherwise communication may be lost after the image is later applied.
•
Connect the PLC to the RMC via Ethernet.
2. Request the RMC to Build the Configuration Image
The PLC must first request the RMC to construct an image that can be uploaded into
the PLC. This is done by writing Build Upload Image (1) to the Image Area
Command (%MDx.0) register.
3. Wait for the Image to be Built
The RMC may take several seconds to build the requested image. During this time, the
PLC should repeatedly read the Image Area State (%MDx.1) register and wait for
the state to be Upload Image Built (2).
4. Determine the Length of the Image
The length of the image, in 32-bit registers, can now be read from the Image Size
(%MDx.2) register. The PLC can use the contents of this register either to control the
length of the image upload, or to simply verify that the image will fit in the space
provided on the PLC.
5. Read the Image from the RMC Controller
Read the image from the RMC Controller by repeatedly reading from the Image Data
(%MDx.4-…) registers until the entire image has been transferred.
For example, to read a 8000-register image, the PLC could read 4000 registers
twice, starting each read at %MDx.4. Or, if the PLC is limited to 1000 registers per
read, then the PLC could read 1000 registers eight times, again starting each read
at %MDx.4. Both will result in loading the same 8000-register image. The PLC is
responsible for assembling the results from each read into a single image in its
storage area.
The PLC may choose to include the Current Index (%MDx.3) register in each read. This
value can be used to verify that the PLC and RMC agree on the index for the current block
of data.
Downloading an Image from a PLC
Refer to the Image Area section below for the registers referred to by this procedure.
deltamotion.com
195