Omron CS1G/H-CPUxxH Instructions Manual page 915

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Network Instructions
Sending a FINS Command
to the CPU Unit Executing
CMND(490) (Except for
CS-series CS1 CPU Units
Prior to V1)
Flags
894
enclosed between a host link header and terminator. Any FINS command
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 com-
mand (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).
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
Section 12 File Memory Functions of the CS/CJ-series CPU Unit Operation
Manual for details.
The File Memory Operation Flag (A34313) will turn ON when any FINS com-
mand is sent to the local CPU Unit (even for FINS commands not related to
file memory). Always use A34313 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.
Name
Label
Error Flag
ER
The following table shows relevant bits and flags in the Auxiliary Area.
Name
Address
Communications
A20200 to
Port Enabled Flag
A20207
Communications
A21900 to
Port Error Flag
A21907
FINS command
PC
Memory Card
EM file memory
Operation
ON if the serial port number specified in C+2 is not within
the range of 00 to 04.
ON if the Communications Port Enabled Flag is OFF for
the communications port number specified in C+4.
ON if a FINS command is sent to the local CPU Unit while
the File Memory Operation Flag (A34313) is ON.
OFF in all other cases.
These flags are turned ON to indicate that net-
work instructions, including PMCR(260) may be
executed 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 com-
pleted.
These flags are turned ON to indicate that an
error has occurred at the corresponding ports (00
to 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.
Section 3-25
Operation

Advertisement

Table of Contents
loading

Table of Contents