GE Series 90-70 manual Monitor for Link Failure bit

Page 37

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.

Monitor for Link Failure (bit 14)

If the module is a master, after a link fault occurs, and the specified number of retries have failed, the Program Block sets this bit to a 1. It is necessary to manually intervene to find the cause of the failure. Look at the error code in the least significant byte of the status word. Error codes are listed in the next table.

After the problem is corrected, reinitialize and restart the link. The Program Block automatically clears status bit 13 when a restart is attempted.

Monitor for an Invalid Configuration or Link Fault (bit 13)

The application program should monitor this bit to verify operation of the I/O Link.

If status bit 13 is a 1, either an invalid configuration was provided during link initialization, or a fault has occurred on an active link. The Program Block sets this bit to a 1 immediately after the problem occurs.

If the problem occurs during initialization, initialization stops. It will be necessary to enter a valid configuration into the %P registers before initialization can continue. The error code in the least significant byte of the status word will indicate what the configuration problem is.

If the module is a master and the problem is an active link fault, the Program Block automatically tries to restart the link the specified number of times.

The Program Block automatically clears this bit when the link becomes active again. If this bit continually cycles on and off, the link wiring and devices should be inspected. The application program can keep track of the number of link faults over time, and take appropriate action if too many faults occur.

GFK±0644

Chapter 4 Programming Guide

33

Image 37
Contents GE Fanuc Automation GFL±002 Related Publications Content of this ManualWe Welcome Your Comments and Suggestions Contents System Overview Chapter IntroductionMaster or Slave Operation Application Software LEDs Module DescriptionReset Pushbutton Module SpecificationsSerial Ports CatalogNumber Cable Types for the I/O LinkCable Lengths on the I/O Link Optical Adapter Input and Output Data Operation of the I/O LinkData Returned by Slaves Data Sent by the MasterInputs and Outputs Hold Last State Faults on the I/O Link Link Control DiagnosticsGetting Started Install the module and complete the I/O LinkComplete the program logic for the I/O Link Module Installing the I/O Link Interface Module in the Rack Chapter InstallationLED Name LED Status Indication Removing the I/O Link Interface Module from the RackPorts on the I/O Link Module Connecting the I/O Link Interface Module to Other DevicesLink Module Used as a Master Link Module Used as a Slave Serial Port Pin AssignmentsOrder of the Devices on the Link Cable Diagram, No Optical Adapter Cable Diagram, Electrical Cable to Optical Adapter Optical Adapter InstallationCable Connections Configuration Steps Chapter Logicmaster 90-70 ConfigurationGFK-0644A Overview Chapter Programming GuideAdding the Program Block Logic to an Application Program Selecting a Program BlockCalling the Program Block Using Multiple Calls to the Program BlockExample Call Instruction 3rdModule 4thModule Program %P References for the I/O Link Program BlocksGlobal %G References for the I/O Link Program Blocks Using Nicknames for the %P ReferencesConfiguration Logic, Example Configuring I/O LinksSpecify the Number of I/O Link Modules Configuration GuidelinesReset or Stop bit Set Master or Slave Mode bitControlling the I/O Link Module Start/Restart bitDisable or Enable the Output Update bit Disable or Enable the Input Update bitMonitor the Module bit Monitoring Link OperationMonitor Communications Status bit Monitor for Link Failure bit Monitor for an Invalid Configuration or Link Fault bitError Description RecommendedAction Code Error Codes TroubleshootingConfiguration Error Codes Index GFK-0644A Index