Specifications
1.7.2 The Information formats of messages(ASCII)
The information formats of messages are very similar to chapter 14 “Application of ASCII File Output
Function” in the Advanced Manual that are all categorized as fixed background information and dynamic variable
information. The first can be words in English, numbers, or signs, and the second binary, decimal or hexadecimal
system.
Length of a message is 1~511 digits (including blank spaces), but because there are only 16 digits a line in a
DAP LCD, if a message has more than 16 digits, it will be displayed automatically toward the left (preset moving
one time a second); if less than 16 digits, the tail will be filled in with blank digits and no moving occurs.
The editing of message can work through 「ASCII Table」function under WinProladder by choose ”DAP
output” from 「Output preview」then start the editing. The editing command formats are as follows:
1 Background information format
Any ASCII Code digits quoted with ' ' can be background information. To display a single quotation mark
as such, two continuous quotation marks are a must. Example:
' I ' 'M A BOY' will be displayed I'M A BOY
2 Variable information format
,"8 .2 R0 D",
↗ ↑ ↑ ↖
Total
variable
count
displayed
Decimal
point
count
Variable
Register
Carry
code
displayed
Description information in a pair of dual quotation marks 〝 〞is used to indicate the register address
(number) storing the variable information and in what format and carry code to display.
Total variable count displayed:In this case, the value (including minus) of the variable R0 is displayed in a field
with 8 digits. If the variable value is bigger than the total variable count
displayed, the digits further from the point will be cut. If not enough, blank
spaces will fill in.
Decimal point count:the decimal point count in the total digits. In this case, with a total count of 8 digits, the
decimal point count is 2. The decimal point sign 〝.〞 as such possesses one digit and
there are 5 digits left in the integral part.
Variable register:can be used as 16 digit register’s R、D、WX、WY、………, or 32 digit register’s DR、DD、
DWX、DWY、………etc. The content value in the register will be retrieved and displayed with
the format and carry code described in the 〝 〞.
Contacts:generally displayed as ON or OFF (total digit count displayed is set to a fixed 3), but if added with
binary system B in the tail, 0/1 will be displayed (total digit count fixed 1)
Carry code:can be hexadecimal H, decimal D (the carry code will use decimal if without indication, so D can be
omitted.), or binary B, etc., but a 32 digit variable can not be displayed with binary system.
In this case, R0’s content value is −32768. In 8.2 format the result is displayed as:
−
3 2 7 . 6 8
If the format is changed from 8.2 to 5.1, then the result becomes:
2 7 6 . 8
Appendix I -13