Appendices
A - 4
NX-series Communications Interface Units User’s Manual (W540)
A-2
Changing NX Objects from a User Program
You can change the NX objects of the CIF Unit with the user program.
Only writable NX objects for a CIF Unit can be
changed from the user program.
Refer to A-3-2 NX Objects for the NX-CIF101 and NX-CIF105 on page A-6 for details on NX objects
for CIF Units. Writable NX objects are indicated in the NX object lis
ts by “RW” in the Access
column.
The procedure to change NX objects depends on the system configur
ation. The following examples
are for the connection of a CIF Unit to a CPU Unit or connection to an EtherCAT Coupler Unit that
has an NJ/NX-series CPU Unit or NY-series Industrial PC as a communications master. For the pro-
cedures to change NX objects for other system configurations, refer to the user’s manual for the
co
nn
ected Communications Coupler Unit.
1 Use the NX_ChangeWriteMode (Change to NX Unit Write Mode) instruction to change the
specified CIF Unit to the mode that enables writing NX objects.
2 Use the NX_WriteObj (Write NX Unit Object) instruction to change the value of the NX object.
3 Use the NX_SaveParam (Save NX Unit Parameters) instruction to save the values of the NX
objects of the CIF Unit.
4 Use the RestartNXUnit (Restart NX Unit) instruction to restart the specified CIF Unit.
A-2-1 NX Objects That You Can Change
A-2-2 Procedure to Change NX Objects