EasyManua.ls Logo

Omron CJ - REFERENCE MANUAL 07-2009 - Section 3: Overview of FINS Commands; 3-1 FINS Commands

Omron CJ - REFERENCE MANUAL 07-2009
267 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
27
SECTION 3
Overview of FINS Commands
This section provides an overview of FINS commands.
3-1 FINS Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3-2 Using FINS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3-2-1 Issuing and using any command (CMND (490) instruction) . . . . . . 31
3-2-2 Using with respect to a host computer connected by Host Link . . . 31
3-3 FINS Command and Response Frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3-3-1 FINS Command Frame Configuration . . . . . . . . . . . . . . . . . . . . . . . 32
3-3-2 FINS Response Frame Configuration. . . . . . . . . . . . . . . . . . . . . . . . 32
3-3-3 Individual Items in Command/Response Frames . . . . . . . . . . . . . . . 33
3-4 Settings for Sending FINS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
3-4-1 FINS Command and Response Formats. . . . . . . . . . . . . . . . . . . . . . 35
3-4-2 Addresses in FINS Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3-4-3 Other FINS Command Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
3-4-4 CMND(490) Setting Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
3-5 FINS Commands with Host Link Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
3-5-1 Connection Configurations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
3-5-2 Overview of Command and Response Frames. . . . . . . . . . . . . . . . . 44
3-5-3 Sending Commands from the Computer to the CPU Unit . . . . . . . . 45
3-5-4 Sending FINS Commands to the Host Computer from the CPU Unit 49
3-5-5 Sending Commands from the CPU Unit . . . . . . . . . . . . . . . . . . . . . 50
3-5-6 Command Format Received by the Host Computer. . . . . . . . . . . . . 55
3-5-7 Response Format Returned by the Host Computer . . . . . . . . . . . . . 57
3-5-8 Flags for Network Communications. . . . . . . . . . . . . . . . . . . . . . . . . 58
3-5-9 Timing of Commands to Host Computers . . . . . . . . . . . . . . . . . . . . 59
3-5-10 Programming Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
3-6 Serial Gateway Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
3-6-1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
3-6-2 Types of Protocol Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
3-6-3 Converting FINS to CompoWay/F. . . . . . . . . . . . . . . . . . . . . . . . . . 67
3-6-4 Converting FINS to Modbus-RTU . . . . . . . . . . . . . . . . . . . . . . . . . . 70
3-6-5 Converting from FINS to Modbus-ASCII . . . . . . . . . . . . . . . . . . . . 73
3-6-6 Converting from FINS to Host Link FINS . . . . . . . . . . . . . . . . . . . . 74
3-6-7 Treating Serial Communications Paths as Networks . . . . . . . . . . . . 78
3-6-8 Using a PLC as the Target . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
3-6-9 Using a non-PLC Component as the Target . . . . . . . . . . . . . . . . . . . 81
3-6-10 Explanation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
3-7 Communications Frames. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
3-7-1 CompoWay/F . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
3-7-2 Modbus-RTU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
3-7-3 Modbus-ASCII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
3-7-4 Host Link FINS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
3-7-5 Sending Commands Using the CMND(490) Instruction . . . . . . . . . 90

Table of Contents

Related product manuals