Machsupport Forum

Mach Discussion => Brains Development => Topic started by: aakici on January 06, 2014, 06:25:55 PM

Title: How to use Modbus data as axis data
Post by: aakici on January 06, 2014, 06:25:55 PM
I have a siemens s7-200 cpu 224xp connected to 2 rotary and 1 linear encoders. I send these data over modbus to mach3. I see data at brain control. How can i use these data as X, Y and Z axis data?
Title: Re: How to use Modbus data as axis data
Post by: aakici on January 07, 2014, 07:40:59 PM
here is my encoder valu sent by modbus. i can see encoder value here and x encoder position value.
(http://i39.tinypic.com/2wel44l.jpg)
(http://i43.tinypic.com/mj5s3p.jpg)

however i want to see encoder value with x axis value updated automatically
(http://i43.tinypic.com/mj5s3p.jpg)

if i click on Load to DRO encoder value goes to x axis DRO.

How can i do encoder value automatically loads to X axis DRO?

Helps are appreciated.
Title: Re: How to use Modbus data as axis data
Post by: cncalex on January 12, 2014, 10:34:36 AM
You are trying to get a closed loop system. It's impossible.
Alex
Title: Re: How to use Modbus data as axis data
Post by: aakici on January 12, 2014, 05:01:36 PM
Thank you for your reply. After reading manuals and visiting forum messages, i found that. Mach3 is not for closed loop systems. Now i am trying Linuxcnc.