omron — Machine Automation Controller NJ Series Serial (RS-232C) Communications Connection Guide

Contents 1. Related Manuals ........................................................................................ 1 2. Terms and Definitions ............................................................................... 2 4. Overview .................................................................................................... 4 3. Restrictions and Precautions ................................................................... 3 5. Applicable Devices and Device Configuration ....................................... 5 5.1. Applicable Devices ............................................................................. 5 5.2.

Device Configuration .......................................................................... 6 6. Serial Communication Settings ............................................................... 8 6.1. Configuring the Serial Communication Settings ................................. 8 6.2. Cable Wiring Diagram ........................................................................ 9 6.3. Communication Verification Example ................................................ 11 7. Steps for Connecting .............................................................................. 12 7.2. Smart Camera Setup ....................................................................... 14 7.1.

Operation Flow ................................................................................. 12 7.3. Controller Setup ............................................................................... 20 7.4. Confirm Serial Communications ....................................................... 40 8. Initializing the System ............................................................................. 46 8.2. Initializing the Smart camera ............................................................ 48 8.1. Initializing the Controller ................................................................... 46 9.

Program .................................................................................................... 49 9.1. Overview .......................................................................................... 49 9.2. Send/Receive Sequence .................................................................. 54 9.3. Error Judgment Processing .............................................................. 55 9.4. Variables Used ................................................................................. 56 9.5. Functional Configuration of Program in ST Language ..................... 59 9.6. (Protocol Macro Data) ......................................................................

64 9.7. Timing Chart ..................................................................................... 71 9.8. Error Process ................................................................................... 73 10. Revision History .................................................................................. 75