Omron 3G3FV-PDRT1-SIN Timing of Message Response Reading, Communications Flags, Flag Functions

Models: 3G3FV-PDRT1-SIN

1 161
Download 161 pages 943 b
Page 74
Image 74

CompoBus/D Communications Card Operations

Chapter 5

 

 

 

HTiming of Message Response Reading

Responses are read when the Message Communications Enabled Flag turns ON in the next cycle. The Message Communications Enabled Flag will turn OFF when a Master Unit is executing message com- munications. If the message response is faster than the PC ladder program cycle time, the Message Communications Enabled Flag will remain ON and response processing will not be possible. Execute the read response processing before IOWR, as shown in the following diagram, and produce a Mes- sage Communications Status Flag (d) using bit A.

A

C

 

D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Message

 

 

 

 

 

 

 

Communications

 

 

 

 

 

 

 

Enabled Flag

 

 

 

Execution

Message

 

 

 

 

 

 

 

 

 

condition

Communications

A

 

 

 

 

Enabled Flag

 

 

 

 

 

 

 

 

 

 

 

B

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

25506

Equals Flag

DIFU C

SET D

Read response processing

RSET D

(@) IOWR

C

S

D

B

A

Note If the read response processing is executed after IOWR, there can be no Message Communica- tions Enabled Flag response by means of IOWR, so an attempt could be made to read the re- sponse even though the message communications have not been completed.

HCommunications Flags

Flag

Functions

 

 

Equals Flag (SR 25506)

The Equals Flag turns OFF when an error occurs in writing a command

 

from the CPU Unit to the Master Unit.

 

This Flag turns ON after a command has been written normally from the

 

CPU Unit to the Master Unit.

 

 

Error Flag (SR25503)

The Error Flag is OFF when all operands and the control code are legal.

 

This Flag turns ON when an illegal operand or control code is set or

 

when there is an error in instruction execution.

 

 

Message Communications

The Communications Enabled Flag turns OFF during messages

Enabled Flag in the Master Unit

communications or when message communications are not possible.

status area (bit 12 in IR 101 +

This Flag is ON when message communications are possible.

10 x unit No.)

 

 

 

5-12

Page 74
Image 74
Omron 3G3FV-PDRT1-SIN user manual Timing of Message Response Reading, Communications Flags, Flag Functions