Delta AH500 — 6.4.2 Explanation of Data Transfer Instructions

AH500 Programming Manual decimal numbers, and the digit which is transferred is composed of four bits. 4 digit th 3 digit rd 2 digit nd 1 digit st D10 ( ) 16-bit binary number Transferring the digits D20 ( ) 16-bit binary number Unchanged 4 digit th 3 digit rd 2 digit nd 1 digit st Unchanged Suppose the number in D10 is 16#1234, and the number in D20 is 16#5678. After the instruction is executed, the number in D10 is unchanged, and the number in D20 is 16#5128. Example 3: 1. The instruction can be used to combine the values of the DIP switches which are connected to the input terminals whose numbers are not consecutive. 2.

The two digits of the value of the DIP switch at the right are transferred to the the two digits of the number which start from the second digit of the number in D2, and the one digit of the value of the DIP switch at the left is transferred to the the first digit of the number in D1. 3. The instruction SMOV can be used to transfer the first digit of the number in D1 to the third digit of the number in D2. In other words, the two DIP switches can be combined into one DIP switch by means of the instruction SMOV. 10 2 10 1 10 0 8 1 8 1 X0.3~X0.0 X1.15~X1.0 PLC 6-132 4 2 6 4 2 1 8