Schneider Optics Modicon Quantum Ethernet manual Write CTE Config Extension Table Mstr Operation

Page 49

The MSTR Instruction

3.2.12Write CTE (Config Extension Table) MSTR Operation

The Write CTE operation (type 12 in the displayed register of the top node) reads an indicated number of bytes from PLC memory, starting at a specified byte address, to an indicated Ethernet configuration extension table at a specified offset. The content of the Ethernet CTE table is displayed in the middle node of the MSTR block.

Control Block

The registers in the MSTR control block (the top node) contain the Write CTE

Utilization

information as described in the following table:

 

 

 

 

 

 

 

 

 

Register

Function

Content

 

 

 

 

 

 

 

 

 

 

Displayed

Operation Type

12

 

 

 

 

 

 

 

 

 

 

 

 

First implied

Error status

Displays a hex value indicating an MSTR error,

 

 

 

 

 

when relevant.

 

 

 

 

 

 

 

 

 

 

Second implied

Not applicable

 

 

 

 

 

 

 

 

 

 

 

 

 

Third implied

Not applicable

 

 

 

 

 

 

 

 

 

 

 

 

 

Fourth implied

Low byte

Quantum backplane slot address of the NOE

 

 

 

 

 

module.

 

 

 

 

 

 

 

 

 

 

Fifth ... Eight

Not applicable

 

 

 

 

 

implied

 

 

 

 

 

 

CTE Display

 

 

 

 

 

 

 

The values in the Ethernet configuration extension table (CTE) are displayed in a

Implementation

series of registers in the middle node of the MSTR instruction when a Write CTE

 

operation is implemented. The middle node contains the first of 11 contiguous 4x

 

registers. The registers display the following CTE data:

 

 

 

 

 

 

 

 

Parameter

 

Register

 

Content

 

 

 

 

 

 

 

 

 

 

 

Frame type

 

Displayed

 

1 = 802.3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2 = Ethernet

 

 

 

 

 

 

 

 

 

 

IP Address

 

First implied

 

First byte of the IP address

 

 

 

 

 

 

 

 

 

 

 

Second implied

Second byte of the IP address

 

 

 

 

 

 

 

 

 

 

 

 

Third implied

 

Third byte of the IP address

 

 

 

 

 

 

 

 

 

 

 

 

Fourth implied

 

Fourth byte of the IP address

 

 

 

 

 

 

 

 

 

Subnetwork mask

Fifth implied

 

Hi word

 

 

 

 

 

 

 

 

 

 

 

 

Sixth implied

 

Low word

 

 

 

 

 

 

 

 

 

Gateway

 

Seventh implied

First byte of the gateway

 

 

 

 

 

 

 

 

 

 

 

 

Eighth implied

 

Second byte of the gateway

 

 

 

 

 

 

 

 

 

 

 

 

Ninth implied

 

Third byte of the gateway

 

 

 

 

 

 

 

 

 

 

 

 

Tenth implied

 

Fourth byte of the gateway

 

 

 

 

 

 

 

 

 

 

840 USE 115 00 Version 1.0

39

Image 49
Contents USE 115 00 Version Modicon Quantum EthernetTraining USE 115 00 Vesion Modicon Quantum EthernetOctober 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 aFiber Optic Connectors Twisted Pair ConnectorTransmit Data Network Options Ethernet Tester Utility DisketteErrlog 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 ProperlyAre You Really Ready to Install? Check Installing the ModuleMounting 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 TypeResetting the Module Assigning the Default Gateway Address and Subnet MaskAssigning the IP Network Address Configuring More Than One Ethernet Module Parameter Dialog for an Ethernet Web Embedded Server Module Configuring the Module with ConceptMstr Description Mstr Instruction IntroductionMstr 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 WordRead CTE Config Extension Table Mstr Operation Reset Option Module 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 LEDLink LED Fault 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 CSampleView Class Accessing TCP/IPEvent 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 Broadcast/Multicast TCP/IP Specific IssuesTCP 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