3 Description of functions
3-7
[Explanation]
(1) This command is used in a combination with the OPEN instruction. The following lists the meanings and values for the
types of the files specified by the OPEN instruction.
Type of file to be
opened
Meaning Value
File Indicates whether or not the file has been
opened.
1 is always returned after executing the
1: Already opened.
-1: The file number is undefined (not opened).
Communication line
Ethernet
Indicates whether
or not connection
is made with the
counterpart.
For server setting 1: Client is already connected.
0: Client is not connected.
-1: The file number is undefined (not opened).
For client setting 1: Already connected to the server. (Connection
has been made.)
0: Not connected to the server. (Connection has
not been made. Equivalent to when the server is
down after being opened.)
-1: The file number is undefined. (When the file
has not been opened, or has been opened
while the server is down.)
[Related Instruction]
OPEN
[Related Parameters]
COMDEV, CPRE**, NETMODE