Schneider Optics Modicon Quantum Ethernet Mstr Function Error Codes, Middle Node, Bottom Node

Page 38

The MSTR Instruction

Register

Content

 

 

Displayed

Identifies one of ten MSTR operations legal for TCP/IP

(1 ... 4 and 7 ... 12).

 

 

 

First implied

Displays error status.

 

 

Second implied

Displays length (number of registers transferred).

 

 

Third implied

Displays MSTR operation-dependent information.

 

 

Fourth implied

High byte: Destination index.

 

Low byte: Quantum backplane slot address of the web

 

embedded server module.

 

 

Fifth implied

Byte 4 of the 32-bit destination IP Address.

 

 

 

Sixth implied

Byte 3

of the 32-bit destination IP Address.

 

 

 

Seventh implied

Byte 2

of the 32-bit destination IP Address.

 

 

 

Eight implied

Byte 1

of the 32-bit destination IP Address.

 

 

 

Middle Node

The 4x register entered in the middle node is the first in a group of contiguous

Content

holding registers that comprise the data area. For operations that provide the

 

communication processor with data such as a Write operation, the data area is the

 

source of the data. For operations that acquire data from the communication

 

processor, such as a Read operation, the data area is the destination for the data.

 

In the case of the Ethernet Read and Write CTE operations (see sections 3.2.11

 

and 3.2.12), the middle node stores the contents of the Ethernet configuration

 

extension table in a series of registers.

Bottom Node

The integer value entered in the bottom node specifies the length - the maximum

Content

number of registers in the data area. The length must be in the range 1 ... 100.

3.2.3MSTR Function Error Codes

 

If an error occurs during an MSTR operation, a hexadecimal error code will be

 

displayed in the first implied register in the control block (the top node). Function

 

error codes are network-specific.

TCP/IP Ethernet

An error in an MSTR routine over TCP/IP Ethernet may produce one of the

Error Codes

following errors in the MSTR control block:

28

840 USE 115 00 Version 1.0

Image 38
Contents Modicon Quantum Ethernet USE 115 00 VersionTraining October Modicon Quantum EthernetUSE 115 00 Vesion Document Set Preface USE 115 00 Version Contents Mstr Instruction Using the Network Options Ethernet TesterChapter Maintenance Retrieving Data via the World Wide WebAppendix a Specifications Appendix D Suppliers Glossary IndexContents Viii About This Book Document Scope Validity Note Related DocumentationIntroduction Ethernet Web Embedded Server Modules Benefits of Quantum DesignModels for Fiber Optic and Twisted Pair Cable Systems Type of Cable Network Part NumberFront Panel Components Removable Door140 NOE 251 Color Indication When On LED DisplayAddress Label Address LabelsEthernet Internet Protocol IP Network Address LabelFront panel of the module Example Calculating the Derived IP Network AddressLocate the global address label on 0 B 7 2 aTransmit Data Twisted Pair ConnectorFiber Optic Connectors Errlog Utility DisketteNetwork Options Ethernet Tester Ethernet and Your Application Meeting the Demands of Your ApplicationCompatibility Guidelines for Designing Your NetworkSegregating DelaysUsing Switches TrafficInstalling and Configuring Module Before You Begin Verifying the Default ConfigurationVerifying that the Network Has Been Constructed Properly Improper Network TopologiesMounting the Module on the Backplane Installing the ModuleAre You Really Ready to Install? Check Twisted Pair Connecting the CableWith connectors 990 XCA 656 Snap into placeAttaching the Cable Changing the Default Configuration Configuring the Module with ModsoftSelecting the Ethernet Framing Type Assigning a Slot NumberAssigning the IP Network Address Assigning the Default Gateway Address and Subnet MaskResetting the Module Configuring More Than One Ethernet Module Configuring the Module with Concept Parameter Dialog for an Ethernet Web Embedded Server ModuleMstr Operation Code TCP/IP Ethernet Support Mstr Instruction IntroductionMstr Description Compatibility CharacteristicsSize Opcode BF hexInputs ContentRepresentation OutputsMiddle Node Mstr Function Error CodesError Codes Bottom NodeHex Error Code Meaning Ss Hex value MeaningHex Error Code Meaning 5016 An argument is valid Utilization Read and Write Mstr OperationsControl Block Information as described in the following tableGet Local Statistics Mstr Operation Statistics information as described in the following tableClear Local Statistics Mstr Operation Get Remote Statistics Mstr OperationClear Remote Statistics Mstr Operation Communications Peer Cop Health Mstr OperationPeer Cop Health StatusType Word Status IndexModule information as described in the following table Reset Option Module Mstr OperationRead CTE Config Extension Table Mstr Operation Implementation Parameter Register ContentCTE Display Registers. The registers display the following CTE dataWrite CTE Config Extension Table Mstr Operation 13 TCP/IP Ethernet Statistics Word MeaningRetrieving Data via the World Wide Web Introduction Accessing the Web Utility Home Web Utility HomeWeb Utility for Quantum Quantum Web UtilityRetrieving Data via the World Wide Web Using the Network Options Ethernet Tester Introduction Installing the Network Options Ethernet Tester Establishing a Connection with an Ethernet ModuleMain Menu Getting and Clearing Statistics Get Statistics BoxMAC Address Sample StatisticsUsing the Network Options Ethernet Tester Reading and Writing Registers Read Register BoxWrite Register Box Maintenance Responding to Errors Detecting ErrorsActive LED Ready LEDKernel LED Fault LEDLink LED Collision LED LED Display for Improperly Connected Twisted Pair CableReading and Clearing the Error Log Application LEDDefault is Example Errlog 49 EBX, EBP, ESI, EDI, ESP, EFLAGS, EIPExample Sample Error Log To restart the controller, type YHot Swapping An Ethernet Module Downloading a New Software Image From the Device to Download menu, select Local HeadUSE 115 00 Version Communication Ports SpecificationsPower Dissipation Bus Current Required Operating Conditions Storage ConditionsSpecifications Ethernet Developers Guide Introduction ReferencesOverview Development EnvironmentClass Descriptions CSampledoc Class Event Description Accessing TCP/IPCSampleView Class Application Message Format Network Event Member FunctionTimers Transaction ProcessingTransmit State Machine Exists the loop Receive State Machine Ethernet Developers Guide Displaying on the Screen Quantum Ethernet TCP/IP Modbus Application Protocol Is defined below Modbus Application Protocol PDUIncludes the dstid and data fields Counts and data offsetsModbus Application Protocol Service Classes Modbus Application Protocol PDU Analysis Quantum Ethernet TCP/IP Modbus Application Protocol TCP Port Number TCP/IP Specific IssuesBroadcast/Multicast Reference Documents Quantum Ethernet TCP/IP Modbus Application Protocol Suppliers Suppliers Bps GlossaryAddress BridgeFrame Default gatewayField Framing typesIP Address HubInternet IO MapPort OSI modelPacket ProtocolStack SwitchSocket SubnetGlossary Index Index Mstr Network Options Ethernet Tester World Wide Web server