Omron CJ2 CPU UNIT SOFTWARE User Manual page 177

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Additional Information
The following figure shows an example application of a DLNK(226) instruction.
Example: Data Links
Cyclic task n
I/O refresh
Peripheral servicing
If DLNK(226) is executed for a CPU Bus Unit that is busy refreshing data, data will not be refreshed
and the Equals Flag will turn OFF. Normally, the Equals Flag should be programmed as shown
below to be sure that refreshing has been completed normally.
Execution condition
CJ2 CPU Unit Software User's Manual
DLNK
Data links are refreshed here for the CPU
N
Bus Unit with unit number N.
DLNK
Data links are refreshed here for the CPU
Bus Unit with unit number M.
M
END
Data links are all refreshed here for
Controller Link and SYSMAC Link.
DLNK
&0
= Flag
Bit "a"
5 Understanding Programming
Refreshes data for the CPU Bus
Unit with unit number 0.
Turns ON bit "a" if data
refreshing fails, enabling the
problem to be detected.
5
5-85

Advertisement

Table of Contents
loading

Table of Contents