Omron CJ1W-DRM21 Marine RADAR User Manual


 
151
Using FINS Message Communications Section 6-3
Note 1. Indicates a Unit as shown in the following table.
2. Values of $00 to $3E indicate nodes 0 to 63.
3. Designates the length of time in (0.1-s units) that the PC retries transmis-
sion when bit 15 of C+3 is OFF and no response is received. The default
value is $0000, which indicates 2 seconds. If baud rate is slow and the re-
sponse monitoring time is short, an error may occur.
Note Explicit messages can be sent to OMRON slaves and DeviceNet devices
made by other manufacturers by setting the FINS command code to 28 01.
When this is done, set the response monitoring time in C+5 to at least the
value set for the message monitoring timer (default: 2 s). If it is set to less than
the value for the message monitoring timer (default:2 s), communications may
be busy even if the next command is executed after the first one times out.
6-3-5 Using SEND(090), RECV(098), and CMND(490)
SEND(090), RECV(098), and CMND(490) instructions normally use an AND
of the Network Enabled Flag in the CPU Unit (A20200 to A2020007 corre-
sponding to ports 0 to 7) and the Online Flag (word n+11, bit 00) (or the Mes-
sage Communications Permitted Flag (word n+24, bit 12)) for the DeviceNet
Unit.
Note The Online Flag and the Message Communication Permitted Flag
perform the same operation.
or
Word Bits 00 to 07 Bits 08 to 15
C Number of command bytes to send: 0 to 542 (i.e., $0000 to $021E)
C+1 Number of response bytes to receive: 0 to 542 (i.e., $0000 to $021E)
C+2 Destination network address
(0 to 127, i.e., $00 to $7F, 0 = local
network)
Set to 0.
C+3
Destination unit FINS address
1
Destination node address
2
C+4 Bits 00 to 03:
No. of retries (0 to 15,
i.e., $0 to $F)
Bits 04 to 07:
Set to 0.
Bits 08 to 10:
Transmission port number
($0 to $7)
Bit 11 to 14:
Set to 0.
Bit 15: ON: No response.
OFF: Response returned.
C+5
Response monitoring time ($0001 to $FFFF = 0.1 to 6553.5 seconds)
3
Unit Setting
CPU Unit 00
User program in FA computer 01
CPU Bus Unit $10 to $1F: Unit numbers 0 to 15
$FE: The local Unit
SEND(090), RECV(098), or CMND(490)
Execution
condition
Network
Enabled Flag
Online Flag
word n+11, bit 00