Communicating between OMRON PLCs

Section 6-6

 

 

 

 

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 7 FINS Commands Addressed to Ethernet Units.

 

 

 

 

 

 

Usage

Command

 

Name

Function

 

 

code

 

 

 

 

 

 

 

 

 

 

 

MR

 

SR

 

 

 

 

 

 

 

 

 

 

I/O memory area

01

 

01

 

MEMORY AREA READ

Reads the contents of consecutive I/O

access

 

 

 

 

 

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

02

 

01

 

PARAMETER AREA READ

Reads the contents of consecutive

access

 

 

 

 

 

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

03

 

06

 

PROGRAM AREA READ

Reads the UM (User Memory) area.

access

 

 

 

 

 

 

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

04

 

01

 

RUN

Changes the CPU Unit’s operating

changes

 

 

 

 

 

mode to RUN or MONITOR.

 

 

 

 

 

 

 

 

04

 

02

 

STOP

Changes the CPU Unit’s operating

 

 

 

 

 

 

mode to PROGRAM.

 

 

 

 

 

 

 

Machine configura-

05

 

01

 

CPU UNIT DATA READ

Reads CPU Unit data.

tion reading

 

 

 

 

 

 

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.

 

 

 

 

 

 

 

140

Page 165
Image 165
Omron CS1W-ETN21 operation manual Commands Addressed to CS/CJ-series CPU Units, Usage Command Name Function Code