7-14
Chapter 7. CPL COMMUNICATION FUNCTION
7 - 5 Numeric Representation in the Application Layer
The specifications of numeric representation are decimal variable-length (zero suppress) for RS and WS commands
and hexadecimal fixed-length for RD, WD, RU and WU commands. Details are as follows:
RS and WS commands
Item Specifications Remedies
Unwanted space Cannot be appended. The message processing is
aborted and an abnormal
termination code is
returned as a response
message.
Unwanted zero Cannot be appended.
Numerical value = zero
Cannot be omitted.
Be sure to use "0".
Other unwanted
characters
Numerical values may be prefixed
with a "-" expressing a negative
number. Any other character
cannot be appended. The "+" sign
must not be appended to indicate
positive numerical values.
Range of available
numerical values
-32768 to +32767
Values out of this range are not
allowed.
RD, WD, RU and WU commands
Item Specifications Remedies
Unwanted space Cannot be appended. The message processing is
aborted and an abnormal
termination code is
returned as a response
message.
Unwanted zero Cannot be appended.
Numerical value = zero
Cannot be omitted.
Be sure to use "0000".
Other unwanted
characters
Cannot be appended.
Range of available
numerical values
0000H to FFFFH