IDEC TXD Instructions

Application Note:
Transmitting a Value Bigger than 65,535
in BCD Format with TXD Instructions
You can transmit values from 0 up to 99,999,999 by using the following method. (1) If a 32-bit value is contained in data registers D0 and D1, you need to convert
this value to hex values using HTOB(D) instruction.
32-bit value contained in D0\D1 D2 D3 0 0000h 0000h 1234 0000h 1234h 65535 0006h 5535h 190000 0019h 0000h 12345678 1234h 5678h 99999999 9999h 9999h
Note: If the value contained in D0\D1 is bigger than 99,999,999, a user program execution error occurs and ERROR LED turns on.
(2) If you want to transmit a 6 digit value with a TXD instruction, you need to
configure S1 of the TXD as follows.
Upper 2 digits setting Lower 4 digits setting
For more information please call 800-262-IDEC or email support@idec.com. 1
The TXD instruction dialog box will appear, as shown here:
Click OK to close the dialog box.
2 For more information please call 800-262-IDEC or email support@idec.com.
Loading...
+ 1 hidden pages