KUBES modules 5.3.5 Example program “copy data block“ This program is to copy 16 byte of data. The source and target ranges are very near each other so that the program can be easily tested by means of KUBES’ Address Range display function: We took the first intermediate code address of every range from the table in chapter ( а 5.3.2). Proceed as follows: Ш Write and transmit program (see next page) Ш Start controller (RUN) Ш Display Address Range, choose “byte markers SBM“ Ш Set and reset input I00.00. After a short while you will find the data in SBM01.00...15 and SBM00.00...15 are identical (see screen dump). 87 Data ranges First address (interm.
code) Source SBM00.00...SBM00.15 $0300 Target SBM01.00...SBM01.15 $0310