Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Products
  • Automation Systems
  • Machine Automation Controllers

NX/NJ to NA Data types

Written by Arlo D'Cruz

Updated at February 13th, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Products
    Automation Systems Control Components Motion & Drives Quality control & Inspection Robotics Safety Sensing Services Software Switching Components
  • Amplify e-Store
    e-Store public
  • Public CSC
+ More

As a .NET based platform, the NA uses .NET 32 bit data types, these are different to 16 bit IEC based controllers used elsewhere on the machine. This allows for flexibility offered by using a .NET environment and language especially with a graphical user interface while allowing the real time IEC based controllers to continue using their data types and programming methods that are well suited to their tasks.

The correct NA data types are automatically chosen when mapping to a variable on an IEC device (a PLC or Machine Controller) and conversion between the types will happen automatically. Sysmac Studio will even assign a suitable NA Variable name when mapping a controller variable onto the NA.

In addition, this mapping process ensures that only variables you are interested in on the HMI have their values updated over your busy network during runtime.

This article shows which data types are available for the NA Series and how these are mapped to IEC data types on the controllers. Note the NA also supports arrays of all of these types.

NX/NJ Data Type Alignment NA Data type
INT 2 Bytes Short
DINT 4 Bytes Integer
LINT 8 Bytes Long
UINT
WORD
2 Bytes UShort*1

UDINT

DWORD

4 Bytes UInteger*1
ULINT
LWORD
8 Bytes ULong*1
REAL 4 Bytes Single
LREAL 8 Bytes Double
N/A N/A Decimal
BOOL 2 Bytes Boolean
STRING 1 Byte (per character) String
SINT 1 Byte SByte
USINT
BYTE
1 Byte Byte*1
TIME 8 Bytes TimeSpan*2

DATE

DATE_AND_TIME

TIME_OF_DAY

8 Bytes Date

Info 1

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

 

Info 2

TIME has no direct equivalent data type and in VB.Net is represented by the TimeSpan structure. TimeSpans cannot be used in numeric inputs/displays,.

 

 

datatypes migration

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Racetrack Library for Sysmac Machine Controllers
  • Ladder vs Structured Text
  • Ethernet/IP Setup Guide Using Network Configurator
  • Do I need Power Supply units for my NX CPU?

Definition by Author

0
0
Expand