Common Memory Map - Toshiba V Series User Manual

Admap-5m an712 module
Hide thumbs Also See for V Series:
Table of Contents

Advertisement

Chapter 5 Application Interface

5.2 Common Memory Map

5
24
The common memory area of the AN712 module allocated to the station global memory
area covers scan transmission data, scan transmission healthy information, station
status, etc., which are defined as global variables and can be directly accessed using
batch I/O or TMOV/TINZ_REAL/TINZ_DWORD instructions, for example. Information
indicating socket communication status is also stored in the common memory area to be
used in controlling socket communication.
The station bus global area visible from the S3 controller and other intelligent modules
has 1M byte allocated per slot as shown in figure 5-2. Up to 8 slots, including spares for
future use, are provided.
<AN712 module memory configuration>
0 x 0 * 0 0 0 0 0 ( * : s l o t n u m b e r )
n t B a s e
S t a t i o n
b u s
( 2 5 6 K B )
M e m o r y s p a c e ( 1 M B )
1 6 M B
n t B a s e ( w o r d a d d r e s s )
S l o t 0 : 0 ( 0 x 0 )
S l o t 1 : 5 2 4 2 8 8 ( 0 x 8 0 0 0 0 )
S l o t 2 : 1 0 4 8 5 7 6 ( 0 x 1 0 0 0 0 0 )
S l o t 3 : 1 5 7 2 8 6 4 ( 0 x 1 8 0 0 0 0 )
S l o t 4 : 2 0 9 7 1 5 2 ( 0 x 2 0 0 0 0 0 )
S l o t 5 : 2 6 2 1 4 4 0 ( 0 x 2 8 0 0 0 0 )
S l o t 6 : 3 1 4 5 7 2 8 ( 0 x 3 0 0 0 0 0 )
S l o t 7 : 3 6 7 0 0 1 6 ( 0 x 3 8 0 0 0 0 )
Figure 5-2 AN712 Station Bus Global Area
With 524288 words per slot, slot 0 has the base address of 0 (0x0); slot 1 = 524288
(0x80000) and so on till slot 7 = 670016 (0x380000).
The S3 controller can make direct memory access by specifying an address as follows:
Example 1: The socket unit information on the AN712 module installed in slot 3 is
allocated to ANSocket array variable and scan transmission data to ANScanXfer array
variable.
VAR_GLOBAL
ANSocket
AT %MW13.1605504
ANScanData AT %MW13.1638400
END_VAR
Note: The ADMAP-5M scan transmission area includes 2-word real data. The S3 con-
troller accesses 2 consecutive words in real data access, and access to the same
word is inhibited in scan transmission, thus assuring integrity of real data. (2-con-
secutive-word guarantee)
This guarantee is limited to accesses to addresses beginning with the even-word
boundary, double words, and even words, not to odd-word boundary or odd-word access.
S t a t i o n b u s
g l o b a l a r e a
R A M
a r e a
T y p i c a l s t a t u s
S y s t e m s t a t u s
( 1 K B )
( 2 5 6 B + 3 7 8 2 4 B ) ,
o t h e r i n f o r m a t i o n
m e m o r y s p a c e
( 1 2 8 K B ( 6 4 K W ) )
:Array[0..11] Of Word;
:Array[0..32727] Of DWORD;
model 3000 ADMAP-5M AN712 Module User's Manual
V a r i o u s s y s t e m
i n f o r m a t i o n , h e a l t h y
m a p s , e t c
B y t e a d d r e s s
( w o r d a d d r e s s )
1 2 8 B )
+
0 x 4 0 0
S e n d b u f f e r
( + 0 x 2 0 0 )
+ 0 x 2 0 0 0 0
S c a n
( + 0 x 1 0 0 0 0 )
t r a n s m i s s i o n

Advertisement

Table of Contents
loading

This manual is also suitable for:

3000

Table of Contents