Omron SYSMAC CV500-BSC11 Operation Manual page 39

Basic units
Table of Contents

Advertisement

Memory Areas
First transfer word
using the PC READ
instruction
0
1
2
3
4
5
6
7
8
9
Example
Example
26
• The memory switch setting to make the above areas cyclic areas is as follows:
ESW6-1 = 0082–2000–0001–0010
ESW6-7 = 0082–2010–0001–0010
Area type (0082: DM Area)
Note All the values are set in decimal.
• The first transfer word for the cyclic area is specified as follows:
Address in CPU Unit
DM12000
DM12001
DM12002
DM12003
DM12004
DM12005
DM12006
DM12007
DM12008
DM12009
The shaded areas indicate addresses that are used to display status informa-
tion, thus not allowing them to be used for user data.
This example shows reading the contents of 10 words from DM 12001 to DM
12009 in the CPU Unit to the BASIC Unit and storing in the variables H, I, J, K, L,
M, N, O and P.
PC READ
"@SQ,1,9,9H4";H,I,J,K,L,M,N,O,P
9 words
First word (DM 12001) onwards
This example shows writing values from the variables A, B, C, D, E, F, and G in
the BASIC Unit to 7 words from DM 12013 to DM 12019 in the CPU Unit.
PC WRITE "@SI,3,7,7H4";A,B,C,D,E,F,G
Third word (DM 12013) onwards
No. of words
Upper address
Lower address
First transfer word
using the PC WRITE
instruction
0
1
2
3
4
5
6
7
8
9
7 words
Section 3-1
Address in CPU Unit
DM12010
DM12011
DM12012
DM12013
DM12014
DM12015
DM12016
DM12017
DM12018
DM12019

Advertisement

Table of Contents
loading

Table of Contents