GE Series 90-70 manual Chapter Programming Guide, Overview

Page 27

Chapter

4

Programming Guide

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. The Program Blocks also monitor diagnostics from each I/O Link Interface Module in the PLC, and provide a mechanism for controlling link operation from the application program.

One Program Block is selected for the application, and added to the application program using the Librarian function of Logicmaster 90±70.

Logic must be added to the application program to call the Program Block, which will execute once each time it is called. Normally, it is called once per PLC sweep.

The Program Block utilizes a range of %P references, set aside in PLC memory, to exchange data with the Series 90±70 PLC. The application program interfaces with the Program Block by reading and writing the same %P references. The Program Block also makes use of a small group of %G references. These do not require any application program interaction. However, it is important to be sure that these %G references are not used for any other purpose.

GFK-0644A

23

Image 27
Contents GE Fanuc Automation GFL±002 Content of this Manual Related PublicationsWe Welcome Your Comments and Suggestions Contents System Overview Chapter IntroductionMaster or Slave Operation Application Software LEDs Module DescriptionModule Specifications Reset PushbuttonSerial 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 DiagnosticsInstall the module and complete the I/O Link Getting StartedComplete 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 RackConnecting 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 Configuration Steps Chapter Logicmaster 90-70 ConfigurationGFK-0644A Overview Chapter Programming GuideAdding the Program Block Logic to an Application Program Selecting a Program BlockUsing Multiple Calls to the Program Block Calling 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 GuidelinesStart/Restart bit Set Master or Slave Mode bitReset or Stop bit Controlling the I/O Link ModuleDisable or Enable the Output Update bit Disable or Enable the Input Update bitMonitoring Link Operation Monitor the Module bitMonitor 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