Machine Automation Controllers FAQ


Frequently asked questions and answers for Machine Automation Controllers - Industrial Automation


NJ Series: Power Supply Unit


Question

Is the Power Supply Unit that is used on the CPU Rack and Expansion Rack for the NJ Series specifically for the NJ Series? Can I use the Power Supply Unit for the CJ Series instead?


Answer

You cannot use the Power Supply Unit for the CJ Series to power the CPU Rack or the Expansion Rack. Use the Power Supply Unit for the NJ Series.


NJ Series: Timer Setting


Question

On an NJ-series Controller, I used a variable with a TIME data type to register the timer set value for a TON instruction and other timer instructions. I want to change the set value from an NS-series Programmable Terminal, but it does not support variables with a TIME data type. How should I set the timer?


Answer

You cannot change a variable with a TIME data type directly from an NS-series Programmable Terminal. Instead, register a variable with a LINT data type in the NJ-series Controller. To use this variable for the set value of a timer, convert the LINT data type to a TIME data type with the SecToTime instruction. Now you can change the value of the variable with the LINT data type from the NS-series Programmable Terminal.


Serial Port or Ethernet


Question

Can I connect an NJ-series Controller to an NSJ-series Controller via Ethernet or a serial port?


Answer

Yes, you can use either an Ethernet or a serial connection to connect these two Controllers. To use an Ethernet connection, use the EtherNet/IP port. The NSJ-Controller must have an Ethernet port, e.g., it must have the following model number: NSJ5-[ ]Q11-[ ][ ][ ]. To use a serial connection, you need to install a Serial Communications Unit in the NJ-series Controller. The area you can access is limited to the memory used for CJ-series Units.


NJ Series: Disable Batteries


Question

If I want to run an NJ-series Controller without a battery, can I disable detection of the Low Battery Error, like I can in the Programmable Controller system settings for the CS Series and CJ Series?


Answer

No, the NJ-series Controllers are designed to always detect the Low Battery error. When this error occurs, the _RetainFail (Retention Failure Flag) system-defined variable changes to TRUE, and the ERROR indicator on the front panel of the CPU Unit flashes.


Accessing Servo Drive


Question

I added a Servo Drive to the EtherCAT node address network configuration in the Sysmac Studio. Then, in the I/O Map, I assigned drive variables to the I/O ports. When I added an axis setting and assigned a target node, the assignments in the I/O Map were grayed out. What should I do to access the Servo Drive?


Answer

The I/O Map entries become disabled as soon as you assign a Servo Drive to an axis. To access the Servo Drive that you assigned to an axis, use the Axis Variable (a system-defined variable).


NJ Series: Program Capacity in Ksteps


Question

According to the manual, the NJ501-1300 has a program capacity of 20 MB. How many K steps is 20 MB?


Answer

A program capacity of 20 MB is roughly the same as 400 K steps (the program capacity for the CJ2H-CPU68). However, you should consider this a guideline because the actual number of steps depends on each individual program.


NJ Series: Variable Tables


Question

The performance specifications for the NJ Series lists variable tables as part of the program capacity. Why are variable tables not included in the memory capacity for variables?


Answer

The variable tables that are included in the program capacity are stored with the execution objects in the list of variable attributes (e.g., variable names and variable data types) that are used in the programs. The variables themselves are stored in the memory capacity for variables, which is a separate memory space from the program memory.


NJ Series: Sysmac Studio Licensing


Question

If I need 30 licenses for the Sysmac Studio, does that mean I need to purchase 30 DVDs?


Answer

No. You do not need to purchase 30 DVDs. You only need one DVD for licensing. In addition to the single DVD, you need to purchase 30 licenses.


Sysmac Studio: Save As and Export & Open Project and Import


Question

In the Sysmac Studio, what is the difference between Save As and Export, and Open Project and Import?


Answer

The Save As and Open Project commands are used with project files on your computer. The Export and Import commands are used to handle project files on another computer.


Sysmac Studio: Duplicate Name Error


Question

While creating a program, the Sysmac Studio displays a duplicate name error. What causes this error?


Answer

The Sysmac Studio found a duplicate name for the following data items during a program check. If you double-click the message that is displayed on the Build Tab Page, the Edit Pane will show the location of the error for you to correct.

  • Variable names in the same POU
  • Section names in the same POU
  • Member names in the same union of structure
  • Enumerators in the same enumeration
  • Local variable names and global variable names
  • POU names and data type names
  • Data type names and variable names
  • Enumerators of an enumeration and enumerators of another enumeration
  • Enumerators and variable name

NJ Series and CX-One


Question

I have the CX-One. Can I use this as the Support Software for the NJ Series?


Answer

No, the Sysmac Studio is required to create programs for the NJ Series. It is sold separately. Some of the same Support Software Tools are included in both the CX-One and the Sysmac Studio.


Sysmac Studio: Data Tracing for Internal Variables


Question

If I want to use data tracing for internal variables, how do I enter them in the Sysmac Studio?


Answer

Specify using this format: Program_name.variable_name (Example: Program1.Start_SW1) For global variables, enter only the variable name.


NJ Series: Disconnecting and Connecting EtherCAT Slaves


Question

This question is about disconnecting and connecting EtherCAT slaves. If I execute the function to disconnect a slave, is it just the specified slave that is disconnected? Do the other slaves continue to operate without stopping?


Answer

If you disconnect a slave, the slaves connected to the daisy chain after the slave that you specified will also be disconnected at the same time. All other slaves will continue to operate.


NJ Series: FileWriteVar Instruction


Question

With the NJ Series, if I use the FileWriteVar instruction to write to a file on the SD Memory Card, can I create a CSV (comma-separated value) file if I specify the .csv extension for the filename?


Answer

No, the FileWriteVar instruction writes in binary format. Even if you specify the .csv extension in the file name, the file will contain binary data.


Sysmac Studio: Maximum Number of Variables


Question

What is the maximum number of variables that can be monitored with a data trace in the Sysmac Studio?


Answer

The maximum number of variables for data tracing depends on the model of the CPU Unit. In the catalog, this is listed under the specifications for maximum number of records or maximum number of points. The maximum number of sampled variables is 192 for the NJ501, and 48 for the NJ301. For both models, the maximum number of records in 10,000.


NJ Series: Table of Instruction Execution Times


Question

Is there a table of instruction execution times for the NJ Series?


Answer

The user's manuals for the NJ-series Controller do not have a table of instruction execution times. This is because the program execution time cannot be calculated by simply adding the execution times for each instruction.
Please consult your OMRON representative about the execution times for individual instructions.


You can estimate the task execution time offline by using the simulation function of the Sysmac Studio. Run the simulation in Execution Time Estimation Mode to monitor the task execution times.


NJ Series: FilePuts Instruction


Question

On an NJ-series Controller, if I use the FilePuts instruction to write to a file on the SD Memory Card, what happens if the specified file (FileID) does not exist?


Answer

If the file (FileID) that you specified in the FilePuts instruction does not exist, an error will occur and the write will not be performed.


Sysmac Studio: Software Registration Method


Question

There are two ways to register as a user for the Sysmac Studio: by mailing the user registration post card or by using online registration. Should I use both?


Answer

No. You only need to register once using either method. You can register using the Online Registration from the Help feature in the Sysmac Studio.


NJ Series: Number of User-defined Function Blocks


Question

Is there a limit to the number of user-defined function blocks and user-defined functions that I can create in an NJ-series Controller?


Answer

You can create as many functions and function blocks as you wish as long as the program size is within the program capacity. User-defined functions and user-defined function blocks are included in the program size.