GE Series 90-70 manual Configuring I/O Links, Configuration Logic, Example

Page 32

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.

+±±±±±+

+±±±±±+

+±±±±±+

+±±±±±±±±+MOVE_+±±±±±±±±±±±±±±±±±+MOVE_+±±±±±±±±±±±±±±±±±+MOVE_+±

INT

INT

INT

NUMLINK

L1RACK

L1SLOT

CONST ±+IN

Q+±%P00001

CONST ±+IN

Q+±%P00002

CONST ±+IN

Q+±%P00003

+00001 LEN

+00000 LEN

+00005 LEN

00001

00001

00001

+±±±±±+

+±±±±±+

+±±±±±+

 

 

 

 

 

 

Block Move instructions can supply the data lengths and beginning %I and %Q addresses for six slaves on the link, which is link 1 in this example.

+±±±±±+

 

+±±±±±+

 

+±±±±±+

+±±±±±±±±+BLKMV+±±±±±±±±±±±±±±±±±+BLKMV+±±±±±±±±±±±±±±±±±+BLKMV+±

INT

 

INT

 

INT

L1DEV0

 

L1DEV2

 

L1DEV4

CONST ±+IN1 Q+±%P00006

CONST ±+IN1 Q+±%P00012

CONST ±+IN1 Q+±%P00018

+00032 LEN

+00032

LEN

+00032

LEN

00001

 

00001

 

00001

 

 

CONST ±+IN2

CONST ±+IN2

CONST ±+IN2

+00001

+00097

+00151

 

 

CONST ±+IN3

CONST ±+IN3

CONST ±+IN3

+00001

+00097

+00151

 

 

CONST ±+IN4

CONST ±+IN4

CONST ±+IN4

+00064

+00032

+00064

 

 

CONST ±+IN5

CONST ±+IN5

CONST ±+IN5

+00033

+00129

+00215

 

 

CONST ±+IN6

CONST ±+IN6

CONST ±+IN6

+00033

+00129

+00215

 

 

CONST ±+IN7

CONST ±+IN7

CONST ±+IN7

+00000

+00000

+00000

+±±±±±+

 

+±±±±±+

 

+±±±±±+

 

 

 

 

 

 

 

 

 

The first Block Move configures the length and beginning %I and %Q addresses of devices 0 and 1. The second Block Move configures devices 2 and 3. The third Block Move configures devices 4 and 5. To simplify programming, IN7 in these Block Moves is not used. If there were more I/O Links, or more devices on link 1, they would be configured in the same manner.

28

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

GFK-0644A

Image 32
Contents GE Fanuc Automation GFL±002 We Welcome Your Comments and Suggestions Content of this ManualRelated Publications Contents Chapter Introduction System OverviewMaster or Slave Operation Application Software Module Description LEDsSerial Ports Module SpecificationsReset Pushbutton 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 ControlComplete the program logic for the I/O Link Module Install the module and complete the I/O LinkGetting Started 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 IndicationLink Module Used as a Master Connecting the I/O Link Interface Module to Other DevicesPorts on the I/O Link Module Order of the Devices on the Link Serial Port Pin AssignmentsLink Module Used as a Slave Cable Diagram, No Optical Adapter Cable Connections Optical Adapter InstallationCable Diagram, Electrical Cable to Optical Adapter Chapter Logicmaster 90-70 Configuration Configuration StepsGFK-0644A Chapter Programming Guide OverviewSelecting a Program Block Adding the Program Block Logic to an Application ProgramExample Call Instruction Using Multiple Calls to the Program BlockCalling the Program Block 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 bitMonitor Communications Status bit Monitoring Link OperationMonitor the Module 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