Omron DeviceNet CV Series Operation Manual page 313

Devicenet slaves
Table of Contents

Advertisement

RS-232C Units
25315
35802
35803
03200
10112
25506
25506
35810
35811
296
Buy: www.ValinOnline.com | Phone 844-385-3099 | Email: CustomerService@valin.com
Setting data for executing the RECEIVE DATA READ
MOV(21)
command for port 2
#8201
DM0250
Response storage words: DM 0350
(82 Hex: DM; 015E Hex: word 350; 00 Hex: Word data)
MOV(21)
#5E00
DM0251
Response monitoring time: 10 s
MOV(21)
#0064
DM0252
Number of command data bytes: 9 bytes
MOV(21)
#0009
DM0253
EXPLICIT MESSAGE SEND command code (FINS):
MOV(21)
2801 Hex
#2801
DM0254
Slave node address: 08
MOV(21)
RECEIVE DATA READ command service code: 0E Hex
#080E
DM0255
Class ID: 94 Hex
MOV(21)
#0094
DM0256
Port 1 RECEIVE DATA READ Instance ID: 03 Hex
MOV(21)
#0003
DM0257
Attribute ID: 64 Hex
MOV(21)
#6400
DM0258
Reading Data Received at Port 1
MOV(21)
If SR 35802 (Port 1 RS-232C Receiving Flag) is OFF
#0001
and SR 35803 (Port 1 RS-232C Received Flag) is
032
ON, the sequential processing control bit IR 03200
will be turned ON.
MOV(21)
When IR 03200 turns ON, the CPU Unit will
#0000
check that IR 10112 (unit no. 0 Master's Mes-
sage Communications Enabled Flag) is ON,
032
and message transmission will start.
IOWR
#00FE
DM0200
#0009
MOV(21)
00FE: Master's node address 00, Master's unit ad-
dress FE Hex
#0001
DM 0200: Command data storage words
032
0009 Hex: Master's unit number 00, 9 command data
MOV(21)
words (BCD)
#0000
If the Equals Flag is OFF (error in writing to the Mas-
ter), IR 03200 will be turned ON, and the data will be
032
transmitted again.
MOV(21)
If the Equals Flag is ON (writing to the Master has
been completed normally), IR 03200 will be cleared
#0001
(message transmission completed).
033
Section 6-2

Advertisement

Table of Contents
loading

Table of Contents