ÎÎ GE Fanuc Automation Programmable Control Products t Series 90 -70 I/O Link Inter face Module GFK–0644A Februar y 1993
GFL–002 Warnings, Cautions, and Notes as Used in this Publication Warning Warning notices are used in this publication to emphasize that hazardous voltages, currents, temperatures, or other conditions that could cause personal injury exist in this equipment or may be associated with its use. In situations where inattention could cause either personal injury or damage to equipment, a Warning notice is used. Caution Caution notices are used where equipment might be damaged if care is not taken.
Preface Content of this Manual This book is a reference to the features, operation, installation, and configuration of the GE Fanuc Series 90 -70 I/O Link Interface Module (IC697BEM721). t Chapter 1. Introduction: Describes the functions and features of the Series 90-70 I/O Link Interface Module. Chapter 2. Installation: Includes basic setup procedures. Chapter 3. Series 90-70 PLC Configuration: Shows how to add an I/O Link Interface Module to the Series 90-70 PLC system. Chapter 4.
Contents Chapter 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 System Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Application Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Module Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Module Specifications . . . .
restart lowapp ARestart oddapp: ARestarts for autonumbers that do not restart in each chapter. figure bi level 1, reset table_big level 1, reset chap_big level 1, reset1 Lowapp Alwbox restart evenap:A1app_big level 1, resetA figure_ap level 1, reset table_ap level 1, reset figure level 1, reset Figure 1. table level 1, reset Table 1. these restarts oddbox reset: 1evenbox reset: 1must be in the header frame of chapter 1.
1 Master or Slave Operation When used as a master, an I/O Link Interface Module can receive up to 1024 discrete inputs from devices on the I/O Link, and send up to 1024 discrete outputs. Potential slave devices include the Series 90–30 PLC and the Power Mate CNC. When used as a slave, the Series 90–70 I/O Link Interface Module can receive up to 64 discrete inputs from the master, and send up to 64 discrete outputs.
1 Application Software The Series 90–70 I/O Link Interface Module is provided with two application software diskettes (catalog number IC641SWP708), a 3-inch and a 5-inch diskette. The content of these diskettes is the same. This application software can be used to integrate up to four I/O Link Interface Modules into the PLC’s application program. There are three Program Blocks on a diskette.
1 Module Description An I/O Link Interface Module occupies one module slot in a Series 90–70 PLC rack. It can be installed in any rack, in any slot except rack 0 slot 1, which is reserved for the CPU Module.
1 Reset Pushbutton The Reset pushbutton provides a convenient means of reset if a failure occurs. If the module is being used as a master, pushing the Reset button resets both the module and operation of the link. The application program must be used to re–initialize the link. If the module is being used as a slave and a fault has caused the module to stop operating, pushing the Reset button resets the module while the rest of the link continues to function.
1 Cable Types for the I/O Link The following cables and connectors can be used to complete the I/O Link between devices. Item 6 CatalogNumber Vendor Cable A03B–0807–K801 GE Fanuc 5 meter length with connectors on both ends. Connects between master and slave device, or between two slave devices. Cable A03B–0807–K802 GE Fanuc 10 meter length with connectors on both ends. Connects between master and slave device, or between two slave devices.
1 Cable Lengths on the I/O Link The maximum distance between the master and the first slave, and between successive slaves, depends on whether electrical or optical cable is used. H H The maximum length of an electrical cable link is 10 meters (33 feet). The maximum length of an optical fiber cable is 100 meters (330 feet). Electrical and optical cables can be used in the same I/O Link.
1 Optical Adapter An Optical Adapter (A138–154–B001) can be used to interface the electrical cable of the I/O Link with optical cable. a45007 ELECTRICAL CONNECTOR JD1 OPTICAL CONNECTOR COP1 Use pairs of adapters in applications where: 8 H distances of up to 100 meters (330 feet) are required between any two devices on the I/OLink. H the I/O Link runs between different cabinets, and it is not possible to connect the cabinets with a wire of 5.5mm2 or thicker.
1 Operation of the I/O Link The I/O Link consists of a full duplex communications channel. Physically, the link consists of two twisted pairs of wire and a signal ground conductor. These wires are contained in a cable that has an over–all shield. Signals are of the differential type and a wire pair is used for each signal. Signal levels are compatible with specification EIA RS–422/RS–485. The signal baud rate is 1.5 Mbaud maximum.
1 Data Sent by the Master The master sends output data for all slave devices together. If a Series 90–70 PLC is the master on an I/O Link, it simply places the data to be sent into the %Q output references assigned to the I/O Link Interface Module. Slaves receive the data in order of their positions on the link. Each slave in turn reads out its configured amount of data, and passes the remainder on to the next slave. To a slave, data received from the master is input data.
1 Inputs and Outputs Hold Last State The inputs and outputs of the I/O Link Interface Module will hold their last states if one of the following events occurs: H H H H H the link is broken. the master resets. the slave resets. the Series 90-70 PLC is put into STOP mode. the Series 90-70 PLC is powered-down. When the disruption is corrected, the module initializes all inputs and outputs to zero, then quickly resets them to their actual states.
1 Faults on the I/O Link A. The Series 90–30 PLC, Series 90–70 PLC, and Power Mate CNC without a separate encoder port handle faults as described below. The following information applies only if there are no other types of devices on the link. If one of the following faults occurs, communications stop at the fault location. If there are prior devices on the link, they are still able to transfer data with the master. If there are subsequent devices on the link, however, they cannot.
1 Diagnostics The application Program Block automatically provides the Series 90–70 PLC with diagnostic information about the I/O Link Interface Module, and about link operation if the module is operating as a master. The diagnostic information is placed into %P references assigned to that I/O Link Interface Module. Additional program logic can be created to read these %P references for monitoring the following: H Whether an invalid configuration has been provided during link initialization.
1 Getting Started To install and configure a Series 90–70 I/O Link Interface Module, follow these basic steps: 1. Install the module and complete the I/O Link Follow the instructions in chapter 2 to install the Series 90–70 I/O Link Module. After installing the other devices on the link (as instructed in their individual User’s Manuals), complete the I/O Link cabling. This is also described in chapter 2. 2.
Chapter 2 Installation 2 section level 1 1 figure bi level 1 table_big level 1 This chapter tells how to install an I/O Link Interface Module, and how to complete the I/O Link that joins the module to other devices. Installing the I/O Link Interface Module in the Rack The I/O Link Interface Module must not be located to the left of any board that generates interrupts (such as a PCM, Genius Bus Controller, Analog, GEnet LAN, or Ethernet module).
2 5. A CPU module must be present in rack 0 slot 1 before applying power to the I/O Link Interface Module. Turn on power, and observe the LEDs. LED Name LED Status Module OK On The I/O Link Interface Module has passed its powerup diagnostics and the hardware is operating properly. OFF The module has failed a diagnostic test, or a run–time failure has been detected. On The module is communicating with the I/O Link. OFF A failure has occurred with the I/O Link, and communications are not possible.
2 Connecting the I/O Link Interface Module to Other Devices Using the appropriate cable, connect the devices on the I/O Link. Notice that the cables are marked JD1A on one end and JD1B on the other. Ports on the I/O Link Module The functions of the ports on the I/O Link Interface Module depend on whether the module is used as a master or as a slave.
2 I/O Link Module Used as a Slave If the module will be used as a slave, connect the cable from the previous device (either the master or another slave) to the upper port. If the module is followed by another slave on the link, connect the cable from that device to the lower port. a45018 JD1B JD1A JD1A JD1B Order of the Devices on the Link The devices on an I/O Link must be installed in the order expected by the master.
2 Cable Diagram, No Optical Adapter The following illustration shows connection details for electrical cable used between a master and slave or between two slave devices. This cable (A03B–0807–K801, A03B–0807–K802, or cable made using AMW 2076 and connectors A02B–0120–K301) does not include the +5–volt signal. Optical Adapter cable, which includes the +5 volt signal, must not be used to directly connect master and slave devices.
2 Optical Adapter Installation The Optical Adapter is an optional component used to interface the electrical cable to optical cable. An Optical Adapter must be installed in a sealed enclosure. Avoid contact with other electrical components or wiring, which could short the unit. Use the adapter’s casing screws to make earth ground connection. The electrical potential of the earth ground used for the adapter must be the same as that of the I/O Link to which it is connected.
Chapter 3 Logicmaster 90-70 Configuration 3 section level 1 1 figure bi level 1 table_big level 1 This chapter explains the Logicmaster 90–70 software configuration steps related to a Series 90–70 I/O Link Interface Module. For the I/O Link Module, this configuration only designates the location of the module; it does not assign I/O references. After the module itself has been “installed” using Logicmaster 90, you will set up and initialize the I/O Link as explained in chapter 4. Configuration Steps 1.
3 4. If you are using version 4 of Logicmaster, press F1 (vme) to display the catalog list shown below. Select Foreign VME from the list. If you are using version 3 of Logicmaster instead press F2 (vme) to display the catalog list. From the list, select Foreign VME (no interrupt). 5. 22 No further configuration is required; press Rack (Shift–F1) or the Escape key to return to the rack display.
Chapter 4 4 Programming Guide section level 1 1 figure bi level 1 table_big level 1 This chapter explains how to incorporate logic for one to four I/O Link Interface Modules in an application program for the Series 90–70 PLC. Programming instructions for other devices on the link are not included. Overview The Program Blocks on the diskettes provided with the I/O Link Interface Module will transfer input and output data between the Series 90–70 PLC and up to four I/O Link Interface Modules.
4 Selecting a Program Block There are three Program Blocks on a diskette. Select the Program Block that provides the level of functionality and performance required for the application.
4 Calling the Program Block To call the LINKxxX block, place a Call instruction as close as possible to the start of the main program. To assure consistent mapping of link I/O data, do not use permissive logic to the call. Include at least one call to the LINKxxX block each program sweep, to assure that the link status is routinely updated and the link retry mechanism is enabled. This is discussed in more detail later in the chapter.
4 Program (%P) References for the I/O Link Program Blocks The I/O Link Program Blocks use the program registers (%P) shown below. The references for devices 1 to 15 are used only if the I/O Link Module is a master, and it has more than one slave. Information in Reference Program Reference Number of I/O Link Modules (1–4) %P0001 1st Module Program Ref. 26 Nickname Nickname numlink 2nd Module 3rd Module 4th Module Program Ref. Nickname Program Ref. Nickname Program Ref.
4 Using Nicknames for the %P References If you want to use the %P nicknames listed in the table, add them to the Variable Declaration Table (see page 24). Global (%G) References for the I/O Link Program Blocks The %P references listed in the previous table are used for link configuration, control, and monitoring. They will be included in the application program as explained on subsequent pages. An I/O Link Program Block also uses certain %G references for its own operations.
4 Configuring I/O Links In the application program, use Move and Block Move instructions to configure the I/O Links in the system by placing the required data in the appropriate %P program references. Configuration Logic, Example Use Move instructions to supply the number of I/O Link Interface Modules (1), and the rack location (0), and slot location (5) of that module.
4 Configuration Guidelines To configure the I/O Link(s) in a PLC system, enter constant data values into the appropriate %P registers. These values determine: H H H H H The number of I/O Link Interface Modules in the PLC. The rack and slot location of each I/O Link Interface Module. The data length for each slave device (32 or 64 for a Power Mate). The beginning address in PLC %I memory for input data. The beginning address in PLC %Q memory for output data.
4 Controlling the I/O Link Module Operation of the module is controlled by setting or clearing bits in the control word, which is located at: H H H H %P00005 for link 1 %P00057 for link 2 %P00109 for link 3 %P00161 for link 4 The bits in the control word for each I/O Link Interface Module contain the following information: MSB LSB unlabelled bits not used 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Disable output update = 1 Always set to 0 Disable input scan = 1 reserved (must be 0) Reset/stop l
4 If the module is a master, this bit resets or stops both the module and the I/O Link. If the module is a slave, setting this bit to 1 resets or stops only the module itself, not the I/OLink. Disable or Enable the Input Update (bit 10) To disable the input update portion of the I/O scan, write a 1 to control bit 10. This might be done during program debugging, or if the program uses multiple calls to the LINKxxX Program Block. Disabling the input update causes the module to ignore new inputs it receives.
4 Monitoring Link Operation For each link, the Program Block uses a specific program register (%P) for status data. These are: H H H H %P00004 for link 1 %P00056 for link 2 %P00108 for link 3 %P00160 for link 4 Monitor the status word for information about: A. the operation of the interface module B. the operation of the link C.
4 Block automatically sets this bit to 1 shortly after the application program sets control bit 15 (start bit) to a 1. If the module is a master, bit 15 is 1 if all link devices are providing input data and are ready to receive output data. The Program Block automatically resets this bit to a 0 if any link fault occurs. If the module is a slave, bit 15 is 1 if the module is ready to exchange data with the master.
4 Error Codes: Troubleshooting The less significant byte of an I/O Link status register contains an error code supplied by the Program Block. Error codes are listed below and on the next page. Error Code 34 Descriptionof Error RecommendedAction 0 No error None 1 I/O Link module hardware fault Reset the module by pressing the pushbutton or cycling power. If the problem persists, replace the module.
4 Configuration Error Codes Error Codes 10 to 91, listed below, describe configuration errors. If the I/O Interface Module is being used as a slave, only Error Codes 10, 11, 12, 28, and 44 are used. Error Code 10 Descriptionof Error Invalid rack ID RecommendedAction Must be in range 0–7 Error Code 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 RecommendedAction Dev. 0, invalid %Q startingaddress Dev. 1 ” Dev. 2 ” Dev. 3 ” Dev. 4 ” Dev. 5 ” Dev. 6 ” Dev. 7 ” Dev. 8 ” Dev. 9 ” Dev. 10 ” Dev. 11 ” Dev.
Index A Active Link fault, 33 Device numbers, 26 Diagnostics, 13 Dimensions, 5 Address Assignment, 29 Disable I/O update bits, 30 Application software, 3 , 23 Distance between devices, 7 DoI/O, 24 B Board OK bit, 32 E Electromagnetic noise, 8 C Cable diagrams, 19 , 20 Error code bits, 32 Error code definitions, 34 , 35 Example logic, 25 , 28 Cable lengths, 7 Cables and connectors, 6 Calling the Program Block, 24 Catalog Number Grounding Cable, 19 Optical Adapter, 6 F Fanuc I/O Link, 1 Fault Activ
Index Installation, I/O Link Module, 15 O Installation, Optical Adapter, 20 Interrupts, 21 L Optical Adapter, 8 , 20 Output data, 9 , 10 Output, +5 volt, 18 , 20 Outputs, enable/disable bit, 30 LEDs, 4 , 15 P Link Active bit, 24 , 32 Link Active LED, 4 , 15 Link Cfg LED, 15 Link control, 13 Link Failed bit, 32 Link failure error, 34 Link operation stops, 12 LINK73X, links and I/O, 23 LINK77X, links and I/O, 23 Permissive logic, 30 Pin assignments, 18 Ports, 4 Program Block installation, 24 Program B
Index T Temperature specification, 5 Troubleshooting, 34 V Vibration and shock specification, 5 38 GFK-0644A