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

How to recieve analog input faster.

  • Bapp
  • May 15, 2025 at 2:21 PM
  • Thread is Unresolved
  • Bapp
    FANUC Life
    Reactions Received
    4
    Posts
    20
    • May 15, 2025 at 2:21 PM
    • #1

    Hello,

    So i have this cell where I have to check how much tape is present on my taping head.

    The thing is that when I was testing the Analog input the time from min to max value is around 35 seconds which is terribly slow near the minimal and maximal values (0-1441).

    When I measured this with multimeter the values went much much quicker which made me think that Fanuc is slowing it down for some reason, maybe it's a software thing.

    So I'd like to know If there is a way to somehow speed up this process, maybe changing a variable of some sort.

    Hope this makes sense, I'm in a bit of a rush. Any tips are appreciated :winking_face:

    :wheelchair_symbol: Still learning please be patient :wheelchair_symbol:

  • Online
    Nation
    Typical Robot Error
    Reactions Received
    537
    Trophies
    9
    Posts
    1,917
    • May 15, 2025 at 2:57 PM
    • #2

    That is crazy slow. How is the analog input getting to the controller? Via an input card? If so, what input card?

    Are you measuring voltage, or 4-20ma?

    Check out the Fanuc position converter I wrote here! Now open source!

    Check out my example Fanuc Ethernet/IP Explicit Messaging program here!

  • Bapp
    FANUC Life
    Reactions Received
    4
    Posts
    20
    • May 15, 2025 at 3:15 PM
    • #3

    Hey thanks for the reply,

    We are measuring voltage.

    So I have this horizontal rack with an I/F card which is connected to the R30iB Compact Plus and 2 analog input cards on this rack right next to each other (both 12bit).

    Yeah its quite slow which really wouldn't be a problem in itself, but the time to change the tape on my taping head is around 1:30min and I can't really have 35s just to measure the tape.

    :wheelchair_symbol: Still learning please be patient :wheelchair_symbol:

  • Online
    SkyeFire
    Reactions Received
    1,051
    Trophies
    12
    Posts
    9,424
    • May 15, 2025 at 3:40 PM
    • #4
    Quote from Bapp

    The thing is that when I was testing the Analog input the time from min to max value is around 35 seconds which is terribly slow near the minimal and maximal values (0-1441).

    Nation is right, that's insanely slow. How are you changing the voltage input? Just pushing the sensor to one limit, then throwing it to the other limit? How fast is the sensor physically changing between max and min?

    Quote from Bapp

    So I have this horizontal rack with an I/F card which is connected to the R30iB Compact Plus and 2 analog input cards on this rack right next to each other (both 12bit).

    So, IIRC, the Fanuc should communicate with the analog input device every 12ms. So I'm inclined to think the issue is somewhere in the I/F card. It sounds almost as if your AD converter has some sort of rate limit (maybe a hefty low-pass filter?), or possibly a big capacitor (which has similar low-pass filtering effects, but in hardware) on the analog side. Given what you're seeing with a voltmeter, I would doubt the capacitor, but it'd still be something to check. Ideally you could capture the voltage waveform over time with a o-scope or a DAQ and see the shape of the voltage/time curve.

    I don't know offhand if Fanuc has any built-in low-pass-filtering available in the software config of analog inputs, but that would be something to check for. How are you monitoring the input on the robot side?

  • Bapp
    FANUC Life
    Reactions Received
    4
    Posts
    20
    • May 16, 2025 at 7:46 AM
    • #5
    Quote from SkyeFire

    Nation is right, that's insanely slow. How are you changing the voltage input? Just pushing the sensor to one limit, then throwing it to the other limit? How fast is the sensor physically changing between max and min?

    We used a linear potentiometer just to test the card out. Yeah so we pushed it to either limit and just waited to see how fast and far the value in AI [1] gets. Physically the sensor is quite fast, just push or pull takes about second to do it maybe less.

    Quote from SkyeFire

    So, IIRC, the Fanuc should communicate with the analog input device every 12ms. So I'm inclined to think the issue is somewhere in the I/F card. It sounds almost as if your AD converter has some sort of rate limit (maybe a hefty low-pass filter?), or possibly a big capacitor (which has similar low-pass filtering effects, but in hardware) on the analog side. Given what you're seeing with a voltmeter, I would doubt the capacitor, but it'd still be something to check. Ideally you could capture the voltage waveform over time with a o-scope or a DAQ and see the shape of the voltage/time curve.

    It's our first time working with analog cards and basically with FANUC in general. We dont really have an o-scope to check, worst case scenario is we will just run the sensor throught PLC which has proven to work before.

    Quote from SkyeFire

    I don't know offhand if Fanuc has any built-in low-pass-filtering available in the software config of analog inputs, but that would be something to check for. How are you monitoring the input on the robot side?

    Yeah so I'm still searching for some variables or some config I could use and tweak to have desired outcome. We are monitoring the input from the AI [1].

    :wheelchair_symbol: Still learning please be patient :wheelchair_symbol:

  • Online
    SkyeFire
    Reactions Received
    1,051
    Trophies
    12
    Posts
    9,424
    • May 16, 2025 at 8:52 PM
    • New
    • #6

    Hm... there's a thread from a few years back with a similar issue, but no resolution:

    Thread

    AAD04A Analog Input Card Refresh Rate

    I am having an interesting issue where the analog input is updating extremely slowly. I have a laser sensor that outputs 0-10V, this signal wire is landed on V+, the V- has the same ground that the sensor is using and com and v- are connected.

    I can see on the multimeter the sensor output switch from 0 -> 10V instantly but on the card it's updating at about 35/sec (0-600, respective to my 0-10V).

    Anyone have any idea why my refresh rate would be so slow?

    It's on a R30iB controller.
    KyleW
    February 2, 2021 at 2:35 PM

    So you're not the only one.

    There's another one that has a different problem, but the discussion might be useful:

    Thread

    Analog Input Wiring

    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.

    robot-forum.com/attachment/35646/ robot-forum.com/attachment/35645/
    jariuscs
    October 5, 2022 at 12:42 AM
  • Bapp
    FANUC Life
    Reactions Received
    4
    Posts
    20
    • June 10, 2025 at 10:59 AM
    • New
    • #7

    So still not really a solution, but maybe someone will find this useful.

    I tried changing $SCAN_TIME variable to 1 (ms) and it sort of helped with the refresh rate of the values gained from analog input. Right now it is somewhat acceptable for my application.

    :wheelchair_symbol: Still learning please be patient :wheelchair_symbol:

  • MoEL
    Reactions Received
    1
    Trophies
    2
    Posts
    102
    • June 10, 2025 at 2:51 PM
    • New
    • #8
    Quote from Bapp

    So still not really a solution, but maybe someone will find this useful.

    I tried changing $SCAN_TIME variable to 1 (ms) and it sort of helped with the refresh rate of the values gained from analog input. Right now it is somewhat acceptable for my application.

    Have you tried this ?

    Post

    RE: Analog Input Wiring

    I'm a little late but this is probably the issue. You need to change some variables to get the 16bit card to work correctly.

    robot-forum.com/attachment/39412/
    beanluke
    March 12, 2024 at 8:26 PM
    39412-pasted-from-clipboard-png
  • Bapp
    FANUC Life
    Reactions Received
    4
    Posts
    20
    • June 10, 2025 at 3:49 PM
    • New
    • #9

    Well I did sort of.

    I picked IOLNK[1] and put in the same rack and slot as my analog input card was mapped to:

    Rack= 1 Slot= 1 Input_n= ? Output_n= ? Option= 1 - dont really know what IN/OUTput_n is.

    All it did was change the values of the card from +-4086 to +-65656 so yeah I kind of just went with the scan time

    :wheelchair_symbol: Still learning please be patient :wheelchair_symbol:

    Edited once, last by Bapp (June 11, 2025 at 8:04 AM).

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

Users Viewing This Thread

  • 2 Guests
  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