Delta RMC151 User Manual

Page 316

Advertising
background image

RMC70/150 and RMCTools User Manual

Reducing the Program Size

The RMCs have the following amount of memory allocated for the entire Programming

node which includes the user programs, Program Triggers, and plot templates. Notice that

the Tuning Wizard borrows about 8KB when it needs to run. Therefore, if a controller has

less than 8KB of free program memory, the Tuning Wizard may not be able to download

its program.

CPU

Firmware

Program

Memory Size

Approximate

Capacity in Steps

RMC75E

(1.1G or newer)

3.40.0+

496KB

1000-2000

3.32.0-3.39.4

240KB

500-1000

2.03-3.31.3

112KB

300-500

1.00-2.02

64KB

150-250

RMC75E

(1.1F or older)

3.32.0+

240KB

500-1000

2.03-3.31.3

112KB

300-500

1.00-2.02

64KB

150-250

RMC75P

All

64KB

150-250

RMC75S

All

64KB

150-250

RMC150E

3.40.0+

496KB

1000-2000

Pre-3.40.0

240KB

500-1000


If the user programs exceed the amount of memory available, it means that you simply

have too much programming. You may be able to slightly reduce the size by disabling

expression logging as described below, but you may need to reduce the amount of

programming.
Tips for Reducing the Programming Size
If you have disabled expression logging and your program image is still too large, you

must reduce the amount of programming. Here are some tips:

Offload to the PLC

If your machine has a master controller, such as a PLC, offload some of the

programming to it.

Use Arrays

If you are performing many consecutive similar steps, consider using arrays and loops

instead.

Disable Expression Assignment Logging

By default, the RMC logs the results of assignment expressions and COPY statements

in the Expression (113) command. If your programs use this command, you may be

able to decrease the program size by disabling expression logging. You can still log the

results of certain calculations by using the LOG_EVENT function.

To disable the expression logging, in the Programming Properties dialog, on the Verify

page, uncheck Log Expression Statements.

Reducing the Time Usage

RMCTools calculates the worst-case scenario of how much time of any control loop may

be taken up by program calculations, which includes the user programs and the Program

Triggers. Each task can process one step per loop, and conceivably, a step can be run on

more than one task simultaneously. RMCTools finds the steps that take the longest to

process, and multiplies that time by the number of tasks the step could possibly run on.

The time allocated for the user programs varies with RMC as described in the Time

Allocation section below.

296

Delta Computer Systems, Inc.

Advertising
This manual is related to the following products: