# RMC + Linux

**URL:** <https://forum.deltamotion.com/t/rmc-linux/1422>\
**Category:** Programming\
**Created:** [April 25, 2025, 9:31pm UTC](https://forum.deltamotion.com/t/rmc-linux/1422 "2025-04-25T21:31:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonatWET](https://forum.deltamotion.com/letter_avatar_proxy/v4/letter/j/96bed5/32.png) [@jonatWET](https://forum.deltamotion.com/u/jonatWET)\
**Post date:** [April 25, 2025, 9:31pm UTC](https://forum.deltamotion.com/t/rmc-linux/1422/1 "2025-04-25T21:31:52Z")

</div>

I have an RMC200 that I want to interface with via a Linux system. I am looking for basic controls and the ability to read/write variable names. Is there a sample program that demonstrates this functionality?

---

<div class="post-metadata">

**Author:** ![Aaron\_Heinrich](https://forum.deltamotion.com/letter_avatar_proxy/v4/letter/a/54ee81/32.png) [@Aaron\_Heinrich](https://forum.deltamotion.com/u/Aaron_Heinrich)\
**Post date:** [April 25, 2025, 10:18pm UTC](https://forum.deltamotion.com/t/rmc-linux/1422/2 "2025-04-25T22:18:47Z")

</div>

Hello Jon,

Yes, I believe the example you are looking for is this one:

> [@DMCP Example for Linux in C](https://forum.deltamotion.com/t/dmcp-example-for-linux-in-c/201):
>
> The Delta Motion Control Protocol (DMCP) is a simple Ethernet protocol intended for use with direct communication to the RMC75E, RMC150E, and RMC200 over TCP or UDP. In applications where none of the RMC’s other protocols are supported by the master controller, and the RMCLink ActiveX Control and .Net Assembly cannot be used, but direct communication over TCP or UDP is allowed, Delta recommends that the DMCP protocol be implemented by the user manually. This includes embedded applications. The …

The .zip file linked in the above topic has a C example. As far as reading and writing variable tags, that cannot be done via DMCP. You would need to define your variable tags with RMCTools software and flash the controller’s non-volatile memory, but once the variables have been defined then you can read and write to them directly.

For details on formatting DMCP packets, see:  
[Communicating Directly via TCP](https://deltamotion.com/support/webhelp/rmctools/#Communications/Ethernet/Ethernet_Directly_over_TCP.htm)  
[Communicating Directly via UDP](https://deltamotion.com/support/webhelp/rmctools/#Communications/Ethernet/Ethernet_Direct_over_UDP.htm)
