Clear Spline Segments Command

Character: C
Decimal: 67
Hexadecimal: 0x43
Command Value: Described below

 

Because the RMC can store multiple spline segments at a time, it may be necessary to clear one or more of these segments from the RMC’s memory. Use the command value to control how many spline segments you want to delete:

Command Value

Effect

0

Deletes all segments.

n (1 to 16)

Deletes the oldest n segments.

-n (-1 to -16)

Delete all but the most recently downloaded n segments. The actual number of segments deleted depends on how many segments were available. It is common to use a value of -1 to keep only the most-recently-downloaded spline segment.

Note: Negative command values are supported only in RMC CPU firmware dated 20000421 or later.

This command may not finish immediately. That is, it will clear one spline segment per control loop. Therefore, if you are clearing three segments on a module with a one-millisecond control loop time, this command will take three milliseconds to finish. The Acknowledge bit of the Status word will toggle when this command is completed.

Note: The Acknowledge bit toggles only if the command was issued over the communication module (PROFIBUS-DP, Modbus Plus, etc.) and not if it was issued from the Event Step table or RMCWin.

 

This command will fail for the following reasons, as indicated by the Parameter Error bit in the Status word:

 


Copyright (c) 1997-2015 by Delta Computer Systems, Inc.