Data format

The format of the data to be output as logging data and saved in a file varies according to the type of variables.

Variable type and data format

Data type

Range or sample

Restrictions

BOOL

Bit data

0 or 1

 

UINT

Unsigned 16-bit integer

0–65536

16#016#10000

 

INT

Signed 16-bit integer

-32768–32767

 

UDINT

Unsigned 32-bit integer

0–4294967295

16#016#FFFFFFFF

 

DINT

Signed 32-bit integer

-2147483648–2147483647

 

WORD

Hexadecimal 16-bit integer

16#016#FFFF

 

DWORD

Hexadecimal 32-bit integer

16#016#FFFFFFFF

 

REAL

32-bit floating point real number

-1.175494E-38

 

STRING

Character string with 1–256 characters

'ABCD'

The data type STRING is supported by:

  • FP0H C32ET/EP from V1.90

  • FP7 CPS31/CPS41 from version 4.54

  • FP7 CPS31/CPS41 from version 3.64

  • FP7 CPS21 from version 1.54

NOTE

Decimal integers (UINT, INT, UDINT, DINT) and hexadecimal integers (WORD, DWORD) are output in zero suppression format.

Decimal integers (UINT) are output in 5 digits when the specified decimal point output position value is 0, in 6 digits when it is 1–4, and in 7 digits when it is 5.

Decimal integers (INT) are output in 6 digits when the specified decimal point output position value is 0, in 7 digits when it is 1–4, and in 8 digits when it is 5.

Decimal integers (UDINT) are output in 10 digits when the specified decimal point output position value is 0, in 11 digits when it is 1–9, and in 11 digits when it is 10.

Decimal integers (DINT) are output in 11 digits when the specified decimal point output position value is 0, in 12 digits when it is 1–9, and in 13 digits when it is 10.

For a signed integer (INT, DINT), a sign is output at the beginning and "+" is replaced with a space.

If you have changed the corresponding settings for data value and the decimal point output position, zeroes are added before and after the decimal point in the data output. For example:

  • When the variable type is UINT and the data value is 12345, the output value is 0.12345 when specifying decimal point 5.

  • When the variable type is UINT and the data value is 123, the output value is 0.00123 when specifying decimal point 5.

Related topics:

Set up a configuration

The number of configuration files depends on the PLC type. A separate menu bar is available for the functions New, Delete, Copy, and Paste. Variables can be copied by drag & drop from the Variables pane as well between configuration files.

Restrictions

  • Supported data types: BOOL, INT, UINT, DINT, UDINT, WORD, DWORD, REAL, STRING

    The data type STRING is supported by:

    • FP0H C32ET/EP from V1.90

    • FP7 CPS31/CPS41 from version 4.54

    • FP7 CPS31/CPS41 from version 3.64

    • FP7 CPS21 from version 1.54

  • Data types which support decimal numbers: INT, UINT, DINT, UDINT

    Example: data value "12345" ® output value is 0.12345 with 5 decimal places.

Feature

FP7

FP0H

FP-XH

Max. number of configurations

16, Log0Log15

4, Log0Log3

Max. number of variables

500

182

182

Max. number of samples per file

1000000

60000

40000

Max. number of files per folder

2000

2000

1500

Max. number of characters in Data name column

16

Max. number of characters in Comment column

8

Max. number of characters in Unit column

8

Modified on: 2022-03-02Feedback on this pagePanasonic hotline