• No results found

A Bitmap Button is a touch object that combines functions of a button, a Dynamic Bitmap, and an Indicator Light. It allows you to perform a WRITE operation to one bit and a READ operation from a second discrete location. The state of that READ location deter- mines whether the button is displayed in the ON or OFF mode. You may choose to make the READ and WRITE location the same.

To put a Label on the Bitmap Button, perform the following steps:

1. Click on the box in front of Label Text if you want a label for your object.

2. Use the UP/DOWN arrows after the Language box to select a language number. (See Language section, page 180.)

3. Select Character Size from the available choices.

4. Enter Label Text up to 40 characters.

5. Select the Position of the label, whether you want it to

appear at the Top or the Bottom of the object frame. 6. Select the Text and Background Color. Click on the

down arrow to view the color palette.

Enter a Tag Names:

1. Enter a Tag Name or click on the down arrow and select

the Tag Name that you want the Button (tag) and the Indicator (tag) to correspond to.

NOTE: To edit the Address String, with your cursor in the Tag Name fi eld, click on the right mouse button. The EDIT TAG DETAILS screen will appear.

Objects

2. If the Tag Name is new, the Add New Tag Details dialog box will appear where you will enter tag details. The Tag

Name will appear in the fi rst fi eld. Enter an Address String appropriate for your type PLC. Click on the OK

button.

3. Select from the Actuator Type. Actuator Type determines

how the tag will be controlled. If you have assigned

Password Protection for this object and select Mo- mentary On or Momentary Off, the protection feature will not be enabled.

Momentary On will turn the tag on for as long

as you touch the button. (Password Protection is disabled.)

Momentary Off will turn the tag off for as long

as you touch the button. (Password Protection is disabled.)

Set On will latch the tag ON.

Set Off will latch the tag OFF.

Toggle will change the state of the tag every time

the button is pressed.

4. Select Background color for Bitmaps. Click on the down

arrow to view the color palette. Select the color for the background of the Bitmap Button.

5. Select whether or not you want to Display Frame (selected by default) around the bitmap and whether or not you want the Background to be Transparent.

To create On Bitmap and Off Bitmap:

1. Under On Bitmap or Off Bitmap (the On Bitmap is the one that is triggered to display when the bit is ON, the Off Bitmap is triggered to display when the bit is OFF) . 2. Select the Alignment parameters for the bitmap. If you

want the bitmap to stretch when the object is sized on the screen, make sure that the box in front of Allow Stretch-

ing is checked and then select Stretch to Fit or Maintain Aspect Ratio. Select the Justifi cation for the bitmap N O T E : I f y o u s e l e c t

M o m e n t a r y O N o r Momentary OFF, the PLC must set bit to proper state on powerup. This must be done when programming PLC Logic.

125

Objects

Editor Programming Software User Manual

within the object.

3. You have three choices for bringing a bitmap into the object, they are:

a. Click on the Import Bitmap button and a window will appear allowing you to navigate to the directory/folder where the bitmap fi le resides. Click on it to highlight and click on the Open button. The Size of the Bitmap will be displayed. If the Bitmap is too large, you will be asked if you want to resize the image to fi t the screen (see message to the left).

b. You may also click on Symbol Factory® to gain ac- cess to a library of over 4,000 symbols for industrial automation, including pumps, pipes, valves, tanks, mixers, motors, ducts, electrical symbols, fl ow meters, material handling, sensors, PLCs, transmitters, and ISA symbols. Once in Symbol Factory, navigate to the symbol you want to import, click on Copy and the symbol is automatically imported into the object.

c. The third option is to click on Copy from Clipboard. This will copy a bitmap you have saved to the clipboard onto the current screen. You can copy a bitmap saved or created in another program onto the system clipboard, and then import it into the current screen.

Visibility/Details (See Button Object.) Simulate Press

Press the Simulate Press button to see how the Bitmap Button will be displayed on the screen when pressed.

OK/Cancel/Help Buttons

• Click on OK button to save your selections, exit the

dialog box, and place the object on the screen. • Click on Cancel button to exit the dialog box without

saving your selections.

• Click on Help button to go to the Help Topic for that

dialog box.

Place Bitmap Button on the screen and size it.

• To size the button, select it, grab a handle and drag to the size you want.

• To move the button object, select it, click and hold left mouse button, and drag to where you want it to appear on the screen.

Objects