Schneider Optics Modicon Quantum Ethernet manual Peer Cop Health Mstr Operation, Communications

Page 45

The MSTR Instruction

3.2.9Peer Cop Health MSTR Operation

The peer cop health operation (type 9 in the displayed register of the top node) reads selected data from the peer cop communications health table and loads that data to specified 4x registers in state RAM. The peer cop communications health table is12 words long, and the words are indexed via this MSTR operation as words 0 ... 11.

Control Block

The registers in the MSTR control block (the top node) contain the information for a

Utilization

Peer Cop Health operation as described in the following table:

 

 

 

 

 

 

Register

Function

Content

 

 

 

 

 

 

 

Displayed

Operation Type

9

 

 

 

 

 

 

 

First implied

Error status

Displays a hex value indicating an MSTR error,

 

 

 

 

when relevant.

 

 

 

 

 

 

 

Second implied

Data Size

Number of words requested from peer cop table

 

 

 

 

(range 1 ... 12).

 

 

 

 

 

 

 

Third implied

Index

First word from the table to be read (range 0 ...

 

 

 

 

11, where 0 = the first word in the peer cop table

 

 

 

 

and 11 = the last word in the table).

 

 

 

 

 

 

 

Fourth implied

Low byte

Quantum backplane slot address of the NOE

 

 

 

 

module.

 

 

 

 

 

 

 

Fifth ... Eighth

Destination

Each register contains one byte of the 32-bit IP

 

 

implied

 

address.

 

Peer Cop

 

 

 

 

The peer cop communications health table (shown below) comprises 12

Communications

contiguous register that can be indexed in an MSTR operation as words 0 ... 11.

Health Status

Each bit in each of the table words is used to represent an aspect of

Information

communications health relative to a specific node on the TCP/IP network:

The bits in words 0 ... 3 represent the health of the global input communication expected from nodes 1 ... 64. Since global input is not supported these bits are set to zero.

zThe bits in words 4 ... 7 represent the health of the output from a specific node. The bits in words 8 ... 11 represent the health of the input to a specific node.

840 USE 115 00 Version 1.0

35

Image 45
Contents USE 115 00 Version Modicon Quantum EthernetTraining Modicon Quantum Ethernet USE 115 00 VesionOctober Document Set Preface USE 115 00 Version Contents Chapter Maintenance Using the Network Options Ethernet TesterMstr Instruction Retrieving Data via the World Wide WebAppendix D Suppliers Glossary Index Appendix a SpecificationsContents Viii About This Book Document Scope Related Documentation Validity NoteBenefits of Quantum Design Introduction Ethernet Web Embedded Server ModulesType of Cable Network Part Number Models for Fiber Optic and Twisted Pair Cable SystemsRemovable Door Front Panel Components140 NOE 251 LED Display Color Indication When OnEthernet Address LabelsAddress Label Internet Protocol IP Network Address LabelLocate the global address label on Example Calculating the Derived IP Network AddressFront panel of the module 0 B 7 2 aTwisted Pair Connector Fiber Optic ConnectorsTransmit Data Utility Diskette Network Options Ethernet TesterErrlog Meeting the Demands of Your Application Ethernet and Your ApplicationGuidelines for Designing Your Network CompatibilityUsing Switches DelaysSegregating TrafficVerifying the Default Configuration Installing and Configuring Module Before You BeginImproper Network Topologies Verifying that the Network Has Been Constructed ProperlyInstalling the Module Are You Really Ready to Install? CheckMounting the Module on the Backplane With connectors 990 XCA 656 Connecting the CableTwisted Pair Snap into placeAttaching the Cable Configuring the Module with Modsoft Changing the Default ConfigurationAssigning a Slot Number Selecting the Ethernet Framing TypeAssigning the Default Gateway Address and Subnet Mask Resetting the ModuleAssigning the IP Network Address Configuring More Than One Ethernet Module Parameter Dialog for an Ethernet Web Embedded Server Module Configuring the Module with ConceptMstr Instruction Introduction Mstr DescriptionMstr Operation Code TCP/IP Ethernet Support Size CharacteristicsCompatibility Opcode BF hexRepresentation ContentInputs OutputsError Codes Mstr Function Error CodesMiddle Node Bottom NodeSs Hex value Meaning Hex Error Code MeaningHex Error Code Meaning 5016 An argument is valid Control Block Read and Write Mstr OperationsUtilization Information as described in the following tableStatistics information as described in the following table Get Local Statistics Mstr OperationGet Remote Statistics Mstr Operation Clear Local Statistics Mstr OperationClear Remote Statistics Mstr Operation Peer Cop Peer Cop Health Mstr OperationCommunications Health StatusStatus Index Type WordReset Option Module Mstr Operation Read CTE Config Extension Table Mstr OperationModule information as described in the following table CTE Display Parameter Register ContentImplementation Registers. The registers display the following CTE dataWrite CTE Config Extension Table Mstr Operation Word Meaning 13 TCP/IP Ethernet StatisticsRetrieving Data via the World Wide Web Introduction Web Utility Home Accessing the Web Utility HomeQuantum Web Utility Web Utility for QuantumRetrieving Data via the World Wide Web Using the Network Options Ethernet Tester Introduction Establishing a Connection with an Ethernet Module Installing the Network Options Ethernet TesterMain Menu Get Statistics Box Getting and Clearing StatisticsSample Statistics MAC AddressUsing the Network Options Ethernet Tester Read Register Box Reading and Writing RegistersWrite Register Box Detecting Errors Maintenance Responding to ErrorsReady LED Active LEDFault LED Link LEDKernel LED LED Display for Improperly Connected Twisted Pair Cable Collision LEDApplication LED Reading and Clearing the Error LogEBX, EBP, ESI, EDI, ESP, EFLAGS, EIP Default is Example Errlog 49To restart the controller, type Y Example Sample Error LogHot Swapping An Ethernet Module From the Device to Download menu, select Local Head Downloading a New Software ImageUSE 115 00 Version Power Dissipation Bus Current Required Operating Conditions SpecificationsCommunication Ports Storage ConditionsSpecifications References Ethernet Developers Guide IntroductionDevelopment Environment OverviewClass Descriptions CSampledoc Class Accessing TCP/IP CSampleView ClassEvent Description Network Event Member Function Application Message FormatTransaction Processing TimersTransmit State Machine Exists the loop Receive State Machine Ethernet Developers Guide Displaying on the Screen Quantum Ethernet TCP/IP Modbus Application Protocol Includes the dstid and data fields Modbus Application Protocol PDUIs defined below Counts and data offsetsModbus Application Protocol Service Classes Modbus Application Protocol PDU Analysis Quantum Ethernet TCP/IP Modbus Application Protocol TCP/IP Specific Issues Broadcast/MulticastTCP Port Number Reference Documents Quantum Ethernet TCP/IP Modbus Application Protocol Suppliers Suppliers Address GlossaryBps BridgeField Default gatewayFrame Framing typesInternet HubIP Address IO MapPacket OSI modelPort ProtocolSocket SwitchStack SubnetGlossary Index Index Network Options Ethernet Tester World Wide Web server Mstr