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. Yaskawa Motoman 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

Help mirroring input bits on the output side in the background?

  • ashwinmudigonda
  • March 19, 2018 at 7:05 PM
  • Thread is Resolved
  • ashwinmudigonda
    Trophies
    3
    Posts
    43
    • March 19, 2018 at 7:05 PM
    • #1

    I need to reflect a set of bytes coming from the PLC on the output. So if IN 500 is on, I need to set OT 500 to be high. How do I do this in the background and not using a job?

    I am running a MH50 robot on a DX 200 controller.

  • 95devils
    Reactions Received
    234
    Trophies
    8
    Posts
    1,947
    • March 19, 2018 at 7:25 PM
    • #2

    That would be done in the Ladder Program or Ladder Editor.

    I know a thing or two, because I’ve seen a thing or two. Don't even ask about a third thing. I won't know it.

  • ashwinmudigonda
    Trophies
    3
    Posts
    43
    • March 19, 2018 at 8:37 PM
    • #3

    I figured that much through the manuals, but what do I add to the ladder?

    Find the relay that matches teh input and connect it straight to the relay that matches the output?

    I tried to map input 17 to output 17.

    I added a rung and set the relay on the left to be 00030 and the one on the right to be 10030, but the ladder won't compile.

    I also tried to set the relay on the right to be an OUT.

    How would the program look like?

    STR #00030
    OUT #10030

    I tried doing the above in the mnemonic editing window, and could not get it to compile

    Edited once, last by ashwinmudigonda (March 19, 2018 at 9:29 PM).

  • tonygast
    Reactions Received
    6
    Trophies
    3
    Posts
    244
    • March 20, 2018 at 1:05 PM
    • #4

    You can not duplicate outputs in the ladder...
    If an address is located within a GOUT or a BMOV .... you have to "break" it out into individual rungs

    GSTR #2xxxx if you change like this it will mirror 8 bits
    GOUT #3xxxx

    STR #2xxxx This change will mirror a single bit
    OUT #3xxxx
    STR #1xxxx
    OUT #3xxxx
    STR #1xxxx
    OUT #3xxxx
    STR #1xxxx
    OUT #3xxxx
    STR #1xxxx
    OUT #3xxxx
    STR #1xxxx
    OUT #3xxxx
    STR #1xxxx
    OUT #3xxxx
    STR #1xxxx
    OUT #3xxxx

    STR# 70017
    BMOV 2xxxx, 16, 3xxxx mirrors 16 bits

    Oh, well

    Edited once, last by tony gast (March 20, 2018 at 1:13 PM).

  • Too_Fast_46
    Reactions Received
    1
    Trophies
    3
    Posts
    43
    • March 20, 2018 at 3:06 PM
    • #5
    Quote from ashwinmudigonda

    STR #00030
    OUT #10030

    I tried doing the above in the mnemonic editing window, and could not get it to compile

    In addition to what Tony said, you cannot control a #1XXXX address with the CIO. Your ladder likely would not compile because of that.

  • tonygast
    Reactions Received
    6
    Trophies
    3
    Posts
    244
    • March 20, 2018 at 3:59 PM
    • #6

    On your universal outputs you can only "OUT" 3xxxx
    1xxxx are internal bits

    Oh, well

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