Hello Guest it is July 08, 2020, 07:48:54 AM

Author Topic: Display of analogue input?  (Read 3767 times)

0 Members and 1 Guest are viewing this topic.

Offline Davek0974

*
  •  2,597 2,597
    • View Profile
    • DD Metal Products Ltd
Display of analogue input?
« on: October 16, 2016, 08:24:06 AM »
This is what i have....

CSMIO-Ip/A with spare analogue input 0-10v
VFD with analogue output programmed to show motor power in kW ranging from 0 to 150% as a 0-10v signal
Mach3

What i was thinking of is...

Adding a DRO to the screen that shows spindle power, either as kW or as % from 0 to 100% etc

Not important - just a bell or whistle but you know how it goes :)

So, is this possible? I am unsure as to the method of connecting the input signal to the DRO, the electrical side seems pretty well matched so thats easy.

Maybe a brain?
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Display of analogue input?
« Reply #1 on: October 16, 2016, 09:29:38 AM »
Just use a Brain or the Macropump to read the IP-A's input, do any calculations required and write it to the user DRO of choice.

Hood

Offline Davek0974

*
  •  2,597 2,597
    • View Profile
    • DD Metal Products Ltd
Re: Display of analogue input?
« Reply #2 on: October 16, 2016, 09:37:09 AM »
Nice :)

I guess % is easiest - if the 0-10v = 0 to 150% then 6.67v is about 100%

Will have a play ;)
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Display of analogue input?
« Reply #3 on: October 16, 2016, 09:45:32 AM »
Yes, as long as the voltage is linear it will work well.
Just read via the modbus  from the IP-A in a brain, do your calcs and have the brain write to the user DRO.
I do it on the lathe and Beaver mill for Feed and Spindle overrides via analogue inputs on my PLC, they both use SmoothSteppers so no luxury of the ready converted analogue to digital that the IP-A has :D


Hood

Offline Davek0974

*
  •  2,597 2,597
    • View Profile
    • DD Metal Products Ltd
Re: Display of analogue input?
« Reply #4 on: October 16, 2016, 09:57:33 AM »
Well i'll have to presume they are linear, most 0-10v stuff seems to be.

Modbus or GetInput(82) for channel 2?

Not read modbus before :)

Looks like 10v = a value of 4095 with GetInput(xx)

A division by 27.30 should give me 150% display for 10V
« Last Edit: October 16, 2016, 10:03:16 AM by Davek0974 »
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Display of analogue input?
« Reply #5 on: October 16, 2016, 10:40:11 AM »
If doing via a Brain it would be the Modbus you would use.
Can't recall exactly how it is set up for the IP-A in the Brain and no way am I going down to the workshop today to find out, screaming here and it is about high tide so the road will be about 500mm deep in sea water :D

Offline Davek0974

*
  •  2,597 2,597
    • View Profile
    • DD Metal Products Ltd
Re: Display of analogue input?
« Reply #6 on: October 16, 2016, 10:55:35 AM »
No worries, got feet up here too, drinks time :)

I seem to prefer macro pump but will look up modbus etc

Have added a user DRO to screen ;)
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Display of analogue input?
« Reply #7 on: October 16, 2016, 02:10:32 PM »
My preference would likely be Macropump as well but if the macropump has too much in it it can get slow so Brains are an alternative if you already have plenty in the macropump.

Hood

Offline Davek0974

*
  •  2,597 2,597
    • View Profile
    • DD Metal Products Ltd
Re: Display of analogue input?
« Reply #8 on: October 17, 2016, 04:47:45 AM »
If i have the DRO defined as three digits, no decimals do i need to concern myself with the sum being fed to it??

Say the input is reading 3189 then my sum is SetUserDRO(1010, GetInput(82)/27.3) which gives me a value of 116.813% (range is 0 to 150%)

Can i ignore the decimals?
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Display of analogue input?
« Reply #9 on: October 17, 2016, 06:42:28 AM »
As long as the DROs format string has defined it as no decimals then it will just display the whole numbers.

Hood