1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Forum
  3. Industrial Robot Support and Discussion Center
  4. Fanuc Robot Forum
Your browser does not support videos RoboDK Software for simulation and programming
Visit our Mainsponsor
IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Sponsored Ads

Analog Input Wiring

  • jariuscs
  • October 5, 2022 at 12:42 AM
  • Thread is Resolved
  • jariuscs
    Reactions Received
    4
    Trophies
    4
    Posts
    173
    • October 5, 2022 at 12:42 AM
    • #1

    Hello all

    working with an R30IA Controller.

    I got a AAD04B Analog input module and I would like to connect a Balluff Distance Sensor to it. I am new to analog signals and am confused how to connect the sensor to the input module.

    attached is a picture of the Fanuc module schematic and a picture of the Balluff sensor schematic.

    Any Help is much appreciated. thanks.

  • Go to Best Answer
  • pdl
    Reactions Received
    266
    Trophies
    9
    Posts
    1,504
    • October 5, 2022 at 1:30 AM
    • #2

    What is the specific sensor model?

  • jariuscs
    Reactions Received
    4
    Trophies
    4
    Posts
    173
    • October 5, 2022 at 5:19 PM
    • #3

    Sorry I forgot to mention its a 4-20ma sensor

    the model is: BAW M12MF-ICC70G-BP02

  • DaveP
    Reactions Received
    23
    Trophies
    4
    Posts
    199
    • October 5, 2022 at 6:14 PM
    • #4

    My guess is that you connect BN to +24VDC, BU to 0VDC and V2- on the analog input card, WH to I2+ AND V2+ on the analog input card, then install a 250 ohm resistor between I2+ and V2- on the analog input card. You can connect the sensor to any of the 4 channels, replace the 2 with the desired channel number (0-3).

  • jariuscs
    Reactions Received
    4
    Trophies
    4
    Posts
    173
    • October 5, 2022 at 9:45 PM
    • #5

    Thanks DaveP for the help.

    I wired it up like you described, except I used a 220 ohm resistor since that's what I had on hand. but now when I watch the readings on the teach pendant, I get about 2428 at the furthest distance, and it counts down to 0 after moving closer by only about 1/4 of the distance, and then it jumps up to 4096 and starts counting down again as I move closer ending at 1645 as the closest reading.

    so something is still off. Any ideas?

  • hermann
    Reactions Received
    403
    Trophies
    9
    Posts
    2,593
    • October 6, 2022 at 8:09 AM
    • #6

    You don't need an external resistor. There are builtin resistors.

    Use the lower part of the schematic. So the rest of DaveP's suggestion should be OK.

  • jariuscs
    Reactions Received
    4
    Trophies
    4
    Posts
    173
    • October 6, 2022 at 4:10 PM
    • #7

    So when I wire it up like DaveP said, buy without the resistor, the count on the teach pendant starts at 1749 and then counts down to zero 3 times(and restarts at 4096), and then ends at 3538.

    nothing changes when I connect V2- and COM2.

    the power supply has no ground on the 24v side, so I don't have it connected to the FG2.

    I know the sensor works because I had it connected to a siemens 4-20ma input module and it worked flawlessly.

    Below is the schematic with the notes underneath visible, maybe that will tell you what I am missing.


  • HawkME
    Reactions Received
    567
    Trophies
    10
    Posts
    3,268
    • October 6, 2022 at 8:00 PM
    • #8

    With analog signals it usually works best if all of your commons are tied to the same reference point, ground.

    That would mean connecting your DC negative to ground.

  • jariuscs
    Reactions Received
    4
    Trophies
    4
    Posts
    173
    • October 6, 2022 at 9:24 PM
    • #9

    Thanks HawkMe for the reply.

    I added a wire from 0v on the 24v side of the power supply to the Cabinet Ground, and also a wire from there to COM2, and it still act the exact same way. is it possible something is configured wrong? all 4 analog channels show up in analog inputs.

  • jariuscs
    Reactions Received
    4
    Trophies
    4
    Posts
    173
    • October 6, 2022 at 10:19 PM
    • #10

    also I did a test where I measure the voltage between V2- and I2+ and it starts at 4.4v and ends at 1.1v as I move the sensor closer, and it appears to move perfectly linearly. also I did an amp reading and it started at 0.005amps and ended at .018amps with my volt meter, which is 5-18ma with a proper milliamp reader it would probably come out a little better. I also tried the channel 3 instead of channel 2 and it reacts the exact same way. so what could I be missing? configurations maybe?

  • HawkME
    Reactions Received
    567
    Trophies
    10
    Posts
    3,268
    • October 6, 2022 at 11:25 PM
    • #11

    Can you show your config screen?

  • jariuscs
    Reactions Received
    4
    Trophies
    4
    Posts
    173
    • October 6, 2022 at 11:46 PM
    • #12

  • jariuscs
    Reactions Received
    4
    Trophies
    4
    Posts
    173
    • October 6, 2022 at 11:48 PM
    • #13

  • jariuscs
    Reactions Received
    4
    Trophies
    4
    Posts
    173
    • October 7, 2022 at 12:30 AM
    • #14

    So I connected a little analog signal generator(model SG-002), and it acts the exact same way when I have it setup as 4-20ma, but when I change it to 0-10v and wire it accordingly, it also counts up and restarts the count at 0, but with voltage it counts up and resets 7 times, as opposed to 3 times with 4-20ma. maybe this can help narrow down the problem.

  • HawkME
    Reactions Received
    567
    Trophies
    10
    Posts
    3,268
    • October 7, 2022 at 2:39 AM
    • #15

    Can you give us a sketch showing exactly how you have it wired?


    *Edit*

    I see the wiring in the picture. Looks like it should work. I have 2 ideas to try.

    1. Ground FG3.

    2. Take a backup first incase you need to restore the IO configs. Then try setting the system variable $IO_AUTO_CFG to true. Then cycle power and see if it automatically creates the same config for your analog card (same rack slot/slot assignment).


    If that doesn't help then it may be time to call Fanuc.

  • jariuscs
    Reactions Received
    4
    Trophies
    4
    Posts
    173
    • October 7, 2022 at 4:27 PM
    • #16

    Below is how I wired it. I even added the FG2 to ground.(except its wired to input 3 not 2 at the moment) adding FG to ground doesn't seem to make a difference though. when I look at the variable you mention I see it is already set to true. which is odd, because I thought I had configured all the IO myself.

  • HawkME
    Reactions Received
    567
    Trophies
    10
    Posts
    3,268
    • October 7, 2022 at 5:19 PM
    • #17

    Have you tried doing voltage instead of current? Disconnect I+.

    Maybe the analog card is bad. Do you have another one you could try?

  • jariuscs
    Reactions Received
    4
    Trophies
    4
    Posts
    173
    • October 7, 2022 at 5:29 PM
    • #18

    I did try voltage with a signal generator, wired like you said, and the results were very similar to what I am seeing now, it counted up and reset to zero about 7 times instead of 3 times with current.

    Unfortunately I don't have another card to try, I bought this one brand new on eBay.

    this is the 16 bit version of the card, does this affect anything maybe? I might not need the high resolution, what I am after is a higher refresh rate then, when I had it run through a siemens PLC into the robot using group inputs.

  • HawkME
    Reactions Received
    567
    Trophies
    10
    Posts
    3,268
    • October 7, 2022 at 6:34 PM
    • #19

    Unless anyone else on the forum has a different idea, my guess is it is a bad card from Ebay. You could also call Fanuc to have them help troubleshoot. Can you buy a new card direct from Fanuc instead?

  • hermann
    Reactions Received
    403
    Trophies
    9
    Posts
    2,593
    • October 8, 2022 at 7:21 AM
    • #20

    Did you try another input, not always no 3?

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics

Job Postings

  • Anyware Robotics is hiring!

    yzhou377 February 23, 2025 at 4:54 AM
  • How to see your Job Posting (search or recruit) here in Robot-Forum.com

    Werner Hampel November 18, 2021 at 3:44 PM
Your browser does not support videos RoboDK Software for simulation and programming

Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Thread Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Similar Threads

  • I/O Communication problem wiith PLC

    • Dalin
    • September 27, 2018 at 9:23 PM
    • Kawasaki Robot Forum
  • 24v analog outputs FANUC R-J3

    • Mark Krohn
    • March 24, 2020 at 12:12 PM
    • Fanuc Robot Forum
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download