0% found this document useful (0 votes)
124 views1 page

Tipos de Datos Sysmac

This document compares the data types used in NJ501 (and Sysmac Studio variables), HMI data types, CJ2 data types, and VB.Net data types. It shows the alignment and equivalent data type mappings between these systems. It also provides notes on data types that have no direct equivalent or have limitations in their representation.

Uploaded by

Kevin Morales
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
124 views1 page

Tipos de Datos Sysmac

This document compares the data types used in NJ501 (and Sysmac Studio variables), HMI data types, CJ2 data types, and VB.Net data types. It shows the alignment and equivalent data type mappings between these systems. It also provides notes on data types that have no direct equivalent or have limitations in their representation.

Uploaded by

Kevin Morales
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

NJ501 (and Sysmac Studio variables)

HMI Data Types


CJ2 Data Type Comment
Data Types Alignment (VB.Net)

INT 2 bytes Short INT


DINT 4 bytes Integer DINT
LINT 8 bytes Long LINT
UINT UINT
2 bytes UShort WORD
WORD See Note 1
UINT-BCD
UDINT UDINT
4 bytes UInteger DWORD
DWORD See Note 1
UDINT-BCD
ULINT ULINT
8 bytes Ulong LWORD
LWORD See Note 1
ULINT-BCD
REAL 4 bytes Single REAL
LREAL 8 bytes Double LREAL

No equivalent data type Decimal No equivalent data type

BOOL 2 bytes Boolean BOOL


STRING 1 byte String STRING

No equivalent data type Char No equivalent data type

SINT 1 byte SByte No equivalent data type


USINT 1 byte
Byte No equivalent data type
BYTE 1 byte
TIME 8 bytes System.TimeSpan Not supported See Note 3
DATE Not supported
DATE_AND_TIME 8 bytes DateTime Not supported
TIME_OF_DAY Not supported
Not supported TIMER
See Note 2
Not supported COUNTER
Not supported CHANNEL
Not supported NUMBER

Note 1: VB.Net does not have a BCD data type. However unsigned BCD data types values can be
represented by unsigned integer data types

Note 2: CJ device Timer and Counter values, (PV) cannot be represented as published symbols,
(unsupported for these data types), therefore they cannot be addressed using symbolic addressing-
However they can be accessed by using physical memory addressing with the appropriate data type.
(Unsigned BCD or Unsigned Binary data type dependent upon configuration in device).

Note 3: TIME has no direct equivalent data type and in VB.Net is represented by the TimeSpan
structure

You might also like