Omron CJ1W-DRM21 Marine RADAR User Manual


 
157
Using FINS Message Communications Section 6-3
Example Program
6-3-6 Connecting Networks for FINS Communications
CS/CJ-series DeviceNet Units can perform FINS communications between
networks. DeviceNet networks are handled the same way as other FA net-
works such as Controller Link or SYSMAC LINK, and the OA network Ether-
net.
DeviceNet networks can be connected to the other DeviceNet networks or to
other types of networks.
Note Explicit message communications cannot be performed between networks.
(021)
MOV A203 D00006
A500
15
(021)
MOV #0008 D00000
(021)
MOV #000E D00001
(021)
MOV #0001 D00002
(021)
MOV #0600 D00003
(490)
CMND D01000 D02000 D00000
(025)
ASL 0000
0000
00
A202
0000
01
(071)
BSET #0000 D00000 D02999
Sets 0000 in D00000 to D02999.
Place data into control data words to specify to read
5 words D01000 to D01004 from the PC of node 06
and network 01 to the PC of node 05.
Shifts the contents of CIO 0000 one bit to the right to
reset CIO 000000.
Reads 5 words D01000 to D01004 from the PC of node
06 and network 01 to the PC of node 05 and stored the
data beginning at D02000.
Shifts the contents of CIO 0000 one bit to the left.
Stores the network error response code in A203 to
D00006.
Port
Enabled
Flag
(021)
MOV #0000 D00004
(021)
MOV #0064 D00005
First Scan Flag
15110
00
(026)
ASR 0000
Execution
condition
Online Flag
(word n+11,
bit 00)
Port
Enabled
Flag
Port
Execution
Error Flag
Places 0001 into CIO 0000
(021)
MOV #0101 D01000
(021)
MOV #8203 D01001
(021)
MOV #E800 D01002
(021)
MOV #0005 D01003
(021)
MOV #0001 0000
Place the command data for MEMORY AREA READ
into D01000 to D01003.
00
00
00
A202
A219
(001)
END