17.9.2 Format of Specified
Address
As per the following format, values are used with the specified
internal address.
Address
|
Setting
|
Specified Address+0
|
Display Trigger
|
|
Specified Address+1
|
Window Number
|
Reserved address that is not used for Bulletin
Message Parts
|
Specified Address+2
|
X coordinate of the window display position
|
Specified Address+3
|
Y coordinate of the window display position
|
Specified Address+4
|
Language
|
|
Specified Address+5
|
Font
|
|
Specified Address+6
|
Text Size
|
|
Specified Address+7
|
Number of Characters
|
|
Specified Address+8
|
Text Color
|
|
Specified Address+9
|
Text Background Color
|
|
Specified Address+10
|
Blink
|
|
Specified Address+11
|
Text
|
|
:
|
:
|
|
Specified Address+n
|
Text
|
|
Specified Address+n+1
|
Number of Characters
|
|
Specified Address+n+2
|
Text Color
|
|
Specified Address+n+3
|
Background Color
|
|
Specified Address+n+4
|
Blink
|
|
Specified Address+n+5
|
Text
|
|
:
|
:
|
|
Specified Address+n+x
|
Text
|
|
Specified Address+n+x+1
|
End of the text (Number of characters)
|
|
Settings are stored according to the device size of the
specified internal address.
When 16 bit device is specified
Data is used in units of words according to the device size.
For example, specified address is USR0100
When 32 bit device is specified
Data is used in Double Word units according to the device
size.
However, the Text setting is used in units of words.
For example, specified address is USR0100
Specified Address+0: Display Trigger
...
|
5
|
4
|
3
|
2
|
1
|
0
|
Reserved
|
Displayed State
|
Reserved
|
Display/Delete
|
The same bit is used regardless of the size
of the specified device (16 bit/32 bit device).
State
|
Display/Delete Bit: Bit 0
|
Displayed State Bit: Bit 4
|
Delete
|
OFF
|
OFF
|
OFF
|
ON
|
Display
|
ON
|
OFF
|
Displayed
|
ON
|
ON
|
The action in each state is as follows.
The message is deleted when the bit is turned
OFF (Deleted State), and the Displayed State Bit is updated to
OFF.
The message is displayed according to the
value of the address after Language (Specified Address+4). The
Display Completion bit will be updated to ON.
The state in which the message display is
completed. to update the message, follow either one of the
following procedures.
-
[Display] (Turn OFF the Displayed State bit)
-
[Delete], and then [Display]
-
Display when Screen Changed
When the specified address of the Bulletin
Message Parts to which the screen will be changed is in [Display]
or [Displayed] state, the text will be displayed within the message
display range after the screen is changed.
For example, same specified address is
applied to all the Bulletin Message Parts set on the screen
Specified Address+1: Window Number
Specified Address+2: X coordinate of the
window display position
Specified Address+3: Y coordinate of the
window display position
Reserved addresses that are not used for Bulletin Message
Parts
These addresses are used for window screen display if the
internal address specified when [Indirect] is selected in the
[Global Window Operation] setting is the same as the specified
address of the Bulletin Message Parts.
Specified Address+4: Language
Select a language for the text to display.
Language
|
Language Code
|
ASCII
|
0x0000
|
Korean
|
0x0001
|
Traditional Chinese
|
0x0002
|
Simplified Chinese
|
0x0003
|
Japanese
|
0x0004
|
Cyrillic (Stroke Font only)
|
0x0005
|
Thai
|
0x0006
|
Specified Address+5: Font
Set text font for the message to display.
Font
|
Value
|
Standard Font
|
0
|
Stroke Font
|
1
|
Specified Address+6: Text Size
Set the size of the text for the message to display.
The text sizes are as follows.
Text Size
|
Value
|
8x16
|
0x0810
|
8x32
|
0x0820
|
8x64
|
0x0840
|
16x16
|
0x1010
|
16x32
|
0x1020
|
16x64
|
0x1040
|
32x16
|
0x2010
|
32x32
|
0x2020
|
32x64
|
0x2040
|
-
Only vertical size is applied for Stroke
Font.
-
When a value other than the supported text size
values is set, an error message indicating a font reading error
will be displayed.
Specified Address+7: Number of Characters
Set the number of characters on which Text Color (Specified
Address+8), Text Background Color (Specified Address+9) and Blink
(Specified Address+10) are applied. Superposed characters such as
Thai and Cyrillic, which are displayed as one character using two
character codes, should be calculated as one character with 2
bytes.
-
Number of Characters (Specified Address+7), Text
Color (Specified Address+8), Text Background Color (Specified
Address+9) and Blink (Specified Address+10) must be set
collectively as one setting.
-
When the number of characters differs from Number
of Characters (Specified Address+7), text will not be displayed
properly. For example, different text from the set text may be
displayed.
-
When the total number of characters exceeds 160,
only 160 characters will be displayed.
For example, displaying the following message on the base
screen.
Specified Address+8: Text Color
Specified Address+9: Text Background
Color
Set the display color and background color for the text.
Text color can be changed for each character.
-
Number of Characters (Specified Address+7), Text
Color (Specified Address+8), Text Background Color (Specified
Address+9) and Blink (Specified Address+10) must be set
collectively as one setting.
-
Set to the start of the text you want to
change.
-
When a value other than the setting value is set,
the lower bit 11 is used to display.
-
Color code is the same as in the settings in
GP-Pro EX. Please refer to the following for color codes.
8.16 Color Code Table
-
When you can specify 256 colors, you can only
set 64 fixed colors to the Bulletin Message.
For example, Bulletin Message Parts are set on the base screen
and the specified address is USR0100
Display text is "Standard Message Display".
Text color and background color for "Standard Message" are white
and black, respectively.
Text color and background color for "Display" are black and
white, respectively.
Specified Address+10: Blink
Set the text to blink or not to blink.
Blink
|
Value
|
No Blink
|
0
|
Medium Speed Blink
|
1
|
Low Speed Blink
|
2
|
High Speed Blink
|
3
|
-
Number of Characters (Specified Address+7), Text
Color (Specified Address+8), Text Background Color (Specified
Address+9) and Blink (Specified Address+10) must be set
collectively as one setting.
-
When a value other than the values to blink is
set, no blink will be specified.
Specified Address+11: Text
Set text to display in the display range.
Text to be stored in the address is UNICODE.
When line feed is set for the display text, line feed will be
inserted.
The maximum number of characters that can be displayed is 160
characters (including line feed).
Specified Address+n+x+1: End of the text
(Number of characters)
The end of the text to be displayed as Bulletin Message is
specified.
This should be fixed to 0 (0x00).
|