Special Instructions; A-3-1 Instructions; A-3-2 Specifying The Targets For Instructions; Instructions - Omron NX-ECC201 User Manual

Machine automation controller nx-series ethercat coupler unit
Table of Contents

Advertisement

A-3 Special Instructions
A-3-1

Instructions

The following table lists the instructions that you can use in the NJ-series CPU Unit for the Communica-
tions Coupler Unit and the NX Units.
Type
System control
instructions
Communications
instructions
*1. You can write the parameters that are updated without restarting the Unit at any time.
*2. Always execute the NX_SaveParam instruction after you execute the NX_WriteObj instruction. If you do not
execute the NX_SaveParam instruction, the object data will return to the values before the NX_WriteObj in-
struction was executed when the Unit is restarted.
Refer to the NJ-series Instructions Reference Manual (Cat. No. W502-E1-07 or later) for details on the
instructions.
Refer to the NJ-series CPU Unit Software User's Manual (Cat. No. W501) for information on how to cre-
ate a user program that use these instructions.
A-3-2

Specifying the Targets for Instructions

This section describes the methods that you use to specify the target Unit or NX objects in special
instructions.
Specifying Units
Use a variable assigned to the Unit to specify the target Unit in a special instruction. You must register
the variables and assign them to the Units in advance. Refer to the NJ-series CPU Unit Software User's
Manual (Cat. No. W501-E1-06 or later) for details.
Specifying NX Objects
To specify an NX object in a special instruction, use the index and subindex for that NX object.
NX-series EtherCAT Coupler Unit User's Manual (W519)
Instruction
Name
NX_ChangeWrite
Change to NX Unit
Mode
Write Mode
NX_SaveParam
Save NX Unit
Parameters
RestartNXUnit
Restart NX Unit
NX_ReadObj
Read NX Unit
Object
NX_WriteObj
Write NX Unit
Object
Outline of function
This instruction changes the specified Communi-
cations Coupler Unit or NX Unit to the mode that
*1
allows the writing of data.
This instruction saves data that is written to the
specified Communications Coupler Unit or NX
*2
Unit.
This instruction restarts the specified Communica-
tions Coupler Unit and all NX Units that are con-
nected to it.
This instruction reads data from the NX object for
the specified Communications Coupler Unit or NX
Unit.
This instruction writes data to the NX object for the
specified Communications Coupler Unit or NX
*2
Unit.
Appendices
A
A - 7

Advertisement

Table of Contents
loading

Table of Contents