beautypg.com

Wait while, Write value to tag, Executing a task – Maple Systems MAPware-7000 User Manual

Page 213

background image

MAPware-7000 Programming Manual

213

1010-1040, Rev. 02

Wait While
Description: Any tasks in the list that are after this task do not execute until this condition is
true.

Parameters:

Tag: Register that is continuously monitored to see if the condition is met

Operation: the operation performed to determine if the condition is met. Options are:

o Equal to (==)
o Not Equal to (!=)
o Less than (<)
o Less than or equal to (<=)
o Greater than (>)
o Greater than or equal to (>=)

Operand Type: option compares the value in the target tag address with another
address (Operand) or a constant value.

o Tag – select another tag address for the operand
o Number – use a constant value when comparing to Tag address

Operand: this is the Operand Tag address or the constant value

o Type: if Number is selected for Operand Type, select what format type is used.

Options are Unsigned, Signed, Hexadecimal, BCD, or Float (for 32-bit registers)

Write Value to Tag
Description: Write a constant value to an internal tag or PLC tag.

Parameters:

Tag: this is the target address

Number: constant value placed into the target tag when the task executes.

Type: format (Unsigned, Signed, Hexadecimal, BCD, Binary, or Float) of data

Enable Control: Allows tags to control this task. Note: this option is only available if
configuring a global task or a “while showing” screen task Only PLC tags are used.

o Enable: if ON, allows task to be executed
o Done: HMC7000 sets this coil after completion of task
o Error: HMC7000 sets this coil if error performing task

Executing a Task
Tasks activated from the following sources in MAPware-7000:

Quick Button keys- all of the quick button keys (i.e. Go to Screen, Set Bit, Write Value to
Tag, etc.) are, in fact, designed to implement a simple task. For example, the Go to
Screen button key, when pressed, executes the Go to Screen task.

Touchscreen button keys- in addition to the quick button keys, there are two ‘specially
designed’ advanced button keys that can perform multiple tasks: the Multi-Task Single-

State button

and the Multi-Task Multi-State button

. Note: see Chapter 5 Data

Objects for more information on these buttons.