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
Need help?
Do you have a question about the CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?
Questions and answers
How do I retrieve fault codes from plc: CJ2M-CPU35