06_Object
06_Object
Object is designed for meet the specific demand, generally speaking one object realizes a function,
but some object must finish the specific function with the assistance correlated with Object or PLC.
The following form shows:
Object Correlate Object Explanation
Numeric Input Extend Function Key The keyboard is created by the function
key
ASCII Input Extend Function Key The keyboard is created by the function
key
Indirect Window Window Window that has already been created
Direct Window Window Window that has already been created
Alarm Scan Alarm Display , Alarm Bar Alarm information show by the alarm
display or alarm bar.
Alarm Display Alarm Scan Show the information from "Alarm Scan"
Alarm Bar Alarm Scan Show the information from "Alarm Scan"
Trend Display Plot Data Transfer When the project has a lot of "Trend
Display Plot", can cooperate with " Data
Transfer " component , raise and pursue
the renewal speed of surface
Event Log Event Display Shown the information of log-in by "
Event Display "
Event Display Event Log The information shown is logged in by "
Event Log "
PLC Control PLC PLC procedure controls the operation of
the function
Most object support "bit" or "word" address type (only "Numeric Input Extend" can operate double
word) ,because some PLC has "Double words" address type ,so some driver of PLC will "Double
word" is it change to make with " word ", user is it pay special attention to operation instructions,
PLC of driver to need.
6.1 Bit Lamp
A Bit Lamp displays the ON or OFF states of a designated PLC address. If the bit status is
OFF, the state 0 shape is displayed. If the bit status is ON, the state 1 shape is displayed. The
corresponding label is also displayed if Use Label is enabled.
Attribute:
Normal:
only the corresponding shape is displayed which doesn't blink.
ON Blink State 0 or 1:
Show the figure of 0 as "Read Address" state ,for OFF ;Show the figure of 1 as the state ,for
ON. And show the result of blinking , the frequency glimmers set up from "Break time".
3. Click the Shape Tab: Select a shape or a bitmap to display the corresponding OFF and ON
states.
4. Go th the Label Tab and fill in Attribute and Content fileds for corresponding OFF and ON
states.
5. Click OK.
5. Click OK to place the word Lamp on the window. Position the word Lamp and resize it if
necessary. Adjust the label position as desired.
Data format types
BIN (binary format) Decimal numbers are encoded by bit weight
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
BCD (binary coded decimal format) Decimal numbers are encoded by bit weight per 4-bit nibble
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0
3 2 1 10
10 10 10
1 0
The Read address raw data (1001 0100)BCD = 9*10 + 4*10 =(94) DEC
3. Go to Shape Tab. Select Shape or Bitmap to display graphics that represent the touch area.
3. Go to Shape Tab: Select Shape or Bitmap to display graphics that represent the touch area.
5. Click OK, position the Set Word part and resize it if necessary.
T
0 V+K Upper limit
NO
YES
Periodical JOG-- This Attribute becomes active automatically when the window is active. The
Dec. value is subtracted from the designated word, if the result is not less
than Bottom limit. Once the bottom limit is reached or exceeded,
decrementing stops.
T
Upper Bottom
V-K
Limit Limit
NO
Set at window Set value data is written to the designated word automatically when the
close window containing it is closed. The function is effective for LW (Local
Word) and LB (Local Bit)
Periodical bounce This Attribute becomes active automatically when the window is active. The
Inc. value is added to the value of the designated word until the Upper limit
is reached. Then the Inc value is subtracted from the designated word until
zero is reached. This cycle is repeated until the window becomes inactive.
T Upper
0 V+1
Limit
NO NO
YES YES
0 V-1
Step up This Attribute becomes active automatically when the window is active. The
value is incremented by 1 at regular intervals as specified by the Break time
until the High limit is reached. Then the value is reset to the Low limit.
T
Low High
V+1
Limit Limit
NO
YES
Step down This Attribute becomes active automatically when the window is active. The
Value is decremented at regular intervals as specified by the Break time until
the Low limit is reached. Then the Value is reset to the High limit.
T
High Low
V-1
Limit Limit
NO
YES
Set at window Set value data is written to the designated word automatically when the
maximized window containing it is maximized.
Set at window Set value data is written to the designated word automatically when the
minimized window containing it is minimized.
Set at backlight off Set value data is written to the designated word automatically when the
backlight is turned off.
Note: T= the periodic action
V= the data in the register
K= the increasing (decreasing) parameter
5. Click OK to place the Multi-State Switch part on the window. Position the Multi-State Switch
part and resize it.
3. Go to Shape Tab Select Shape or Bitmap to display function key that represent the touch area.
5. Click OK to place the Function Key on the window. Position the Function Key part and resize it.
If the function key is set as “Change Window”, when the function key is pressed (activated), the
current window display (including the child windows of the current window) terminates and
changes to the window designated by “Window No.”
For example: If window 21 was replaced by window 32, and window 32 has a function key defined
as Return to previous, then ,when it is pressed, window 32 is terminated and window 21 is
displayed.
6.7.3 Change Common Window
If the function key is set as “Change Common Window”, when the touch area is pressed, the
current common window display is replaced by the new common window designated.
A function key defined with “Window Bar” attribute is used to move the position of a window on
the screen. A Popup window can make use of this function. The window is moved by touching the
window bar area then touching a second position, the window is moved to that place.
When the function key is pressed, the window is minimized to an icon in the task bar. A touch on
the window’s icon returns to the original window.
Note: The Minimize Window function works only if when [Task button] on [System
Parameters]/[General] is open.
If the function key is set as “Popup Window”, when the touch area is pressed, the window
designated by Window No is displayed on top of the base window. The existing window(s) are not
closed.
This is the method for operators to close Popup Windows, but not for direct or indirect window,
This is because opening or closing the direct( indirect ) window is controlled by the bit( or word)
while Close Window function key only closes the popup window but not to control the data in the
register.
6.7.8 JOG FS-Window
This function changes the popup window that appears when the Fast Selection, Task Bar button is
pressed. The changed window should be the same size as the Fast Selection window (window No
4).
We have already finished introducing the function key which has controlled the window, have now
let us make an example which control the window.
1. Create a new project, and save it.
2. Create Fast Select Window 4, Common Window 6, Basic Window 11, Basic Window 12, the
Basic Window 13, Basic Window 14 separately, Window 12 sizes same as Window 4 (here (100,
350)), Window 14 want smaller than Base Window size 14 (here (640, 480)).
3. Put 3 function keys on Window 4, namely 2 [Change Window] the function key is differentiated
and can be switched over to Window 10 and Window 11, the function key of one [JOG
FS-Window], can switch over to Window 12. As the picture shows:
4. Put a text object at Window 6; show the text as “Common Window 6"
5. The Window 10 put one text object, show text as "Basic window 10", and two function key one
of [Return to Previous], the other one for [Popup Window], the second window can popup Window
14. As the picture shows:
6. Put a text object at Window 11, show text as "Basic Window 11", and one function key of
[Return to Previous].
7. Put the function key of one [JOG FS-Window] at Window 12, can switch over the function key
of 4 , 2 windows [Change Common Window], switch over to Window 6 and Window 13
respectively. As the picture shows:
8. Put a text object at window 13, show text as "Common Window 13"
9. Put a Window Bar at window 14, show the content in order to "Popup Window 14", and 2
function keys of [Minimize Window] and [Close Window].
10. Finish setting up, [Save], [Compile], [Online/Offline Simulator] or [Download], can show the
result in the picture.
11. Push [Return] after use the button to switch over from Window 10 to Window 11 in the Fast
Select Window, will return to Window 10, the ones that push [Return] in Window 10 will return to
Window 11.
12. Push [Popup Window] in Window 10, will spring Window 14. (You can operate to the thing that
it moves, minimizes, closes etc.)
13. Choose [Fast Window 2] in Fast Select Window, will switch over to the 2nd Fast select window.
14. Push [Common window 2 or 1], can switch over and show the Common Window.
A keypad is composed of a variety of function keys with different ASCII codes (0, 1, 2…..and a, b,
c…..) and special keys “ENT” (Enter), “BS” (Backspace), “CLR” (Clear) and ”ESC” (Escape).
Since any character can be assigned to a function key, specialized keypads can be made for any
application. Keypads are used with the Numeric and ASCII Input Parts to change their values.
Other function key (FK_1~FK_14) are set for: ASCII(2)~ASCII(9) ASCII(0) ENT CLR
BS - "."
2. Create Numeric Input object:
6.7.11 Print
Please refer to Ch.11 [Print]
6.8 Moving Shape
The Moving Shape tool is used to place an object in a window at a location specified by the
PLC. The state and then absolute location of the shape in the window depend on the current values
of three continuous PLC registers. Generally speaking, the first register controls the state of the
object and the second one controls the horizontal position (X), and the third one controls the vertical
position (Y).
Description: A reference name that you assign to the Moving Shape. (not displayed)
Read Address: Word in the PLC that controls the Moving Shape state, position and label.
Attribute: see the table below.
Attribute Functions
Up to 32 different states can be assigned to the Moving Shape Part. The Read address should be 0
when the state is set to 1 or the object isn’t displayed. The corresponding address of Read address
from 0~31 is from 1~32. Position is controlled by the Read Address Device as shown in the table
below. (X for horizontal axis; Y for vertical axis)
Control by PLC X Y X&Y
Read Data Two words Two words Three words
Read Address Shape or Bitmap State Shape or Bitmap State Shape or Bitmap State
Read Address+1 X position Y position X position
Read Address+2 - - Y position
When scaling is used, scaling is performed as follows:
Display value = [(reading value – Input min) / (Input max – Input min)] * (Scaling max – Scaling
min)
When reverse scaling is used, scaling is performed as follows:
Display value = [(Input max – reading value) / (Input max – Input min)] * (Scaling max –
Scaling min)
Possible selections:
Style Functions:
X axis only The Moving Shape object Only move horizontally on X, on the
same time Input max (or min) isn't result. The first register records
the state of the object and the second one records the position.
Y axis only The Moving Shape object Only move vertically on X, on the same
time Input max (or min) isn't result. The first register records the
state of the object and the second one records the position.
X & Y axis The Moving Shape object move on the both X and Y, on the same
time Input max (or min) isn't result. The first register records the
state of the object and the second one records the position of X
and the third one records the position Y.
X axis w/ scaling The Moving Shape object Only move horizontally on X, the
corresponding moving position is set up by inputting data and
proportion. ( If the 0~1000 of PLC is read but you want the
corresponding position is 0~640, the values of Input low and Input
high can be set for 0,1000 and the values of Scaling low and
Scaling high can be set for 0,640) The first register records the
state of the object and the second one records the position.
Y axis w/ scaling The Moving Shape object Only move vertically on Y, the
corresponding moving position is set up by inputting data and
proportion. ( If the 0~1000 of PLC is read but you want the
corresponding position is 0~480, the values of Input low and Input
high can be set for 0,1000 and the values of Scaling low and
Scaling high can be set for 0,480) The first register records the
state of the object and the second one records the position.
X axis w/ reverse scaling X axis w/ scaling)
Y axis w/ reverse scaling Y axis w/ scaling)
6.9 Animation
The Animation Part is used to place an object on the screen at a specified location determined
by a predefined path and data in the PLC. The state and the absolute location of the shape on the
screen are controlled by current reading value of two continuous PLC registers. Typically, the first
register controls the state of the object and the second controls the position along the predefined
path. When the PLC position register changes value, the shape or bitmap jumps to the next position
along the path.
2. Click on screen to define the path and stopping points (points of track) for the object to travel.
Right-click to end the setting.
Show present
number value
Display: Control the format of the data display. See the context as below.
Numeric: Set up the position of the Decimal point and the Max. and Min value.
4. Go to Shape Tab: Select Shape or Bitmap to enhance the effect of the display.
5. Fill in Numeric Tab items: Set up the Font, Color and Align of the display.
6. Click OK to place the Numeric Data part on the window.
The changing value will show the data according to the establishment of "No. above Dec." and
"No. below Dec.". For example if the number as 123.456 but No. below Dec. =2, No. above
Dec. =3, number value shows that as "123.45", the last datum has been removed after
changing.
Example: If the range of the input data is 0~1000, and the value written in the PLC is 0~100
(namely for relation of 0.1 times), should set up as follows:
Input lower limit =0, Input upper limit =100, Engineering low =0, Engineering high =1000, the
following picture shows:
Hexadecimal: The number is displayed in hex (0~9, A~F) format. Scaling is disabled.
Mask: Displays only “****” and ignores the reading value. This is used for security code input.
Its proportion of conversion and decimal point, etc. have selected and has been all neglected.
Single float: Data in the controller is translated from a 32 bit IEEE Floating-Point format to a
decimal number and displayed.
Double float: Data in the controller is translated from a 64 bit IEEE Floating-Point format to a
decimal number and displayed.
At the time of the data entry of the decimal system, if choose to " show initial data", input the
minimum and input the restriction range that the maximum will be regarded as the effective data-in ,
if choose " the project data are changed ", the project changes the maximum and project and
changes the restriction range that the minimum will be regarded as the effective data-in.
Do conversion, so:
(Input data-Engineering low)*(Input high-Input low)
PLC value = + Input low.
(Engineering high-Engineering low)
Font attribute:
Can appoint the size that number value show with the color and align the way here. Available font
sizes include : 8 , 16 , 24, 32, 48, 64, 72 and 96. The Align is only for decimal format.
If the form shown is set up for “the above -figure number of the decimal point” =5, " -figure
number under the decimal point " =0, the number value read is 123, there are several kinds as
follows of forms shown :
Right Adjust 1 2 3
Left Adjust 1 2 3
Leading Zero 0 0 1 2 3
4. Go to Font Tab: Fill in the Color and Font attributes of the displayed data.
Users are used to in the data-in , can show the content of introduction at the same time on the
keyboard, then put a text display component on the keyboard, let it read the corresponding data
between LW9060-LW9075.
Creat a new project and adding a ASCII Input Extend Object to window 10, it is set up as follows:
Put the keyboard and this object together, [save], [compile],[on(off)- line simulation] or
[download],pursue not showing its if operation result:
If the number of words that this ASCII Data Object should show is X, then its equipment address
should be (9075 - X +1).
3. Go to Font Tab: Fill in the Color and Font attributes of the displayed data.
3. Fill in Shape Tab Items to select suitable graph for enhancing the effect of the display. Seldom
need to dispose the figure for the excellent picture.
Bar Graph
Here we define the direction, alarm available or not, color and value of the bar graph.
Attribute
Direction: Up, Down, Left and Right.
Variable alarm:
Yes: The high and low alarm limits are retrieved from PLC data registers as described below.
They are changeable. When the Read Address is between the high and low alarm limits, the bar
graph is in the non-alarm situation. When it above or under the limit value, the graph is under
the alarm situation. The color displays according to the alarm colors set up.
No: The high and low limits are set from the value of the Bar Graph. It’s fix after the setting.
Variable Alarm YES NO
Read Address Bar graph data Bar graph data
Read Address+1 Low alarm --
Read Address+2 High alarm --
Frame
Bar or Alarm
Indicator
Shape
Scale
Notice: The indicator will generally cooperate with the component use of the scale, will strengthen
the operation result of the indicator with the scale. It please consult 3.5.6 chapter [menu] /[drawing ]
scale some content not relevant.
D100=21
Popup Window
20
Popup Window
21
Close the Popup
Window
Read address: Word in the PLC that determines which window is displayed in the Indirect
Window area. When change the value of the register, the designated window pops up. For
example, if the value is 20, window number 20 pops up. When the value is 0, pop-up window is
closed.
Popup windows of Direct (Indirect) windows: A window is controlled by a bit address (direct
window) or word address (indirect window). Once a bit or a word activates, the corresponding
popup window appears. When the value is zero, the window is closed.
Task bar: If have [Window bar ]and[Minimize window] with the function key at the window
sprung, then spring a window each time, will reserve a little icon for this window on the task bar .
Push the window little icon at the bar can wave upper strata most to reach the screen corresponding
window in task. Double click the icon can minimize window, is it can recover window to the reset
condition to hit.
3. Click OK to position the Direct Window where you want it to pop-up and resize
The size of the window limits the area of display. The window area outside of the window
boundary is clipped. Function Button parts “Window Bar” and “Minimize Window” can be
assigned to the window to enable repositioning and minimizing. (Refer to “Window Bar” and
“Minimize Window” in the Function Key Part section.)
2. Click on the Add button to add a new message or click on the Setting … button to modify an
existing message.
Fill in the Attributes Dialog:
Read Address: specifies the PLC bit address that triggers the message.
Alarm attribute:
ON: displays this message when the bit is ON.
OFF: displays this message when the bit is OFF.
Category: Reserved
Content: Enter the message Content text, text Color and Font size. The default font is 16.
3. Click OK, the message appears in Alarm Scan message summary box.
In order to take full use of communication bandwidth, it is recommended that a block of
continuous
PLC bit devices be used for the Alarm Scan list. For example: Use Bits 100 to 199 to control the
display of all alarm Messages so that one read command retrieves Bits 100 to 199 all at once
instead of one bit at a time.
6.19 Alarm Display
Description: A reference name that you assign to the Alarm Display. (not displayed)
Read Address: The Read Address controls the scrolling, up and down, of the alarm display
window. If the read address is N, the information of N-1 is ignored and displays the information
of N on the first row.
Data format: BIN or BCD
No. of words: fixed to 1
Display line: Assign the number of lines to a window. (unit:16 pixels)
Char. Length: Assign the number of characters to a line.(unit:8 pixels)
For example: The font of the characters are 24(24*24pixels). Display line is 5, Char. Length is
30.
3. Click OK to place and position the Alarm Display where desired.
Example of an Alarm Display:
A Shape (SP_0) is used for the background rectangle. The Shape SP_1 shows the sunken viewing
area. Some TEXT is placed on the Shape(AL_0) to identify what is being displayed. Two Set Word
parts (SW_6, SW_7) are used to increment and decrement the alarm register.
The actual Alarm Display part is placed on top of the shape and the alarm messages appear as
below:
Scale
Trend Display
An example of a typical trend display is shown above. A Shape is used for the background and
Scales are added to show relative information about the trend. The trend display is then placed on
the Shape.
Page type: Select Single page. Single page is a simple trend display which displays the data
selected from the active screen and don’t reserve the historical data.
Sampling time: Time between point plots in seconds.
Plot point: the number of sample points displayed across the length of the chart.
Read address: Specify the PLC word address of the first Trend data pen, the second Trend data
pen starts at read address + 1, and the third starts at read address + 2, etc.
No. of Channel: The number of PLC data words retrieved is the same as No. of Channel, one
word per channel.
3. Fill in the Trend Tab: Select the “Channel” to view each channel’s settings.
Description: A reference name that you assign to the Trend Display. (not displayed)
Channel: Can choose any channel to set up it . Choose 0 to choose the 1st channel promptly,
choose 1 to be article 2, analogize sequentially.
Pen attribute: Specify the Trend Color and pen thickness for the channel.
Value: Set the zero and span for each channel.
Hold style: Determines how the trend reacts when the hold bit is activated. Hold trend display
simply prevents further updates until the Hold bit is turned off. Hold trend display & clear stops
the trend update and clears out all pages of the trend. When the Hold style turns to OFF, the trend
display resumes
Attribute: Start from left selects to have the trend pens start from the left and traverse the display
before scrolling begins.
Start from the right begins the pens scrolling from right to left from the first sample onwards.
In other words " the pen moves the paper " and way that " the paper start writing ". Their show
that the directions all roll and show from the left right.
Plot point: The number of sample points displayed across the length of the Trend Display part.
Note: The plot point includes the points of two side boundaries. If 20 is selected, the screen is
divided into 19 pieces. Therefore, if the screen is going to be divided into 20 pieces, 21 should be
selected.
Read address: Specify the PLC word address of the first trend data pen, the second trend data
pen starts at read address + 1, and the third starts at read address + 2, etc.
No. of Channel: The number of PLC data words retrieved is the same as No. of Channel, one
word per channel. Up to 16 channels can be specified for a trend.
Scroll control: The address of the register that determines which portion of the multiple page
display is being shown on the screen. Each increment of the value in the scroll register moves the
Trend display from one sample plot to the left. Can set up two pieces of number value and
establish the component, the equipment address of this component and equipment address which
looks through page control are the same. Set these first two components as and added, one is set
as and reduced, can be used for controlling the trend picture like this to looked through the page
forward and translate pages backward.
Hold control: The bit that controls the trend update. See Hold style above.
3. Fill in the Trend Tab: Select the “Channel” to set each channel.
Description: A reference name that you assign to the Trend Display. (not displayed)
Pen attribute: Specify the Trend Color and pen thickness for the channel.
Now come to do a form page trend display and example of many page trend display separately.
1. Single page trend display
Newly build a project and save at first.
In [editor] /[systematic parameter ] in set up by correct one PLC the types and parameter.
Add a form page trend display object. Its [time of taking a sample] is one second, it is 10 to take
a sample and count, it is 4 that the orbit is counted , the following picture shows:
In [trend display] in set up 4 channel because separately it blue for the trajectories, the red, the
green, purple. Minimums are all 0, the maximum is 500, 1000 respectively, 1500, 2000.
Adjust the size of the trend picture component.
Add 2 scale object, one is horizontal, one is vertical, their partition is all 20.Add 2 scale object ,
one is horizontal, one is vertical, their partition is all 20.Hand in them to transform into the net
together, and pay attention to above object pile of trend display: The size of these 3 object (2
scale and a trend picture ) must be unanimous and totally overlap together.
Add 4 Numeric Data objects, show LW0 separately, LW1, the number value of LW2 and LW3.
Add 4 Set Word object many state establish component, part of LW0, LW1, the data of LW2 and
LW3 carry on the cycle circulation change. Its corresponding minimum is all 0, the maximum is
500, 1000 respectively, 1500, 2000. The progressivelying increase value is 10, frequency is 0.5
seconds.
It is 21 to pay attention to taking a sample and count. Reading the address as LW0, it is 4 that the
orbit is counted, in this way LW0 reads LW3 is the materials sources of 4 channel. It is LW10 to
look through page control, can be used for looking over the historical materials. Retentive control
LB0 can stop reading the materials of the trajectory.
The color of setting up 4 trajectories sequentially is red , green , purple , blue, minimums are all 0,
the maximum is 500 , 1000 , 1500 respectively, 2000.Add 2 scale components and 5 vertical lines,
as drawn:
Add 4 Set Word objects, control LW0, LW1, LW2 separately, LW3, the establishment of these 4
components is totally the same, among them LW0 is set up as follows:
And then add increase and reduction that 2 Set Word objects controlled LW10, in order to control
and look through the page forward or backward, among them control the component increased to
set up as follows:
Controlling the component reduced, its [write address] is LW10 too, [attribute] /[type ] for
decreasing progressively, decreasing value 5, go to limit 0.
Add a Toggle Switch over the switch, controls the switch of LB0, delay reading the materials in
order to control the trend display, it is set up as follows:
Window 10 shows as follows finally:
[save], [compile ], [off-line simulation ], the following picture of operation result of it shows:
Push [stop], the trend display will be too static to move . Pay attention to observing and looking
through movements of the page at this moment. Is it look through to carry out once movement of
page, trend display reference position of coordinate of on the left move 5 most (is it look through
Set Word object set for to control, namely [ increase value ] or [decreasing value ] number value,
this piece there is number value 5) take a sample by distance that order. There are some of 21
samples in all on the screen, the scale just divides the screen into 20 squares for 20 partitions,
each square is distances that 2 samples are clicked.
The larger the value of Pxels per scroll or Scroll peed are, the faster the display scrolls.
Description: A reference name that you assign to the Alarm Bar. (not displayed)
Display line: Specifies the height of the window, in lines, at one message per line. All messages
are displayed as size 16 or 24 font. Two lines are required for size 24 font.
Char. length: Specifies the width of the window in 16 point characters. Namely if set as 20, it is
the English letter of 16 to then show 20 pieces of script or 10 pieces of script are Chinese
characters of 16, can show that 10 pieces of script are English letters of 24 too , or can show that
about 7 pieces of script are Chinese characters of 24 .
Add two switches to control the ON and OFF of LB0 and LB1 respectively.
[Save], [Compile], [Online (Offline) simulation] or [Download], the result as follows:
The state of ON or OFF of LB0 and LB1 directly triggers the alarm message display of an Alarm
Bar.
6.22 Recipe Transfer Object
Recipe Transfer Object can transmit the data from the prescription card of the touch-sensitive
screen to PLC, can transmit from PLC to the touch-sensitive screen . Ask to consult chapter 8 in
detailed content.
Click on the Add … button to create a new Data Transfer function or click on the Setting … icon
to modify an existing Data Transfer function. If you click on the Delete button, the current
highlighted function is deleted.
3. Click Close in the Data Transfer Object dialog when all desired Data Transfer functions have
been programmed.
When there is a lot of Trend display in a project, its data amount is bigger, the speed may be
relatively slow, if use Data Transfer Object, can accelerate the speed that the data upgrade greatly.
So long as all set the addresses which read the data of these Trend displays as the continuous one,
use a all right once of Data Transfer Object to read the datum that reaches 16 words (Word) from
PLC most, can guarantee the continuity of Trend display in this way, will not influence the renewal
speed of the touch-sensitive screen. The following form shows for 3 Trend displays:
Object Device Type Begin address Data amount Time of taking a
(Word) sample (second)
Trend Display 1 DM 0 5 1(50~100ms)
Trend Display 2 DM 5 3 1(50~100ms)
Trend Display 3 DM 8 3 1(50~100ms)
The touch-sensitive screen divides into 3 times and reads materials that DM0 touched DM8, it takes
3 seconds altogether. When use Data Transfer Object, the following form shows:
Object Device Type Begin address Data amount Time of taking a
(Word) sample (second)
Transfer Object DM->LW 0 11 1(50~100ms)
Trend Display 1 0 5 (0ms)
Trend Display 2 5 3 (0ms)
Trend Display 3 8 3 (0ms)
It only needs to read data once altogether. Its time taken of communication is short. Achieve the
speed of communication and purpose to accelerate renewal speed of picture of accelerating like this.
2. Select the [Add] button to add a new message or select [Setting] to modify the current
information.
3. Fill in Attributes Dialog:
Address type: Select Bit or Word address type.
Read Address: Specifies the PLC bit or word address that triggers the message.
Attribute:
Event trigger:
Bit Address type: ON: displays message when bit is ON.
OFF: displays message when bit is OFF.
Words Address type: When value in word is less than entered value, use “<” to trigger. When
value in word is greater than entered value,u se “>” to trigger
Print:
On trigger: Prints out message when event is triggered.
Return to normal: Prints out message when the event returns to normal state.
Category: Event category (reserved for future use)
Text: Input the context, color and font of the event information.
Note: The inside data in the body of memory can include in Event information.
The format as follows:
%nnd
%: The starting delimiter
nn: An internal register (LW) number 00-99
d: The ending delimiter
For example: The Content field is set as "Current temperature value %25dF: HIGH ALARM"
If LW25 = 120 then the message are printed out as "Current temperature value 120F: HIGH
ALARM". To print out current value of PLC register data, first assign a Recipe transfer object or
PLC Control/General Control to move data from the PLC to internal (LW) memory. Write Value:
A value to be written to the Write address of the Event Display when the event is acknowledged.
The value is the window number of the popup indirect window.
4. Click OK, the message appears in the Event Log message summary box.
Note: In order to take full use of communication bandwidth, it is recommended that a block of
continuous PLC bit devices be used for the Event Log list. For example: Use Bits 100 to 199 to
control the display of all event messages so that one read command retrieves Bits 100 to 199 all at
once instead of one bit at a time.
Description: A reference name that you assign to the Event Display. (not displayed)
Read Address: Used to control the scrolling, up and down, of the Event display window. The
value in the read address is the relative distance from the event in the topmost line of the display.
All active messages are sorted by time, the new events are displayed on the topmost line and
previous ones are below it If the value is N, the No. N information will be displayed in the first
line.
No. of words: The Read address and write address are fixed at 1 for this part.
Write Address: A word that receives the write value specified in the Event Log’s trigger event.
Note: Be sure to allow sufficient character length to accommodate all information. If the Format
information and message text exceeds the Character length, the message is truncated.
Now come to do an example about the fact that the incident shows.
1. Project on it establish at first each it is new, in [editor ] /[system parameter ] in choose by correct
PLC type and parameter.
2. In [incident log-in ] in add 2 piece incident, show picture:
The first incident among them [the exporting value] is 20, the second incident [the exporting
value ] is 21.
3. Adding an indirect window in window 10 of project of establishing newly, its [reads address ] is
LW5.
4. Add an incident to show the component in window 10, u.i.:
Event display object transfers one shape at bottom, in order to strengthen the result of showing.
5. Add a switch state that Set Bit object switch controls LB10.
6. Add a text object, show the content in order to " raise the temperature ".
7. Adding one Set word object, it is set up as follows:
9. Creat window 21, the following picture shows, there are a text object and one Set word object.
10. [save ], [compile ],[on(off)- line imitate ] or can't download, this procedure operation result is
like the Fig.:
When touch off LB10 or LW30 to the corresponding condition, will present corresponding Event
information . In China's log-in the outputs of 2 incidents are worth 20, 21 is the window serial
number of event window that will spring when the incident is touched off.
4. Click on the OK button to create the object and exit the dialog.
Types of Controls
Change Window
This operation uses two addresses. The Read address holds the active window number. If the
value stored in the Read address changes to a valid window number, that window number then
replaces the currently displayed window. The new window number is moved into the Read
Address + 1 register.
Read address Controls screen changes by number
Read address+1 Destination screen number is written
As the example above, the current window is 10. If LW0 is assigned to 20, the current window
will change to window 20 and value 20 then be returned LW1.
Screen hardcopy
The function use a Read address to control the printout of current screen. If the bit is triggered
from OFF to ON, the current screen is printed out. Set the valid printer type from [System
parameters]/[General]/[Screen hardcopy]. Please refer to the context of [Screen hardcopy] on
Ch.11
Report printout
Prints the screen number designated by the Read address. After the screen is printed, the Read
address is set to 0.Please refer to the context of [Report printout] on Ch.11
As the example above, when the LB3 turns to ON, backlight is off and LB3 is given the order of
OFF. When the user touches the screen, the backlight turns to ON but LB3 is still OFF.
Notice: When switch over the basic window, the touch-sensitive screen will convey the present
basic window serial number to the designated word address automatically.
uch as pursueing, when one PLC set up as above controls object , will preserve the serial number
of present base window in word address LW0.
1. Establish the address of reading: He expresses the type of data transmission carried out, as
stated, have four kinds in all, used for storing and controlling the code of the type in this register,
when the register is written into the new control code, the system carries out corresponding
transmission promptly, this register will be restored to the throne is 0 soon after transmit and
finish.
2. Establish and read address +1: It shows the size of one of the data transmitted, namely the
number of words of one of data transmitted.
3. Establish and read address +2: It shows what needs paying attention to in skew amount of the
data register address of PLC in the transmission course is that this skew amount is to in the
register " establishing and reading address +4 " And the the speech one, for example regard
OMRON PLC as for example fruit PLC controls the address of reading established
interchangeably in the component as DM100, and the start address of one of data of PLC
operated while the data in register DM102 are transmitted for 4 is DM108 =[( 100+4+4].
4. Establish and read address +3: It expresses the prescription data register of the touch-sensitive
screen in the transmission course (RW), or local address skew amount of data register (LW) skew
amount for example above if data of DM103 100 in giving an example, data of touch-sensitive
screen of transmission course start address of piece RW (LW ) 100 then =( 0+100).
As a same reason, the transmission of two kinds of other directions is operated the samly, just
touch and reject the square data memory to turn into local data register LW.
6.27 System Message
Customize system messages for different languages.
When the display cannot access the PLC,"PLC no response"is displayed.
When the reply message from PLC is different than expected,"PLC response error"is displayed.
When the system runs out of memory or some other fatal error occurs,"System severe error"is
displayed.
User must pay attention to one point: When MT500 meets and switches over the basic window
order, it will neglect in the component of this component ground floor and switch over to the goal
window directly. The following picture, if Y2, in order to switch over the basic window function
key, then the following Y5 of Y3 will be neglected.
First layer Y0 Carry out the order of Y0 at first
The second layer Y1 Carry out the order of Y1
The third layer Y2 Change Base Window
4th layer Y3
5th layer Y4
6th layer Y5
Proposing object that is superposed, the figure don't be over 32.