3 I/O Ports, Slave Configuration, and Unit Configuration
3-10
NJ-series CPU Unit Software User’s Manual (W501)
I/O Port Names for Specific Numbers of I/O Points
If the device is a CJ-series Special Unit, I/O port names are determined by the model number of the
Unit and the functionality.
Examples for a CJ1W-AD041-V1 Analog Input Unit:
Ch1_PkHdCmd, Ch1_AveCfg, etc.
In an NJ-series Controller, external devices (slaves and Units) are not assigned to specific memory
addresses in the CPU Unit. Rather, variables are assigned to the I/O ports. These variables are called
device variables.
You can specify device variables in the user program or in external communications to access the
devices (slaves or Units).
Number of
input points
Number of out-
put points
I/O port names
Inputs Data type Outputs Data type
8 points Ch1_In WORD Ch1_Out WORD
Ch1_In00 to Ch1_In07 BOOL Ch1_Out00 to Ch1_Out07 BOOL
16 points Ch1_In WORD Ch1_Out WORD
Ch1_In00 to Ch1_In15 BOOL Ch1_Out00 to Ch1_Out15 BOOL
32 points Ch1_In WORD Ch1_Out WORD
Ch1_In00 to Ch1_In15 BOOL Ch1_Out00 to Ch1_Out15 BOOL
Ch2_In WORD Ch2_Out WORD
Ch2_In00 to Ch2_In15 BOOL Ch2_Out00 to Ch2_Out15 BOOL
64 points Ch1_In WORD Ch1_Out WORD
Ch1_In00 to Ch1_In15 BOOL Ch1_Out00 to Ch1_Out15 BOOL
Ch2_In WORD Ch2_Out WORD
Ch2_In00 to Ch2_In15 BOOL Ch2_Out00 to Ch2_Out15 BOOL
Ch3_In WORD Ch3_Out WORD
Ch3_In00 to Ch3_In15 BOOL Ch3_Out00 to Ch3_Out15 BOOL
Ch4_In WORD Ch4_Out WORD
Ch4_In00 to Ch4_In15 BOOL Ch4_Out00 to Ch4_Out15 BOOL
CJ-series Special Unit Devices
3-3-3 Device Variables