5-104
5.1 Type Conversion Functions
5.1.34 BCD type
→
string type conversion
BCD_TO_STR(_E)
5.1.34 BCD type → string type conversion
BCD_TO_STR(_E)
Function
Operation processing
Converts BCD type data input to into string type data, and outputs the operation result
from .
BCD_TO_STR(_E)
_E: With EN/ENO
indicates any of the following
functions.
BCD_TO_STR BCD_TO_STR_E
Input argument, EN:
Executing condition (TRUE: Execution, FALSE: Stop) :Bit
s:
Input :Word (unsigned)/16-bit string, double word
(unsigned)/32-bit string
Output argument, ENO:
Output status (TRUE: Normal, FALSE: Error) :Bit
d:
Output :String
Universal
UD
High
Performance
EN ENO
ds
BCD_TO_STR_E
(EN, s, d);ENO:=
Structured ladder
ST
BCD_TO_STR_E
s
d
Word (unsigned)/16-bit string type
9999H
String type
"9999"