6 F 3 B 0 3 6 2

e.Sample program

This sample ladder program issues a RAS information readout to the Ethernet Port.

 

This program is executed by turning on the R0505 A contact.

 

 

Parameters:

 

12544:3100H, 00021:0015H

 

 

RAS storage registers:

Starting at D0000.

 

 

 

RAS request type:

Event trace information, reads out 30 items starting with the most

 

 

 

 

recent data.

 

 

 

 

 

 

 

 

R0505

 

 

 

R0605

1- -----------------------------------------------------------

 

 

( )--

 

/*

RAS information readout

*/

 

R0605

 

 

 

 

2- -+[12544

MOV RW000][00021 MOV RW001]

----------------------------

/*

Designates the module and sets the CMD number.

*/

 

 

 

 

+[00004

MOV RW002][00000 MOV RW003]

----------------------------

/*

Sets the RAS storage register type and start number

*/

 

 

 

 

+[00004

MOV RW004]---------------------------------------------

 

/* Sets the RAS request type. */

 

 

 

 

 

+[00000

MOV RW005][00030 MOV RW006]

----------------------------

/*

Sets the information readout start position and count. */

 

 

 

 

+[RW000

RECV RW010][RST R0505]---------------------------------

 

 

/* Sets the request.

*/

 

 

 

 

 

 

 

 

 

 

 

 

 

134

Page 135
Image 135
Toshiba T2N instruction manual ⎯ 134 ⎯