Download REFERENCE MANUAL

Transcript
Section
Memory Tables
Symbol
C-series PCs
Allocation
CV-series PCs
Allocation
CS1-series PCs
2-3
Allocation
C
TC Area,
Counter PVs
n1
Counter Area,
Counter PVs
n1
TC Area,
Counter PVs
n1
CU
---
---
---
---
TC Area,
Counter Completion Flags
W
---
---
---
---
WR Area
n2
TK
---
---
---
---
Task Flags
D
DM Area
DM Area
DM Area
Area *2,
E
EM
current bank
EM Area,
current bank
n2
EM Area,
current bank
n2
E0_ to
EC_
---
---
---
---
EM Area,
EM banks 0 to C
n2
: OK : NG n1 : 1-word tables only n2: Host link not available
*1: Words LR 00000 to LR 00199 are converted to CIO 01000 to CIO 01199.
*2: The EM Area is valid for the C200HX/HG/HE(-Z)E PCs only.
The Auxiliary Area of the CVM1 and CV-series PCs is allocated to system functions, and it cannot be used for purposes other than system use.
The range of each memory area differs according to the PC. Refer to Appendix D
PC Memory Map on page 429.
The relationships among the allocated words, the number of allocated words,
and the contents of numeral memory tables are indicated in the figure below.
When The Number of Allocated Words Is 1 Word
PT
PC
Numeral memory table
Only four digits read
5 6 7 8 ← Allocated word
162E
1 2 3 4
(Decimal number 5678)
When The Number of Allocated Words Is Two Words
PT
Numeral memory table
Eight digits read
00BC614E
(Decimal number 12345678)
PC
5 6 7 8 ← Allocated word
1 2 3 4
Storage Type and Stored Data
Numeral memory tables internally store the specified number of words of data as
signed binary data. When the the contents of words allocated in the host are
stored in a memory table, the numeric value is interpreted according to the Storage Type setting and is stored after conversion to signed binary data. Also, the
signed binary data in numeral memory tables is written to the words allocated in
the host according to the Storage Type setting.
Accordingly, different Storage Type settings will cause the same data to be recognized by the PT as different values and written to the host as different values.
Reference: Signed binary data expresses negative values as the complement of two (the bits
are inverted and 1 is added).
• Storage Type For The BCD Format
When using BCD format, the contents of the word(s) at the host are interpreted
as BCD (binary coded decimal) data. However, since it is not possible to input a
negative sign in a host word, the letter F at the most significant digit is used
66