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. Kawasaki 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

Adding 1FH Board for Analog Input

  • Lantz
  • December 1, 2023 at 11:58 PM
  • Thread is Unresolved
  • Lantz
    Reactions Received
    9
    Trophies
    3
    Posts
    65
    • December 1, 2023 at 11:58 PM
    • #1

    I am working on an application where I would like to be able to set the speed of a specific program step based on an external input (not requiring re-programming or access to the teach pendant).

    I am working with a D series controller.

    The best solution I have been able to come up with is adding a 1FH board to the 1KA board for analog input. Then I can use an analog to digital conversion command in AS language to set the speed of the specific step.

    So...

    1. Any better solutions that I'm not thinking of.

    2. Anyone have experience adding the 1FH board to an existing controller (not factory equipped)?

    3. I have limited experience with AS language, can I set the speed using the analog to digital conversion?

    Thanks!!

  • kwakisaki
    Reactions Received
    694
    Trophies
    11
    Posts
    4,770
    • December 3, 2023 at 4:04 PM
    • #2
    Quote from Lantz

    1. Any better solutions that I'm not thinking of.

    Possibly but all depends on what sort of values you are looking at using.

    - If you are looking at just integer speeds, you could just use some hardwired DI from the PLC O/P.

    - If you are looking at more precise speeds then yes, but you would need to considering filtering.

    - You could just adjust the monitor speed instead of programmed speed as an alternative.

    Quote from Lantz

    2. Anyone have experience adding the 1FH board to an existing controller (not factory equipped)?

    Yep, just a case of installing it on the 1KA and setting the JP and dip switches for the source range.

    You do have a 10V source available on pins 1 and 14 respectively.

    Most systems I know, the PLC or external peripheral use their own source.

    I have attached the analog input manual just in case you haven't got it.

    Quote from Lantz

    3. I have limited experience with AS language, can I set the speed using the analog to digital conversion?

    Never done it, but the result of the A/D conversion result can be defined as a variable.

    That variable can then be used in conjunction with your speed command(s).

    You may want to use some sort of previous speed comparison and only up date the variable if the speed is different than before.

    It all depends on just how you are going to use the A/D result variable:

    - Main program.

    - PC Task (You would use MC SPEED if you are adjusting the monitor speed percentage).

    Files

    90210-1176DEB_Analog Input Instruction Manual (D Series).pdf 319.33 kB – 6 Downloads

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • Lantz
    Reactions Received
    9
    Trophies
    3
    Posts
    65
    • December 6, 2023 at 7:16 PM
    • #3
    Quote from kwakisaki

    Never done it, but the result of the A/D conversion result can be defined as a variable.

    That variable can then be used in conjunction with your speed command(s).

    If I am understanding this correctly. I can run the A/D conversion, assign that to a integer variable. Then reference that variable at the specific steps in place of the normal integer value (0-100).

  • kwakisaki
    Reactions Received
    694
    Trophies
    11
    Posts
    4,770
    • December 6, 2023 at 8:12 PM
    • #4
    Quote from Lantz

    If I am understanding this correctly. I can run the A/D conversion, assign that to a integer variable. Then reference that variable at the specific steps in place of the normal integer value (0-100).

    Exactly correct.

    Eg:

    .ch[1] = ADC(1,1); Read Analog value in from channel 1 between 0-10V.

    To get an average, a simple FOR/END can be used as in the manual example:

    Code
    .ch[1] = 0;
    .max.samples = 10;
    FOR .i = 1 TO .max.samples;
      .ch[1] =  ADC(1,1) + .ch[1];
    END;
    ;
    avg.result = .ch[1]/.max.samples;
    ;

    You could use the CNTADC command instead.......

    Not much to the AS structure of the A/D conversion really.

    View my channel at Industrial Robotics Consultancy Limited - YouTube

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

  • 1 Guest
  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