![background image](http://html.mh-extra.com/html/omron/ns10-tv-series/ns10-tv-series_programming-manual_744520437.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
Summary of Contents for NS10-TV Series
Page 2: ......
Page 12: ...Contents vi NS Series Programming Manual ...
Page 48: ...Section 1 Overview 1 5 Procedure before Operation 1 35 NS Series Programming Manual ...
Page 592: ...Section 3 Using PTs 3 12 Function Key Settings NS15 Only 3 35 NS Series Programming Manual ...
Page 606: ...Section 4 Using Functions 4 1 Application 4 13 NS Series Programming Manual ...