Function Parameter Index Reference
8/99 RS232 Communications Reference Manual 51
5.13 BCD Function Block
Description
The BCD label stands for Binary Coded Decimal Translator. This block is part of the Auxiliary category.
It looks like this graphically on the Control Builder.
Dynamic Parameters:
Table 5-16 BCD Dynamic Parameters
Parameter Index Type Use R/W Description
status 0 REAL C R block status (see section 5.2 for code list)
OUT 1 REAL O W Result (O to 99)
DIG_A(D1) 2 BOOL I R Bit 0 of the BCD lower digit
DIG_B(D2) 3 BOOL I R Bit 1 of the BCD lower digit
DIG_C(D4) 4 BOOL I R Bit 2 of the BCD lower digit
DIG_D(D8) 5 BOOL I R Bit 3 of the BCD lower digit
DIG_E(D10) 6 BOOL I R Bit 0 of the BCD upper digit
DIG_F(D20) 7 BOOL I R Bit 1 of the BCD upper digit
DIG_G(D40) 8 BOOL I R Bit 2 of the BCD upper digit
DIG_H(D80) 9 BOOL I R Bit 3 of the BCD upper digit
Static Configuration Parameters: None