LD Integer_1
INT_TO_BCD
ST BCD_Result
BCD_Result := INT_TO_BCD(Integer_1);
Paramètre
|
Type
|
Commentaire
|
---|---|---|
Integer_1
|
Entier codé binaire compris entre 0 et 9999.
Exemple : Integer_1 = 99
|
Paramètre
|
Type
|
Commentaire
|
---|---|---|
BCD_Result
|
BCD_Result est un entier codé BCD.
Exemple : avec la valeur d’exemple du tableau précédent, BCD_Result = 16#99
|