Toshiba 2000 User Manual page 61

Integrated controller
Hide thumbs Also See for 2000:
Table of Contents

Advertisement

(2) Sample program of PF612
In this sample program, PF612 is mounted on basic unit and slot 7 of S2T/S2E.
Sample program issues the start request to PF612, reads from "Read data" area, and
writes that data in "Write data" area.
This program is registered in S2T/S2E. The program moves when S2T/S2E move to
RUN mode.
1|[ 00000 MOV D1000][ 00001 MOV D1001]---------------------------------------------- | circuit 1-4
|
|
2|[H0007 READ D1000 -> D1110]------------------------------------------------------ |
| /* read PF611 module status */
|
3|[D1110 AND HF000 -> D1110][D1110
| /* module status = standby? */
|R0502
4|-| |-+[ 00065 MOV D1000][ 00001 MOV D1001][ 00002 MOV D1002]---------|
|
|
|
|
|
+[D1002 WRITE D1000 -> H0007]--------------------------------------------- |
|
| /* PF611 start request */
|
|
|
+[ 00064 MOV D1000][ 00001 MOV D1001][-23131 MOV D1002]--------|
|
|
|
|
|
+[D1002 WRITE D1000 -> H0007]--------------------------------------------- |
|
/* module control enable */
|
5|[ 00512 MOV D1000][ 00122 MOV D1001]---------------------------------------------- | circuit 5-8
|
|
6|[H0007 READ D1000 -> W0256]----------------------------------------------------- |
| /* read all "Read data" area */
|
7|[ 00256 MOV D1002][ 00122 MOV D1003]---------------------------------------------- |
|
|
8|[W0256 WRITE D1002 -> H0007]----------------------------------------------------- |
| /* The read data is written in "Write data" area as it is */
|
9|[END ]-----------------------------------------------------------------------------------------------|
6F8C1147
Main program
Block 1
= 04096]--------------------( )-- |
Figure 9-4 Sample program of PF612
9.3 Connectors
| PF612 start request
|
|
R0502 |
|
|
|
|
|
|
|
|
|
|
| received data move
| to "Write data" area
|
|
|
|
|
|
9
45

Advertisement

Table of Contents
loading

Table of Contents