Mitsubishi Electronics FX3U-CF-ADP Video Gaming Accessories User Manual


 
7 Before Programming
7.1 File format available in the CF-ADP
38
FX3U-CF-ADP User's Manual
7.1.4 Data size calculation
When calculating the data size, use the following formula in accordance with the byte count shown in the
table below.
Calculation formula for the byte count that can be written at one time Number of data points : n (n 254)
Calculation formula
Written byte count = 9+(a)+ (1+(b))
Example of the maximum numeric value (When there are 254 floating point data points)
Written byte count = 9+19+ {(1+14)} (Sum of 254 data points) = 3838 byte 3.75kB
Example of character string
Written byte count = 9+19+ {(1+(b))} (Sum of "n" character strings) 16kB
Caution
When overwriting data, match the data type and byte count in the line.
Data is not overwritten or read normally if the data type or byte count is different.
Contents of data Used characters
Number of
bytes
Symbol Remark
Index
6 digits (expressed in a decimal number from "1" to
"32767")
Space is put in for unused digits.
Plus signs (+) are used in some systems.
6 bytes - Decimal 6 digits
, 1 character 1 byte - Comma
year/Month/Day
Hour:Minute:Seconds
None 0 byte
(a)
The expression of date and
time depends on the setting
of the region.
Check the used method.
yyyy/mm/dd hh:mm:ss 19 bytes
yy/mm/dd hh:mm:ss 17 bytes
dd/mm/yyyy hh:mm:ss 19 bytes
dd/mm/yy hh:mm:ss 17 bytes
mm/dd/yyyy hh:mm:ss 19 bytes
mm/dd/yy hh:mm:ss 17 bytes
hh:mm:ss 8 bytes
, 1 character 1 byte - Comma
data
Bit 1 byte
(b) -
Decimal 16-bit 6 bytes
Decimal 32-bit 11 bytes
Hexadecimal 16-bit 4 bytes
Hexadecimal 32-bit 8 bytes
Real numbers(Floating point data)
Exponent expression type= #.#######E ##
14 bytes
Character string
(512 half-width/full-width characters maximum)
Character string
size
(1024 bytes
maximum)
CR+LF Return code at line end 2 bytes - Line feed
1
n
1
254
1
n