EasyManua.ls Logo

Omron CJ - REFERENCE MANUAL 07-2009 User Manual

Omron CJ - REFERENCE MANUAL 07-2009
267 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #53 background imageLoading...
Page #53 background image
31
Using FINS Commands Section 3-2
3-2-1 Issuing and using any command (CMND (490) instruction)
The procedure for execution by CMND instruction is described below.
1,2,3... 1. Store the command format of the FINS command (i.e., the command data)
in an I/O memory area, such as the DM area.
2. In the same way, store the control data (number of bytes of transmission
data, destination address, etc.) in an I/O memory area, such as the DM ar-
ea.
3. Designate S (first command word), D (first response word), and C (first
control word) for the CMND(490) operands, and execute the instruction.
4. When the FINS response is returned from the destination node (a CS/CJ/
CP-series CPU Unit or an NSJ Controller), the data will be stored accord-
ing to the response format beginning at the first response word.
Note FINS commands and responses are handled as binary data, and data is sent
and received in binary format. (Host Link communications, however, are basi-
cally in ASCII.)
3-2-2 Using with respect to a host computer connected by Host Link
With Host Link communications, a FINS command frame with a Host Link
header and a terminator is sent from a host computer to a CS/CJ/CP-series
CPU Unit or NSJ Controller. The basic frame formats are shown below.
Note Host Link communications handle ASCII data, so data is sent and received in
ASCII. For that reason, FINS command and response frames must also be
sent and received in ASCII when they are handled using Host Link communi-
cations.
CMND(490) execution
Command
Word
1 byte
1 byte
Command format data
1 byte 1 byte
Control data
Designates where to send, etc.
Communications Unit
(Controller Link Unit,
etc.)
CS/CJ-series CPU Unit
CS/CJ-series
CPU Unit
Response frame
2 bytes
2,000 bytes max.
FINS header
2 bytes 1,998 bytes max.2 bytes
Automatically attached.
Command
code
End
code
Tex t
Word
Response format data
FINS header
Automatically attached.
Command
code
Tex t
@CMND
S
D
C
Command frame
Response

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Omron CJ - REFERENCE MANUAL 07-2009 Specifications

General IconGeneral
CategoryComputer Hardware
ManufacturerOmron
ModelCJ
Document TypeREFERENCE MANUAL
Publication Date07-2009

Summary

Manual Usage and Compliance

Warranty and Limitations of Liability

Outlines OMRON's product warranty terms and limitations of liability.

Precautions

Safety Precautions

Emphasizes critical safety measures for PLC use, including power handling and unit disassembly avoidance.

Operating Environment Precautions

Details precautions for PLC system operation in various environments to ensure reliability and prevent malfunction.

Application Precautions

Lists essential safety and operational precautions for PLC system applications, covering grounding and component handling.

Section 2: Overview of C-mode Commands

2-1 C-mode Commands

Explains C-mode (Host Link) commands as a serial communication system between PLC and host computer.

Section 3: Overview of FINS Commands

Section 4: C-mode Commands

4-3 C-mode Command Details

Offers detailed descriptions of individual C-mode commands, including format, parameters, limitations, and execution conditions.

Related product manuals