Download SYSMAC CS and CJ Series CS1W-EIP21 (100Base-TX

Transcript
Section 8-6
Communicating between OMRON PLCs
Commands Addressed to CS/CJ-series CPU Units
The following table provides a list of FINS commands that can be processed
by a CS/CJ-series CPU Unit. For details, refer to the CS/CJ-series Programmable Controllers Communications Commands Reference Manual (W342).
For details on FINS commands that can be processed by the EtherNet/IP Unit
or built-in EtherNet/IP port, refer to Appendix E FINS Commands Addressed
to EtherNet/IP Units or Built-in EtherNet/IP Ports.
Usage
Command
code
MR
SR
01
01
MEMORY AREA READ
01
02
MEMORY AREA WRITE
01
03
MEMORY AREA FILL
01
04
MULTIPLE MEMORY AREA READ
01
05
MEMORY AREA TRANSFER
02
01
PARAMETER AREA READ
02
02
PARAMETER AREA WRITE
02
03
PARAMETER AREA FILL (CLEAR)
03
03
03
04
06
07
08
01
PROGRAM AREA READ
PROGRAM AREA WRITE
PROGRAM AREA CLEAR
RUN
04
02
STOP
Machine configura- 05
tion reading
05
01
02
CPU UNIT DATA READ
CONNECTION DATA READ
Status reading
06
06
01
20
CPU UNIT STATUS READ
CYCLE TIME READ
Time data access
07
01
CLOCK READ
07
02
CLOCK WRITE
Message display
09
20
MESSAGE READ/CLEAR
Access rights
0C
01
ACCESS RIGHT ACQUIRE
0C
02
ACCESS RIGHT FORCED ACQUIRE
0C
03
ACCESS RIGHT RELEASE
21
21
21
01
02
03
ERROR CLEAR
ERROR LOG READ
ERROR LOG POINTER CLEAR
I/O memory area
access
Parameter access
(registered I/O
tables, routing
tables, etc.)
Program area
access
Operating mode
changes
Error log
Name
Function
Reads the contents of consecutive I/O
memory area words.
Writes the contents of consecutive I/O
memory area words.
Writes the same data to the specified
range of I/O memory area words.
Reads the contents of specified nonconsecutive I/O memory area words.
Copies the contents of consecutive I/O
memory area words to another I/O
memory area.
Reads the contents of consecutive
parameter area words.
Writes the contents of consecutive
parameter area words.
Writes the same data to the specified
range of parameter area words.
Reads the UM (User Memory) area.
Writes to the UM (User Memory) area.
Clears the UM (User Memory) area.
Changes the CPU Unit’s operating
mode to RUN or MONITOR.
Changes the CPU Unit’s operating
mode to PROGRAM.
Reads CPU Unit data.
Reads the model numbers of the device
corresponding to addresses.
Reads the status of the CPU Unit.
Reads the maximum, minimum, and
average cycle time.
Reads the present year, month, date,
minute, second, and day of the week.
Changes the present year, month, date,
minute, second, or day of the week.
Reads and clears messages, and reads
FAL/FALS messages.
Acquires the access right as long as no
other device holds it.
Acquires the access right even if
another device already holds it.
Releases the access right that has been
acquired.
Clears errors or error messages.
Reads the error log.
Clears the error log pointer.
225