![Omron NS - Скачать руководство пользователя страница 435](http://html1.mh-extra.com/html/omron/ns/ns_programming-manual_743537435.webp)
Section 2 NS Series Functions
2-17 Data Blocks
2-388
NS Series Programming Manual
Calculating Data Bytes for Data Blocks
This section explains how to calculate the data quantity for data blocks.
Example:
String Field
8 characters
×
2
bytes/character
+
Numeral Field
4 bytes
+
Numeral Field
4 bytes
+
Numeral Field
8 bytes
1 record = [8 characters
×
2 bytes/cha[4 bytes]+[4 bytes]+[8 bytes]= 32 bytes
100 records = 32 bytes/record
×
100 records = 3,200 bytes
R
R
R
e
e
e
f
f
f
e
e
e
r
r
r
e
e
e
n
n
n
c
c
c
e
e
e
♦
The record labels are not calculated in the data quantity. Refer to
Creating Data Files
on page
2-397 for record labels.
Data Block 1
Product
name
Product
No.
Width Depth Height
0 Product
A1
String,
8 characters
Numeral, INT Numeral, DINT Numeral, REAL
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
99
Product
A99
String,
8 characters
Numeral, INT Numeral, DINT Numeral, REAL
Record label
Содержание NS -
Страница 2: ......
Страница 12: ...Contents vi NS Series Programming Manual...
Страница 46: ...Section 1 Overview 1 5 Procedure before Operation 1 33 NS Series Programming Manual...
Страница 590: ...Section 3 Using PTs 3 12 Function Key Settings NS15 Only 3 35 NS Series Programming Manual...
Страница 604: ...Section 4 Using Functions 4 1 Application 4 13 NS Series Programming Manual...
Страница 640: ...Section 5 Troubleshooting and Maintenance 5 2 Error Messages 5 35 NS Series Programming Manual...
Страница 680: ...Appendices Appendix 6 Additional NS Series Functions A 39 NS Series Programming Manual...
Страница 682: ......
Страница 683: ......