|
Logic Sample Program |
|
|
The high 8 bits and the low 8 bits of the conversion source register,DATA_S are separated and stored in two registers called DATA_D1 and DATA_D2. They are separated via a Loop process in the sample below. However, an integer variable's suffix (W. or B.) can be also used for separation.
|
|
|
|
For a dip switch or data setting, when external input and data of different use are separated into High and Low of the same register, this is used. And as an application of this circuit, changing data variable,DIS_D1-2 after a separation process and times of Loop enables you to create a circuit that separates the source data into 4 registers by 4 bits each.
|
Dowload a sample program file and detailed description.
|
|
|