# Knowledge Base: Examples

**URL:** https://forum.deltamotion.com/c/knowledge-base-examples/24.md?page=1

[Latest](https://forum.deltamotion.com/latest.md) · [Categories](https://forum.deltamotion.com/categories.md) · [Tags](https://forum.deltamotion.com/tags.md)

**Page:** 2

---

## [Can Master Reg value change in middle of curve execution, and not affect the curve?](https://forum.deltamotion.com/t/can-master-reg-value-change-in-middle-of-curve-execution-and-not-affect-the-curve/1219)

<div class="topic-metadata">

**Author:** [@ajoseph](https://forum.deltamotion.com/u/ajoseph)\
**Replies:** 1\
**Last updated:** [October 16, 2023, 7:11pm UTC](https://forum.deltamotion.com/t/can-master-reg-value-change-in-middle-of-curve-execution-and-not-affect-the-curve/1219 "2023-10-16T19:11:11Z")

</div>

RMC 200. In user program 1 on task 1, I am using Curve Start (86) to run a curve. And master Reg is an encoder target position (which tells log length) and y axis are infeed module position for curve sawing. And when th…

---

## [Using Plot Data in User Programs](https://forum.deltamotion.com/t/using-plot-data-in-user-programs/1200)

<div class="topic-metadata">

**Author:** [@Aaron\_Heinrich](https://forum.deltamotion.com/u/Aaron_Heinrich)\
**Replies:** 0\
**Last updated:** [August 16, 2023, 6:18pm UTC](https://forum.deltamotion.com/t/using-plot-data-in-user-programs/1200 "2023-08-16T18:18:19Z")

</div>

Captured plot data in the RMC can be read from within user programs by using the REG\_REAL, REG\_DINT, or REG\_DWORD functions. The plot data is not directly accessible via tags and therefore these functions are required. O…

---

## [(Dual Loop Axis) Sending Position Commands with Force Sensor Error](https://forum.deltamotion.com/t/dual-loop-axis-sending-position-commands-with-force-sensor-error/1170)

<div class="topic-metadata">

**Author:** [@sobanion](https://forum.deltamotion.com/u/sobanion)\
**Replies:** 0\
**Last updated:** [April 6, 2023, 10:00pm UTC](https://forum.deltamotion.com/t/dual-loop-axis-sending-position-commands-with-force-sensor-error/1170 "2023-04-06T22:00:37Z")

</div>

Problem: In RMCTools, when using a dual-loop position-pressure or position-force axis and with the default Auto Stop configuration, encountering a force feedback error such as “Pressure/Force No Transducer” will keep th…

---

## [Controlling two uni-directional valves with a single control output](https://forum.deltamotion.com/t/controlling-two-uni-directional-valves-with-a-single-control-output/1167)

<div class="topic-metadata">

**Author:** [@Aaron\_Heinrich](https://forum.deltamotion.com/u/Aaron_Heinrich)\
**Replies:** 0\
**Last updated:** [March 31, 2023, 6:45pm UTC](https://forum.deltamotion.com/t/controlling-two-uni-directional-valves-with-a-single-control-output/1167 "2023-03-31T18:45:22Z")

</div>

Problem: A control system has two valves controlling a swashplate, with one valve for flow in one direction and the other valve for flow in the opposite direction. Each valve only accepts a 0 - 10 V input signal. This …

---

## [Two valves on one axis for high speed and low speed](https://forum.deltamotion.com/t/two-valves-on-one-axis-for-high-speed-and-low-speed/971)

<div class="topic-metadata">

**Author:** [@Jacob\_Paso](https://forum.deltamotion.com/u/Jacob_Paso)\
**Replies:** 1\
**Last updated:** [March 15, 2023, 11:20pm UTC](https://forum.deltamotion.com/t/two-valves-on-one-axis-for-high-speed-and-low-speed/971 "2023-03-15T23:20:21Z")

</div>

One method of designing a system that requires high flow and high precision is to use two valves, where one is low flow, and the other is high flow. Transitioning between the valves can be a challenge. One way to do so v…

---

## [Programmatically assign COPY source & destination parameters](https://forum.deltamotion.com/t/programmatically-assign-copy-source-destination-parameters/1152)

<div class="topic-metadata">

**Author:** [@David](https://forum.deltamotion.com/u/David)\
**Replies:** 2\
**Last updated:** [February 15, 2023, 11:21pm UTC](https://forum.deltamotion.com/t/programmatically-assign-copy-source-destination-parameters/1152 "2023-02-15T23:21:50Z")

</div>

COPY(ADDR\_OFS(REG\_xxxx(File, Element), Offset), Destination, Length) or COPY(Source, ADDR\_OFS(REG\_xxxx(File, Element), Offset), Length) or COPY(ADDR\_OFS(REG\_xxxx(File, Element), Offset), ADDR\_OFS(REG\_xxxx(File, Eleme…

---

## [Adaptive Amplitude, Offset and Phase Control for Waveforms](https://forum.deltamotion.com/t/adaptive-amplitude-offset-and-phase-control-for-waveforms/208)

<div class="topic-metadata">

**Author:** [@Jacob\_Paso](https://forum.deltamotion.com/u/Jacob_Paso)\
**Replies:** 4\
**Last updated:** [February 7, 2023, 8:08pm UTC](https://forum.deltamotion.com/t/adaptive-amplitude-offset-and-phase-control-for-waveforms/208 "2023-02-07T20:08:26Z")

</div>

Intro Adaptive amplitude control is used for high-frequency repeating waveforms such as a sinusoid. The adaptive amplitude control changes the amplitude of the target signal (such as position of force), so that the actu…

---

## [Redundant controllers](https://forum.deltamotion.com/t/redundant-controllers/1133)

<div class="topic-metadata">

**Author:** [@Paul\_Huumala](https://forum.deltamotion.com/u/Paul_Huumala)\
**Replies:** 2\
**Last updated:** [December 28, 2022, 5:36pm UTC](https://forum.deltamotion.com/t/redundant-controllers/1133 "2022-12-28T17:36:58Z")

</div>

Introduction In motion control applications that require redundant motion controllers, each controller must be connected to the feedback, such as a position sensor, and the actuators, such as a proportional valve. This …

---

## [Scale with parameters user function](https://forum.deltamotion.com/t/scale-with-parameters-user-function/1070)

<div class="topic-metadata">

**Author:** [@Jacob\_Paso](https://forum.deltamotion.com/u/Jacob_Paso)\
**Replies:** 0\
**Last updated:** [August 16, 2022, 2:45pm UTC](https://forum.deltamotion.com/t/scale-with-parameters-user-function/1070 "2022-08-16T14:45:30Z")

</div>

This user function scales a value to a different range. It can be used when sending a value, such as an actual position, to an analog output. SCP.rmcflib (1.3 KB)

---

## [RMC75S and LabVIEW](https://forum.deltamotion.com/t/rmc75s-and-labview/1069)

<div class="topic-metadata">

**Author:** [@Paul\_Huumala](https://forum.deltamotion.com/u/Paul_Huumala)\
**Replies:** 0\
**Last updated:** [August 12, 2022, 6:48pm UTC](https://forum.deltamotion.com/t/rmc75s-and-labview/1069 "2022-08-12T18:48:34Z")

</div>

The RMC75S can talk to LabVIEW using Delta provided drivers. Steps to successfully communicate include: Install the dcsRMCxxx driver from the Instrument explorer. Install MODBUS LabVIEW Library 1.1 https://know…

---

## [View Videos and RMCTools Plots with VideoSync (Qt C++ and Python versions)](https://forum.deltamotion.com/t/view-videos-and-rmctools-plots-with-videosync-qt-c-and-python-versions/1059)

<div class="topic-metadata">

**Author:** [@Malcolm\_Anderson](https://forum.deltamotion.com/u/Malcolm_Anderson)\
**Replies:** 0\
**Last updated:** [July 20, 2022, 9:54pm UTC](https://forum.deltamotion.com/t/view-videos-and-rmctools-plots-with-videosync-qt-c-and-python-versions/1059 "2022-07-20T21:54:50Z")

</div>

VideoSync is a Qt C++ application that allows the user to load an RMCTools plot file alongside one or more video files and play them simultaneously. In doing this, the user can observe what was happening to their physica…

---

## [iOS and iPadOS Communication with RMCs via SwiftDMCP (plus example apps)](https://forum.deltamotion.com/t/ios-and-ipados-communication-with-rmcs-via-swiftdmcp-plus-example-apps/1058)

<div class="topic-metadata">

**Author:** [@Malcolm\_Anderson](https://forum.deltamotion.com/u/Malcolm_Anderson)\
**Replies:** 0\
**Last updated:** [July 18, 2022, 10:25pm UTC](https://forum.deltamotion.com/t/ios-and-ipados-communication-with-rmcs-via-swiftdmcp-plus-example-apps/1058 "2022-07-18T22:25:27Z")

</div>

SwiftDMCP is a Swift package that allows Apple platforms (including macOS, iOS, and iPadOS) to communicate with Delta RMCs using the DMCP protocol. Its capabilities include: Reading controller information (controller n…

---

## [Using Qt with DMCP](https://forum.deltamotion.com/t/using-qt-with-dmcp/1057)

<div class="topic-metadata">

**Author:** [@Malcolm\_Anderson](https://forum.deltamotion.com/u/Malcolm_Anderson)\
**Replies:** 0\
**Last updated:** [July 15, 2022, 7:29pm UTC](https://forum.deltamotion.com/t/using-qt-with-dmcp/1057 "2022-07-15T19:29:00Z")

</div>

This example Qt project allows the user to write to and read from an RMC using the Delta Motion Control Protocol (DMCP). QtDMCPExample.zip (10.4 KB) To connect to an RMC, the user must enter the RMC’s IP address, the…

---

## [Expression looping](https://forum.deltamotion.com/t/expression-looping/1021)

<div class="topic-metadata">

**Author:** [@cshoemaker](https://forum.deltamotion.com/u/cshoemaker)\
**Replies:** 1\
**Last updated:** [April 11, 2022, 10:26pm UTC](https://forum.deltamotion.com/t/expression-looping/1021 "2022-04-11T22:26:33Z")

</div>

Is there a way to write a While loop or For Loop or something similar in the Expression window or do I just have to let it repeat the command?

---

## [Downloading large curves](https://forum.deltamotion.com/t/downloading-large-curves/54)

<div class="topic-metadata">

**Author:** [@Jacob\_Paso](https://forum.deltamotion.com/u/Jacob_Paso)\
**Replies:** 2\
**Last updated:** [July 23, 2021, 5:52pm UTC](https://forum.deltamotion.com/t/downloading-large-curves/54 "2021-07-23T17:52:03Z")

</div>

Downloading large curves (also known as cams or splines) to the RMC can be a difficult task. It requires assembling each part, downloading each part, issuing a command after each part, and keeping track of a lot of numb…

---

## [Connecting RMC controllers with Ignition](https://forum.deltamotion.com/t/connecting-rmc-controllers-with-ignition/1017)

<div class="topic-metadata">

**Author:** [@sjuvonen](https://forum.deltamotion.com/u/sjuvonen)\
**Replies:** 0\
**Last updated:** [April 1, 2022, 12:18pm UTC](https://forum.deltamotion.com/t/connecting-rmc-controllers-with-ignition/1017 "2022-04-01T12:18:17Z")

</div>

Ignition is a popular development platform for developing connected applications for SCADA and MES scenarios, including development of HMIs. It is possible to connect Ignition applications to Delta RMC controllers using…

---

## [Trying to reproduce the Axis Definition window in c#](https://forum.deltamotion.com/t/trying-to-reproduce-the-axis-definition-window-in-c/992)

<div class="topic-metadata">

**Author:** [@TCSullivan](https://forum.deltamotion.com/u/TCSullivan)\
**Replies:** 1\
**Last updated:** [February 9, 2022, 1:49pm UTC](https://forum.deltamotion.com/t/trying-to-reproduce-the-axis-definition-window-in-c/992 "2022-02-09T13:49:11Z")

</div>

I am writing a front end to communicate with am RMC75. I can see the Axis Definition Registers but can’t workout how the ‘Axis Type’ or the ‘Control Loop’ is obtained. Any help would be appreciated.

---

## [Communicating with an SLC500](https://forum.deltamotion.com/t/communicating-with-an-slc500/25)

<div class="topic-metadata">

**Author:** [@Leland](https://forum.deltamotion.com/u/Leland)\
**Replies:** 1\
**Last updated:** [February 4, 2008, 11:01pm UTC](https://forum.deltamotion.com/t/communicating-with-an-slc500/25 "2008-02-04T23:01:53Z")

</div>

One of my customers is using a SLC500 with an RMC150. Is there any way to communicate using a serial interface? I know they make Serial-Ethernet converters, but I hesitate to buy any until I know that they work. Has anyb…

---

## [Use of Gear Absolute (25) Command](https://forum.deltamotion.com/t/use-of-gear-absolute-25-command/966)

<div class="topic-metadata">

**Author:** [@mars\_bruce\_lee](https://forum.deltamotion.com/u/mars_bruce_lee)\
**Replies:** 1\
**Last updated:** [December 20, 2021, 7:29pm UTC](https://forum.deltamotion.com/t/use-of-gear-absolute-25-command/966 "2021-12-20T19:29:06Z")

</div>

Use of Gear Absolute (25) Command 1: Can Gear Absolute (25) be called once to establish the gear relationship between the master axis and the slave axis, there is no need to call it cyclically? In the project, Gear Abs…

---

## [Communicating with Allen-Bradley Micro850](https://forum.deltamotion.com/t/communicating-with-allen-bradley-micro850/962)

<div class="topic-metadata">

**Author:** [@Jacob\_Paso](https://forum.deltamotion.com/u/Jacob_Paso)\
**Replies:** 0\
**Last updated:** [December 8, 2021, 7:26pm UTC](https://forum.deltamotion.com/t/communicating-with-allen-bradley-micro850/962 "2021-12-08T19:26:52Z")

</div>

The Allen-Bradley Micro800 family is a low-cost PLC system with limited functionality. Micro800 PLCs can communicate with the RMC over Ethernet via Modbus/TCP. Attached is document with step-by-step instructions, along …

---

## [Superimposed Sinusoidal Waves via Expressions](https://forum.deltamotion.com/t/superimposed-sinusoidal-waves-via-expressions/956)

<div class="topic-metadata">

**Author:** [@Jacob\_Paso](https://forum.deltamotion.com/u/Jacob_Paso)\
**Replies:** 0\
**Last updated:** [November 17, 2021, 7:51pm UTC](https://forum.deltamotion.com/t/superimposed-sinusoidal-waves-via-expressions/956 "2021-11-17T19:51:22Z")

</div>

An easy way to create motion consisting of superimposed sine waves is to use virtual axes, add the target positions, and gear to that value. The disadvantage is that this uses up axes, and the RMC75 has a limited number …

---

## [Notch Filter on feedback](https://forum.deltamotion.com/t/notch-filter-on-feedback/916)

<div class="topic-metadata">

**Author:** [@khonodel](https://forum.deltamotion.com/u/khonodel)\
**Replies:** 5\
**Last updated:** [July 19, 2021, 9:05pm UTC](https://forum.deltamotion.com/t/notch-filter-on-feedback/916 "2021-07-19T21:05:45Z")

</div>

Hi! I have a steady 12.5Hz oscillation in my feedback that i’d like to filter out in the controller but i dont want to introduce phase delay. I was thinking a notch filter might work, but i dont see one implemented in t…

---

## [Velocity Feed Forward in Force Control for Testing Cylinders](https://forum.deltamotion.com/t/velocity-feed-forward-in-force-control-for-testing-cylinders/898)

<div class="topic-metadata">

**Author:** [@Jacob\_Paso](https://forum.deltamotion.com/u/Jacob_Paso)\
**Replies:** 6\
**Last updated:** [July 13, 2021, 10:46pm UTC](https://forum.deltamotion.com/t/velocity-feed-forward-in-force-control-for-testing-cylinders/898 "2021-07-13T22:46:46Z")

</div>

Introduction When testing actuators, it is common to use one hydraulic cylinder (the loading cylinder) to apply a constant force on the cylinder that is the unit under test (UUT), while the position of the UUT is moving…

---

## [Accelerate based on distance](https://forum.deltamotion.com/t/accelerate-based-on-distance/168)

<div class="topic-metadata">

**Author:** [@Jacob\_Paso](https://forum.deltamotion.com/u/Jacob_Paso)\
**Replies:** 0\
**Last updated:** [April 10, 2012, 12:14am UTC](https://forum.deltamotion.com/t/accelerate-based-on-distance/168 "2012-04-10T00:14:54Z")

</div>

Here is how to specify acceleration or deceleration based on distance: First you need to know the initial velocity, the final velocity, and the desired distance. Use the equation Make a user program to calculate the …

---

## [Programmatically set commanded axis in user program](https://forum.deltamotion.com/t/programmatically-set-commanded-axis-in-user-program/79)

<div class="topic-metadata">

**Author:** [@Jacob\_Paso](https://forum.deltamotion.com/u/Jacob_Paso)\
**Replies:** 0\
**Last updated:** [January 8, 2010, 6:48pm UTC](https://forum.deltamotion.com/t/programmatically-set-commanded-axis-in-user-program/79 "2010-01-08T18:48:44Z")

</div>

In a user program, you can programmatically set the commanded axis. For a command in a user program, the Commanded Axes has an option called Default Axis. The \_CurAxis tag defines the Default Axis for the task on which t…

---

## [Differential Force Scale and Offset for Multiple Cylinders](https://forum.deltamotion.com/t/differential-force-scale-and-offset-for-multiple-cylinders/418)

<div class="topic-metadata">

**Author:** [@Jacob\_Paso](https://forum.deltamotion.com/u/Jacob_Paso)\
**Replies:** 0\
**Last updated:** [March 22, 2017, 5:33pm UTC](https://forum.deltamotion.com/t/differential-force-scale-and-offset-for-multiple-cylinders/418 "2017-03-22T17:33:07Z")

</div>

For systems where one pressure sensor is measuring the cap end pressure of multiple cylinders and another is measuring the rod end, the attached Excel spreadsheet has calculations for determining the Channel A and Channe…

---

## [Enabling Full Memory Dump Files](https://forum.deltamotion.com/t/enabling-full-memory-dump-files/222)

<div class="topic-metadata">

**Author:** [@Jacob\_Paso](https://forum.deltamotion.com/u/Jacob_Paso)\
**Replies:** 0\
**Last updated:** [August 22, 2013, 6:01pm UTC](https://forum.deltamotion.com/t/enabling-full-memory-dump-files/222 "2013-08-22T18:01:12Z")

</div>

In order to track certain application errors in RMCTools, it is helpful to generate a full memory dump file. These files are often significantly larger than the default memory dump files generated by RMCTools. However, t…

---

## [Fault Input for any RMC150E position axis](https://forum.deltamotion.com/t/fault-input-for-any-rmc150e-position-axis/431)

<div class="topic-metadata">

**Author:** [@Jacob\_Paso](https://forum.deltamotion.com/u/Jacob_Paso)\
**Replies:** 0\
**Last updated:** [October 4, 2017, 4:00pm UTC](https://forum.deltamotion.com/t/fault-input-for-any-rmc150e-position-axis/431 "2017-10-04T16:00:22Z")

</div>

The RMC150E has a physical discrete Fault Input only on the Quad module. To implement fault input functionality for position control axes that use RMC150 modules other than the Quad, follow the instructions below. Choo…

---

## [Fill an array of unknown size](https://forum.deltamotion.com/t/fill-an-array-of-unknown-size/191)

<div class="topic-metadata">

**Author:** [@Jacob\_Paso](https://forum.deltamotion.com/u/Jacob_Paso)\
**Replies:** 0\
**Last updated:** [November 29, 2012, 7:18pm UTC](https://forum.deltamotion.com/t/fill-an-array-of-unknown-size/191 "2012-11-29T19:18:35Z")

</div>

Filling an array of unknown size is a bit tricky since the Fill function is limited to filling 32 registers of an array. Here is one method. This example is limited to arrays of length 128. To increase the max size, simp…

---

## [Starting User Programs by writing to a variable](https://forum.deltamotion.com/t/starting-user-programs-by-writing-to-a-variable/119)

<div class="topic-metadata">

**Author:** [@Jacob\_Paso](https://forum.deltamotion.com/u/Jacob_Paso)\
**Replies:** 0\
**Last updated:** [January 26, 2011, 5:18pm UTC](https://forum.deltamotion.com/t/starting-user-programs-by-writing-to-a-variable/119 "2011-01-26T17:18:01Z")

</div>

The simplest method of starting a program is to write to a variable. This is useful for communicating with the RMC from a PLC. Once it is set up, the PLC simply needs to write to a value to a variable in the RMC to start…

[Previous page](https://forum.deltamotion.com/c/knowledge-base-examples/24.md)

[Next page](https://forum.deltamotion.com/c/knowledge-base-examples/24.md?page=2)
