Schneider Optics Modicon Quantum Ethernet manual CSampledoc Class

Page 78

Ethernet Developers Guide

9.CReadDlg. The CReadDlg class is the dialog class for determining the registers to read. It is derived from the CDialog class. The declaration is in the readdlg.h file, and the implementation is in the readdlg.cpp file. Both of these files were generated by The Visual C++ class wizard.

10.CWriteDlg. The CWriteDlg class is the dialog class for determining the registers to write and the write data. It is derived from the Cdialog class. The declaration is in the writedlg.h and the implementation is in the writedlg.cpp file. Both of these files were generated by The Visual C++ class wizard.

11.CAboutDlg. The CAboutDlg class is the dialog class for about. Both the declaration and its implementation are in the sam_app.cpp file.

B.6 The CSample_doc Class

The CSample_doc (the document class) contains the user data used by the CSample_View class. The user data consists of the remote node’s IP address, the transaction type and its associated values. The different transaction types are read register, write register, clear statistics, and get statistics. In addition to the transaction type and the associated values, the document class also contains the poll interval.

A user modifies the user data via a menu or tool bar. The CSample_doc processes the menu or tool bar window command message by invoking the corresponding dialog. The state of the various menu items and tool bar buttons depends on the connection state between the application and the remote node. The CSample_View class maintains the connection state, and hence sets the state of the menu items and tool bar buttons.

68

840 USE 115 00 Version 1.0

Image 78
Contents Modicon Quantum Ethernet USE 115 00 VersionTraining Modicon Quantum Ethernet USE 115 00 VesionOctober 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 aTwisted Pair Connector Fiber Optic ConnectorsTransmit Data Utility Diskette Network Options Ethernet TesterErrlog 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 TopologiesInstalling the Module Are You Really Ready to Install? CheckMounting the Module on the Backplane 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 Default Gateway Address and Subnet Mask Resetting the ModuleAssigning the IP Network Address Configuring More Than One Ethernet Module Configuring the Module with Concept Parameter Dialog for an Ethernet Web Embedded Server ModuleMstr Instruction Introduction Mstr DescriptionMstr Operation Code TCP/IP Ethernet Support 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 IndexReset Option Module Mstr Operation Read CTE Config Extension Table Mstr OperationModule information as described in the following table 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 LEDFault LED Link LEDKernel 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 Accessing TCP/IP CSampleView ClassEvent Description 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/IP Specific Issues Broadcast/MulticastTCP Port Number 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