Omron CS1W-FLN22 Operation Manual page 125

100base-tx, sysmac cs / cj series, fl-net units
Table of Contents

Advertisement

Sending Commands from a PLC
Usage
Command
MR
File memory
22
22
22
22
22
22
22
22
22
22
22
Debugging
23
23
Writing Programs
code
SR
01
FILE NAME READ
02
SINGLE FILE READ
03
SINGLE FILE WRITE
04
FILE MEMORY FORMAT
05
FILE DELETE
07
FILE COPY
08
FILE NAME CHANGE
0A
MEMORY AREA–FILE TRANSFER
0B
PARAMETER AREA–FILE TRANSFER Transfers or compares data between the
0C
PROGRAM AREA–FILE TRANSFER
15
CREATE/DELETE DIRECTORY
01
FORCED SET/RESET
02
FORCED SET/RESET CANCEL
Programs incorporating the SEND(090), RECV(098), and CMND(490)
instructions are generally created using the Communications Port Enabled
Flag and the Communications Port Error Flag as input conditions. CS/CJ-
series CPU Units have eight communications ports. Only one instruction can
be executed at any given port at one time, however, so the program must not
overlap the use of any of the ports. A program example is provided below.
Note CS1-H, CJ1-H CJ1M, or CS1D CPU Units (for independent CPU systems)
with lot numbers 020601 (manufactured on June 1, 2002 or later) can auto-
matically detect an available communications port. For details, refer to the
automatic communications port allocations for network communications
instructions in the SYSMAC CS/CJ Series Communications Commands Ref-
erence Manual (W342).
Name
Reads file memory data.
Reads a specified length of file data
from a specified position within a single
file.
Writes a specified length of file data
from a specified position within a single
file.
Formats (initializes) the file memory.
Deletes specified files stored in the file
memory.
Copies files from one file memory to
another file memory in the same sys-
tem.
Changes a file name.
Transfers or compares data between the
I/O memory area and the file memory.
parameter area and the file memory.
Transfers or compares data between the
UM (User Memory) area and the file
memory.
Creates or deletes a directory.
Force-sets or force-resets bits, or
releases force-set status.
Cancels all bits that have been force-set
or force-reset.
Section 7-2
Function
99

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-fln22

Table of Contents