Omron CJ - REFERENCE MANUAL 10-2009 Reference Manual page 952

Table of Contents

Advertisement

3. Instructions
Related Auxiliary Area Words and Bits
Name
Communications Port Enabled
Flag
Communications Port Error Flag
Communications Port Completion
Codes
File Memory Operation Flag
Note Refer to the FINS command response codes in the CS/CJ Series Communications Commands Reference Manual
(W342) for details on the completion codes for network communications.
Function
CMND(490) transfers the specified number of bytes of FINS command data beginning at word S to the
designated device through the PLC's CPU Bus or over a network. The response is stored in memory
beginning at word D.
Local node
• If the Communications Port Enabled Flag is ON for the communications port specified in C+3 when
CMND(490) is executed, the corresponding Communications Port Enabled Flag (ports 00 to 07:
A202.00 to A202.07) and Communications Port Error Flag (ports 00 to 07: A219.00 to A219.07) will
be turned OFF and 0000 will be written to the word that contains the completion code (ports 00 to 07:
A203 to A210). The command data will be transmitted to the destination node(s) once the flags have
be set.
• When data will be transmitted outside of the local network, the user must register routing tables in the
PLCs (CPU Units) in each network. (Routing tables indicate the routes to other networks in which
destination nodes are connected.)
• CMND(490) can be used to transmit command data to a particular serial port in the destination
device as well as the device itself.
• The CPU Unit executing CMND(490) can send a FINS command to itself (except for CS-series CS1
CPU Units prior to V1@). Use the following control data settings to achieve this.
• Destination network address (bits 00 to 07 of C+2): 00 hex (local network)
• Serial port No. (bits 08 to 11 of C+2): 0 hex (not used)
• Destination unit address (bits 00 to 07 of C+3): 00 hex (CPU Unit)
914
Address
A202.00 to
These flags are turned ON to indicate that network instructions, including PMCR(260) may be executed
A202.07
for the corresponding ports (00 to 07).
A flag is turned OFF when a network instruction is being executed for the corresponding port and turned
ON again when the instruction is completed.
A219.00 to
These flags are turned ON to indicate that an error has occurred at the corresponding ports (00 to 07)
A219.07
during execution of a network instruction.
The flag status is retained until the next network instruction is executed. The flag will be turned OFF
when the next instruction is executed even if an error occurred previously.
A203 to A210
These words contain the completion codes for the corresponding ports (00 to 07) following execution of
a network instruction.
The corresponding word will contain 0000 while the network instruction is being executed and the
completion code will be written when the instruction is completed. These words are cleared when
program execution begins.
A343.13
ON when any FINS command is sent to the local CPU Unit (even for FINS commands not related to file
memory) or when any of the following instructions or operations are performed for file memory.
• FREAD(700) or FWRIT(701)
• Program overwrite with control bit in memory
• Simple backup operation
Destination node
Command
Command
Interpret
data
(n bytes)
Response
Response
data
(m bytes)
Operation
Execute
CS/CJ/NSJ Series Instructions Reference Manual (W474)

Advertisement

Table of Contents
loading

Table of Contents