EasyManua.ls Logo

Omron NS10-TV Series - Page 437

Omron NS10-TV Series
682 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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/character]+[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

Table of Contents

Other manuals for Omron NS10-TV Series

Related product manuals