日本語 English

OMRON NX/NJ Series Sample Programs

Sample programs for the OMRON NX/NJ series.
Practical PLC programs for EtherNet/IP communication, IIoT, data processing, database connection, analog calculation, FFT analysis and more.

Samples

Data processing

Ring buffer FB

Ring buffer FB

An FB that puts data into and takes data out of a ring buffer

Logging

Logging

Logs the state of PLC memory in various ways

Recorder

Recorder

Records the state of PLC memory using logging techniques

Graph display of collected data

Graph display of collected data

How to graph data collected by the PLC in a browser

Analysis

X-bar R control chart

Xbar-R control chart

Calculates an Xbar-R control chart

Histogram

Histogram

Creates histogram data

Alarm prediction

Alarm prediction

Measures the time taken by machine operations and predicts the number of operations until the alarm value is likely to be exceeded

Analog

Analog graph

Analog graphs

Graphs analog data on the NA

Digital filters

Digital filters

Calculates LPF, HPF, BPF, Notch, LSF, HSF, Peak and AllPass filters

FFT

FFT

Performs FFT calculations

Database

DB Insert, Bacthinsert

Insert, Bacthinsert

Inserting data (Insert) and batch inserting (BatchInsert) are covered on the logging pages

Stored procedure

Stored procedures

Calls stored procedures registered in the DB

Host network

JSON library

JSON library

Converts JSON strings to dictionaries and gets values from dictionary keys

IIoT

IIoT

Connect the PLC to AWS, to a DB, or via OPC UA to collect data

FTP

FTP

The PLC FTP server function and FTP client communication instructions

Connecting to the KEYENCE KV series

Connecting to the KEYENCE KV Series

KvLink library for connecting an NX series and a KV series via Host Link, CIP communication and CIP communication with tag specification

Connecting to MITSUBISHI PLCs

Connecting to MITSUBISHI PLCs

McLink library for connecting the NX series to MITSUBISHI PLCs with the MC protocol

EIP cyclic communication with the KV series

EIP cyclic communication with the KV series

How to set up EIP cyclic communication between the NX series and the KV series

Calculation library

Calculation library 2D

2D

Triangles, circumscribed, inscribed, polygons, plane geometry

Calculation library 3D

3D

Solid geometry

Calculation library vectors

Vectors

Vectors

Calculation library rotation conversion

Rotation conversion

Rotation conversion

Calculation library hyperbolic functions

Hyperbolic functions

Hyperbolic functions

Calculation library matrices

Matrices

Matrices

Calculation library quaternions

Quaternions

Quaternions

Other

Solving a System of Three Linear Equations (Gaussian Elimination)

Calculation library attitude control

Attitude control

Attitude control

Other

Retained memory

Retained memory

Examines ways to extend retained variable memory

ATAN2

ATAN2

Four-quadrant ATAN calculation

Getting elapsed time

Getting elapsed time

Measuring program processing time (in microseconds)

Connecting an IAI SCON

Connecting an IAI SCON

Connecting a PLC to an IAI SCON position controller

Mutual exclusion

Mutual exclusion

How to do mutual exclusion for 64 items

How-to navigator