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

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