GE Series 90-70 Controlling the I/O Link Module, Set Master or Slave Mode bit, Start/Restart bit

Page 34

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%P00005 for link 1

H%P00057 for link 2

H%P00109 for link 3

H%P00161 for link 4

The bits in the control word for each I/O Link Interface Module contain the following information:

MSB

16

15

14

13

12

11

10

9

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

unlabelled bits not used

Disable output update = 1 Disable input scan = 1 reserved (must be 0) Reset/stop link = 1 Start link = 1

Master = 1

Slave=0

LSB

8 7 6 5 4 3 2 1

Always set to 0

These are one±shot commands. Do not repeatedly write to these bits±±that would unnecessarily increase program PLC sweep time and cause unexpected link results.

Set Master or Slave Mode (bit 16)

Set the most significant bit of the control word as part of the configuration routine that loads all of the other %P registers with the correct values. To use the module as a master, set this bit to 1. To use the module as a slave, set it to 0.

Start/Restart (bit 15)

After loading a valid configuration into the appropriate %P registers, write a 1 into control bit 15 using a one±shot permissive. The module confirms receipt of the start command by resetting this bit to a 0.

If the module is being used as a master, setting this bit to 1 starts the module and the link. It can also be used to restart the link after a link reset has occurred.

If the module is being used as a slave, use this bit to start or restart the module itself (not the link).

Reset or Stop (bit 13)

To stop or reset the module, write a 1 to control bit 13, using a one±shot permissive. The module confirms receipt of the command by resetting bit 13 to a 0. The status shows Error Code 6, indicating that a reset was issued and the fault bit was not set.

30

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

GFK-0644A

Image 34
Contents GE Fanuc Automation GFL±002 Related Publications Content of this ManualWe Welcome Your Comments and Suggestions Contents Chapter Introduction System OverviewMaster or Slave Operation Application Software Module Description LEDsReset Pushbutton Module SpecificationsSerial 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 ControlGetting Started Install the module and complete the I/O LinkComplete 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 IndicationPorts 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 Chapter Logicmaster 90-70 Configuration Configuration StepsGFK-0644A Chapter Programming Guide OverviewSelecting a Program Block Adding the Program Block Logic to an Application ProgramCalling the Program Block Using Multiple Calls to 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 ModulesControlling the I/O Link Module Set Master or Slave Mode bitReset or Stop bit Start/Restart bitDisable or Enable the Input Update bit Disable or Enable the Output Update bitMonitor the Module bit Monitoring Link OperationMonitor 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