Omron CJ1W-SCU32 Operation Manual page 72

Machine automation controller, cj / nj-series, serial communications units, cpu unit
Table of Contents

Advertisement

1 Introduction
1
Designing Protocols
Refer to Section 4 and Section 5 in the CX-Protocol Ver.1.9 OPERATION MANUAL (Cat. No.
W344) for details.
a. Create a communications sequence status transition chart.
b. From the status transition chart, divide the processing contents into a sequence and steps.
c. Determine the communications sequence message contents.
2
Creating and Transferring the Project (protocol data) on CX-Protocol.
Refer to Section 1-10 of CX-Protocol Ver.1.9 OPERATION MANUAL (Cat. No. W344) for the
outline of the flow.
a. Creating a new project:
Refer to 6-1 Creating a New Project and Protocol in the CX-Protocol Ver.1.9 OPERATION MAN-
UAL (Cat. No. W344).
b. Creating a new communications sequence:
Refer to 7-1 Creating a New Sequence and 7-2 Setting a Sequence in the CX-Protocol Ver.1.9
OPERATION MANUAL (Cat. No. W344).
c. Creating steps:
Refer to 8-1 Creating a New Step and 8-2 Setting a Step in the CX-Protocol Ver.1.9 OPERA-
TION MANUAL (Cat. No. W344).
d. Creating messages:
Refer to 9-2 Setting a Message in the CX-Protocol Ver.1.9 OPERATION MANUAL (Cat. No.
W344).
e. Transferring the created project to a Unit:
Refer to 11-1 Transferring and Reading Protocol Data between the Personal Computers and
Serial Communications Board and Unit in the CX-Protocol Ver.1.9 OPERATION MANUAL (Cat.
No. W344).
After creating messages, steps can also be created by specifying message names.
3
Creating the User Program.
a. Creating User-defined Variables for Send/Receive Data Area
Create a word-type array variable to be set as the input parameter in input variable SrcDat
(Send Data Area) and in-out variable DstDat (Receive Data Area) of the ExecPMCR instruction.
Reserve the number of array elements (size) that are required.
b. Setting Send Data
• Specifying Operands
Set the send data to the second and subsequent elements of user-defined variable SendData
of the input parameter set up in input variable of the ExecPMCR instruction, SrcDat. Set the
number of send data words to the starting element of SendData.
• Direct Designations
Set the send data in the memory used for CJ-series Units specified by the read variables in
the send message.
• Specifying Link Words
Set the send data in the O1 or O2 area of the Link Word Area.
c. Coding ExecPMCR Instruction
1-32
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents