GE Series 90-70 manual Monitoring Link Operation, Monitor the Module bit

Page 36

4

Monitoring Link Operation

For each link, the Program Block uses a specific program register (%P) for status data. These are:

H%P00004 for link 1

H%P00056 for link 2

H%P00108 for link 3

H%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.detailed error codes to help diagnose problems

Bits in the status word for an I/O Link contain the following information:

MSB

16

15

14

13

12

11

10

9

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

unlabelled bits not used

reserved

Fault active = 1

Link failed = 1

Link active = 1

Board OK = 1

LSB

8

7

6

5

4

3

2

1

 

 

 

 

 

 

 

 

Error code

Bits 9 to 12 of the status word are reserved; they should be zeros.

Monitor the Module (bit 16)

This bit shows the status of module operation, and of link operation if the module is a master. The application program should monitor this bit. If it is 0, the program should take appropriate action such as ignoring any I/O or status information from the module.

The Program Block automatically sets bit 16 to 1 when the module passes its powerup diagnostics, the correct rack and slot are placed in the %P configuration registers, and VME backplane communications have been established.

The Program Block resets bit 16 to 0 if a module hardware fault is detected, or backplane communications are interrupted.

Pressing the I/O Link Interface Module's Reset pushbutton does not clear this bit. The Program Block will only try to reinitialize the module after completing powerup diagnostics. An automatic retry will occur only after link faults; the user must restart the link after a hardware reset.

Monitor Communications Status (bit 15)

Monitor status bit 15 to check the status of communications on the link. If this bit is a 0, input data is NOT being received, and appropriate action should be taken. The Program

32

Series 90t-70 I/O Link Interface Module User's Manual ± February 1993

GFK-0644A

Image 36
Contents GE Fanuc Automation GFL±002 Content of this Manual Related PublicationsWe Welcome Your Comments and Suggestions Contents Chapter Introduction System OverviewMaster or Slave Operation Application Software Module Description LEDsModule Specifications Reset PushbuttonSerial Ports Cable Types for the I/O Link CatalogNumberCable Lengths on the I/O Link Optical Adapter Operation of the I/O Link Input and Output DataData Sent by the Master Data Returned by SlavesInputs and Outputs Hold Last State Faults on the I/O Link Diagnostics Link ControlInstall the module and complete the I/O Link Getting StartedComplete the program logic for the I/O Link Module Chapter Installation Installing the I/O Link Interface Module in the RackRemoving the I/O Link Interface Module from the Rack LED Name LED Status IndicationConnecting the I/O Link Interface Module to Other Devices Ports on the I/O Link ModuleLink Module Used as a Master Serial Port Pin Assignments Link Module Used as a SlaveOrder of the Devices on the Link Cable Diagram, No Optical Adapter Optical Adapter Installation Cable Diagram, Electrical Cable to Optical AdapterCable Connections Chapter Logicmaster 90-70 Configuration Configuration StepsGFK-0644A Chapter Programming Guide OverviewSelecting a Program Block Adding the Program Block Logic to an Application ProgramUsing Multiple Calls to the Program Block Calling the Program BlockExample Call Instruction Program %P References for the I/O Link Program Blocks 3rdModule 4thModuleUsing Nicknames for the %P References Global %G References for the I/O Link Program BlocksConfiguring I/O Links Configuration Logic, ExampleConfiguration Guidelines Specify the Number of I/O Link ModulesSet Master or Slave Mode bit Reset or Stop bitControlling the I/O Link Module Start/Restart bitDisable or Enable the Input Update bit Disable or Enable the Output Update bitMonitoring Link Operation Monitor the Module bitMonitor Communications Status bit Monitor for an Invalid Configuration or Link Fault bit Monitor for Link Failure bitError Codes Troubleshooting Error Description RecommendedAction CodeConfiguration Error Codes Index GFK-0644A Index