omron · 80 стр.
Руководство по эксплуатации Machine Automation Controller NJ Series — (EN)
Оригинальное название: NJ Series Machine Automation Controller Serial (RS-232C) Communications Connection Guide
Похожие инструкции
Содержание
Текст документа
Machine Automation Controller NJ Series Serial (RS-232C) Communications Connection Guide
About Copyrights and Trademarks Screen shots of elements of Microsoft products are used with permission from Microsoft Corporation. Windows is a registered trademark of Microsoft Corporation in the USA and other countries. Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan and other countries for OMRON factory automation products. Company names and product names in this document are the trademarks or registered trademarks of their respective companies.
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
1. Related Manuals
To ensure system safety, make sure to always read and follow the information provided in all Safety Precautions and Precautions for Safe Use in the manuals for each device which is used in the system. The following Omron Corporation (hereinafter referred to as "Omron") manuals are related to this document: 1 1. Related Manuals Manual No. Model Manual Name NJ Series NJ/NX Series CJ Series SYSMAC-SE2□□□ NJ/NX Series F430-F Series F430-F Series
2. Terms and Definitions
2 2. Terms and Definitions Term Description / Definition Protocol Macro This function enables data Send / Receive with general-purpose external devices by storing the data Send / Receive procedure (Protocol) used with the general-purpose external devices in the Serial Communication Board or Unit and executing the PMCR instruction in the CPU unit. Protocol The unit that comprises an independent communication processing for a specific general-purpose external device as a data Send / Receive procedure is called a "Protocol". A "Protocol" consists of multiple "Sequences".
Sequence A unit of independent communication processing that can be activated from the PMCR instruction on the ladder program. The activated sequence sequentially executes the steps included in it. Step A unit of data to execute any Message or other Send / Receive process, Receive Buffer Clear, and Step Waiting process. A maximum of 15 Steps can be set for 1 Sequence. Send Message A communication frame (Command) sent to a general-purpose external device. It is called from a Step in the sequence and sent to a general-purpose external device. Receive Message A communication Frame (Response) sent from a general-purpose external device.
It is called from a Step in the sequence and compared with the data received from the general-purpose external device. Receive Matrix The Receive Matrix is used when it is not possible to identify only one communication frame (response) sent from a general-purpose external device. It is possible to register multiple communication frames in the Receive Matrix. Case A unit to register multiple communication frames (responses) in the receive matrix. 1 communication frame is registered as 1 case. It is possible to register a maximum of 15 case types in the Receive Matrix.