IDEC WindMSG User Manual

Page 11

Advertising
background image

8.

Subtract Tag B from Tag A:*
Tag B is subtracted from tag A using this task. The result will
be stored in tag A.

9.

Turn Bit On:
Any coil or bit can be turned on using this task. The bit/coil
should be a read-write coil.

10. Turn Bit Off:

Any coil or bit can be turned off using this task. The bit/coil
should be a read-write coil.

11. Toggle Bit:

Any bit can be toggled using this task. The bit / coil will be
toggled each time the key is pressed.

12. Copy Tag B to Tag A:*

Tag B can be copied to tag A using this task. The value of tag
B will be unchanged. Tag A will be same as tag B.

13. Swap Tag B to Tag A:*

Tag A and Tag B values can be swapped using this task.

14. Print Data:

Text data on the particular screen will be printed.

15. Copy Tag to STR:

Any specified task will be copied to STR. This STR decides the
screen to be displayed.

16. Copy Tag to LED:

LEDs of the HG1X can be used to reflect the value of a tag. The
tag should be copied to LED register for such functionality.

1. Goto Screen:

Current Screen is replaced by the defined screen. This
command does not work when a PLC register is used as STR.
More information given in Application Task-List Section.

2. Goto Next Screen:

This task is useful when two screens are in succession.
Screen is changed to display the next screen.

If two screens

are not successive, there is a gap between two screens then
‘Screen not defined’ message will be displayed. This
message will stay on the screen till a valid screen is called.
This task does not work when a PLC tag is used as a STR.

3. Goto Previous Screen:

This task is useful when two screens are in succession.
Screen is changed to display the previous screen.

If two

screens are not successive, there is a gap between two
screens then ‘Screen not defined’ message will be displayed.
This message will stay on the screen till a valid screen is
called. This task does not work when a PLC tag is used as a
STR.

4. Write Value to a Tag:

A constant value can be downloaded to a tag using this task,
provided the tag is not a read-only tag.

5. Add a Constant Value to Tag:

A constant can be added to the current value of a tag using
this task.

6. Subtract a Constant Value from Tag:

This task is used to subtract a constant value from the current
value of a tag.

7. Add Tag B to Tag A:*

Tag B can be added to tag A using this task. The result will be
stored in tag A.

4.2

Keys

Keys are needed whenever the operator has to modify some PLC
data, acknowledge an alarm or take a control action. HG1X keypad
has the ability to perform the above mentioned as well as many more
tasks. User can define the task to be performed by each key.
Key Tasks are divided into following types depending upon the type
of key closure:

- Key Press Tasks

These tasks are performed at the instance of key closure.

- Key Pressed Tasks

These tasks are performed while a key is pressed and held
down.

- Key Release Tasks

These tasks are performed when a key is released.

Types of Tasks:

1.

Goto Screen

2.

Goto Next Screen

3.

Goto Previous Screen

4.

Write Value to a Tag

5.

Add a Constant Value to Tag

6.

Subtract a Constant Value from Tag

7.

Add Tag B to Tag A

8.

Subtract Tag B from Tag A

9.

Turn Bit On

10. Turn Bit Off
11. Toggle Bit
12. Copy Tag B to Tag A
13. Swap Tag A and Tag B
14. Print Data
15. Copy Tag to STR
16. Copy Tag to LED
17. Delay
18. Wait till
19. Key Specific Tasks

17. Delay:

An unconditional delay can be added to the task list. All the tasks
after this task are delayed by the specified time.

18. Wait till:

All the tasks after this task are not performed till the condition
specified by this task does not become true.

19. Keys Specific Tasks:

Apart from the above mentioned tasks each key can be
assigned a task which can be common to all the tags.
Types of key specific tasks:
1.

Clear Data Entry
Clears Data after data entry is initiated.

2.

Cancel Data Entry
Cancels the data entered and restores previous data.

3.

Accept Data Entry
Initiates data entry and accepts data entered.

4.

Switch to next Data Entry
Next data entry is selected.

5.

Increase Value by 1
Value of a tag is increased by 1.

6.

Decrease Value by 1
Value of a tag is decreased by 1.

7.

Increase Digit by 1
Value of a single digit of a tag is increased by 1.

8.

Decrease Digit by 1
Value of a single digit of a tag is decreased by 1.

9.

Shift Value to Left
Value is shifted to left.

10. Move Cursor to Left

Cursor is moved to left to edit next digit.

11. Move Cursor to Right

Cursor is moved to right to edit next digit.

Advertising