EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 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 #987 background imageLoading...
Page #987 background image
949
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Network Instructions
3
CMND
• Sending to a PLC operating as a Host Link Slave
The serial gateway function can be used to send
any FINS command to a PLC that is connected as
a host link slave and through a Serial Communica-
tions Board or Unit’s serial port. In this case, the
destination node address must be set to the host
link unit number + 1.
z Sending a FINS Command to the CPU Unit Executing CMND(490)
The CPU Unit executing CMND(490) can send a
FINS command to itself (excluding CS-series CS1
CPU Units without a suffix of -V@). For example, file
memory commands (command codes 22@@ hex)
can be sent to format file memory, delete files, copy
files, and perform other operations. Refer to 5-2
Manipulating Files of the CS/CJ-series CPU Unit
Programming Manual or 7-3 File Memory Operations
of the CJ2 CPU Unit Operation Manual for details.
The File Memory Operation Flag (A343.13) will turn
ON when any FINS command is sent to the local
CPU Unit (even for FINS commands not related to file
memory). Always use A343.13 in an NC input
condition for CMND(490) to ensure that only one
FINS command is being executed for the CPU Unit at
the same time.
Hint
• CMND(490) operates just like SEND(090) if the FINS command code is 0102 (MEMORY AREA
WRITE) and just like RECV(098) if the code is 0101 (MEMORY AREA READ).
• Issuing a FINS command (non-solicited communications) to a host computer connected by a host
link
CMND(490) can be executed for the either port on the CPU Unit, a Serial Communications Board
(CS Series only), or Serial Communications Unit to send a command to the connected host
computer. (Specify the serial port as 1 hex or 2 hex in bits 08 to 11 of C+2.) The command is a FINS
message enclosed between a host link header and terminator. Any FINS command can be sent; the
host link header code is 0F hexadecimal.
A program must be created in the host computer to process the received command (the FINS
command enclosed in the host link header and terminator).
If the destination serial port is in the local PLC, set the network address to 00 (local network) in C+2,
set the node address to 00 (local PLC) in C+3, and set the unit address to 00 (CPU Unit), E1 (Inner
Board, CS Series only), or unit number + 10 hexadecimal (Serial Port Unit).
PLC
Host Link Slave
Set the destination node address to the
host link unit number + 1 = S+1.
SEND
PLC
Data
Serial cable
Host link unit number: S
PC
FINS command
Memory Card
EM file memory

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals