6 F 3 B 0 3 6 2

This section describes the operating mode control request instruction format.

Operating mode control request (using the SEND instruction)

a.Function

This is a request from a user program that controls the Ethernet Port operating mode.

b.Transfer parameters

A A+1 A+2

3100H

CMD = 0013H

Specified information

Module designation

CMD number

Specified information

F

E

 

D C B A

9

8

7

6

5 4 3

2

1

0

0

0

 

 

 

 

 

0

0

0

0

0

0

 

 

 

 

 

0

0

0

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

STBY

 

 

 

 

 

 

MTEN

 

 

 

 

 

 

 

 

 

RUN

 

 

 

 

 

 

 

STEN

 

 

 

Bit D: STBY (standby request)

Switches the Ethernet Port from run mode to standby mode.

Bit C: RUN (run request)

Switches the Ethernet Port from standby mode to run mode.

Bit 5: MTEN (message transmission enable/prohibit request) Computer link/PC link protocol transmission enable/prohibit

1: Enable, 0: Prohibit

Bit 4: STEN (socket interface transmission enable/prohibit request) Socket interface transmission enable/prohibit

1: Enable, 0: Prohibit

Examples: Standby request - 2000H

Run request - 1030H (Allows both message transmission and socket interface transmission)

1010H (Allows socket interface transmission only)

1020H (Allows message transmission only)

c.Status (See figure 4.3 for details on bits C, D, E and F.)

B B+1

F E D C B A 9 8 7 6 5 4 3 2 1 0

 

 

 

 

0

0

0

0

TermSTS

Detailed information (Only valid when TermSTS = 0BH.)

48

Page 49
Image 49
Toshiba T2N instruction manual Operating mode control request using the Send instruction, Function