
11
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
CONTENTS
Section 2 Initial Settings and Allocations of Device Variable for CJ-
series Unit
2-1 Component Names and Functions ........................................................................................ 2-2
2-2 Data Exchange with the CPU Unit.......................................................................................... 2-8
2-2-1 Data Flow.................................................................................................................................... 2-8
2-2-2 How to Specify and Create Variables....................................................................................... 2-12
2-3 Device Variable for CJ-series Unit ....................................................................................... 2-14
2-3-1 Allocations of Device Variable for CJ-series Unit...................................................................... 2-14
2-3-2 Device Variable for CJ-series Unit for System Settings............................................................ 2-14
2-3-3 Device Variable for CJ-series Unit for Software Switches......................................................... 2-23
2-3-4 Device Variable for CJ-series Unit for Status............................................................................ 2-24
2-4 System-defined Variable....................................................................................................... 2-34
Section 3 Installation and Wiring
3-1 Installing Serial Communications Units................................................................................ 3-2
3-1-1 System Configuration Precautions ............................................................................................. 3-2
3-1-2 Serial Communications Unit Installation Procedure.................................................................... 3-2
3-1-3 Unit Handling Precautions.......................................................................................................... 3-3
3-2 Wiring ....................................................................................................................................... 3-4
3-2-1 Wiring Precautions ..................................................................................................................... 3-4
3-2-2 Port Types................................................................................................................................... 3-4
3-2-3 Communications Modes and Ports.............................................................................................3-4
3-2-4 Connector Pin Layout................................................................................................................. 3-5
3-2-5 Mounting Height and Connector Cover Dimensions................................................................... 3-6
3-2-6 Reducing Electrical Noise for External Wiring............................................................................ 3-7
3-2-7 2-Wire and 4-Wire Connections.................................................................................................. 3-7
3-2-8 NT-AL001 Link Adapter Settings................................................................................................. 3-8
3-2-9 Connections for Protocol Macro, Serial Gateway, No-protocol Mode,
and Modbus-RTU Slave Mode.................................................................................................... 3-9
3-2-10 Connections in Loopback Test.................................................................................................. 3-18
3-3 RS-232C and RS-422A/485 Wiring ....................................................................................... 3-19
3-3-1 Recommended RS-232C Wiring Examples ............................................................................. 3-19
3-3-2 Recommended RS-422A/485 Wiring Examples....................................................................... 3-20
3-3-3 Wiring RS-232C Connectors on the CJ1W-SCU22/42............................................................. 3-22
3-3-4 Soldering .................................................................................................................................. 3-23
3-3-5 Assembling Connector Hood.................................................................................................... 3-24
3-3-6 Wiring RS-422A/485 Terminal-block Connectors on the CJ1W-SCU32/42.............................. 3-25
3-3-7 Connecting to Unit.................................................................................................................... 3-26
Section 4 Using Protocol Macros
4-1 Overview of the Protocol Macro Function............................................................................. 4-2
4-1-1 Protocol Macros.......................................................................................................................... 4-2
4-1-2 Using the Protocol Macros.......................................................................................................... 4-2
4-1-3 Protocol Structure....................................................................................................................... 4-4
4-1-4 Data Exchange Method for Link Words.................................................................................... 4-10
4-2 Device Variables for CJ-series Unit and System-defined Variables
(Protocol Macro Mode).......................................................................................................... 4-13
4-2-1 Device Variable for CJ-series Unit for System Settings............................................................ 4-13
4-2-2 Area Descriptions ..................................................................................................................... 4-15
4-2-3 System-defined Variable........................................................................................................... 4-21
4-2-4 Devices Variable for CJ-series Unit for Software Switches....................................................... 4-22
4-2-5 Device Variables for CJ-series Unit for Status.......................................................................... 4-24
4-2-6 Protocol Status ......................................................................................................................... 4-32