Ethernet Units Operation Manual

87
Sending Commands From a PC Section 5-3
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 Program-
mable Controllers Communications Commands Reference Manual (W342).
For details on FINS commands that can be processed by the Ethernet Unit,
refer to Section 11 FINS Commands Addressed to Ethernet Units.
Usage Command
code
Name Function
MR SR
I/O memory area
access
01 01 MEMORY AREA READ Reads the contents of consecutive I/O
memory area words.
01 02 MEMORY AREA WRITE Writes the contents of consecutive I/O
memory area words.
01 03 MEMORY AREA FILL Writes the same data to the specified
range of I/O memory area words.
01 04 MULTIPLE MEMORY AREA READ Reads the contents of specified non-
consecutive I/O memory area words.
01 05 MEMORY AREA TRANSFER Copies the contents of consecutive I/O
memory area words to another I/O
memory area.
Parameter area
access
02 01 PARAMETER AREA READ Reads the contents of consecutive
parameter area words.
02 02 PARAMETER AREA WRITE Writes the contents of consecutive
parameter area words.
02 03 PARAMETER AREA FILL (CLEAR) Writes the same data to the specified
range of parameter area words.
Program area
access
03 06 PROGRAM AREA READ Reads the UM (User Memory) area.
03 07 PROGRAM AREA WRITE Writes to the UM (User Memory) area.
03 08 PROGRAM AREA CLEAR Clears the UM (User Memory) area.
Operating mode
changes
04 01 RUN Changes the CPU Unit’s operating
mode to RUN or MONITOR.
04 02 STOP Changes the CPU Unit’s operating
mode to PROGRAM.
Machine configura-
tion reading
05 01 CPU UNIT DATA READ Reads CPU Unit data.
05 02 CONNECTION DATA READ Reads the model numbers of the device
corresponding to addresses.
Status reading 06 01 CPU UNIT STATUS READ Reads the status of the CPU Unit.
06 20 CYCLE TIME READ Reads the maximum, minimum, and
average cycle time.
Time data access 07 01 CLOCK READ Reads the present year, month, date,
minute, second, and day of the week.
07 02 CLOCK WRITE Changes the present year, month, date,
minute, second, or day of the week.
Message display 09 20 MESSAGE READ/CLEAR Reads and clears messages, and reads
FAL/FALS messages.
Access rights 0C 01 ACCESS RIGHT ACQUIRE Acquires the access right as long as no
other device holds it.
0C 02 ACCESS RIGHT FORCED ACQUIRE Acquires the access right even if
another device already holds it.
0C 03 ACCESS RIGHT RELEASE Releases the access right that has been
acquired.
Error log 21 01 ERROR CLEAR Clears errors or error messages.
21 02 ERROR LOG READ Reads the error log.
21 03 ERROR LOG POINTER CLEAR Clears the error log pointer.