User guide
The MSTR Instruction
840 USE 115 00 Version 1.0
 31
CTE Error Codes 
The followin
g
 error codes are returned if there is a problem with the Ethernet 
confi
g
uration extension table 
(
CTE
)
 in 
y
our pro
g
ram confi
g
uration.
3.2.4 Read and Write MSTR Operations
An MSTR Write operation 
(
t
y
pe 1 in the displa
y
ed re
g
ister of the top node
)
transfers data from a master source device to a specified slave destination device 
on the network. An MSTR Read operation 
(
t
y
pe 2 in the displa
y
ed re
g
ister 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 ma
y
 be completed over multiple scans.
Note: 
TCP/IP Ethernet routin
g
 must be accomplished via standard third-part
y
Ethernet IP router products.
Control Block 
Utilization
The re
g
isters in the MSTR 
control block
(
the top node
)
 contain the Read or Write 
information as described in the followin
g
 table:
Hex Error Code Meaning
5047
The MTU is invalid
5048 The hardware len
g
th 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.
Hex Error Code Meaning
7001 There is no Ethernet confi
g
uration extension.
7002 The CTE is not available for access.
7003 The offset is invalid.
7004 The offset + len
g
th is invalid.
7005 Bad data field in the CTE.
Register Function Content
Displayed Operation Type 1 = Write, 2 = Read.
First Implied Error status Displays a hex value indicatin
g
 an MSTR error.
Exception response, where 
response size is incorrect.
Exception code  
+ 3000
Exception response where 
response size is incorrect.
4001
Read Write










