Toshiba 2000 V Series Manual page 91

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

Advertisement

The S controller ladder program checks this register for "1" to be set after a request is
issued to the DN611. When the "1" is set in the register, the ladder program reads
DN611 response data from the acknowledgement area, then writes "0" in the register.
0: No response.
1: DN611 has responded to the S controller.
Other than 0 and 1: Reserved
(4) Request area (0334H to 03FBH: 200 words): S controller → → → → DN611
This area is to write request data in when the S controller issues a request to the
DN611.
Request data is written in the area beginning with 0728H.
There are six types of requests that the S controller issues to the DN611 as follows:
(a) Reset request
(b) Parameter setting request (local node)
(c) Parameter setting request (slave device)
(d) DN611 operation mode control request
(e) RAS information read request
(f) Time setting request
The above six requests vary in data composition as described in 4.3 Requests to the
DN611.
(5) Acknowledgement area (02D0H to 0333H: 100 words): DN611 → S controller
When the S controller issues a request to the DN611, the DN611 sets response data
to the S controller in this acknowledgment area. Response data is set
beginning with 02D0H. The request data composition is described in 4.3 Requests to
the DN611.
(6) How to use the semaphore area
Figure 4-15 shows how to use the areas and registers discussed in Items (1) to (5).
The shaded parts of the figure indicate that "1" has been set in each flag register and
"256" in the request register.
(a) Use an MREAD instruction to read the acknowledgement flag register and to
check that it reads 0. If it reads other than 0, write "0" in in it (for the first time
only).
(b) Use an MWRITE instruction to write request data to the DN611 in the request
area (beginning with 0334H).
(c) Use an MWRITE instruction to write "1" in the request flag register.
(d) Use an MWRITE instruction to write "1" in the request register.
(e) Use an MREAD instruction to read the acknowledgement flag register and waits
until it reads 1.
(f) Use an MREAD instruction to read response data of the DN611 from the
acknowledgement area when the acknowledgement flag register reads 1.
(02D0H at the top).
(g) Use an MWRITE instruction to write "0" in the acknowledgement flag register.
(Returns to b).
6F8C0845
4.2 S Controller Interface Buffer Memory Configuration
4
69

Advertisement

Table of Contents
loading

This manual is also suitable for:

Devicenet dn611Devicenet dn611a

Table of Contents