Hello Guest it is March 29, 2024, 05:23:42 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - abacus

Pages: 1
1
Brains Development / Re: Howto send DRO Axis information?
« on: January 09, 2008, 10:45:57 AM »
I fear you do not understand what I mean.

The DROs content is a floting point value , and you need more than one 16bit register to represent this value. But Mach3 sends only one 16bit register.

Forget about HEX, ASCII, Real or Binary - this is the step that folows after Mach3 has transmit the value to the PLC. I can not handle with a value that will not completely transmited.

Thanks, G.

2
Brains Development / Re: Howto send DRO Axis information?
« on: January 09, 2008, 09:19:15 AM »
Hi scott,

Quote
The value transfer problem may be in how your handeling the date at the Device side.

the transfer is device independent. In Modbus configuration dialog Cfg #0 I set Slave #: 2, Adress: 0, # of Registers: 1, Direction: Output-Holding with a refreshrate of 100ms. Mach3 sends only one 16 bit register over Modbus.

Example:

Mach3 X-Axis DRO shows +9.9750 and send "02 06 00 00 00 09 49 FF" over Modbus.

X-Axis DRO = 65535.0000 -> Modbus "02 06 00 00 FF FF 88 49"

X-Axis DRO = 65536.0000 -> Modbus "02 06 00 00 00 00 89 F9"


Thanks, G.

3
Brains Development / Re: Howto send DRO Axis information?
« on: January 09, 2008, 04:37:45 AM »
Hi,

Quote
in a 16 bit value i can send 2 caracters (ascii)

This is exact the problem I have. The register contains only the places before the decimal point and it is also limited to 65535 because of the width 16bit registers.

Where is the rest?

Thanks, G.

4
Brains Development / Howto send DRO Axis information?
« on: January 08, 2008, 06:52:50 AM »
Hi @all,

I've just startet using brains but my MPG allready works. Now I want to send the current axis position to my Modbus device but I don't know how.

My test brain uses Mach3 DRO's "842-X Position" as input, a no operation lobe and a Modbus serial plugin enables output terminator. But waht kind of data I get if I get any data?

Thanks, G.

Pages: 1