Using FINS Message Communications

Section 6-3

 

in the following table.

 

 

Message

Network status

NS

 

Communications

 

indicator

 

Permitted Flag

 

 

 

 

 

 

 

ON

Communications connection made (network nor-

Lit green

 

 

mal)

 

 

 

 

 

 

 

Communications connection not made (network

Flashing

 

 

normal, but communications not established)

green

 

 

 

 

 

 

Non-fatal communications error (error in one or

Flashing

 

 

more Slaves)

red

 

 

 

 

 

OFF

Offline or power supply is OFF (no power supply,

Not lit

 

 

resetting, minor failure, or send error)

 

 

 

 

 

 

 

Fatal communications error

Lit red

 

 

 

 

Network En- abled Flag

Communications instruction

Execution

Error Flag

Completion code

1

0

Instruction

 

Instruction

 

Instruction

1 executed

 

2 executed

 

3 executed

 

 

 

 

 

 

 

 

 

 

1

0

00

 

00

00

 

Previous

00 Normal

04 Busy

00 Normal

code

end

 

end

Communications Instructions Completion Codes

The status at the completion of the execution of network communications instructions is shown at the words indicated in the following table, as FINS completion codes. During execution of the instructions the status will be 00 or $0000 and this will be reflected at the end of the execution of the network communications instruction.

Words

Functions

 

 

Port #0 to #7

A203 to A210 contain the completion codes for the results

Completion Codes

of communications instruction execution for ports #0 to

(A203 to A210)

#7, respectively.

 

 

Note For the CS/CJ-series, the completion codes are stored as 2 bytes of data (1 word) upon completion of the execution of SEND(090), RECV(098), and CMND(490). These codes are the same as the re- sponse codes for FINS commands. The first byte of the completion code is placed in bits 08 to 15 and the second byte is placed in bits 00 to 07.

Timing of Reading Responses

Responses should be read on the rising edge (upward differentiation) of the Network Enabled Flag, as shown in the following diagram.

Network Enabled

Flag

Processing to read response

Send/Receive Data Areas

The size of the data areas that can be used with SEND and RECV depends on the PC that is being used. The following table shows the areas that can be used for CS/CJ-series PCs.

Data Area

Range

 

 

CIO Area

CIO 0000 to CIO 6143

 

 

Work Area WR

W000 to W511

 

 

153

Page 164
Image 164
Omron CS1W-DRM21, CJ1W-DRM21 Following table, Communications Instructions Completion Codes, Timing of Reading Responses