News:

  • October 18, 2026, 05:45:37 PM

Login with username, password and session length

Author Topic: Receive SPC data to PLC?  (Read 7441 times)

JoshChapman

  • Newbie
  • *
  • Posts: 5
Receive SPC data to PLC?
« on: February 17, 2021, 06:57:39 PM »
I need to interface a Mitutoyo digital indicator with SPC output into a BRX PLC. Has anyone done this? What is the best way?

JoshChapman

  • Newbie
  • *
  • Posts: 5
Re: Receive SPC data to PLC?
« Reply #1 on: February 18, 2021, 12:45:51 PM »
I found this description (attached image) of the data from a Mitutoyo SPC port. It seems like it would be relatively easy to read directly off the pins. I also read somewhere that the data is in BCD number format but I don't really understand what that means. Anyone have any guidance?

Bolt

  • Hero Member
  • *****
  • Posts: 598
Re: Receive SPC data to PLC?
« Reply #2 on: February 18, 2021, 02:50:50 PM »
I would think you need to run the SPC to a multiplexer, then that to PLC via RS232.

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: Receive SPC data to PLC?
« Reply #3 on: February 19, 2021, 06:42:46 AM »
You could probably do it with the high speed inputs and interrupts on the BRX. Take some work, but I think its fast enough if the BRX doesn't have very much going on when you want to take the measurement.  However, If they sell a serial or network converter, I would get that.

Garyhlucas

  • Hero Member
  • *****
  • Posts: 421
Re: Receive SPC data to PLC?
« Reply #4 on: February 19, 2021, 02:03:27 PM »
BCD uses 4 bits per digit of a 16 bit word. So a 16 bit word has a range of 0 to 9999. A double word of 32 bits gives you 0 to 99,999,999. You decide where the decimal point goes.