I/O: Difference between revisions

From Industrial Robotics & Automation - Fanuc Teach Pendant Programming
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
'''HI! You've reached a page that is in progress. Currently, this page serves as a dumping point for materials, ideas, resources, links, and media. Eventually it will be organized into a proper wiki page like the rest of the site. Check back soon! - July 1st 2019'''

This page details the use of the input and output instructions within a program. [[File:Inst-digital-outputs orig.gif|thumb|How to add an instruction that changes a digital output.]]
This page details the use of the input and output instructions within a program. [[File:Inst-digital-outputs orig.gif|thumb|How to add an instruction that changes a digital output.]]



Revision as of 23:21, 1 July 2019

HI! You've reached a page that is in progress. Currently, this page serves as a dumping point for materials, ideas, resources, links, and media. Eventually it will be organized into a proper wiki page like the rest of the site. Check back soon! - July 1st 2019

This page details the use of the input and output instructions within a program.

How to add an instruction that changes a digital output.


FANUC robots have the capacity to communicate with the real world. This means communicating with other robots, sensors, human interface devices, plc's, electromechanical devices...

How to add an instruction that changes a robot output (The gripper tool)

The robot's I/O operate much like register instructions.


Racks

FANUC robots use an addressing syntax that sorts peripheral devices into what is known as racks.

Each peripheral device contains its own series of inputs and outputs that are referenced by numbers. The selection of device is set by which rack it is. Unlike a PLC system where racks would just be stacks of controllers, the FANUC system references them by their interface.


On our robot, we use rack number 48 for our I/O that connect to internal Honda connectors for 20 digital inputs and 20 digital outputs.


For a more complete listing of rack designations on FANUC controllers, see Racks.

Physical I/O Options

Robot I/O

Robot I/O is reserved for devices directly related to the robot operations. This includes devices like the gripper, pneumatics, end of arm sensors.

Digital Output 101 is connected to the laser built into the robot gripper.

Digital I/O

Honda Connector Pinouts

This is the pinout diagram for the internal I/O connections. They are 24 volts and cannot directly drive anything.

On our robots, we interface with these through optical isolators to ensure no damage can come to the robot.


Digital I/O can only exist in two states - ON or OFF. This means it will either have 24V or 0V on an associated pin.

  • Outputs come from the robot to communicate with and control peripherals.
    • Our Digital Outputs begin at 101 and run to 120.
      • Digital Output 101 is connected to the laser built into the robot gripper.


  • Inputs come from sensors and other devices to feed data and direction into programs.
    • Our Digital Inputs begin at 101 and run to 120.

Analog I/O

Analog values do not exist on our robot, but can be made available through PLC integration or other controller. They can be numeric values with a range that is determined by the analog converter's resolution. Sampling speed, rate, accuracy, and precision are determined by the specific device used to input analog value.


Analog inputs read a voltage, but can derive many values from that reading with minimal external circuitry. Examples are current, resistance, distance, weight, and even reflectivity.

User I/O

Group I/O

How Binary Numbers Are Calculated

Group I/O is a derived value spanning the binary values of multiple digital I/O. To utilize group inputs, designate which digital inputs are part of the parallel binary string in the I/O menu, then call it as GI[#] in your program wherever valid.



https://motioncontrolsrobotics.com/simulate-inputs-outputs-fanuc-teach-pendant/