EasyManuals Logo

Omron CJ Series User Manual

Omron CJ Series
304 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #215 background imageLoading...
Page #215 background image
6-5
6 Message Communications
CJ-series PROFIBUS Master Unit Operation Manual for NJ-series CPU Unit (W509)
6-2 Sending Acyclic Messages Using SendCmd Instructions
6
Additional Information
You can send acyclic messages to OMRON slaves by setting the command code to 28 01.
In this case, set the response monitoring time to at least the value set for the message monitor-
ing timer (default: 2s). If it is set to less than the value, communications may be busy even if the
next command is executed after the first one times out.
Unit Settings
Program Example
System-defined variable
User-defined variables (Define before or when creating a program)
Device variables for CJ-series Unit (Create on the I/O Map View window after the unit configuration is
created)
Name Setting target Settings
Unit Configuration CPU/Expansion Racks under
Controller Configurations and
Setup of Sysmac Studio
Mount CJ1W-PRM21 in slot 0 of the
CPU Rack.
Device name of this unit "PRM21"
Unit number Unit No. Switch and Unit Con-
figuration and Setup
(CPU/Expansion Racks under
Controller Configurations and
Setup of Sysmac Studio)
Unit number 0
Name Data type Default Comments Details
_Port_isAvailable BOOL --- Communications Port
Enabled Flags
TRUE when there are internal
logical ports available, FALSE
when there is no internal logical
port available.
Name Data type Default Details
Trigger BOOL False Execution conditions
OperatingEnd BOOL False Process completed
Operating BOOL False Processing
InDNetAdr _sDNET_ADR (NetNo := 0, NodeNo := 0,
UnitNo := 16#0)
Destination network
address
InOption _sRESPONSE (isNonResp := False, TimeOut :=
0, Retry := 0)
Response monitoring and
retry setting
Sdata ARRAY[0..8] OF BYTE [9(16#0)] Send data
Rdata ARRAY[0..9] OF BYTE [10(16#0)] Receive data
RS_instance RS --- ---
SendCmd_instance SendCmd --- ---
Name Data type Default
Allocated
address (AT)
Comments Details
PRM21_MstrOper
ateSta
BOOL --- IOBus://rack#0/slot
#0/MstrSta/MstrOp
erateSta
Online Status TRUE when the
Unit is in Operate
mode and com-
mencing I/O Data-
Exchange.

Table of Contents

Other manuals for Omron CJ Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ Series and is the answer not in the manual?

Omron CJ Series Specifications

General IconGeneral
BrandOmron
ModelCJ Series
CategoryController
LanguageEnglish

Related product manuals