Data Format - Panasonic FP0H User Manual

Programmable controller control unit
Hide thumbs Also See for FP0H:
Table of Contents

Advertisement

Overview of Logging/Trace Function

1.4 Data Format

• The format of the data to be output as logging data and saved in a file varies according to
the type of devices.
• For the details of setting methods, refer to "2.4 Registration of Device Information".
 Device type and data format
Data type
BIT
Bit data
Unsigned 16-
US
bit integer
Signed 16-bit
SS
integer
Unsigned 32-
UL
bit integer
Signed 32-bit
SL
integer
Single-
precision
SF
floating point
real number
Hex
1 words
Hex
2 words
STR
String data
(Note 1) Decimal integers (US, SS, UL, SL) and hexadecimal integers (Hex) are output in zero suppression format.
(Note 2) Decimal integers (US) are output in 5 digits when a specified decimal point output position value is 0, in 6
digits when it is 1-4, and in 7 digits when it is 5.
(Note 3) Decimal integers (SS) are output in 6 digits when a specified decimal point output position value is 0, in 7
digits when it is 1-4, and in 8 digits when it is 5.
(Note 4) Decimal integers (UL) are output in 10 digits when a specified decimal point output position value is 0, in 11
digits when it is 1-9, and in 12 digits when it is 10.
(Note 5) Decimal integers (SL) are output in 11 digits when a specified decimal point output position value is 0, in 12
digits when it is 1-9, and in 13 digits when it is 10.
(Note 6) For a signed integer (SS, SL), a sign is output at the beginning and "+" is replaced with a space.
(Note 7): Zero is added before and after decimal point by the settings of data value and decimal point output position,
and the data is output.
When "Data type" is US and data value is "12345", the output value is "0.12345" when setting "Decimal point"
to 5.
When "Data type" is US and data value is "123", the output value is "0.00123" when setting "Decimal point" to 5.
(Note 8) Double quotation marks " " are added before and after character string data.
1-10
Output type to files
No. of
occupied
Data type
words
1 words
0 or 1
Decimal integer
1 words
(unsigned)
Decimal integer
1 words
(signed)
Decimal integer
2 words
(unsigned)
Decimal integer
2 words
(signed)
Decimal or
2 words
exponential form
(auto)
Hexadecimal integer
1 words
(unsigned)
Hexadecimal integer
2 words
(unsigned)
1 to 20 bytes
Character data
No. of
Range or sample
characters
1
0 or 1
5
0 to 65536
6
-32768 to 32767
10
0 to 4294967295
-2147483648
11
to 2147483647
13
-1.175494E-38
4
0 to FFFF
8
0 to FFFF FFFF
1 to 20 + 2
"ABCD"

Advertisement

Table of Contents
loading

Table of Contents