Hello Guest it is March 28, 2024, 07:28:22 PM

Author Topic: RS485 & RS232C serial communications  (Read 2239 times)

0 Members and 1 Guest are viewing this topic.

RS485 & RS232C serial communications
« on: October 11, 2016, 12:09:16 PM »
I've been working with Panasonic FP0R series controller http://www.clrwtr.com/PDF/Panasonic/Panasonic-FP0R-PLC.pdf to interface with Mach3. My issue is that ModBus seems a bit random in its ability to work. I've tried three different ModBus converters, all with the same basic results - no response, random responses, etc.
Re: RS485 & RS232C serial communications
« Reply #1 on: October 11, 2016, 01:57:13 PM »
I'll have a go at this... but I do not declare myself an expert.

1) that looks like a motion controller

2) rs232 won't work with mach (unless you write a plugin for it)

3) rs485 rtu modbus will work... sort of...  it depends what functions you are trying to access there is a manual here
https://www.google.co.uk/url?sa=t&source=web&rct=j&url=http://www.homanndesigns.com/pdfs/Using_Modbus_with_Mach3.pdf&ved=0ahUKEwi5tOOCqNPPAhUqIcAKHYeaB9QQFghJMAM&usg=AFQjCNFCiN3KferpkfMlGbwoiixsfVL-Yg&sig2=tCsrndJbyuZ1SCm3gt_pRA

4).... motion controller.... hmmm not a good idea via mach3 current modbus application.... the problem is you would need to write your own plugin... because mach3 firstly expects to push motion out to a parallel port.. or motion controller via custom plugin because modbus runs at 10hz and motion is not output via modbus...

Mach3 mach4 will be the same ... you'll need to write a plugin to get faster access to Mach and direct access for motion to be passed put to your motion controller in modbus

(Sorry not living up to my strap line below very well of explaining the problem)
Rob

Albert Einstein ― “If you can't explain it to a six year old, you don't understand it yourself.”
Re: RS485 & RS232C serial communications
« Reply #2 on: October 11, 2016, 02:49:29 PM »
Accidentally on the wrong place
Re: RS485 & RS232C serial communications
« Reply #3 on: October 11, 2016, 02:58:39 PM »
Rob

Albert Einstein ― “If you can't explain it to a six year old, you don't understand it yourself.”