The MSTR Instruction

Hex Error Code

Meaning

 

 

5047

The MTU is invalid

 

 

5048

The hardware length is invalid.

 

 

5049

The route specified cannot be found.

 

 

504A

Collision in select call: these conditions have already been selected by

another task.

 

 

 

504B

The task id is invalid.

 

 

CTE Error Codes The following error codes are returned if there is a problem with the Ethernet configuration extension table (CTE) in your program configuration.

Hex Error Code

Meaning

 

 

7001

There is no Ethernet configuration extension.

 

 

7002

The CTE is not available for access.

 

 

7003

The offset is invalid.

 

 

7004

The offset + length is invalid.

 

 

7005

Bad data field in the CTE.

 

 

3.2.4Read and Write MSTR Operations

An MSTR Write operation (type 1 in the displayed register of the top node) transfers data from a master source device to a specified slave destination device on the network. An MSTR Read operation (type 2 in the displayed register of the top node) transfers data from a specified slave source device to a master destination device on the network. Read and Write use one data master transaction path and may be completed over multiple scans.

Note: TCP/IP Ethernet routing must be accomplished via standard third-party

Ethernet IP router products.

Control Block

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

Utilization

information as described in the following table:

 

 

 

 

 

 

 

 

 

 

 

Register

Function

Content

 

 

 

 

 

 

 

 

 

 

 

Displayed

Operation Type

1 = Write, 2 = Read.

 

 

 

 

 

 

 

 

 

 

First Implied

Error status

Displays a hex value indicating an MSTR error.

 

 

 

 

 

 

 

 

 

 

Exception response, where

 

Exception code

 

 

 

 

 

 

 

 

 

response size is incorrect.

 

+ 3000

 

 

 

 

 

 

 

 

 

 

 

Exception response where

 

4001

 

 

 

 

response size is incorrect.

 

 

 

 

 

 

 

 

 

 

 

 

 

Read Write

 

 

 

 

 

 

 

 

 

 

840 USE 115 00 Version 1.0

31

Page 41
Image 41
Schneider Optics Modicon Quantum Ethernet manual Read and Write Mstr Operations, Control Block, Utilization