Omron CJ Series Operation Manual page 215

Master unit
Hide thumbs Also See for CJ Series:
Table of Contents

Advertisement

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
Name
Unit Configuration
Device name of this unit
Unit number
 Program Example
System-defined variable
Name
_Port_isAvailable
User-defined variables (Define before or when creating a program)
Name
Trigger
OperatingEnd
Operating
InDNetAdr
InOption
Sdata
Rdata
RS_instance
SendCmd_instance
Device variables for CJ-series Unit (Create on the I/O Map View window after the unit configuration is
created)
Name
PRM21_MstrOper
ateSta
CJ-series PROFIBUS Master Unit Operation Manual for NJ-series CPU Unit (W509)
Setting target
CPU/Expansion Racks under
Controller Configurations and
Setup of Sysmac Studio
Unit No. Switch and Unit Con-
figuration and Setup
(CPU/Expansion Racks under
Controller Configurations and
Setup of Sysmac Studio)
Data type
Default
BOOL
---
Data type
BOOL
BOOL
BOOL
_sDNET_ADR
_sRESPONSE
ARRAY[0..8] OF BYTE [9(16#0)]
ARRAY[0..9] OF BYTE [10(16#0)]
RS
SendCmd
Data type
Default
BOOL
---
6 Message Communications
Mount CJ1W-PRM21 in slot 0 of the
CPU Rack.
"PRM21"
Unit number 0
Comments
Communications Port
Enabled Flags
Default
False
False
False
(NetNo := 0, NodeNo := 0,
UnitNo := 16#0)
(isNonResp := False, TimeOut :=
0, Retry := 0)
---
---
Allocated
Comments
address (AT)
IOBus://rack#0/slot
Online Status
#0/MstrSta/MstrOp
erateSta
Settings
Details
TRUE when there are internal
logical ports available, FALSE
when there is no internal logical
port available.
Details
Execution conditions
Process completed
Processing
Destination network
address
Response monitoring and
retry setting
Send data
Receive data
---
---
Details
TRUE when the
Unit is in Operate
mode and com-
mencing I/O Data-
Exchange.
6
6-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj seriesProfibus cj1w-prm21

Table of Contents