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

Page 38
Image 38
Schneider Optics Modicon Quantum Ethernet manual Mstr Function Error Codes, Middle Node, Bottom Node, TCP/IP Ethernet