Example: Setting up local messages
This example shows how to use local messages to notify the operator about the status of a hoist.
- Create an analog tag called Hoist_Status.This tag points to an address in a programmable controller that is linked to a sensor on the hoist.When the hoist isThe tag's value isAt bottom1Raising2Stopped between the top and bottom3Lowering4At top5
- In the Local Messages editor, create the following messages with five trigger values, to match the values of the Hoist_Status tag:Trigger valueMessage1The hoist is ready to rise.2The hoist is raising the pallet.3The hoist has stopped.4The hoist is lowering the pallet.5The hoist is finished rising.
- Save the message file with the name Hoist status.
- In the Graphics editor, create a local message display object.
- In the object's Properties dialog box, click theGeneraltab, and then select the Hoist status message file.
- Click theConnectionstab, and then type Hoist_Status in theTag/Expressioncolumn.
At runtime, when the operator views the graphic display containing the local message display object, the status of the hoist is shown.
Provide Feedback