Professional Documents
Culture Documents
Software
PLUS+1 GUIDE
User Manual
158.2 mm
6.23
144.5 mm
5.69
2x 25.2 mm
142.0 mm [1.0]
[5.59]
97.0 mm
[3.82]
2x ∅7.0
[.28]
MOUNTING
DIRECTION
#2
LED INDICATOR
PIN #1 LIGHTS
INDICATED
51.6 mm
[2.03]
1 6 1 6
12 7 12 7
47.1 mm
[1.85]
Organization To help you quickly find information in this manual, the material is divided into sections,
and Headings topics, subtopics, and details, with descriptive headings set in red type. Section titles
appear at the top of every page in large red type. Topic headings appear in the left-hand
column in bold red type. Subtopic headings appear above the body text in bold red
type and detail headings in italic red type.
References (example: See Topic xyz, page XX) are also formatted in red italic type. In
Portable Document Format (PDF) files, these references are hyperlinks that jump to the
corresponding document pages.
Tables, Illustrations, and Tables, illustrations, and graphics in this manual are identified by titles set in blue italic
Complementary type above each item. Complementary information such as notes, captions, and drawing
Information annotations are also set in blue type.
Special Text Formatting Controls and indicators are set in bold black type.
Black italic type is used in the text to emphasize important information, or to set off words
and terms that are used in an unconventional manner or alternative context.
Table of Contents In the PDF version of this document, the table of contents and index entries are
and Index hyperlinked.
Revision history
Revision Date Comment
Components ...................................................................................................................................................75
Context-Sensitive Help for Components ......................................................................................76
About Component Descriptions......................................................................................................77
Mathematical..........................................................................................................................................79
Arithmetic ........................................................................................................................................80
Absolute Value ...............................................................................................................................92
Scale...................................................................................................................................................94
Trigonometric................................................................................................................................. 98
Square Root...................................................................................................................................105
Limit .........................................................................................................................................................106
Max/Min .........................................................................................................................................107
Compare.................................................................................................................................................116
Compare.........................................................................................................................................117
Compare with Hysteresis..........................................................................................................123
Compare in Window ..................................................................................................................129
Constant .................................................................................................................................................131
True/False ......................................................................................................................................132
Digit Autotype..............................................................................................................................134
Typed...............................................................................................................................................137
Logical.....................................................................................................................................................142
AND2–AND5 .................................................................................................................................143
OR2–OR8........................................................................................................................................144
NOT ..................................................................................................................................................145
XOR ..................................................................................................................................................146
Bitwise.............................................................................................................................................147
Shift..................................................................................................................................................150
Position...........................................................................................................................................152
Set/Reset Latch ............................................................................................................................155
Data Flip-Flop ...............................................................................................................................157
Switch, Counter, Memory.................................................................................................................159
Switch Boolean Controlled ......................................................................................................160
Switch..............................................................................................................................................163
Counter...........................................................................................................................................168
Value Connect ..............................................................................................................................175
Memory ..........................................................................................................................................179
Array ........................................................................................................................................................183
Get Array Element.......................................................................................................................184
Set Array Element........................................................................................................................186
Length of Array ............................................................................................................................188
Delete Array Elements ...............................................................................................................189
Insert Array Elements.................................................................................................................191
Copy of Array ................................................................................................................................193
Find Array.......................................................................................................................................194
Array Constant from File...........................................................................................................195
Data Conversion ..................................................................................................................................197
Decode/Encode ...........................................................................................................................198
Split ..................................................................................................................................................204
Combine.........................................................................................................................................205
Swap ................................................................................................................................................206
Retype .............................................................................................................................................207
Transition, Time ...................................................................................................................................208
Transition .......................................................................................................................................209
Delay................................................................................................................................................212
Oscillator ........................................................................................................................................217
Pulse ................................................................................................................................................219
Example—Pulse...........................................................................................................................220
Screen Editor.................................................................................................................................................317
About the Screen Editor....................................................................................................................318
Screen Editor Elements .....................................................................................................................319
Define Areas Page ...............................................................................................................................321
Define Areas Page/Inspector Tab ..........................................................................................323
Define Screen Page.............................................................................................................................330
Define Screen Page/Add Library Items................................................................................332
Define Screen Page/Inspector Tab........................................................................................333
Define Screen Page/Image Register .....................................................................................339
Define Screen Page/Text Register .........................................................................................342
PLUS+1—How To........................................................................................................................................345
Select .......................................................................................................................................................346
Undo Your Mistakes ...........................................................................................................................346
Zoom with the Mouse .......................................................................................................................347
Zoom with Keystrokes.......................................................................................................................347
Delete a Single Item ...........................................................................................................................348
Delete Many Items ..............................................................................................................................349
Delete a Signal-to-Bus Connection ...............................................................................................350
Refresh a View ......................................................................................................................................351
View a Full Page...................................................................................................................................351
Pan a View by Right-Clicking and Dragging ..............................................................................352
Pan a View by Right-Clicking...........................................................................................................352
Navigate an Application with Buttons .........................................................................................353
Navigate an Application with the Page Navigator tab...........................................................353
Show and Hide Panes ........................................................................................................................354
Install a Hardware Description........................................................................................................355
Change Properties with the Inspector Tab.................................................................................357
Change Properties with the Pop-up Edit Window...................................................................358
Create a Page........................................................................................................................................359
Page Creation Overview ...........................................................................................................360
Page Creation Procedure..........................................................................................................361
Page Interface Editor View—Toolbar...................................................................................363
Create a Read-only Parameters File ..............................................................................................373
About the CSV Template File Format ...................................................................................382
This chapter explains the importance of designing and testing applications developed
with the PLUS+1™ GUIDE™ program to reduce the risk of personal injury and equipment
damage.
Under normal operating conditions, using this type of machinery always involves the risk
of personal injury and equipment damage. Abnormal operating conditions greatly
increase the risk of personal injury and equipment damage.
The PLUS+1 GUIDE program has no automatic protections against these risks. The tool
also has no protection against the risks that result from bugs in the tool software, errors in
the tool manual, or incompatibilities between software versions of the tool.
You must design and test your application to reduce these risks.
Design
You have the responsibility when you design a PLUS+1 GUIDE application to include the
fault checking and the error handling needed to reduce risks in normal and abnormal
operating conditions.
The following are some items to consider when developing fault checking and error
handling for your application:
• Input and output failures and their consequences. These failures can include:
Test
You have the responsibility once you have created an application to test the application.
You should download your application to hardware and test its operation under both
normal and abnormal operating conditions. You should make sure that:
This chapter contains two basic lessons to help you learn about the PLUS+1 GUIDE
program and the PLUS+1 Service Tool program.
• How to use the PLUS+1 Service Tool program to download an application to an MC24-
10 Series Controller.
Getting ready • To complete Lesson 1, you need a fully functional version of the PLUS+1 GUIDE
program installed on your PC. (This is a self-contained lesson; you do not have to go
on to Lesson 2.)
Left-click and drag the mouse Right-click and the drag mouse
/ Press the Enter key on your Keyboard 4 Press the F4 key on your keyboard
l Press the L key on your Keyboard e Press the E key on your keyboard
The figures in these lessons use symbols that indicate mouse and keyboard actions. The
preceding figure explains these symbols.
Mouse or keyboard You can do most PLUS+1 tasks using either a mouse or a keyboard. To keep things simple,
these lessons typically show only one way to do a task.
More information For more information about some of the basic procedures described here see PLUS+1—
How To on page 345.
T The screen captures shown in this chapter may be slightly different from the
appearances of screens in your version of the PLUS+1 program.
On: 0.4 s
Off: 0.6 s
In this lesson, you create and compile an application that, when downloaded, blinks the
green LED on a MC024-10 controller on for 0.4 s and off for 0.6 s.
1. Start the PLUS+1 GUIDE program and create a new PLUS+1 project folder.
B. In the toolbar of the PLUS+1 GUIDE window, click the New Project button to
display the Create New Project window.
C. In the Create New Project window, name your project Blink LED.
E. Use the Browse for Folder window to create a project destination folder named
Blink LED.
Each PLUS+1 project requires its own project folder.
B E
2. Get the PLUS+1 GUIDE window ready to select the hardware files and the application
template needed to create an application for the MC24-010 Controller.
A. In the View menu, click Default Layout to display the Manager, Selector, and
Compiler panes.
3. Click and drag the MC24-10 Hardware Description and Template from the Hardware
tab to the Project Manager tab.
A. In the Hardware tab, fully expand the Programmable Hardware file tree to view
all the Controllers in this tree.
B. Click and drag the Hardware Description for the MC24-10 Controller from the
Hardware tab to the Project Manager tab.
C. Click and drag the Template for the MC 24-10 Controller from the Hardware tab
to the Project tab.
The Drawing Area now displays a template for creating an application for an
MC24-10 Controllers. This template has predefined inputs, outputs, and memory
locations that match hardware on the MC24-10 Controller. (Different releases of
this template look slightly different.)
C
A
D
E
E
F
G
...
B
4. Enter the Application page of the template. Select the components needed to
construct an oscillator.
– True
G. Drag these two Transition and Time components into the Application page:
– Oscillator
– Time Base
B connect
Connection made
C
90º
Step BDetail
connect
D
Connections made
Step CDetail
5. Wire the components that you have placed in the Application page together.
A small asterisk-like shape (*) appears at each end of the wire to indicate a
successful connection between the two components.
D. Wire the other components to match the connections shown in this picture.
(Straight wires are not necessary in this lesson.)
T The next step uses the pop-up Edit Value window, which the PLUS+1 Program
enables by default. Use the Options window to enable and disable the pop-up Edit
Value window.
The path to the Options window is Setup menu > Options > Options window >
General > check Pop-up Editor window for components.
A
A
B
D /
6. Use the Edit Value window to apply values to the 3 Digit Auto-type and Time Base
constants.
B. Click the ? in the topmost constant to display the Edit Value window.
On
Output
T
Off
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400 2600 3000
Time (ms)
The values that you enter in this step produce the oscillator output shown in the
preceding figure.
• The T100M value applied to the Unit input on the Oscillator sets a 100 ms time base.
• The 4 value applied to the T (Time) input on the Oscillator sets an on time of 400 ms
(4 x 100 ms time base = 400 ms).
• The 10 value applied to the P (Period) input on the Oscillator sets a period of 1000 ms
(10 x 100 ms time base = 1000 ms).
Outputs bus
A
B C
D
45º
Just before the wire reaches the Outputs bus, click to angle the wire into the
Outputs bus at a 45º angle.
Connecting a wire to a bus at a 45º angle keeps the wire from hiding the wire
name.
The Select/Define Member Name window displays when you make the
connection at the Outputs bus.
C. In the Select/Define Member Name window, name the Oscillator output signal
Green_LED.
B
C
Outputs page
OS page
The OS page is a sub-page nested within the OUTPUTS page. About PLUS+1 GUIDE
Application Templates on page 34 shows a typical template page structure).
A signal applied to the operating system output of the controller flashes the LED.
A. In the toolbar, click the Leave Page button to leave the APPLICATION page and
return to the Top Level page.
B. In the toolbar, click the Enter page button.
OS page
You can also use the Page Navigator tab to go directly to the OS page.
B D
* = Will be deleted
- = Will not be deleted
E 4
This True keeps the green LED on the controller constantly on.
A. In the toolbar, click the Delete button.
B. Click and drag to select the True component. Releasing the mouse displays the
Select Item Class window.
C. In the Select Item Class window, click Toggle ON<->OFF and put:
45º
The OUTPUTS bus carries the Green_LED signal. The Oscillator on the APPLICATION
page puts this signal on the bus.
A. In the toolbar, click the Route Wire/Bus button.
– Click the X on the wire end and pull this wire toward the OUTPUTS bus.
– Click to angle the wire into the OUTPUTS bus at a 45º angle.
– Click the OUTPUTS bus. This displays the Select/Define Member Name
window that lists all signals carried by this bus.
Compiler messages
11. Compile the application into an LHX format file that you can download.
A. In the toolbar, click the Compile All button to start the compile process.
The Compile pane at the bottom of the PLUS+1 GUIDE window opens to display
the Build Messages tab. This tab displays compiler progress messages.
The Compile Progress window displays during the compile process and indicates
success or failure of the compile process.
B. In the Compressed Format window, click OK to compress the project files into a
PLUS+1 Packed (PIP) format file.
CAN
CG150 Communicator
Pin 5 Connector 2
Pin 9
Pin 1 Pin 6
Pin 12 Pin 1
DetailsMC024-10 Connector 1
The following procedure uses a CG150 CAN/USB Gateway Interface Communicator and a
PLUS+1 MC024-10 Controller.
• The USB connector on the CG150 connects to the USB port on your PC.
• Use the following table as a guide when making the remaining connections on the
CG150 Communicator and MC-024-10 Controller.
CG150 Communicator/MC024-10 Controller connections
Function CG150 Communicator 9 Pin Connector MC024-10 Controller Connector 1
1. Set up and connect the hardware needed to download the application to the
controller.
Successful connection
Connection error
A. In the PLUS+1 GUIDE window toolbar, click the PLUS+1 Service Tool button.
You can also start this program through the Start menu on your PC.
B. In the Communications menu, check that the Settings command selects the
CG150 Communicator.
C
B
A. In the Service Tool window toolbar, click the File Download button.
(In a project that uses more than one controller, you will have more than one
choice.)
D. In the Open Application File for Download window, browse to and click the
Blink LED.lhx file.
E. In the Open Application File for Download window, click Open to load the Blink
LED .lhx file for downloading.
Status
In the File Download tab, click the Start Download button to begin the download.
On: 0.4 s
Off: 0.6 s
Once downloaded, the application starts flashing the green LED on the controller.
5. Exit the PLUS+1 Service Tool program and the PLUS+1 GUIDE program.
A. In the PLUS+1 Service Tool window’s File menu, click Exit to exit the PLUS+1
Service Tool program.
This chapter describes the major elements in the PLUS+1 GUIDE window.
Drawing Area
Inspector
Preview
Compiler
Messages
This window displays when you start the PLUS+1 GUIDE program. Use this window to
create applications that you can download to PLUS+1 hardware.
Menus Use the menu bar to access PLUS+1 GUIDE commands and information.
Toolbar Use the toolbar to access common PLUS+1 GUIDE commands and information.
Selector This pane has a Hardware tab, a Component tab with a Preview pane, and a Function tab.
Hardware tab—Shows a tree view of Hardware Descriptions for each PLUS+1 hardware device. These Hardware
Descriptions link to the resources needed by the PLUS+1 GUIDE program to create and compile applications for specific
PLUS+1 hardware models.
Component tab—Shows a tree view of components that you can drag into the Drawing Area when creating your
application.
Preview pane—Displays a preview of the selected component.
Function—Shows a tree view of functions that you can drag into the Drawing Area when building your application
module.
Manager This pane has a Project Manager tab and a Page Navigator tab.
Project Manager tab—Shows a tree view of the Hardware Description dragged over from the Hardware tab. You must
install a Hardware Description before you can create an application for a PLUS+1 hardware model.
Page Navigator tab—Shows a tree view of all the pages within an application module. Click to display a selected page in
the Drawing Area.
Inspector Use this tab to view and change the properties of items that you select with the Query/Change command.
Compiler Messages This pane contains a Build Messages tab, an Error Messages tab, and a Compiler Messages tab.
Build Messages tab—Displays messages from the compiler as it compiles your application into a downloadable LHX
format file.
Error Messages tab—Displays details about errors in the compile process.
Compiler Messages tab—Displays messages sent to the compiler log file.
Command selection
Compiler panel:
Crosshair position
View compiler messages
Inspector panel:
View and change values
• The Selector pane (on the right of this window) has Hardware, Component, and
Function tabs.
− Use the Hardware tab to select the files needed to create and compile an
application for different models of PLUS+1 hardware.
− Use the Component tab to select the basic components used within in your
application, such as AND gates.
− Use the Function tab to select the advanced functions used within your
application, such as a Soft Ramp.
• The Manager pane (on the left of this window) has Project Manager and Page
Navigator tabs.
− The Project Manager tab displays the files dragged from the Hardware tab.
− The Page Navigator navigates you through the pages in the application.
• The Compiler pane (at the bottom of this window) displays compiler messages.
A thin blue line (—) indicates the boundary of the page that you are currently viewing.
A thick light blue line ( ) indicates the border of any pages nested within the page that you
are currently viewing.
You can also create your own pages—see Page Creation Procedure on page 361.
Typically, the top-level page of an application Template for a controller has five pages:
• Unit Config page—Defines the Controller Area Network (CAN) Node and Net.
• Application page—Contains the page where you create the controller application.
• Outputs page—Has sub-pages that define output related functions such as CAN
communication, controller pin outputs, and operating system outputs.
The Select/Define Member Name window displays when you connect a route. Enter your
signal names in this window.
Correct: Incorrect:
Green_LED green_LED
Correct: Incorrect:
Green_LED_1 1_Green_LED
Correct: Incorrect:
Green_LED Green LED
• Signal names are case-sensitive: Green_LED and GREEN_LED are the names of two
different signals.
Menus
Text
Toggle Display Grid Page PLUS+1 Service Tool
Thin Line
Layers Visible Layers Page Interface Editor Optimize Nets
Active Layers Thin Line Path
Display Port Wire View Logical Net
Thick Line
Backup Folder Port Bus View Net Names
Route Wire/Bus Thick Line Path
Backup Interval License Manager
Repeat Connection Small Arc
Install Hardware
Text/Vector Graphics Large Arc
Install Function Library
Circle
Uninstall Hardware Graphics and Text
Drawing Area Pointer Two-point Circle
Uninstall Function Library
Install Font Color Schemes Filled Circle
T Toolbar buttons duplicate commonly used menu commands. See Toolbar on page 43
for more about the toolbar buttons.
Menu
Item Description
Open Recent Displays a list of recently saved projects. Select a project to open from this list.
Save Project Saves the current project files without zipping them into a single PIP format file.
Close Project Closes the current project without exiting the PLUS+1 GUIDE program.
Displays a Project Modified window and a Save in PIP window.
Use the Project Modified window to save or discard any changes that you have made in your project.
Use the Save in PIP window to compress project files into single PIP format file.
Save Drawing Saves the application drawing as an SCS format file, using the module name.
Save Drawing As Displays the Select/Define New Job File Name window.
Use this window to save the application drawing as an SCS format file, under a new name.
Close Drawing Closes the current application drawing without closing the project.
Page Import Page—Displays the Select Job File Name window after you select a page in the Drawing Area.
Use this window to select an SCS format file and import its contents into the selected page.
Export Page—Displays the Select/Define New Job File Name window after you select a page in the Drawing
Area.
This command does not work with Define Areas and Define Screen blocks. Importing blocks into a new
project strips the blocks of their contents.
Use this window to export the contents of the selected page to an SCS format file.
Screen Capture Displays the Select Screen Dump Format window after you select items in the Drawing Area.
Use this window to save the selected items to a BMP or TIFF format file or as a BMP capture to the clipboard.
Menu
Item Description
Edit The commands in this menu change and modify items in the Drawing Area.
Stretch Moves items that you select and stretches segments in routes that you select.
Stretch adds a vertex to a selected route segment. You can move this vertex without changing the positions of
the other vertexes on the route.
Delete Deletes items that you select in the Drawing Area. Selected items turn white.
The Attributes window displays when you select an individual item or identical items. Click OK to delete your
selection.
The Select Item Class window displays when you select several different items. Use this window to select the
items that you want to delete. Asterisks (*) identify items that will be deleted; dashes (-) identify items that will
not be deleted.
Delete All Deletes all items in within a page, including template elements.
Copy/Repeat Copies what you select. Items selected for copying in the Drawing Area turn white. Clicking places copied
items.
This command only works within the currently displayed page. Use the Block and Page commands in the File
menu to copy items to other pages.
Query/Change Use to change the properties of items that you select. White text or red text typically indicates a property that
you can change.
Make your changes using either the Inspector tab or the pop-up Edit Value window to make the change.
Symbol in Place Displays a selected page in the Page Interface Editor. Use this Editor to change the pins, text, and graphic
elements that define the appearance of the selected page.
Remove Highlighting Turns off the highlighting applied to the connected segments.
View The commands in this menu change what you view in the Drawing Area.
Menu
Item Description
Set Center Centers the Drawing Area view on where you click the pointer.
Move View Homes a zoomed-in page to fit entirely within the Drawing Area. A white-bordered rectangle outlines the area
in which the zoom focused.
Click the pointer on the spot where you want to recenter your zoom.
Zoom In—Zooms in, centering the view where you click the pointer.
Out—Zooms out, centering the view where you click the pointer.
Area—Zooms into a rectangular area whose size you define by clicks of the pointer.
Fit Page—Resizes the page (defined by its blue boundary lines) to fit within the Drawing Area.
100 %—Zooms to a view that is midway between the minimum and maximum zoom views.
Manager Toggles the display of a locked Manager pane that has a Project Manager tab and a Page Navigator tab.
Project Manager tab—Displays a tree view of the Hardware Descriptions that you installed to create and
compile an application.
You select Hardware Descriptions in the Hardware tab and drag them to this tab.
Page Navigator Contains a tree view of the pages in your application module. Click a page name in the view to display the
selected page in the Drawing Area.
Compiler Messages Toggles the display of a locked pane that has a Compiler Messages tab, an Error Messages tab, and a Build
Messages tab. These tabs display compiler messages.
Compiler Messages tab—Displays the compiler messages that log to the Screen.tmp file, located in the
project folder.
Error Messages tab—Displays compiler error messages. Errors stop the compile process.
Build Messages tab—Displays messages from the compiler as it compiles your application into a
downloadable file.
Selector Toggles the display of a locked Selector pane that has a Hardware tab, a Component tab containing a
Preview pane, and a Function tab.
Hardware tab—Displays a tree view of Hardware Descriptions for specific PLUS+1 models.
Each Hardware Description links to the resources needed to create and compile a downloadable file for a
specific PLUS+1 hardware model. Drag Hardware Descriptions from here into the Project Manager tab.
Component tab—Displays a tree view of components that you can use to build your application. Drag
components into the Drawing Area.
The Preview pane shows a preview of the selected component.
Function tab—Displays a tree view of the higher-level functions that you can use in your application. Drag
the functions into the Drawing Area.
Menu
Item Description
Toolbars Toggles the display of button sets for the File, Edit, View, Compile, Add, and Help functions.
Compile Changed Compiles only the modules that you changed since the last Compile All.
Use this command to save compile time when you have more than one module.
Error Check Changed Compiles to check for errors only in the modules that you changed since the last Compile All.
Setup The commands in this menu set up the PLUS+1 programming environment.
Toggle Display Grid Turns the Drawing Area grid on and off.
Display Graphics and Text—Displays the Define Drawing Mode Filled Area & Text window.
Use this window to change the on-screen display characteristics of text and lines. Changes apply to all
projects.
The PLUS+1 GUIDE default settings are True Size for all lines and Center Line for text.
Drawing Area Pointer—Displays the Graphics Pointer Setup window.
Use this window to change the pointer display, pointer resolution, and set the x-axis and y-axis zero
references.
Color Schemes—Select the Classic scheme to make the Drawing Area background black. Select the White
scheme to make the Drawing Area background off-white.
Menu
Item Description
Add The commands in this menu add page outlines, buses, ports, text, and other elements to your application.
Page Interface Editor Displays the page interface view of a page that you have entered.
Use the controls in this view to change the pins, text, and graphic elements that define the appearance of the
page.
Port Bus Adds a multi-signal port to where you click in the Drawing Area.
Route Wire/Bus Starts drawing either a green single signal wire or a red multi-signal bus from where you click in the Drawing
Area.
You get a bus when you start routing from a bus source. You get a wire when you start routing from a wire
source.
k toggles the route between a wire and a bus.
9 terminates unconnected routes.
Tools The commands in this menu open tools to service application that you have downloaded, repair errors in your
module, and manage your PLUS+1 GUIDE license.
Menu
Item Description
Optimize Nets Use to repair routes that are broken when you import a block or page.
Use to remove unneeded data from memory to improve tool performance and produce smaller application
files.
View Net Names Displays various windows that show floating entries, interface port mismatches, and net errors.
Click items in these lists to see previews of the pages where these problems are located.
Help The commands in this menu display help for and information about the PLUS+1 GUIDE program.
Help Contents Opens a hyperlinked, online Help version of the user manual.
User Manual Opens a Portable Document Format (PDF) version of the user manual, formatted for printing.
Release Notes Displays Readme Help files for the PLUS+1 GUIDE program.
Toolbar
r s
ito io
n ic
Ed t
ap
h
Sa ve P ect
ce us ec r
/B nn G
ge
Vi
rfaire Co re or
t
ve
O
Sa Pro t
et pea
ew
an
N
e t
pe roj
nt i s
ew
W at ec
Pr jec
M /Ch
I Bu
SC rint
D Re
n ec
e W
oj
ge out epe ort /V
C h
P
e
rt xt
ry
ec
y/
S
tc
o
e
o
ro
a
P
o
ed
ue
ov
op
nd
re
e
Fi
tA
R P
el
j
P R P T
St
le
R
Q
U
s
t
le
Fi
er
et
m
ra
ed
Pa
ng
ea ol
ly
C
ha
o
on
om
ro hec ed
T
C
d-
e
Pa
g
pi
he All
ic
ed
r C han
le
rv
ge
Le
rC k
ck
r M ect
R
En Pag
en Se
Al
C
Zo m I
N
av
In
e
M
te
es or
Se es
Zo e
le
le
av
at
1
ns
om n
sp or
e
an
rP
pi
pi
er
sa
S
ig
o
le
io
om
om
ag
p
U
ro
at
O
ct
ag
g
pt
el
PL
Er
Er
ut
er
or
O
C
H
e
The Screen Editor uses the unavailable (grayed out) buttons shown in the preceding
figure.
T See Menus on page 36 for a complete list of all commands accessed through the menu
bar.
Toolbar
Button Description
Save Project Saves the current project files without zipping them into a single PIP format file.
Toolbar
Button Description
Query/Change Use to change the properties of items that you select. White text or red text typically indicates a property that
you can change.
Make your changes using either the Inspector tab or the pop-up Edit Value window to make the change.
Stretch Moves the items that you select and stretches segments in routes that you select.
Stretch adds a vertex to a selected route segment. You can move this vertex without changing the positions
of the other vertexes on the route.
Copy/Repeat Copies what you have selected in the Drawing Area. Items selected for copying turn white. Clicking places
copied items.
This command only works within the current Drawing Area. Use the Block and Page commands in the File
menu to copy items to other pages.
Delete Deletes the items that you have selected in the Drawing Area. Selected items turn white.
The Attributes window displays when you select an individual item or identical items. Click OK to delete
your selection.
The Select Item Class window displays when you select several different items. Use this window to select the
items that you want to delete.
Asterisks (*) identify items that will be deleted.
Dashes (-) identify items that will not be deleted.
Page Interface Displays the page interface view of a page that you have entered.
Editor Use the tools in this view to change the pins, text, and graphic elements that define the appearance of the
page.
Toolbar
Button Description
Route Wire/Bus Starts routing (drawing) either a green single signal wire or a red multi-signal bus.
You get a red bus when you start routing from a bus. You get a green wire when you start routing from a
single signal source.
k toggles your route between a wire and a bus.
9 terminates unconnected routes.
Manager The Manager, Page Navigator, Inspector, Compiler Messages, and Selector buttons control the display of
locked tabs when you have selected the default layout. To select the default layout, click Default Layout in
the View menu.
This button toggles the display of a locked Manager pane that has a Project Manager tab and a Page
Navigator tab.
Project Manager tab—Displays a tree view of the Hardware Descriptions that you installed to create and
compile a PLUS+1 application.
You select Hardware Descriptions in the Hardware tab and drag them into this tab.
Page Navigator Displays the Page Navigator tab that contains a tree view of the pages in your application. Click a page
name in the tree view to display the selected page in the Drawing Area.
Compiler Messages Toggles the display of a locked pane that has a Compiler Messages tab, an Error Messages tab, and a Build
Messages tab. These tabs display compiler messages.
Compiler Messages tab—Displays the compiler messages that log to the Screen.tmp file, located in the
project folder.
Error Messages tab—Displays compiler error messages. Errors stop the compile process.
Build Messages tab—Displays messages from the compiler as it compiles your application into a
downloadable file.
Toolbar
Button Description
Selector Toggles the display of a locked Selector pane that has a Hardware tab, a Component tab containing a
Preview, and a Function tab.
Hardware tab—Displays a tree view of Hardware Descriptions for specific PLUS+1 models.
Each Hardware Description links to the resources needed to create and compile an application for a specific
PLUS+1 hardware model. Drag Hardware Descriptions from here into the Project Manager tab.
Component tab—Displays a tree view of components that you can use to build your application. Drag
needed components into the Drawing Area.
The Preview pane shows a preview of the selected component.
Function tab—Displays a tree view of the higher-level functions that you can use in your application. Drag
needed functions into the Drawing Area.
Zoom Out Zooms out and center the view where you click.
Compile Changed Compiles only modules that you have changed since the last Compile All.
Use this command to save time when you have more than one module.
Error Check Compiles to check for errors only in the modules that you have changed since the last Compile All.
Changed
Help Displays the complete PLUS+1 GUIDE User Manual in Acrobat Portable Document Format (PDF).
Use this window to set up your printer output and to print out pages from your
application.
Output to Files Identifies the folder containing the plotter output files.
To change this folder, click to display a Select/Define Base File for Plot Files window. Use this window to
create a new folder or to select another folder.
Selecting a Windows Printer as the Current Plotter makes this selection unavailable.
Plotter Selection (unlabeled) Shows the plotter or Windows printer that you choose in the Select Current Printer window.
In the preceding figure, an HP LaserJet 8000 prints the selected Output Pages.
Plotter Setup Displays a Plotter Setup window when the Current Plotter output is sent to a plotter output file.
Use this window to set print margins and x-axis and y-axis origin points.
Displays a Print window when the Current Plotter output is sent to a Windows Printer.
Use this window to select a Windows printer and to set printer preferences.
Tools Selection (unlabeled) Identifies the pen set that you selected in the Define New Pen Set window.
Output Pages Lists the pages that can be selected for output.
Place When checked, displays a Define Transformation window for a page that you have selected in Output Pages.
Use this window to define the Offset, Scale, Rotation, and other properties of the selected page.
View Sheet When checked, displays a View Sheet window for a page that you select in the Output Pages.
Use this window to preview how the selected page fits on the output sheet.
View Tools When checked, displays a Defined Tools window for a page that you select in the Output Pages.
Use this window to review the output settings for the selected page.
Plot Page Immediately outputs a page that you select in the Output Pages.
Edit Sort Number When checked, displays a Define Sort Number window for a page that you select in the Output Pages.
Use this window to change the order of Output Pages.
Save Log File Creates a log file that contains the output settings for each page that you select in the Output Pages.
Plot Batch & Quit Outputs all selected Output Pages and closes the Plotter Output Setup window.
Asterisks (*) identify pages that output.
Dashes (-) identify pages do not output.
Save & Quit Saves any changes made in the Plotter Output Setup window and then closes this window.
Options Window
Toolbar > or Setup menu > Options > Options window
Click
• Preview Settings (see page 51) enable the Preview panes in the Component tab
and in other tabs.
• Grid Settings (see page 52) define the grid settings displayed in the Screen Editor.
General settings
Item Description
Pop-up Editor window for Check to enable the pop-up Edit Value window that displays when you click components with the
components Query/Change tool.
Component tab hides When checked, the Component tab hides the components that cannot be used with the selected hardware.
unavailable components
Component tab displays auto When checked, clicking an unexpanded branch in the Component tab displays a pop-up menu that shows all
pop-ups the items within the branch.
Hardware tab displays auto When checked, clicking an unexpanded branch in the Hardware tab displays a pop-up menu that shows all the
pop-ups items within the branch.
Hardware tab hides empty When checked, the Hardware tab hides empty folders in its hardware tree.
folders
My Blocks tab displays auto When checked, clicking an unexpanded branch in the Hardware tab displays a pop-up menu that shows all the
pop-ups items within the branch.
Log keystrokes and mouse Check to create a _Plus1GUIDE.log. This file, located in the project folder, logs mouse actions and keystrokes
actions and can be useful when diagnosing PLUS+1 GUIDE application problems.
General settings
Item Description
Auto pop-up delay (ms) Sets the delay before a tab displays a pop-up menu for the branch you click.
Range: 10–5000 ms
Click
These settings enable the Preview panes in the Component tab and in other tabs.
Preview settings
Item Description
Screen Library tab in Screen Check to enable the Preview in the Screen Library tab.
Editor The Preview panel previews the item that you click in this tab.
Click
Grid Settings define the two grids used in the Screen Editor:
• Layout pane grid—This grid fills the entire Layout pane. You use this grid in the
Define Areas page when laying out Screen Areas.
• Screen area grid—This grid appears within each Screen Area. You use this grid in the
Define Screen page when laying out Screen Library items.
Grid settings
Item Description
Screen Areas Sets the characteristics of the Screen Area grid that appears within each Screen Area.
You use this grid in the Define Screen page when laying out items from the Screen Library, such as images
and text.
Snap to grid Click to snap the Reference point of items to the grid.
File transparency Click to make all items visible through stacked Screen Areas.
You can use this option when aligning items placed on different Screen Areas.
Color Click to select a color for the lines in the grid from a drop-down list.
Cell width Click to set the horizontal distance, in pixels, between gridlines.
Cell height Click to set the vertical distance, in pixels, between gridlines.
Grid settings
Item Description
Layout pane Sets the characteristics of the Layout pane grid that appears within each Screen Area.
You use this grid in the Define Areas page when laying out Screen Areas.
Snap to grid Click to snap the upper-left corners of Screen Areas to the grid.
Color Click to select a color for the lines in the grid from a drop-down list.
Cell width Click to set the horizontal distance, in pixels, between gridlines.
Cell height Click to set the vertical distance, in pixels, between gridlines.
Layout panel
Use this window to trace the connections of a selected logical net on a single page or
throughout multiple pages.
Page(s) Lists all the pages in which the selected net appears.
Click a page name in Page(s) list to display the page in Page Preview pane.
Page Preview pane Previews the page selected in the Page(s) list, highlighting the selected logical net.
Click in this pane to close the View Logical Net window and display the previewed page in the Drawing Area.
Change Port Names across Click to display the Define New Name for <n> Ports window (<n> is the total number of ports to be renamed).
Pages The name that you enter in this window replaces all the port names that belong to the selected logical net.
The Define New Name for <n> Ports window renames the ports on every page in which the selected net
appears.
This window does not rename the ports that bring signals into and out of pages.
Change Port Names on this Click to display the Define new Port Name window.
Page The name that you enter in this window replaces just the port names in the logical net that is highlighted in the
Page Preview pane.
The Define new Port Name window only renames ports on the page displayed in the Page Preview pane.
This window does not rename the ports that bring signals into and out of the page.
Hardware Tab
Previous/Next Collapse All
Right-click
Preview
• A Hardware Description has the resources needed by the PLUS+1 GUIDE program to
compile an application for the selected hardware model. You make these resources
available to the PLUS+1 GUIDE program by dragging a Hardware Description from the
Hardware tab to the Project Manager tab.
Hardware tab
Item Description
Hardware Category These folders organize hardware by category, such as Programmable Hardware and IO Modules.
Hardware tab
Item Description
Hardware Type These folders organize hardware by type within hardware categories.
Hardware Description Links to the resources that the PLUS+1 GUIDE program needs to create and compile an application for a
specific PLUS+1 hardware model.
You make these resources available to the program by dragging a Hardware Description from the Hardware
tab into the Project Manager tab.
Right-click a Hardware Description to display a pop-up menu with commands to Install Hardware or Uninstall
Hardware.
Data Sheet Click to view the product specification for the hardware model. This document provides a general description
of the hardware model that typically includes its features, dimensions, power requirements, and pin
assignments.
API Specification Click to view the application interface (API) description for the hardware model.
Refer to this document when configuring hardware inputs and outputs.
Template Overview Click to view a document that provides basic information about using the template.
Search Window
Use this window to search the Hardware tab for specific Hardware Descriptions.
Search window
Item Description
Search in Part numbers—Check to search for part numbers that match your Search entry.
Descriptions—Check to search for descriptions that match your Search entry.
Keywords—Check to search for keywords that match your Search entry.
Application Name
Right-click
Application ID*
Main Module*
This tab lists the Hardware Descriptions that you have installed. These Hardware
Descriptions are specific to PLUS+1 hardware models. A Hardware Description has the
resources needed by the PLUS+1 GUIDE program to create and compile an application for
a specific PLUS+1 hardware model.
To make these Hardware Descriptions available to the PLUS+1 GUIDE program, you must
drag them from the Hardware tab to this tab.
Hardware Description Displays the Hardware Description that installed when you dragged it from the Hardware tab.
Comment
Kernel The operating system used with the hardware. This kernel is part of the Hardware Description and cannot be
changed.
Application ID Replace with a description of the application. The description is optional. Use the Inspector tab to enter the
description.
When you update an application, the old and new descriptions must match before a download can start.
The Hardware tab (shown on the right) contains the hardware-related resources needed
by the PLUS+1 GUIDE program to create and compile an application for PLUS+1 hardware.
− A Template with predefined inputs, outputs, and memory locations that match
the hardware for which you are creating an application.
− A Hardware Description that contains the resources needed by the PLUS+1 GUIDE
program to create and compile an application for a specific PLUS+1 hardware
model. You drag the Hardware Description from the Hardware tab to the Project
Manager tab.
− A Kernel (operating system) needed by the hardware for which you are
programming. The kernel installs along with the Hardware Description.
− A Download file in limited hex (*.lhx) format. After the PLUS+1 GUIDE program
compiles your application, you download this file to your hardware.
You can limit downloads to specific hardware models and hide the application
code.
− An Application Template. This is the starting point for you application. You
installed this Application Template by dragging the Template from the
Hardware tab and dropping it into the Drawing Area.
Navigation arrows
Navigation tab
Item Description
Navigation arrows Click to display previous navigation selections in the Drawing Area.
Navigation pane Displays a tree view of all the pages within your application.
Click a page name in the tree to display the page in the Drawing Area.
Component Tab
This tab displays a tree view of components that you can drag to the Drawing Area for use
in your application.
Component tab
Item Description
Components Lists the components, by type, that you can use in your application.
Drag the component that you need from here into the Drawing Area.
When new components libraries become available, use the Install Library command in the Setup menu to
add them to this tab
Function Tab
This tab displays a tree view of functions that can you drag into the Drawing Area for use
in your application.
• Ackermann steering.
• Frequency-to-speed conversion.
Function tab
Item Description
Function Block manual Click to view the Basic Function Block Library manual.
Functions Lists the functions, by type, that you can use in your application.
Drag the function that you need from here into the Drawing Area.
When new function libraries become available, use the Install Library command in the Setup menu to add
them to this tab.
My Blocks Tab
Right-click
Use this tab to quickly select the blocks and pages that you have created and use
frequently in your projects. These blocks and pages are available for all projects.
A Blocks folder and a Pages folder store the blocks and pages in this tab. The typical path
to these folders is: My Computer\Local Disk (C:)\Program Files\Sauer-Danfoss\PLUS1\
P1ToolData\MyBlocks
My Blocks tab
Item Description
Blocks Lists the blocks that you have exported to the Blocks folder using the File menu’s Block > Export Block command.
Click and drag the block that you want to use into the Drawing Area.
Pages Lists the pages that you have exported to the Pages folder using the File menu’s Page > Export Page command.
Click and drag the page that you want to use into the Drawing Area.
Preview Can provide a preview of the block or page that you click.
To create a Preview pane image and an icon, perform the following procedure:
1. Create a Windows Metafile (*.WMF) image of the block or page. This image displays in
the Preview pane. Keep the image smaller than 150 x 150 pixels.
2. Save the WMF file in the Blocks or the Pages folder using the same name that you
used for the block or page.
3. Create an icon (*.ICO) of the block or page. This icon displays next to the block or page
name in the My Blocks tab’s trees. Keep the icon smaller than 16 x 16 pixels.
4. Save the ICO file in the Blocks or the Pages folder using the same name that you used
for the block or page.
For example, the Memory.WMF and the Memory.ICO files provide the preview and the
icon for the Memory.SCS page.
Inspector Tab
6 Character Constant Logical AND Set/Reset Latch
Coordinates
Component Name
User Property
Version
Errors
Warnings
Use this tab to view and change the properties of the items that you select with the
Query/Change tool.
You can also use the small, pop-up Edit Value window to change values (see Change
Properties with the Pop-up Edit Window on page 358).
The kind of item that you select determines what properties you can change.
Inspector tab
Item Description
Coordinates The x-axis and y-axis coordinates on the page where you placed the item.
The Compiler Messages pane has a Build Messages tab, an Error Messages tab, and a
Compiler Messages tab.
• Find and fix the errors that abort the compile process.
Build Messages tab The compiler displays build messages in this tab as it compiles your application into a downloadable file.
Error Messages tab The compiler displays compile error messages in this tab. Errors stop the compile process.
All errors within an application and most compile process errors produce messages in this tab. If your compile
process aborts, look in this tab first.
A message about an error in an application has lines that describe the type of error and the page and
coordinates where the compiler found the error. Click these lines to display the error source page in the
Drawing Area.
(The page where the compiler found the error and the page that caused the error are not always be the same.
You may have to return to a higher-level page to fix the source of the error.)
The *.err file (* = project name), located in the project folder, logs these error messages.
Compiler Messages tab The compiler displays the messages that it logs to the Screen.tmp file, located in your project folder.
• Data types.
Each data type has a range of values or a specific function.
• Overflow conditions that result from using data types whose range of values is too
small.
Data Types
The following table lists the data types used in the PLUS+1 GUIDE program.
Data types
Data Type Description Range
T Time base
NULL No connection
• Not OK—100 + 200 = 300; an overflow condition because the output is greater than
255.
• OK—100 + 200 = 300; no overflow because the U16 data type can have a maximum
value of 65535.
“Clamped” components, such as Add Clamped and Subtract Clamped handle overflow
conditions by:
• Clamping the output at either maximum or minimum value allowed by the output’s
data type.
• Setting a Boolean output to T during each program loop in which the overflow
condition occurs.
t
Time
Trigger Function Output duration = time unit x time unit multiplier
UNIT
Time unit multiplier: 8
Time unit
t
Time
Trigger Function 8 ms output duration
UNIT
1 ms T1M
10 ms T10M
100 ms T100M
1s T1S
60 s T60S
1h TIH
* Loop time or program loop—the time it takes a change in the input to produce a change in the output.
Resolution
Processing time, output duration, and time units set the resolution (variation) between the
minimum and maximum output duration times.
• Example 1:
With a time unit of 100 ms, a time unit multiplier of 5, and a processing time of 15 ms:
Minimum output duration time = 400 ms
Minimum output duration time = output duration − time unit
Minimum output duration time = (100 ms × 5) − 100 ms
• Example 2:
With a time unit of 10 ms, a time unit multiplier of 25, and a processing time of 15 ms:
Minimum output duration time = 240 ms
Minimum output duration time = output duration − time unit
Minimum output duration time = (10 ms × 25) − 10 ms
TLoops always have the same output duration because their time unit value is the
processing time.
Position 0
Multi-character Constant component
(-6, -4, -2, 0, 2, 4, 6) Array input
ARRAY[7]S8
Number of elements in array Data type of elements
This chapter describes the components in Component tab of the Selector window.
2. Press 1.
Each component has a “Valid connections” table. This table identifies the data types that
you can connect to component pins.
The table lists either single data types, such as BOOL or U16, or a data type group, such as
INT (integer).
If the table lists a data type group, it means that you can connect any one of the data types
in the group to a pin. For example, INT means that you can connect a U8, U16, U32, S8,
S16, or S32 data type to a pin.
The following table lists the data types in each data type group.
ARRAY X X X X X X X
INT (Integer) X X X X X X
Mathematical
Arithmetic
Click
Add
A2
X1
ADD
?
A1
Use:
• X1 = A1 + A2
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 INT
A2 INT
Example—Add
250 250
ADD 1250 ADD -750
1000 -1000
Subtract
+
A2
X1
SUB
?
A1
Use:
• X1 = A2 – A1
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 INT
A2 INT
Example—Subtract
+ +
2500 2500
SUB 1500 SUB 3500
1000 -1000
Multiply
A2
X1
MUL
?
A1
Use:
• X1 = A1 ∗ A2
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 INT
A2 INT
Example—Multiply
1000 1000
2 -2
Divide
A2
X1
DIV
?
A1
Use:
• X1 = A2 ÷ A1
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 INT
A2 INT
Example—Divide
10 10
DIV 5 DIV -5
2 -2
Rounded Divide
A2
X1
RDIV
?
A1
Use:
• Function:
A1 INT X1 S16
A2 INT
Example—Rounded Divide
10 10
RDIV 3 RDIV 3
S16 S16
3 4
(10 ÷ 3 = 3.33) (10 ÷ 4 = 2.50)
10 10
RDIV 2 RDIV 2
S16 S16
5 6
(10 ÷ 5 = 2.0) (10 ÷ 6 = 1.66)
Modulo
A2
X1
MOD
?
A1
Use:
• Outputs the modulo (remainder) that results from the division of two integer signals.
Function:
⎛ ⎡ A2 ⎤ ⎞
• X1 = A2 - ⎜ ⎢ ⎥ × A1⎟
⎝⎣ ⎦A1 ⎠
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 U16
A2 INT
Example—Modulo
10 10
MOD 1 MOD 2
U16 U16
3 4
10 10
MOD 0 MOD 4
U16 U16
5 6
Add Capped
A2
X1
ADD
?
A1
X2
Use:
• Clamps the output if it overflows and sets the X2 output to T to indicate an overflow
condition.
• X1 = A1 + A2
• If X1overflows, then:
− X2 = T
− X1 = clamps at the minimum or maximum value of its data type
− X2 resets to F at the start of each program loop
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 INT
A2 INT X2 BOOL
Example—Add Capped
50 50
ADD 150 ADD 255*
U8 U8
100 400
F T
*255Max value for the U8 data type
50 50
ADD 150 ADD 0*
U8 U8
100 -100
F T
*0Min value for the U8 data type
Subtract Capped
+
A2
X1
SUB
?
A1 X2
Use:
• Clamps its X1 output if it overflows and sets its X2 output to T to indicate an overflow
condition.
• X1 = A2 – A1
• If X1 overflows, then:
− X2 = T
− X1 = clamps at the minimum or maximum value of its data type
− X2 resets to F at the start of each program loop
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 INT
A2 INT X2 BOOL
Example—Subtract Capped
50 50
ADD 150 ADD 255*
U8 U8
100 400
F T
*255Max value for the U8 data type
50 50
ADD 150 ADD 0*
U8 U8
100 -100
F T
*0Min value for the U8 data type
Multiply Capped
A2
X1
MUL
?
A1
X2
Use:
• Clamps its X1 output if it overflows and sets its X2 output to T to indicate an overflow
condition.
• X1 = A2 ∗ A1
• If X1 overflows, then:
− X2 = T
− X1 = clamps at the minimum or maximum value of its data type
− X2 resets to F at the start of each program loop
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 INT
A2 INT X2 BOOL
Example—Multiply Capped
10 100
MUL 100 MUL 255*
U8 U8
10 100
F T
*255Max value for the U8 data type
10 100
MUL 100 MUL 0*
U8 U8
10 -100
F T
*0Min value for the U8 data type
Divide Capped
A2
X1
DIV
?
A1
X2
Use:
• X1 = A2 ÷ A1
• If X1 overflows, then:
− X2 = T
− X1 = clamps at the minimum or maximum value of its data type
− X2 resets to F at the start of each program loop
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 INT
A2 INT X2 BOOL
Example—Divide Capped
500 600
DIV 250 DIV 255*
U8 U8
2 2
F T
*255Max value for the U8 data type
A2
X1
RDIV
?
A1
X2
• Clamps its X1 output if it overflows and sets its X2 output to T to indicate an overflow
condition.
• Function:
• If X1 overflows, then:
− X2 = T
− X1 = clamps at the minimum or maximum value of its data type
− X2 resets to F at the start of each program loop
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 S16
A2 INT X2 BOOL
(65533 ÷ 2 = 32766.5)
65533
RDIV 32767
S16
2
F
Modulo Capped
A2
X1
MOD
?
A1
X2
Use:
• Outputs the modulo (remainder) that results from the division of two integer signals.
• Clamps its X1 output if it overflows and sets its X2 output to T to indicate an overflow
condition.
⎛ ⎡ A2 ⎤ ⎞
• X1 = A2 - ⎜ ⎢ ⎥ × A1⎟
⎝ ⎣ A1 ⎦ ⎠
• If X1 overflows, then:
− X2 = T
− X1 = clamps at the minimum or maximum value of its data type
− X2 resets to F at the start of each program loop
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 U16
A2 INT
Example—Modulo Capped
(209999 modulo 70000 = 69999)
210000 2099999
MOD 0 MOD 65535*
U16 U16
70000 700000
F T
*65535 = Max value for the U16 data type
Absolute Value
Click
Absolute Value
X1
A1 ABS
?
Use:
• X1 = Absolute value of A1
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 INT
Example—Absolute Value
X1
A1 ABS
?
X2
Use:
• Clamps its X1 output if it overflows and sets its X2 output to T to indicate an overflow
condition.
• X1 = Absolute value of A1
• If X1 overflows, then:
− X2 = T
− X1 = clamps at the minimum or maximum value of its data type
− X2 resets to F at the start of each program loop
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 INT
X2 BOOL
Scale
Click
Scale
A2 A3
X1
A1 SCALE
?
A5 A4
Use:
⎛ ⎛ A1 − A5 ⎞ ⎞
• X1 = ⎜ ⎜ ⎟ × ( A3 − A4 ) ⎟ + A4
⎝ ⎝ A2 − A5 ⎠ ⎠
T The A2–A5 values set the input-to-output ratio and offset applied to the A1 input signal.
They do not limit the resulting X1 output value.
Valid connections
Pin Data Type Pin Data Type
Example—Scale
The following two figures and plots show how different input values applied to this
component produce different input/output ratios. This example applies to both Scale
components.
25
10 20
100
10 15
10
X1 Pin Output
5
SCALE 0
40 4
-5
-10
-15
-100 -20
-10 -25
--200 -180 -160 -140 -120 -100 -80 -60 -40 -20 0 20 40 60 80 100 120 140 160 180 200
A1 Pin Input
This example applies 10 to 1 scaling:
· -100 input = -10 output.
· 40 input = 4 output.
· 100 input = 10 output.
400
350
300
300
10
4500
250
X1 Pin Output
150
500
0 100
-50
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
A1 Pin Input
Scale Capped
A2 A3
X1
A1 SCALE
?
X2
A5 A4
Use:
• Clamps its X1 output if it overflows and sets its X2 output to T to indicate an overflow
condition.
⎛ ⎛ A1 − A5 ⎞ ⎞
• X1 = ⎜ ⎜ ⎟ × ( A3 − A4 ) ⎟ + A4
⎝ ⎝ A2 − A5 ⎠ ⎠
• If X1 does not overflow or overflow, then X2 = F
− X2 = T
− X1 = clamps at the minimum or maximum value of its data type
• X2—Resets to F at the start of each program loop
T The A2–A5 values set the input-to-output ratio and offset applied to the A1 input signal.
They do not limit the resulting X1 output value.
Valid connections
Pin Data Type Pin Data Type
X2 BOOL
Example—Scale Capped
10 100 10 100
0 0 U8 U8
0 0 *255Max value for the U8 data type
Trigonometric
Click
Sin
f(v) = 104 * sin(v/100)
A1 v f(v) X1
?
Use:
A1 UINT X1 INT
Example—Sin
f(v) = 104 * sin(v/100) f(v) = 104 * sin(v/100) f(v) = 104 * sin(v/100)
4500 v f(v) 7071 9000 v f(v) 10000 13500 v f(v) 7071
S16 S16 S16
13500
9000
4500
X1 Output
-4500
-9000
-13500
0 4500 9000 13500 18000 22500 27000 31500 36000
A1 Input (36000 = 360°)
Cos
f(v) = 104 * cos(v/100)
A1 v f(v) X1
?
Use:
A1 INT X1 INT
Example—Cos
f(v) = 104 * cos(v/100) f(v) = 104 * cos(v/100) f(v) = 104 * cos(v/100)
4500 v f(v) 7071 9000 v f(v) 0 13500 v f(v) -7071
S16 S16 S16
13500
9000
4500
X1 Output
-4500
-9000
-13500
0 4500 9000 13500 18000 22500 27000 31500 36000
A1 Input (36000 = 360°)
Tan
f(v) = 104 * tan(v/100)
A1 v f(v) X1
?
Use:
A1 INT X1 INT
Example—Tan
f(v) = 104 * tan(v/100) f(v) = 104 * tan(v/100)
4500 v f(v) 10000 9000 v f(v) 2147483647
S16 S16
30000
25000
20000
15000
10000
5000
X1 Output
-5000
-10000
-15000
-20000
-25000
-30000
-35000
0 4500 9000 13500 18000 22500 27000 31500 36000
A1 Input (36000 = 360°)
Arc Sin
f(x) = 100 * arcsin(x/104)
A1 x f(x) X1
?
Use:
A1 INT X1 INT
Example—Arc Sin
f(x) = 100 * arcsin(x/104) f(x) = 100 * arcsin(x/104)
3827 v f(v) 2250 7071 v f(v) 4500
S16 S16
4500
3000
X1 Output (4500 = 45°)
1500
-1500
-3000
-4500
-6000
-15000 -10000 -5000 0 5000 10000 15000
A1 Input
Arc Cos
f(x) = 100 * arccos(x/104)
A1 x f(x) X1
?
Use:
A1 UINT X1 INT
Example—Arc Cos
f(x) = 100 * arccos(x/104) f(x) = 100 * arccos(x/104)
9239 x f(x) 2250 7071 x f(x) 4500
S16 S16
9000
X1 Output (4500 = 45°)
7500
6000
4500
3000
1500
0
-15000 -10000 -5000 0 5000 10000 15000
A1 Input
Arc Tan
f(x) = 100 * arctan(x/104)
A1 x f(x) X1
?
Use:
A1 UINT X1 INT
Example—Arc Tan
f(x) = 100 * arctan(x/104) f(x) = 100 * arctan(x/104)
4142 x f(x) 2250 10000 x f(x) 4500
S16 S16
5000
4000
3000
2000
X1 Output (4500 = 45°)
1000
-1000
-2000
-3000
-4000
-5000
-15000 -10000 -5000 0 5000 10000 15000
A1 Input
Square Root
f(x) = 100 * x
A1 x f(x) X1
?
Use:
• X1 = 100 x A1
• Accuracy: ±4
Valid connections
Pin Data Type Pin Data Type
A1 UINT X1 UINT
Example—Square Root
f(x) = 100 * x
4 x f(x) 200
U32
f(x) = 100 * x
5 x f(x) 224
U32
f(x) = 100 * x
15 x f(x) 387
U32
Limit
Max/Min
Click
Max Value
A2
X1
MAX
?
A1
• Use
• X1 = A1 if A1 ≥ A2
• X1 = A2 if A2 > A1
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 INT
A2 INT
Example—Max Value
750 1250
MAX 1000 MAX 1250
1000 1000
Min Value
A2
X1
MIN
?
A1
Use:
• X1 = A1 if A1 =< A2
• X1 = A2 if A2 < A1
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 INT
A2 INT
Example—Min Value
750 1250
MIN 750 MIN 1000
1000 1000
Median Value
A3
X1
A2 MED
?
A1
Use:
• X1 = A1 if:
− A2 =< A1 =< A3
− A3 =< A1 =< A2
• X1 = A2 if:
− A1 =< A2 =< A3
− A3 =< A2 =< A1
• X1 = A3 if:
− A1 =< A3 =< A2
− A2 =< A3 =< A1
Valid connections
Pin Data Type Pin Data Type
A1 UINT X1 UINT
A2 UINT
A3 UINT
Example—Median Value
0 0
ADD -50 MED 0 ADD 125 MED 100
S8 S8
100 100
0
ADD 50 MED 50
S8
100
A2
X1
MAX
?
A1
X2
• Use
• Clamps its X1 output if it overflows and sets its X2 output to T to indicate an overflow
condition.
• X1 = A1 if A1 ≥ A2
• X1 = A2 if A2 > A1
• If X1 overflows, then:
− X2 = T
− X1 = clamps at the minimum or maximum value of its data type
− X2 resets to F at the start of each program loop
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 INT
A2 INT X2 BOOL
200 500
MAX 200 MAX 255*
U8 U8
100 100
F T
*255Max value for the U8 data type
A2
X1
MIN ?
A1
X2
Use:
• Clamps its X1 output if it overflows and sets its X2 output to T to indicate an overflow
condition.
• X1 = A1 if A1 =< A2
• X1 = A2 if A2 < A1
• If X1 overflows, then:
− X2 = T
− X1 = clamps at the minimum or maximum value of its data type
− X2 resets to F at the start of each program loop
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 INT
A2 INT X2 BOOL
200 -200
MIN 100 MIN 0*
U8 U8
100 100
F T
*0Min value for the U8 data type
A3
X1
A2 MED
?
A1
X2
Use:
• Clamps its X1 output if it overflows and sets its X2 output to T to indicate an overflow
condition.
• X1 = A1 if:
− A2 =< A1 =< A3
− A3 =< A1 =< A2
• X1 = A2 if:
− A1 =< A2 =< A3
− A3 =< A2 =< A1
• X1 = A3 if:
− A1 =< A3 =< A2
− A2 =< A3 =< A1
• If X1 overflows, then:
− X2 = T
− X1 = clamps at the minimum or maximum value of its data type
− X2 resets to F at the start of each program loop
Valid connections
Pin Data Type Pin Data Type
A1 UINT X1 UINT
A2 UINT X2 BOOL
A3 UINT
0 0
ADD -50 MED 0 ADD 125 MED 100
S8 S8
100 100
F F
0
ADD 50 MED 50
S8
100
F
Limit
X1
A1
?
Use:
• Limits the X1 output to the maximum and minimum values of the data type selected
for X1.
Function:
• X1 = Maximum value of the X1 data type if A1 > maximum value of the X1 data type
• X1 = Minimum value of the X1 data type if A1< minimum value of the X1 data type
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 INT
Example—Limit
-1000 -128
Compare
Compare
Click
Greater
A2 A
> X1
A1
A2 B
Use:
• X1 = T if A2 > A1
• X1 = F if A2 = A1
• X1 = F if A2 < A1
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 BOOL
A2 INT
Example—Greater
999 A 1001 A
> F > T
1000 B 1000 B
1000 A
> F
1000 B
Less
A2 A
< X1
A1 B
Use:
• X1 = T if A2 < A1
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 BOOL
A2 INT
Example—Less
999 A 1001 A
< T < F
1000 B 1000 B
1000 A
< F
1000 B
Greater or Equal
A2 A
³ X1
A1 B
Use:
• X1 = F if A2 < A1
• X1 = T if A2 = A1
• X1 = T if A2 > A1
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 BOOL
A2 INT
Example—Greater or Equal
999 A 1001 A
³ F ³ T
1000 B 1000 B
1000 A
³ T
1000 B
Less or Equal
A2 A
£ X1
A1 B
Use:
• X1 = T if A2 < A1
• X1 = T if A2 = A1
• X1 = F if A2 > A1
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 BOOL
A2 INT
Example—Less or Equal
999 A 1001 A
£ T £ F
1000 B 1000 B
1000 A
£ T
1000 B
Equal
A2 A
= X1
A1 B
Use:
• X1 = F if A2 < A1
• X1 = T if A2 = A1
• X1 = F if A2 > A1
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 BOOL
A2 INT
Example—Equal
999 A 1001 A
= F
= F
1000 B 1000 B
1000 A
= T
1000 B
Not Equal
A2 A
¹ X1
A1 B
Use:
• X1 = F if A2 ≠ A1
• X1 = T if A2 = A1
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 BOOL
A2 INT
Example—Not Equal
999 A 1001 A
¹ T ¹ T
1000 B 1000 B
1000 A
¹ F
1000 B
Click
Use:
• Outputs a Boolean value based on a hysteresis comparison between two integer input
signals.
Function:
• X1 = T if A2 ≥ (A1 + A3)
• X1 = F if A2 < A1
A1 INT X1 BOOL
A2 INT
A3 UINT
950
A2 Input
X1 = T
X1 Output X1 = F
1 100 2 100
+ +
1050 H 1100 H
COMPH F COMPH F
1000 1000
A2 < A1 + A3 A2 = A1 + A3
3 100 4 100
+ +
1120 H 1050 H
COMPH T COMPH T
1000 1000
A2 > A1 + A3 A2 drops, but still > A1
5 100 6 100
+ +
1000 H 970 H
COMPH T COMPH F
1000 1000
A2 = A1 A2 < A1
Use:
• Outputs a Boolean value based on a hysteresis comparison between two integer input
signals.
Function:
• X1 = T if A2 ≥ A1 + (A3 ÷ 2)
• X1 = F if A2 < A1 – (A3 ÷ 2)
A1 INT X1 BOOL
A2 INT
A3 UINT
900
A2 Input
X1 = T
X1 Output X1 = F
1 100 2 100
+ +
950 H 1050 H
COMPM F COMPM T
1000 1000
A2 < A1 + (A3 ÷ 2) A2 = A1 + (A3 ÷ 2)
3 100 4 100
+ +
1065 H 1000 H
COMPH T COMPM T
1000 1000
A2 > A1 - (A3 ÷ 2) A2 drops, but still > A1 - (A3 ÷ 2)
5 100 6 100
+ +
950 H 925 H
COMPH T COMPM F
1000 1000
A2 = A1 - (A3 ÷ 2) A2 < A1 - (A3 ÷ 2)
Use:
• Outputs a Boolean value based on a hysteresis comparison between two integer input
signals.
Function:
• X1 = T if A2 ≥ A1
A1 INT X1 BOOL
A2 INT
A3 UINT
4
950
1 5
A1 - A3 900
6
850
A2 Input
X1 = T
X1 Output X1 = F
1 100 2 100
+ +
900 H 1000 H
COMPL F COMPL T
1000 1000
A2 < A1 A2 = A1
3 100 4 100
+ +
1015 H 950 H
COMPL T COMPL T
1000 1000
A2 > A1 A2 drops,
1000but still > A1 - A3
5 100 6 100
+ +
900 H 870 H
COMPL T COMPL F
1000 1000
A2 = A1 - A3 A2 < A1 - A3
Compare in Window
+
A2
COMP X1
W
A1
A3
Use:
• Checks if the absolute difference between two signals is within a specified range and
then outputs a Boolean value based on this comparison.
Function:
• X1 = F if A2 > A1 + (A3 ÷ 2)
• X1 = F if A2 < A1 – (A3 ÷ 2)
The product of A3 ÷ 2 rounds down to the next lowest integer (for example, 7.5
becomes 7).
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 BOOL
A2 INT
A3 UINT
Example—Compare in Window
5 1100
4 6
A1 + (A3 ÷ 2) 1050
3 7
A1 1000
2 8
A1 - (A3 ÷ 2) 950
1 9
900
A2 Input
X1 = T
X1 Output X1 = F
3 +
1 + 2 + 1000
925 950
COMP T
COMP F COMP T W
W W 1000
1000 1000
100
100 100
A2 < A1 - (A3 ÷ 2) A2 > A1 - (A3 ÷ 2) but < A1 + (A3 ÷ 2)
A2 = A1 - (A3 ÷ 2)
5 + 6 +
4 + 1075 1050
1050
COMP F COMP T
COMP T
W W
W 1000 1000
1000
100 100
100
A2 > A1 + (A3 ÷ 2) A2 = A1 + (A3 ÷ 2)
A2 = A1 + (A3 ÷ 2)
7 + 8 + 9 +
1000 950 925
COMP T COMP T COMP T
F
W W W
1000 1000 1000
100 100 100
A2 < A1 + (A3 ÷ 2) but > A1 - (A3 ÷ 2) A2 = A1 - (A3 ÷ 2) A2 < A1 - (A3 ÷ 2)
Constant
True/False
True
T X1
Use:
• X1 = T
Valid connections
Pin Data Type Pin Data Type
— — X1 BOOL
Example—True
F T
F F
T F
T BOOL T BOOL
False
F X1
Use:
• X1 = F
Valid connections
Pin Data Type Pin Data Type
— — X1 BOOL
Example—False
F T
F F
T F
T BOOL T BOOL
Digit Autotype
Click
3 Digit Autotype
? X1
Use:
• The value of your entry sets the data type (see the table below).
To output Boolean values, use the False component and the True component.
T This component accepts values larger than three digits. Larger values that extend beyond
this component’s boundaries can be hard to read. For larger values, use either the 6 Digit
Autotype component (see page 136) or the Multi-Character component (see page 140).
Function:
• X1 = Auto-typed value of ?
Data types
Value Entered Data Type
0 to +255 U8
–128 to -1 S8
6 Digit Autotype
? X1
Use:
• The value of your entry automatically sets the data type (see the table below).
To output Boolean values, use the False component and the True component.
T This component accepts values larger or smaller than six digits. Larger values that extend
beyond this component’s boundaries can be hard to read. For larger values, use the Multi-
Character component (see page 140).
Function:
0 to +255 U8
–128 to -1 S8
Typed
Click
3 Character
X1
?
?
Use:
T This component accepts values larger than three digits. Larger values that extend beyond
this component’s boundaries can be hard to read. For larger values, use either the 6
Character component (see page 139) or the Multi-Character component (see page 140).
Function:
• X1 = Value of ?
Valid connections
Pin Data Type Pin Data Type
— — X1 ALL
Example—3 Character
Output is T 1 U8 range: 0 to +255 255
BOOL U8
6 Character
X1
?
?
Use:
T This component accepts values larger than six digits. Larger values that extend
beyond this component’s boundaries can be hard to read. For larger values, use the
Multi-Character component (see page 140).
Function:
• X1 = Value of ?
Valid connections
Pin Data Type Pin Data Type
— — X1 ALL
Example—6 Character
U16 range: 0 to +65535 65535
255
U16
Multi-Character
C?
X1
?
Use:
• See About the Array Data Type on page 74 for an example of how to use this
component to input an array.
Function:
• X1 = C?
Valid connections
Pin Data Type Pin Data Type
— — X1 ALL
Example—Multi-Character
4294967295
U32 range: 0 to +4294967295
U32
-2147483648
S32 range: -2147483648 to +2147483647
S32
0xFFFFFFFF
0xPrefix for positive hexadecimal values
U32
-0x80000000
-0xPrefix for negative hexadecimal values
S32
Position 0
(0, -4, 6, 8, -4, 0, 0, 12) Hexadecimal prefix
Array output Red value
ARRAY[8]S8
Green value
Data type of elements within array
Blue value
Number
Number of
of elements
elements in
in array
array Placeholder
Data type 0x 80 80 FF 00
Color signal output
COLOR
Data type
Zero
0 X1
Use:
• X1 = 0
Valid connections
Pin Data Type Pin Data Type
— — X1 U8
Example—Zero
F T
25 25
0 25
0 U8 0 U8
Null
NULL X1
Use:
• Can provide a NULL value for an input that is not being used.
Function:
• X1 = NULL
Valid connections
Pin Data Type Pin Data Type
— — X1 NULL
Logical
AND2–AND5
Click
T Except for the number of inputs, the AND2 through AND5 components function alike.
Only the AND2 component is described here.
A2
X1
A1
Use:
F F F
T F F
F T F
T T T
Valid connections
Pin Data Type Pin Data Type
A1 BOOL X1 BOOL
A2 BOOL
Example—AND
F F T T
F F F T
F T F T
OR2–OR8
Click
T Except for the number of inputs, the OR2 through OR8 components function alike. Only
the OR2 component is described here.
A2
X1
A1
Use:
F F F
T F T
F T T
T T T
Valid connections
Pin Data Type Pin Data Type
A1 BOOL X1 BOOL
A2 BOOL
Example—OR
F T F T
F T T T
F F T T
NOT
A1 X1
Use:
F T
T F
Valid connections
Pin Data Type Pin Data Type
A1 BOOL X1 BOOL
Example—NOT
F T T F
XOR
A2
X1
A1
Use:
F F F
T F T
F T T
T T F
Valid connections
Pin Data Type Pin Data Type
A1 BOOL X1 BOOL
A2 BOOL
Example—XOR
F T
F T
F F
F T
T F
T T
Bitwise
Click
Bitwise AND
A2
X1
?
A1
Use:
A1 UINT X1 UINT
A2 UINT
Example—Bitwise AND
00000010
00000000
00000001
00110011
00000011
00001111
Bitwise OR
A2
X1
?
A1
Use:
A1 UINT X1 UINT
A2 UINT
Example—Bitwise OR
00000010
00000011
00000001
00110011
00111111
00001111
00000000
00000000
00000000
Bitwise XOR
A2
X1
?
A1
Use:
A1 UINT X1 UINT
A2 UINT
Example—Bitwise XOR
00000010
00000011
00000001
00001111
00111100
00110011
00000000
111111111
00000000
11111111
00000000
11111111
Shift
Click
Shift Left
A2
X1
A1 SHL
?
Use:
T Because the most significant bit in a signed value indicates the value’s sign, only use this
component with unsigned data types.
Valid connections
Pin Data Type Pin Data Type
A1 UINT X1 UINT
A2 UINT
Example—Shift Left
Shift left 2 places
Shift Right
A2
X1
A1 SHR
?
Use:
T Because the most significant bit in a signed value indicates the value’s sign, only use this
component with unsigned data types.
Valid connections
Pin Data Type Pin Data Type
A1 UINT X1 UINT
A2 UINT
Example—Shift Right
Shift right 2 places
11001000 SHR 00
00110010
U8 in/U8 out
Position
Click
LSB Position
X1
A1 LSB #
?
Use:
• Outputs the position of the least significant bit (LSB) set to 1 in an integer signal.
• Can indicate the highest priority alarm if alarm states are coded into the byte.
Function:
• X1 = Position (from the right) of the least significant bit with a value of 1
A1 UINT X1 UINT
Example—LSB Position
00000000 LSB # 0
U8 in/U8 out
11111110 LSB # 2
U8 in/U8 out
11111000 LSB # 4
U8 in/U8 out
MSB Position
X1
A1 MSB #
?
Use:
• Outputs the position of the most significant bit (MSB) set to 1 in an integer signal.
• Can indicate the highest priority alarm if alarm states are coded into the byte.
Function:
• X1 = Position (from the right) of the most significant bit with a value of 1
A1 UINT X1 UINT
Example—MSB Position
00000000 MSB # 0
U8 in/U8 out
00000100 MSB # 3
U8 in/U8 out
00001000 MSB # 4
U8 in/U8 out
Bit Count
X1
A1 BITCNT
?
Use:
• Can count the number of active alarms if alarm states are coded into the byte.
Function:
A1 UINT X1 UINT
Example—Bit Count
00000001 BITCNT 1
U8 in/U8 out
00000011 BITCNT 2
U8 in/U8 out
00000111 BITCNT 3
U8 in/U8 out
Set/Reset Latch
A1
Set
Q X1
Reset
A2
Use:
• X1 = No change if A1 = F and A2 = F
• X1 = Set to T if A1 = T and A2 = F
• X1 = Reset to F if:
− A1 = F and A2 = T
− A1 = T and A2 = T
Truth table
A1 Input A2 Input X1 Output
F F No change
T F T
F T F
T T F
Valid connections
Pin Data Type Pin Data Type
A1 BOOL X1 BOOL
A2 BOOL
Example—Set/Reset Latch
F T F T
F F T T
Data Flip-Flop
A3
Set
A2 Data X1
A1 Clock X2
Reset
A4
Use:
• Can be used to implement a toggling push button by connecting the X2 output to the
A2 input.
• X1 = T and X2 = F if A3 = T and A4 = F
• X1 = F and X2 = T if:
− A3 = F and A4 = T
− A3 = T and A4 = T
• X1 = F and X2 = T if A1 = Transition from F to T, A2 = F, A3 = F,
and A4 = F
F F F F No change No change
F–T transition F F F F T
T–F transition T F F T F
Valid connections
Pin Data Type Pin Data Type
A1 BOOL X1 BOOL
A2 BOOL X2 BOOL
A3 BOOL
A4 BOOL
Set Set
0 Data T 0 Data T
F Clock F F Clock F
Reset Reset
F F
3 F
Set
0 Data F
F to T Clock T
Reset
0
F
Set Set
Data T Data F
F to T Clock F to T Clock
Reset Reset
F F
Click
Switch 2
A3
A2 X1
A1 ?
Use:
• X1 = A1 if A3 = F
• X1 = A2 if A3 = T
Valid connections
Pin Data Type Pin Data Type
A1, A2 BOOL, INT, TIME, TEXT, FILE, X1 BOOL, INT, TIME, TEXT, FILE, FONT, PORT, COL, LANG
FONT, PORT, COL, LANG
A3 BOOL
Example—Switch 2
F T
1000 1000
100 1000
100 100
Switch 2 Capped
A3
A2 X1
A1 ?
X2
Use:
• Clamps its X1 output if it overflows and sets its X2 output to T to indicate an overflow
condition.
• X1 = A1 if A3 = F
• X1 = A2 if A3 = T
• If X1 overflows, then:
− X2 = T
− X1 = Clamps at the minimum or maximum value of its data type
− X2 resets to F at the start of each program loop
Valid connections
Pin Data Type Pin Data Type
A1, A2 BOOL, INT, TIME, TEXT, FILE, X1 BOOL, INT, TIME, TEXT, FILE, FONT, PORT, COL,
FONT, PORT, COL, LANG LANG
A3 BOOL X2 BOOL
Example—Switch 2 Capped
F T
250 250
100 250
100 U8 100 U8
F F
500 255*
100 U8
T
*255Max value of the U8 data type
Switch
Click
Switch 2–16
T Except for the number of outputs, the Switch 2 through Switch 16 components function
alike. Only the Switch 16 component is described here.
A17
A16 0
A15 1
A10 6
A9 7 X1
A8 8 ?
A2 14
A1 15
Use:
• No inputs on this component can float. All inputs must connect to a value.
A17 input—X1 output
A17 Input X1 Output A17 Input X1 Output A17 Input X1 Output
0 A16 6 A10 12 A4
1 A15 7 A9 13 A3
2 A14 8 A8 14 A2
3 A13 9 A7 15 A1
4 A12 10 A6 >15 A1
Valid connections
Pin Data Type Pin Data Type
A1–A16 BOOL, INT, TIME, TEXT, FILE, FONT, X1 BOOL, INT, TIME, TEXT, FILE, FONT, PORT,
PORT, COL, LANG COL, LANG
A17 INT
Example—Switch 2–16
0 1 6
2 0 2 0 2 0
4 1 4 1 4 1
14 6 14 6 14 6
7 7 7
2 4 14
8 8 8
U8 U8 U8
14 14 14
31 15 31 15 31 15
-6 18
2 0 2 0
4 1 4 1
14 6 14 6
7 7
2 31
8 8
U8 U8
14 14
31 15 31 15
T Except for the number of outputs, Switch 2 Capped through Switch 16 Capped
components function alike. Only the Switch 16 Capped component is described here.
A17
A16 0
A15 1
A10 6
A9 7 X1
A8 8 ?
A2 14
X2
A1 15
Use:
• Clamps its X1 output if it overflows and sets its X2 output to T to indicate an overflow
condition.
• If X1 overflows, then:
− X2 = T
− X1 = clamps at the minimum or maximum value of its data type
− X2 resets to F at the start of each program loop
• No inputs on this component can float. All inputs must connect to a value.
0 A16 6 A10 12 A4
1 A15 7 A9 13 A3
2 A14 8 A8 14 A2
3 A13 9 A7 15 A1
4 A12 10 A6 >15 A1
Valid connections
Pin Data Type Pin Data Type
A1–A16 BOOL, INT, TIME, TEXT, FILE, FONT, X1 BOOL, INT, TIME, TEXT, FILE, FONT, PORT,
PORT, COL, IMG COL, IMG
2 0 2 0 2 0
4 1 4 1 4 1
14 14 14
F F T
31 15 31 15 31 15
-6 18
2 0 2 0
4 1 4 1
500 6 500 6
7 7
2 31
8 U8 8 U8
14 14
F F
31 15 31 15
*255Max value for the U8 data type
Counter
Click
Use:
• A3—If:
− A3 = T, then X2 = A4
(A1 transitions do not increment X2 until A3 becomes F)
• A4 = Preset value
• X1:
− Count out
− Resets to 0 when X1 = A2 and A1 transitions from F to T
Valid connections
Pin Data Type Pin Data Type
A1 BOOL X1 BOOL
A2 UINT X2 UINT
A3 BOOL
A4 UINT
• Every 60 seconds, the LOOP COUNT seconds component outputs a true CARRY that:
• Every 60 minutes, the LOOP COUNT minutes component outputs a true CARRY. This
output increments the LOOP COUNT hours component by one.
Loop Counter
A2 MAX X1
LOOP ?
A1 CLU
R
A3
Use:
• X1 = 0 if A3 = T
• X1 = No change if A1 = F and A3 = F
Valid connections
Pin Data Type Pin Data Type
A1 BOOL X1 UINT
A2 UINT
A3 BOOL
Example—Loop Counter
Sets maximum X1 value MAX Outputs from 0 to A2 value;
LOOP at maximum value,
FT increments X1 CLU next CLU input resets to 0
R
When T, resets X1 to 0
Count function
1 10 MAX 9
2 10 MAX 10
3 10 MAX 0
LOOP LOOP LOOP
F to T CLU F to T CLU F to T CLU
R R R
F F F
Reset function
1 10 MAX 9
2 10 MAX 0
LOOP LOOP
0 CLU 0 CLU
R R
F T
Up/Down Counter
A5 A6
A4
A3 X1
A2 ?
A1
A7
Use:
• X1 is a value that goes from the A1 minimum value to the A4 maximum value
• X1 = A1 if A7 = T
• X1 = A6 if A5 = T and A7 = F
• If the A6 preset enable value is greater than the A4 maximum value, then X1 = A4
• If the A6 preset enable value is less than the A1 minimum value, then X1 = A1
Pin functions
Pin Function Pin Function
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 INT
A2 BOOL
A3 BOOL
A4 INT
A5 BOOL
A6 INT
A7 BOOL
Example—Up/Down Counter
When T, sets X1 to A6 preset value* Preset value
A5 A6
A7
When T, resets X1 to A1 minimum value
*If A5 is T:
· Sets X1 to A1 min value when A6 value is less than A1 value.
· Sets X1 to A4 max value when A6 value is greater than A4 value.
10 10 10
F F to T F to T
0 1 2
F F F
0 0 0
T F F
10 10 10
F F F
1 0 5
F to T F to T F
0 0 0
F F F
Value Connect
Click
Value
A2
X1
A1 CON
?
Use:
• When using multiple components, whichever one has its A2 input active (A2 = T) will
have its input connected to the output
• If more than one A2 input is active (A2 = T), the value of the last one in the execution
order is valid.
Truth table
A2 Input X1 Output
F No change
T A1
Valid connections
Pin Data Type Pin Data Type
A1 BOOL, INT, TIME, TEXT, FILE, FONT, X1 BOOL, INT, TIME, TEXT, FILE, FONT, PORT, COL,
PORT, COL, IMG IMG
A2 BOOL
Example—Value
1 T 2 F
F F
3 F
2500 CON
Value Capped
A2
X1
A1 CON
?
X2
Use:
• Switches between signals when used in a group (see the Example—Value on page
176).
• Clamps its X1 output if it overflows and sets its X2 output to T to indicate an overflow
condition.
• When using multiple components, whichever one has its A2 input active (A2 = T) will
have its input connected to the output
• If more than one A2 input is active (A2 = T), the value of the last one in the execution
order is valid.
Truth table
A2 Input X1 Output
F No change
T A1
Valid connections
Pin Data Type Pin Data Type
A1 BOOL, INT, TIME, TEXT, FILE, FONT, X1 BOOL, INT, TIME, TEXT, FILE, FONT, PORT, COL,
PORT, COL, IMG IMG
A2 BOOL X2 BOOL
Value Initialization
INIT
X1
A1 CON
?
Use:
A1 All X1 All
Memory
Click
Memory
A2
A1 X1
?
MEM
Use:
• Samples a signal value and keeps this value after the signal changes.
Function:
• X1 = A1 if A2 = T
• X1 = X1 if A2 = F
• Use the Value component (see the Value component on page 175) when you need
to wire multiple outputs together.
Truth table
A2 Input X1 Output
F No change
T A1
Valid connections
Pin Data Type Pin Data Type
A1 BOOL, INT, TIME, TEXT, FILE, X1 BOOL, INT, TIME, TEXT, FILE, FONT, PORT, COL, IMG
FONT, PORT, COL, IMG
A2 BOOL
Example—Memory
1 2
T F
1000 2500
1000 1000
MEM MEM
3
T
2500
2500
MEM
Memory Capped
A2
A1 X1
?
MEM X2
Use:
• Samples a signal value and keeps this value after the signal changes.
• Clamps its X1 output if it overflows and sets its X2 output to T to indicate an overflow
condition.
• X1 = A1 if A2 = T
• X1 = X1 if A2 = F
• If X1 overflows, then:
− X2 = T
− X1 = clamps at the minimum or maximum value of its data type
− X2 resets to F at the start of each program loop
• You cannot wire together multiple X1 outputs from this component
• Use the Value component (see the Value component on page 175) when you need
to wire multiple X1 outputs together.
Valid connections
Pin Data Type Pin Data Type
A1 BOOL, INT, TIME, TEXT, FILE, X1 BOOL, INT, TIME, TEXT, FILE, FONT, PORT, COL, IMG
FONT, PORT, COL, IMG
A2 BOOL X2 BOOL
Truth table
A2 Input X1 Output
F No change
T A1
Example—Memory Capped
1 2
T F
100 250
100 100
U8 U8
MEM F MEM F
3 4
T T
250 500
250 255*
U8 U8
MEM F MEM T
*255Max value for the U8 data type
Array
• A1 = Array
• X1 = Copied element
• Different ARRAY data types on input and output pins can produce overflow on the X1
output
• For more about defining arrays, see About the Array Data Type on page 74.
Valid connections
Pin Data Type Pin Data Type
5
(-3, -2, -1, 0, 1, 2, 3)
ARRAY[7]S8 2
(5, 3, 4, 6)
ARRAY[4]U8
0
2
1
• Different ARRAY data types on input and output pins can produce overflow on the X1
output
• For more about array data types, see About the Array Data Type on page 74.
Valid connections
Pin Data Type Pin Data Type
A2 ARRAY
A3 INT, BOOL
-4 VAL
(1, 1, 1, 1, 1, 1, 1, 1) (1, 1, 1, -4, 1, 1, 1, 1)
ARRAY[8]S8 ARRAY[8]S8
3 POS
(Variable) 5
VAL
(0, 0, 0, 0) (5, 0, 0, 0)
ARRAY[4]U8 ARRAY[4]U8
POS
0
(Variable) 3 VAL
(5, 3, 0, 0)
ARRAY[4]U8
1 POS
(Variable) 4 VAL
(5, 3, 4, 0)
ARRAY[4]U8
2 POS
(Variable) 6 VAL
(5, 3, 4, 6)
ARRAY[4]U8
3 POS
Length of Array
A1
X1
?
Use:
• A1 = Array
• Different ARRAY data types on input and output pins can produce can produce
overflow on the X1 output
• For more about array data types, see About the Array Data Type on page 74.
Valid connections
Pin Data Type Pin Data Type
A1 ARRAY X1 UINT
Example—Length of Array
(-3, -2, -1, 0, 1, 2, 3)
ARRAY[7]S8
7
• Different ARRAY data types on input and output pins can produce overflow on the X1
output
• For more about array data types, see About the Array Data Type on page 74.
Valid connections
Pin Data Type Pin Data Type
A1 ARRAY X1 ARRAY
A3 UINT
3
3
(-6, -4, -2, 0, 2, 4, 6)
ARRAY[7]S8 (-6,-4, -2, 6)
ARRAY[4]S8
3
2
(-6, -4, -2, 0, 2, 4, 6)
ARRAY[7]S8 (-6 -4, 4, 6, 0, 0, 0)
ARRAY[7]S8
• Different ARRAY data types on input and output pins can produce can produce
overflow on the X1 output
• For more about array data types, see About the Array Data Type on page 74
Valid connections
Pin Data Type Pin Data Type
A1 ARRAY X1 ARRAY
A2 U8, S8 S16
A3 ARRAY
A4 UINT
3
(2, 4, 6)
ARRAY[3]S8
3
(-6, -4, -2, 0) (-6,-4, -2, 2, 4, 6, 0)
ARRAY[4]S8 ARRAY[7]S8
Copy of Array
A3
A2 X1
A1 ?
Use:
• X1 = Copied elements
• Different ARRAY data types on input and output can produce overflow on the X1
output
• For more about array data types, see About the Array Data Type on page 74.
Valid connections
Pin Data Type Pin Data Type
A1 ARRAY X1 ARRAY
A3 UINT
Example—Copy of Array
3
Position 0
0 -6 -4 -2
(-6, -4, -2, 0, 2, 4, 6)
ARRAY[3]S8
ARRAY[7]S8
3
4 2 4 6
(-6, -4, -2, 0, 2, 4, 6)
ARRAY[3]S8
ARRAY[7]S8
Find Array
A2
? X1
A1
?
Use:
• Finds the position of a matching element or the starting position of elements that
match
Function:
• If no match, then X1 = -1
• For more about array data types, see About the Array Data Type on page 74.
Valid connections
Pin Data Type Pin Data Type
A1 ARRAY X1 S16
A2 ARRAY
Example—Find Array
Position 0
(3)
(1)
(1, 2, 3, 4) ARRAY[1]U8 ? 2
0
ARRAY[4]U8
(3)
(1, 2, 3, 4) ARRAY[1]U8 ? 2
ARRAY[4]U8
(2 3)
(1, 2, 3, 4) ARRAY[1]U8 ? 1
ARRAY[4]U8
(6)
(1, 2, 3, 4) ARRAY[1]U8 ? -1 (No match)
ARRAY[4]U8
Use:
• Data must be comma delimited; only one array per text file.
Function:
For more about array data types, see About the Array Data Type on page 74.
Valid connections
Pin Data Type Pin Data Type
— — X1 ARRAY
Right-click
Name of array
Name of array
VALUES (start with a capital letter)
Input in application for array values FILE
ARRAY[11]S8
Number of elements in array;
data type of elements
Data Conversion
Decode/Encode
Click
Encode 4 BOOL
A4 Lsb
ENCODE
A3 X1
A2 ?
A1 Msb
Use:
• In the X1 output:
Example—Encode 4 BOOL
T Lsb T Lsb
ENCODE
ENCODE
F T
9 15
F T
T Msb T Msb
Decode 4 BOOL
Lsb X4
DECODE
X3
A1
X2
Msb X1
Use:
• X1 = Output of bit 3
• X4 = Output of bit 0
Example—Decode 4 BOOL
Lsb T Lsb T
DECODE
DECODE
T F
3 9
F F
Msb F Msb T
Encode 8
A8 0
A7
A6
ENCODE
A5 A1
A4 ?
A3
A2
A1 7
Use:
Example—Encode 8
BOOL input BOOL input
T 0 T 0
F T
F T
ENCODE
ENCODE
F T
129 255
F T
U8 U8
F T
F T
T 7 T 7
U8 input
45 0
16
24 Position 0
ENCODE
Decode 8 BOOL
0 X8
X7
X6
DECODE X5
A1
X4
X3
X2
7 X1
Use:
• X1 = Output of bit 7
• X8 = Output of bit 0
A1 U8 X1–X8 BOOL
Example—Decode 8 BOOL
0 T 0 T
F T
F T
DECODE
DECODE
F T
129 255
F T
F T
F T
7 T 7 T
Decode 8 U8
0 X8
X7
DECODE U8
X6
X5
A1
X4
X3
X2
7 X1
Use:
• Decodes an eight element array that contains integers into eight U8 signals.
A1 ARRAY[8]U8 X1–X8 U8
Example—Decode 8 U8
0 112
631
DECODE U8
Position 0 175
(112, 631, 175, 233, 118, 462, 715, 611) 233
ARRAY[8]U8 118
462
715
7 611
Split
X1
T1
A1 MS LS
X2
T2
Use:
• Separates an integer signal into two signals each having an equal number of bits.
A1 INT X1 INT
X2 INT
Example—Split
00000010
00000010 00000001 MS LS
00000001
Combine
A2
X1
MS LS
?
A1
Use:
• Combines two integer signals of the same size into a new signal with double the
number of bits.
• Can combine two separate received U8 CAN messages into a single U16 signal.
Function:
A1 INT X1 INT
A2 INT
Example—Combine
00000010
MS LS 00000010 00000001
00000001
Swap
X1
A1 MS LS
?
Use:
• X1 = Least significant half of the bits in the A1 input swap places with the most
significant half of the bits in the A1 input
• After a swap:
− The 8 most significant bits in a 16-bit A1 input become the 8 least significant bits
in the X1 output.
− The 8 least significant bits in a 16-bit A1 input become the 8 most significant bits
in an X1 output.
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 INT
Example—Swap
Retype
X1
A1 RETYPE
?
Use:
• X1 = A1
• Changing data types, such as going from S8 to U8 or from U16 to U8, can cause the X1
output to overflow
Valid connections
Pin Data Type Pin Data Type
A1 INT X1 INT
Transition, Time
Transition
Click
Positive Transition
A1 X1
Use:
A1 BOOL X1 BOOL
X1 output
Program Loop A1 X1
n1 F F
n2 T T
n3 T F
Example—Positive Transition
n1 n2
F F F to T T
n3
T F
Negative Transition
A1 X1
Use:
A1 BOOL X1 BOOL
X1 output
Program Loop A1 X1
n1 T F
n2 F T
n3 F F
Example—Negative Transition
n1 n2
T F T to F T
n3
F F
Transition
A1 X1
Use:
A1 BOOL X1 BOOL
X1 output
n1 T F n1 F F
n2 F T n2 T T
n3 F F n3 T F
Example1—Transition
n1 n2
T F T to F T
n3
F F
Example2—Transition
n1 n2
F F F to T T
n3
T F
Delay
Click
On Delay
A2
A1 X1
UNIT
A3
Use:
• Delays the return of a Boolean signal from F to T for a specified amount of time.
Function:
• X1 = F if A1 = F
A1 BOOL X1 BOOL
A2 UINT
A3 TIME
Time units
Unit Unit Value Unit Unit Value Unit Unit Value
T10M 10 ms T60S 60 s
Example—On Delay
1 2
10 10
T100M T100M
T
Delay time starts A1 input
State
X1 output
F
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400 2600 3000
Time (ms)
T
Delay time starts Delay time restarts
State
F
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400 2600 3000
Time (ms)
Off Delay
A2
A1 X1
UNIT
A3
Use:
• X1 = T if A1 = T
A1 BOOL X1 BOOL
A2 UINT
A3 TIME
Time units
Unit Unit Value Unit Unit Value Unit Unit Value
T10M 10 ms T60S 60 s
Example—Off Delay
1 2
10 10
X1 output
F
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400 2600 3000
Time (ms)
Hold time starts Hold time restarts
T
State
F
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400 2600 3000
Time (ms)
Loop Delay
X1
A1 t
?
Use:
A1 BOOL, INT, TIME, TEXT, FILE, X1 BOOL, INT, TIME, TEXT, FILE, FONT, PORT, COL, OBJ
FONT, PORT, COL, OBJ
n1 5 5
n2 7 5
n3 7 7
n4 7 7
Oscillator
A2 A3
A1 X1
A4
Use:
A1 BOOL X1 BOOL
A2 UINT
A3 UINT
A4 TIME
Time units
Unit Unit Value Unit Unit Value Unit Unit Value
T10M 10 ms T60S 60 s
Example—Oscillator
10
4
T100M
P P = A4 x A3 X1 output
T
State
T T = A2 x A4
F
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400 2600 3000
Time (ms)
Pulse
A2
A1 X1
A3
Use:
• Holds a Boolean signal at T for the time you specify before returning the signal to F.
Function:
• If A1 = F, then X1= F
A1 BOOL X1 BOOL
A2 UINT
A3 TIME
Time units
Unit Unit Value Unit Unit Value Unit Unit Value
T10M 10 ms T60S 60 s
Example—Pulse
10 10
F F T T for 1000 ms or
until A1 goes from T to F
T100M T100M
A1 input X1 output
1
0
State
1
1000 ms (A2 x A3)
0
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400 2600 3000
Time (ms)
1
0
State
1
0
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400 2600 3000
Time (ms)
Time Base
X1
Use:
— — X1 TIME
Time units
Unit Unit Value Unit Unit Value Unit Unit Value
T10M 10 ms T60S 60 s
T A smaller value time base produces a more accurate output resolution. See
Resolution on page 73 for a detailed explanation of resolution.
Example—Time Base
Pulse component with a 100 ms Time Base
10 10
A2
F F T T for 1000 ms
A3
T100M T100M
1
A1 input
0
State
1
X1 output 1000 ms (A2 x A3)
Time (ms) 0
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400 2600 3000
F F T T for 10 s
A3
T1S T1S
1
A1 input
0
State
1
X1 output 10 s (A2 x A3)
Time (s) 0
0 2 4 6 8 10 12 14 16 18 20 22 24 26 30
Measure Period
X1
A1
T1
A2
Use:
• X1 = A1 ÷ A2
Valid connections
Pin Data Type Pin Data Type
A1 BOOL X1 INT
A2 TIME
Time units
Unit Unit Value Unit Unit Value Unit Unit Value
T10M 10 ms T60S 60 s
Example—Measure Period
F to T (two transitions) 10
T100M
1000 ms (A1)
T
A 1 input
State
F
0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400 2600 3000
Time (ms)
Connection
Checkpoint
Click
Simple Checkpoint
A1 CHECK ?
POINT
Use:
• Creates a checkpoint signal that you can check with the PLUS+1 Service Tool program.
• Route the signal that you want to check to A1; your ? entry is the signal name.
• Click the underscore (_) with the Query/Change tool to set a 0–9 PLUS+1 Service Tool
program access level to the value (0 is the highest access level).
Function:
Example—Simple Checkpoint
Log Functions in Service Tool
Engine_Hours
Reset Minute
Enable Hours
Enable_Reset Seconds
Reset Reset In Reset Out Enable Carry Out
Enable Enable In Enable Out
Advanced Checkpoint
A3 ACTIVE ?
A2 PREFIX
A1 CHECK
POINT
Use:
• Creates a checkpoint signal that you can check with the PLUS+1 Service Tool program.
• Route the signal that you want to check to A1; your ? entry is the signal name.
• Click the underscore (_) with the Query/Change tool to set a 0–9 PLUS+1 Service Tool
program access level to the value. (0 is the highest access level.)
T The ? names used in checkpoint and non-volatile dynamic memory components must be
different. Identical ? names produce a MULTI DEFINED SYMBOL compile error.
Function:
• If:
− A3 = T, then the ? signal is available through the PLUS+1 Service Tool program
In the PLUS+1 Service Tool program, the ? signal name becomes the A2 PREFIX +
underscore + ? signal name
A2 TL — —
A3 BOOL — —
Example—Advanced Checkpoint
Log Functions in Service Tool
Engine_Hours
Reset Minute
Enable Hours Engine_CP
TL
Enable_Reset Seconds
Reset Reset In Reset Out Enable Carry Out
Enable Enable In Enable Out T ACTIVE Minutes
PREFIX
Minutes
CHECK
Carry In Carry Out POINT
Reset
Enable Minutes Minutes
Contents of Engine_Hours
T ACTIVE CP_Hours and Auger_Hours pages
Hours PREFIX are the same
Carry In CHECK
Reset POINT
Enable Hours Hours
Auger_Hours
Reset Minute
Enable Hours Auger_CP
TL
Enable_Reset Seconds
Reset Reset In Reset Out Enable Carry Out
Enable Enable In Enable Out T ACTIVE Minutes
PREFIX
Minutes
CHECK
Carry In Carry Out POINT
Reset Contents of Auger_Hours
Enable Minutes Minutes and Engine_Hours pages
T ACTIVE CP_Hours
are the same
Hours PREFIX
Carry In CHECK
Reset POINT
Enable Hours Hours
• Creates a checkpoint signal that you can check with the PLUS+1 Service Tool program.
• Route the signal that you want to check to A1; your ? entry is the signal name.
• Click the underscore (_) with the Query/Change tool to set a 0–9 PLUS+1 Service Tool
program access level to the value (0 is the highest access level).
T The ? names used in checkpoint and non-volatile dynamic memory components must be
different. Identical ? names produce a MULTI DEFINED SYMBOL compile error.
Function:
• If:
− A2 = T, then the ? signal is available through the PLUS+1 Service Tool program
In the PLUS+1 Service Tool program, the ? signal name becomes the page’s Name
Space + underscore + ? signal name
A2 BOOL — —
Set Value
? (User name for value)
X1
? (Data type of value)
Use:
• Inputs values directly from the PLUS+1 Service Tool program to the controller without
having to use memory components to read and write values.
• Click the underscore (_) with the Query/Change tool to set a 0–9 PLUS+1 Service Tool
program access level to the value. (0 is the highest access level.)
Function:
• ? = User name for the value; use this name to access the value in the PLUS+1 Service
Tool program
Valid connections
Pin Data Type Pin Data Type
— — X1 ALL
Example—Set Value
Parameter Functions in Service Tool
Sensor_2Pt
0 Fault% Status
Hi_DBnd
Hi DBnd% Fault
Lo_DBnd U16
Lo DBnd%
U16
9000 Hi Cal%
1000
0 Lo Cal%
Snsr Pwr
Input Output
Hardware
Click
Use:
— — A1 ALL
Use:
— — X1 ALL
Hardware Input
?
X1
Use:
• Autotyped
— — X1 ALL
Hardware Output
?
A1
Use:
• Writes a value from the application to the kernel at the end of every program loop.
• To set an output just one time, before the start of the first program loop, use the
Initialize Hardware Output component (see Initialize Hardware Output on page
232).
Function:
A1 ALL — —
T If you are creating a new application using templates developed for use with PLUS+1
GUIDE 2.1(and later), use the new CAN components (see CAN on page 242). If you are
updating an application that uses this component (typically for CAN communication), see
Using Old CAN and Memory Components on page 240.
Use:
A1 ALL X1 ALL
A2 BOOL
Hardware Input/Output
A2
?
A1 X1
T If you are creating a new application using templates developed for use with PLUS+1
GUIDE 2.1(and later), use the new CAN components (see CAN on page 242). If you are
updating an application that uses this component (typically for CAN communication), see
Using Old CAN and Memory Components on page 240.
Use:
• Autotyped
A1 ALL X1 ALL
A2 BOOL
Use:
— — X1 ALL
Use:
• X1 output is autotyped.
Function:
— — X1 ALL
X1
?
T If you are updating an older application that uses this component, see Using Old CAN and
Memory Components on page 240.
If you are creating a new application using templates developed for use with PLUS+1
GUIDE 2.1(and later), use the new Non-Volatile Memory Dynamic components listed on
page 253.
Use:
• Replace the ALIAS with a name that you want the PLUS+1 Service Tool program to
display
The PLUS+1 Service Tool program uses the BIOS hardware name if ALIAS is not
changed
Valid connections
Pin Data Type Pin Data Type
— — X1 INT
U8
EE_CmpVal
In the Service Tool, select the EE_CmpVal signal to view and
change the value stored in memory location EE.s16[0].
T If you are updating an older application that uses this component, see Using Old CAN and
Memory Components on page 240.
If you are creating a new application using templates developed for use with PLUS+1
GUIDE 2.1(and later), use the new Non-Volatile Memory Dynamic components listed on
page 253.
Use:
• Replace ALIAS with a name that you want the PLUS+1 Service Tool program to display
The PLUS+1 Service Tool program uses the BIOS (EE.s nn[n]) hardware name if ALIAS is
not changed.
Valid connections
Pin Data Type Pin Data Type
A1 ALL — —
ECU_EEPROM F
SET_EE
WR_EE0 EEWR
ALL
SET_DEF
F
DEF_VALUE
0
EE_NeutVal
EE.s16[0]
EE_NeutVal
• Applications created using templates developed for use with PLUS+1 GUIDE 2.1 (and
later) software must use the New components.
• You must change System file parameters from NEW to OLD to enable PLUS+1 GUIDE
2.1 (and later) software to compile applications with the Old components listed in this
table. See Change from New to Old CAN and Memory Components on page 241.
• PLUS+1 GUIDE 2.1(and later) software with System file parameters set to OLD cannot
compile applications with the New components listed in this table.
1 2
1. In the View menu, click Default Layout to display the Project Manager and
Inspector tabs.
3. In the Inspector tab, click to display the Edit System Parameters window.
CAN
Click
Transmit CAN
A7 CAN-PORT
A6 EXT
A5 RTR
A4 ID
TX
A3 LENGTH
A2 DATA[ ] OVERRUN X2
A1 SEND PENDING X1
T If you are updating an application that was created before the release of PLUS+1 GUIDE
2.1 software, see Using Old CAN and Memory Components on page 240 before using this
component.
Use:
• A5—If:
• X1—If:
− X1 = T, message pending
− X1 = F, no message pending
• X2—If:
− X2 = F, no overrun
− X2 = T, new message (A1 = T), with pending message not sent (X1 is T); messages
not sent are lost
Valid connections
Pin Data Type Pin Data Type
A1 BOOL X1 BOOL
A2 ARRAY[]U8 X2 BOOL
A3 INT
A4 UINT
A5 BOOL
A6 BOOL
A7 PORT
T If you are updating an application that was created before the release of PLUS+1 GUIDE
2.1 software, see Using Old CAN and Memory Components on page 240 before using this
component.
Use:
• A1—If:
− A1 = T, saves the first message received in the program loop; following messages
do not overwrite the first message
− A1 = F, saves the last message received in the program loop; the last message
overwrites any preceding message
• A4 = Data
• A7—If:
• X1—If:
• X4 = Message ID
• X5—If:
A1 BOOL X1 BOOL
A3 ARRAY [ ] U8 X3 U8
A4 ARRAY [ ] U8 X4 U32
A5 UINT X5 BOOL
A6 UINT
A7 BOOL
A8 BOOL
A9 PORT
T If you are updating an application that was created before the release of PLUS+1 GUIDE
2.1 software, see Using Old CAN and Memory Components on page 240 before using
this component.
Use:
• A1—If:
− A1 = T, saves the first message received in the program loop; following messages
do not overwrite the first message
− A1 = F, saves the last message received in the program loop; the last message
overwrites any preceding message
• A4—If:
• X1—If:
• X3 = Data length code, the number of bytes (0–8) in the data field
• X4 = Actual message ID
• X5—If:
A1 BOOL X1 BOOL
A3 UINT X3 U8
A4 BOOL X4 UINT
A5 PORT X5 BOOL
T If you are updating an application that was created before the release of PLUS+1 GUIDE
2.1 software, see Using Old CAN and Memory Components on page 240 before using
this component.
Use:
• A1—If:
− A1 = T, saves the first message received in the program loop; following messages
do not overwrite the first message
− A1 = F, saves the last message received in the program loop; the last message
overwrites any preceding message
• A3—If:
• X4—If:
A1 BOOL X1 BOOL
A2 UINT X2 ARRAY[8]U8
A3 BOOL X3 U8
A4 PORT X4 BOOL
Unit 2 Inputs
CAN_0
Node: 1
Net: 0 Port Broadcasts messages with an ID of 0x002
CAN-PORT
F EXT CAN bus
RTR
Message ID 0x002
ID TX
U16
Number of bytes in message data field 3 LENGTH
Message data field: array with 3 bytes DATA[ ] OVERRUN
SEND PENDING
• Set Array Element components to construct a message data field that contains
dynamic run-time values see Example 2—Set Array Element on page 187.
• Get Array Element components to output individual elements within a message data
field; see Example 2 on page Example 2—Get Array Element on page 185.
Click
A5 DEF ENABLE
A4 IN
A3 IN_ENABLE
A2 READ_ PEND X2
A1 WRITE_ VAL X1
? (Data type of X1 output)
T If you are updating an application that was created before the release of PLUS+1 GUIDE
2.1 software, see Using Old CAN and Memory Components on page 240 before using
this component.
Use:
• ? = Your name for the memory value; in the PLUS+1 Service Tool program, use this
name to access the memory value
• A4 = New value
• A6 = Default value
Valid connections
Pin Data Type Pin Data Type
A2 BOOL X2 BOOL
A3 BOOL
A4 INT, BOOL
A5 BOOL
A6 INT, BOOL
EE_Example
DEFAULT
DEF ENABLE
Read and write values to memory
IN
IN_ENABLE
READ_ PEND
WRITE_ VAL 3500
F DEF ENABLE
3222 IN
F IN_ENABLE
F READ_ PEND F
F WRITE_ VAL 3222
1 DEFAULT copies to VAL 2 VAL writes to memory; PEND goes T 3 Write ends; PEND goes F
T If you are updating an application that was created before the release of PLUS+1 GUIDE
2.1 software, see Using Old CAN and Memory Components on page 240 before using
this component.
Use:
• ? = Your name for the memory value; in the PLUS+1 Service Tool program, use this
name to access the memory value
• A4 = New value
A2 BOOL X2 BOOL
A3 BOOL
A4 INT, BOOL
IN EE_Example
Read and write values to memory
IN_ENABLE
READ_ PEND
WRITE_ VAL 3500
T If you are updating an application that was created before the release of PLUS+1 GUIDE
2.1 software, see Using Old CAN and Memory Components on page 240 before using
this component.
Use:
• ? = Your name for the memory value; use this name to access the memory value in the
PLUS+1 Service Tool program
X1 INT, BOOL
Module
Click
Module Input
? (User-defined signal name)
X1
Use:
• Click the underscore (_) with the Query/Change tool to set a 0–9 PLUS+1 Service Tool
program access level to the value (0 is the highest access level).
Function:
• X1 = Input signal
Valid connections
Pin Data Type Pin Data Type
— — X1 ALL
Module Output
? (User-defined signal name)
X1
Use:
• X1 = Output signal
Valid connections
Pin Data Type Pin Data Type
— — X1 ALL
T See Example 1—Call Module on page 264 for an example of how to use this
component.
Use:
• If:
A1 TL X1 ALL
A2 BOOL
T OUTPUT
A_ADD
A PREFIX F OUTPUT
S16 A_ADD
A PREFIX A
S16
=
B
ADD
Module Bus
Click
Use:
• X1 = Bus output
Valid connections
Pin Data Type Pin Data Type
— — X1 ALL
T See Example 2—Call Module on page 266 for an example that uses this component.
Use:
— — X1 ALL
T See Example 2—Call Module on page 266 for an example that uses this component.
Call Module
A1
Use:
The name that you enter must match the Module name for the Module.scs file.
(The Module name is a property of the Module.scs file. The Inspector tab displays
this Module name when you click the Module.scs file in the Project Manager tab.)
• If:
• Whatever output values apply when A1 goes from T to F, also apply when A1 goes
from F to T
T See Example 1—Call Module below and Example 2—Call Module on page 266 for
examples of how to use this component.
Click
Sig PRE
na U16
ls b R_Rvs
ack
to
Ma
in m
od
e
ule
ul
od
M
L_Fwd
tt
POINT
ou
PRE
s
U16
al
gn
Dual_Path Valve_Driver
L_Rvs
Si
Steer
Steer L Valve L Valve L_Fwd
L_Rvs
R_Fwd
R_Fwd
Speed
Speed R Valve R Valve R_Rvs
R_Rvs
PRE
U16 CHECK CP_Speed
POINT
True calls
module in compile T Module1 NAME entryMust match Module name in Inspector tab for Module.scs file
Enter a comment (optional)
Call ModuleDirects signals to and from the external module
Click
Module
L_Fwd
DUAL_PATH VALVE_DRIVER
Steer
Steer L Valve L Valve L_Fwd L_Rvs
L_Rvs R_Fwd
R_Fwd
Speed R_Rvs
Speed R Valve R Valve R_Rvs
Compiles all modules Compiles only modules that you have changed
Manage
Use:
• Aborts the compile process when the compiler finds an out-of-range constant value.
• Prevents a user from entering a value that compiles but causes erratic operation when
downloaded.
(For example, a joystick calibration value that is too high would compile successfully
but might cause erratic machine operation when downloaded.
Function:
• A1 = Constant value
• Low? = Click with Query/Change to enter the low value for the range
• High? = Click with Query/Change to enter the high value for the range
• MSG? = Click with Query/Change to enter the error message that displays if A1 is out
of range
Valid connections
Pin Data Type Pin Data Type
A1 INT — —
Use:
• Aborts the compile process when the compiler finds variable value instead of a
constant value.
• Prevents a user from entering a value that compiles but causes erratic operation when
downloaded.
Function:
• A1 = Constant data type (any other data type aborts the compile)
• MSG? = Click with Query/Change to enter the error message that displays if A1 is a
variable value instead of a constant value
Valid connections
Pin Data Type Pin Data Type
A1 ALL — —
Use:
• Aborts the compile process when the compiler finds an incorrect data type.
• Prevents a user from entering a value that compiles but causes erratic operation when
downloaded.
Function:
• A1 = Data type
• TYPE DIFFERS FROM? = Click with Query/Change to enter the allowed data type (any
other data type aborts compile)
• MSG? = Click with Query/Change to enter the error message that displays if A1 is an
incorrect data type
Valid connections
Pin Data Type Pin Data Type
A1 ALL — —
2500
U16
Predefine Type
PRE X1
?
Use:
• Defines the data type of a signal that does not have a data type.
− Needed to define the data type of a Module Input signal routed to a hardware
output.
− A signal that you route to a predefined signal must either have no data type or a
matching data type; otherwise you get a compiler error.
Function:
— — X1 ALL
T Also see Example 1—Call Module on page 264 for another example of how to use this
component.
Example—Predefine Type
Define the data type of Module Input signals routed to hardware
PRE
U16
L_Fwd
Module Input signals
PRE
U16
L_Rvs
PRE
U16
R_Fwd
PRE
U16
R_Rvs To hardware
Outputs
Speed
Access
Use:
• Sets the PLUS+1 Service Tool program’s access to diagnostic data in an application
data log.
The Application Log components create application data logs. These logs contain
access history data, diagnostic data, error data, and “other” data. Each type of data has
a separate access level that you can set from 0 to 9.
The A1 value of the APP-LOG DIAG ACCESS component works with the diagnostic
data’s access level to limit the Service Tool program’s access to diagnostic data.
Function:
A1 INT — —
A1 Access Value Service Tool Can View Diagnostic Data with These Access Levels
Use:
• Sets the PLUS+1 Service Tool program’s rights to access error data in an application
data log.
The Application Log components create application data logs. These logs contain
access history data, diagnostic data, error data, and “other” data. Each type of data has
a separate access level that you can set from 0 to 9.
The A1 value of the APP-LOG ERROR ACCESS component works with the error data’s
access level to limit the Service Tool program’s access to error data.
Function:
A1 INT — —
A1 Access Value Service Tool Can View Error Data with These Access Levels
Use:
• Sets the PLUS+1 Service Tool program’s rights to access “other” (miscellaneous) data
in an application data log.
The Application Log components create application data logs. These logs contain
access history data, diagnostic data, error data, and “other” data. Each type of data has
a separate access level that you can set from 0 to 9.
The A1 value of the APP-LOG OTHERS ACCESS component works with the “other”
data’s access level to limit the Service Tool program’s access to “other” data.
Function:
A1 INT — —
A1 Access Value Service Tool Can View “Other” Data with These Access Levels
Accessrights History
A1 HISTORY ACCESS
Use:
• Sets the PLUS+1 Service Tool program’s rights to view access history data in an
application data log.
The Application Log components create application data logs. These logs contain
access history data, diagnostic data, error data, and “other” data. Each type of data has
a separate access level that you can set from 0 to 9.
The A1 value of the HISTORY ACCESS component works with the access history
data’s access level to limit the Service Tool program’s ability to view access history
data.
Function:
• Overrides all access rights set within the PLUS+1 GUIDE Service Tool
Valid connections
Pin Data Type Pin Data Type
A1 INT — —
A1 Access Value Service Tool Can View History Data with These Access Levels
0 HISTORY ACCESS 0 1 2 3 4 5 6 7 8 9
3 HISTORY ACCESS — — — 3 4 5 6 7 8 9
6 HISTORY ACCESS — — — — — — 6 7 8 9
9 HISTORY ACCESS — — — — — — — — — 9
Accessrights Read
A1 READ ACCESS
Use:
• Works with password logic to limit a user’s ability to read component values with the
PLUS+1 Service Tool program.
The A1 value applied the Read Access component works with the read rights set on
individual components to limit the values that a user can read with the Service Tool.
Function:
• Overrides all read rights set within the PLUS+1 GUIDE Service Tool
Valid connections
Pin Data Type Pin Data Type
A1 INT — —
Read rights
With an A1 Value* Service Tool Can Read Values from Components with these Read Rights
0 READ ACCESS 0 1 2 3 4 5 6 7 8 9
3 READ ACCESS — — — 3 4 5 6 7 8 9
6 READ ACCESS — — — — — — 6 7 8 9
9 READ ACCESS — — — — — — — — — 9
*Typically set with password logic.
Accessrights Write
A1 WRITE ACCESS
Use:
• Works with password logic to limit a user’s ability to write values to components with
the PLUS+1 Service Tool program.
The A1 value applied the Write Access component works with individual component
write right to limit the values that a user can write to (change) using the Service Tool.
Function:
• Overrides all right rights set within the PLUS+1 GUIDE Service Tool
Valid connections
Pin Data Type Pin Data Type
A1 INT — —
Write rights
With an A1 Value* Service Tool Can Write Values to Components with these Write Rights
0 WRITE ACCESS 0 1 2 3 4 5 6 7 8 9
3 WRITE ACCESS — — — 3 4 5 6 7 8 9
6 WRITE ACCESS — — — — — — 6 7 8 9
9 WRITE ACCESS — — — — — — — — — 9
*Typically set with password logic.
The example below shows what happens when a user enters either a wrong password or
no password at all with the Service Tool.
The password logic in this example applies a value of 9 to the Write Access and Read
Access components. The Service Tool can only read and write to Memory components
with read and write values of 9. (No components here have a read or write value of 9).
Password logic
No password/wrong password A
111 B
=
A
555 B
=
A
888 B
= 1
WRITE ACCESS
5 9
8
READ ACCESS
9
IN EE_Limit_Lo IN EE_Limit_Hi
Memory components
IN_ENABLE IN_ENABLE
READ 1 PEND READ 1 PEND
WRITE 1 VAL WRITE 1 VAL
IN EE_Cal_Lo IN EE_Cal_Hi
IN_ENABLE IN_ENABLE
READ 5 PEND READ 5 PEND
WRITE 5 VAL WRITE 5 VAL
IN EE_Total_Hrs IN EE_Rental_Hrs
IN_ENABLE IN_ENABLE
READ 8 PEND READ 8 PEND
WRITE 5 VAL WRITE 8 VAL
The example below shows what happens when an application engineer enters a password
of 111 with the PLUS+1 GUIDE Service Tool.
The password logic in this example applies a value of 1 to the Write Access and Read
Access components. A value of 1 lets the Service Tool read and write to all Memory
components with read and write values of 1 or greater.
Passwords
111 = Application engineer Application engineer password:
555 = Service technician Read and write rights to EE_Limit_Lo
888 = Rental dealer and EE_Limit_Hi values
Read and write rights to EE_Cal_Lo and
EE_Cal_Hi values
Read and write rights to EE_Total_Hrs
and EE_Rental_Hrs values
Password logic
111 A
111 B
=
A
555 B
= T
A
888 B
= 1
WRITE ACCESS
5 1
8
READ ACCESS
9
IN EE_Limit_Lo IN EE_Limit_Hi
IN_ENABLE IN_ENABLE
READ 1 PEND READ 1 PEND
WRITE 1 VAL WRITE 1 VAL
Memory components
IN EE_Cal_Lo IN EE_Cal_Hi
IN_ENABLE IN_ENABLE
READ 5 PEND READ 5 PEND
WRITE 5 VAL WRITE 5 VAL
IN EE_Total_Hrs IN EE_Rental_Hrs
IN_ENABLE IN_ENABLE
READ 8 PEND READ 8 PEND
WRITE 5 VAL WRITE 8 VAL
The example below shows what happens when a service technician enters a password of
555 with the PLUS+1 GUIDE Service Tool.
The password logic in this example applies a value of 5 to the Write Access and Read
Access components. A value of 5 lets the Service Tool read and write to all Memory
components with read and write values of 5 or greater.
Passwords
111 = Application engineer Service technician password:
555 = Service technician No read or write rights to
EE_Limit_Lo and
888 = Rental dealer EE_Limit_Hi values
Read and write rights to
Password logic EE_Cal_Lo and EE_Cal_Hi
values
Service technician password Read and write rights to
EE_Total_Hrs and
A EE_Rental_Hrs values
111 B
=
555 A
555 B
=
T
A
888 B
= 1
WRITE ACCESS
5 5
8
READ ACCESS
9
IN EE_Limit_Lo IN EE_Limit_Hi
Memory components IN_ENABLE IN_ENABLE
READ 1 PEND READ 1 PEND
WRITE 1 VAL WRITE 1 VAL
IN EE_Cal_Lo IN EE_Cal_Hi
IN_ENABLE IN_ENABLE
READ 5 PEND READ 5 PEND
WRITE 5 VAL WRITE 5 VAL
IN EE_Total_Hrs IN EE_Rental_Hrs
IN_ENABLE IN_ENABLE
READ 8 PEND READ 8 PEND
WRITE 5 VAL WRITE 8 VAL
The example below shows what happens when a rental dealer enters a password of 888
with the PLUS+1 GUIDE Service Tool.
The password logic in this example applies a value of 8 to the Write Access and Read
Access components. A value of 8 lets the Service Tool read and write to all Memory
components with read and write values of 8 or greater.
Passwords
111 = Application engineer Rental dealer password:
555 = Service technician No read or write rights to EE_Limit_Lo and
EE_Limit_Hi values
888 = Rental dealer
No read or write rights to EE_Cal_Lo and
EE_Cal_Hi values
Password logic
No read or write rights to EE_Cal_Lo and
Rental dealer password EE_Cal_Hi values
Read-only rights to EE_Total_Hrs value
A
111 B
= Read and write rights to EE_Total_Hrs value
555 B
=
888
A
888 B
= T
1
WRITE ACCESS
5 8
8
READ ACCESS
9
IN EE_Limit_Lo IN EE_Limit_Hi
Memory components
IN_ENABLE IN_ENABLE
READ 1 PEND READ 1 PEND
WRITE 1 VAL WRITE 1 VAL
IN EE_Cal_Lo IN EE_Cal_Hi
IN_ENABLE IN_ENABLE
READ 5 PEND READ 5 PEND
WRITE 5 VAL WRITE 5 VAL
IN EE_Total_Hrs IN EE_Rental_Hrs
IN_ENABLE IN_ENABLE
READ 8 PEND READ 8 PEND
WRITE 5 VAL WRITE 8 VAL
Read-only Parameter
X1
Use:
− TYPE name, parameter names, parameter order, and data types must match
− Program the application so that a T output from this component writes values in
the read-only parameters lhx file to the controller
T See Example—Read-only Parameter Input on page 290 for an example of how to use
this component. Also see Create a Read-only Parameters File on page 373 for a
detailed, step-by-step procedure that describes how to use this component.
Valid connections
Pin Data Type Pin Data Type
— INT X1 BOOL
Use:
T See Example—Read-only Parameter Input on page 290 for an example of how to use
this component. Also see Create a Read-only Parameters File on page 373 for a
detailed, step-by-step procedure that describes how to use this component.
Valid connections
Pin Data Type Pin Data Type
— — — —
Connection
X1
Use:
• When copying a parameter set, you only have to change the block’s Name Space.
You do not have to change individual? parameter names
Function:
Valid connections
Pin Data Type Pin Data Type
— — X1 INT, BOOL
X1
Use:
T See Example—Read-only Parameter Input on page 290 for an example of how to use
this component. Also see Create a Read-only Parameters File on page 373 for a
detailed, step-by-step procedure that describes how to use this component.
Valid connections
Pin Data Type Pin Data Type
— — X1 INT, BOOL
• The source files for read-only parameters lhx files as they appear in Microsoft Excel.
• That the PARAMETER OPEN component outputs a T for a valid read-only parameters
lhx file and an F for an invalid read-only parameters lhx file.
• How T inputs to the Switch 2 components cause these components to apply the
read-only parameter values of 4500, 7500, and T.
• How F inputs to the Switch 2 components cause these components to apply the
internal values of 0, 0, and F.
Valid Read-only Parameter lhx FilePARAMETER OPEN X1 = T
Comma-separated
surce file for the T
read-only Setup_Values
parameters lhx file
Cal_Low
4500
0
U16
Cal_Hi
7500
0
NamesOK U16
Data typesOK
OrderOK Fault_Detect
T
F
BOOL
F
Setup_Values
Cal_Low
0
0
U16
Cal_Hi
0
0
NamesOK U16
Data typesOK
Fault_Detect
OrderNot OK
F
F
BOOL
• The source file for the read-only parameters lhx file as it appears in Microsoft Excel.
• That each parameter name in the source file has a Name Space prefix.
Sensor_1
Values
T Values
Setup_Values
Comma-separated surce fil
for theread-only parameters lhx file Cal_Low Cal_Low1
1500
0
U16
Cal_Hi Cal_Hi1
3500
0
U16
T Values
Setup_Values
Cal_Low Cal_Low2
4500
0
U16
Cal_Hi Cal_Hi2
7500
0
U16
Display
Define Window
A8 FILE
A7 PORT
A6 COLOR
A5 XMAX
A4 XMIN
A3 YMIN
A2 YMAX
A1 OPEN
Use:
T This component supports graphical terminal applications that were created before the
Screen Editor became available. The Screen Editor does not use this component.
Function:
• If:
− A1 = 0 window displays
− A1 = 1 window does not display
• A2–A5 define the minimum and maximum window size in pixels:
Valid connections
Pin Type Pin Type
A1 BOOL — —
A2 UINT
A3–A5 INT
A6 COL
A7 PORT
A8 FILE
Line
A9 FILE
A8 COLOR
A7 WIDTH
A6 X0
A5 Y0
A4 X1
A3 Y1
A2 PRIORITY
A1 ENABLE X1
Use:
T This component supports graphical terminal applications that were created before the
Screen Editor became available. The Screen Editor does not use this component.
Function:
• If:
• A8 = Line color
Valid connections
Pin Type Pin Type
A1 BOOL X1 BOOL
A2 UINT
A3–A6 INT
A7 UINT
A8 FILE
A9 BOOL
Graphic
A8 IMAGE
A7 FILE
A6 COLOR
A5 X
A4 Y
A3 ROTATION
A2 PRIORITY
A1 ENABLE X1
Use:
T This component supports graphical terminal applications that were created before the
Screen Editor became available. The Screen Editor does not use this component.
Function:
• If:
• A8 = File name given to the image file in the Image Register Editor
Valid connections
Pin Type Pin Type
A1 BOOL X1 BOOL
A2 UINT
A3–A5 INT
A6 COL
A7 FILE
A8 IMG
Text Label
? X1
Use:
T This component supports graphical terminal applications that were created before the
Screen Editor became available. The Screen Editor does not use this component.
Function:
— — X1 TEXT
Graphic Label
? X1
Use:
T This component supports graphical terminal applications that were created before the
Screen Editor became available. The Screen Editor does not use this component.
Function:
— — X1 PXO
String
Click
String
A8 STRING
A7 FILE
A6 FONT
A5 COLOR
A4 Y
A3 X
A2 PRIORITY
A1 ENABLE X1
Use:
T This is a legacy component that supports graphical terminal applications that were
created before the Screen Editor became available. The Screen Editor does not use this
component.
Function:
• If:
• A8 = String pointer for the text string, assigned using the Text Editor
Valid connections
Pin Type Pin Type
A1 BOOL X1 BOOL
A2 UINT
A3 FILE
A4 TEXT
A5–A8 ALL
A12 VAR1
A11 VAR2
A10 VAR3
A9 VAR4
A8 STRING
A7 FILE
A6 FONT
A5 COLOR
A4 X
A3 Y
A2 PRIORITY
A1 ENABLE X1
Use:
• Displays a string with four variable data values in a window defined by IF_ASSIGN.
• You can use IF_STRING-OUT if you do not need to specify string position, color, and
font.
T This is a legacy component provided to support graphical terminal applications that were
created before the Screen Editor became available. The Screen Editor does not use this
component.
Function:
• If:
• A8 = String pointer for the text string, assigned using the Text Editor
A1 BOOL X1 BOOL
A2 UINT
A3–A4 INT
A5 COL
A6 FONT
A7 FILE
A8 TEXT
A9–A12 ALL
Use:
• Displays a string with four variable data values in a window defined by IF_ASSIGN.
• Use IF_STRING-OUT when you need to specify string position, color, and font.
T This is a legacy component provided to support graphical terminal applications that were
created before the Screen Editor became available. The Screen Editor does not use this
component.
Function:
• If:
• A4 = String pointer for the text string, assigned using the Text Editor
A1 BOOL X1 BOOL
A2 UINT
A3 FILE
A4 TEXT
A5–A8 ALL
A12 VAR1
A11 VAR2
A10 VAR3
A9 VAR4
A8 VAR5
A7 VAR6
A6 VAR7
A5 VAR8
A4 STRING
A3 FILE
A2 PRIORITY
A1 ENABLE X1
Use:
• Displays a string with eight variable data values in a window defined by IF_ASSIGN.
T This is a legacy component provided to support graphical terminal applications that were
created before the Screen Editor became available. The Screen Editor does not use this
component.
Function:
• If:
• A4 = String pointer for the text string, assigned using the Text Editor
Valid connections
Pin Type Pin Type
A1 BOOL X1 BOOL
A2 UINT
A3 FILE
A4 TEXT
A5–A8 ALL
Text Set
Click
A1
Use:
Function:
Use:
T This is a legacy component provided to support graphical terminal applications that were
created before the Screen Editor became available. The Screen Editor does not use this
component.
Function:
Use:
• Combine with the Select Language component to enable switching between the
languages displayed in a PLUS+1 graphical terminal.
− Example—Select Language on page 313 shows how to use this component with
the Select Language component.
− See Define Screen Page/Switch between Different Languages on page 400 for
detailed information on using this component with the Screen Editor.
Function:
— — X1 LANG
Select Language
A1 SELECT LANGUAGE
Use:
− The following example shows how to use this component with the Language
Definition Input component.
− See Define Screen Page/Switch between Different Languages on page 400 for
detailed information on using this component with the Screen Editor.
Function:
A1 LANG — —
Example—Select Language
Inputs
Soft_Buttons
Sw_Soft1 Match language names with language names in Screen Editor tab
Define Areas
Area_Page1
Data
Soft_Buttons
Scrn_Cntrl1 Define Screen
Sft Btns Screen_Page1
CAN_0
CAN Out Data
T Installing the hardware files for a PLUS+1 graphical display (such as the DP600) in the
Project Manager tab makes this component available.
T The File menu’s Import Page and Import Block commands do not work with this
component. Importing a Define Areas block into a new project strips the block of its
contents.
Use:
For more information about using this page, see Screen Editor on page 317.
T Installing the hardware files for a PLUS+1 graphical display (such as the DP600) in the
Project Manager tab makes this component available.
T The File menu’s Import Page and Import Block commands do not work with this
component. Importing a Define Screen block into a new project strips the block of its
contents.
Use:
• Define the contents that appear in a PLUS+1 graphical terminal screen areas.
For more information about using this page, see Screen Editor on page 317.
Application Log
Select Language
A1 SELECT LANGUAGE
Page
Basic Page
Basic_Page
In1 Out1
In2 Out2
Use:
This chapter documents the PLUS+1 Screen Editor. The PLUS+1 GUIDE release 2.0.3 (and
later) includes the Screen Editor.
The Screen Editor creates applications for Sauer-Danfoss PLUS+1 graphical terminals such
as the DP600.
For more information about using the elements described here to create an application
for a PLUS+1 GUIDE graphical terminal, see Screen Editor—How To on page 379.
• Basic Page.
You use these pages to define the:
• Signals (after you have ported signals to these pages) that control the display of
individual screen elements.
The Define Areas page, Define Screen page, and Basic Page are available in the
Components tab of PLUS+1 GUIDE release 2.0.3 (and later). You drag these pages into the
Application page of the graphical terminal template when creating a graphical
application.
1 5
15
2 mp/h 6
3 7
10
rpm x 1000
4 8
ESC OK
• 256-color bitmap images and text that appears in each Screen Area.
• Signals—from buttons and external sources—that control the display of each Screen
Area and its contents.
T The Screen Editor can manipulate (rotate, turn on and off) 256-color bitmap images but
it cannot create them. To create bitmap images, you need a pixel-editing program such
as Paint Shop™ Pro® or Adobe Photoshop® Elements.
15
2 mp/h 6 ButtonsPut control
logic in Basic pages
3 7
10
rpm x 1000
4 8
ESC OK
Application page
• The Define Areas page, Define Screen page, and Basic Page that define and control
these elements. You place these three pages in the Application page of the graphical
terminal template.
Start a Screen Editor Project on page 380 describes how to install a graphical terminal
template and add these pages to the template’s Application page.
Application page You create most of an application for a graphical terminal in this page.
The template that you use must match the graphical terminal for which you are creating an application.
You create a graphical terminal application using a Define Screen page, a Define Areas page, and Basic
pages. You select these pages in the Components tab and drag them into the Application page.
The Inputs bus brings signals from graphical terminal buttons and other sources to these pages.
Define Areas Page Use the tools that display when you enter this page to create the Screen Areas that appear on the screen of
your graphical terminal.
A Screen Area is the background against which images, lines, and text appear.
Use the tools in the Define Areas page to define the position of each Screen Area, as well as the Screen Area’s
size and color.
A Screen Area can fill all or part of the graphical terminal’s screen.
After you bring signals to the Define Areas page, use the editing tools within this page to select the signals
that enable the display of Screen Areas.
The Define Areas page does not support sub-buses. Always use a main bus to bring signals to this page.
The File menu’s Import commands do not work with this component. Importing this component into a new
project strips the component of its contents.
Define Screen Page Use the tools that display when you enter this page to define the contents of each Screen Area.
The contents of each Screen Area include bitmap images, lines, and text.
(Before you can define the contents of a Screen Area, you must first use the Define Areas page to create the
Screen Area.)
Use the tools in the Define Screen page to define the appearance and position of each item that appears in a
Screen Area.
After you bring signals to the Define Screen page, use the editing tools on this page to select the signals that
control the behavior of items in Screen Areas.
Use signals to show and hide items, move and rotate items, and display changing numeric values.
The Define Screen page does not support sub-buses. Always use a main bus to bring signals to this page.
The File menu’s Import commands do not work with this component. Importing this component into a new
project strips the component of its contents.
Basic Page Use this page as a container for the logic that controls the display of Screen Areas and the items in the Screen
Areas.
This page is available for your programming convenience. It is an empty page except for input and output
ports.
Enter
Click to display tools
Click
Assign
Screen area
Screen Area properties
The preceding figure shows the tools—tabs, panes, and buttons—within the Define
Areas page that you use to create Screen Areas. These tools display when you first enter
the Define Areas page.
(The Screen Library tab also displays but is not used when creating Screen Areas. The
figure here does not show this tab.)
The Define Areas page does not support sub-buses. Always use a main bus to bring
signals to this page.
T You must assign an HWPortName in the Inspector tab before you can create a Screen
Area.
T The File menu’s Import Page and Import Block commands do not work with the
Define Areas block. Importing a Define Areas block into a new project strips the block
of its contents.
Inspector tab Use this tab to manage the properties of Screen Areas.
Layout pane Use to layout Screen Areas. Drag as needed to resize and reposition Screen Areas placed in this pane.
When you click a Screen Area in this pane, the Area moves to the front, the Port Manager tab highlights its name, and the
Inspector tab shows its properties.
Right-click a Screen Area to open a pop-up menu with Delete, Move Backward, and Move Forward commands.
Use the Move Backward and Move Forward commands to change the Inspector tab’s Order property.
Editor buttons The size of your monitor determines the row in which these buttons appear.
To view the properties of a Screen Area, click the Screen Area name listed in the Port
Manager tab or click the Screen Area in the Layout pane.
HWPortName Becomes available after you click Areas1 in the Port Manager tab.
The HWPortName selection that you click in the pull-down list sets the port type and maximum pixel size of all
Screen Areas in the Areas1 tree.
Selecting an HWPort Name makes other properties in the Inspector tab available.
Order Indicates the display order of a Screen Area when several Screen Areas simultaneously have an Enable
property that has a true Entry signal or a Value that is True.
The order in which you assign Screen Areas in the Port Manager tab initially sets the front-to-back Order
property.
A Screen Area with an Order property of 1 displays in front of a Screen Area with an Order property of 2; a
Screen Area with an Order property of 2 displays in front of a Screen Area with an Order property of 3.
To change the Order property, right-click a Screen Area. In the pop-up menu that opens, click the Move
Forward or Move Backward command.
A signal-enabled Screen Area always displays in front of a true-enabled Screen Area.
Upper left corner Defines the upper left corner position of a Screen Area.
Upper left corner—Sets the upper left corner X (horizontal) and Y (vertical) pixel positions of a Screen Area.
Signal—Click to select a signal to control the position of the upper-left corner.
Because disabled pixels remain visible until overwritten by the pixels in another Screen Area, you need a
background Screen Area to see the effects of shrinking a Screen Area.
Constant—Click to set fixed values the position of the upper-left corner.
Dragging a Screen Area in the Layout pane also changes these corner values.
Lower right corner Defines the lower right corner position of a Screen Area.
Lower right corner—Sets the lower right corner X (horizontal) and Y (vertical) pixel positions of a Screen Area.
Signal—Click to select signals to control the position of the lower-right corner.
Constant—Click to set fixed values for the position of the lower-right corner.
− Stays invisible after you power on the graphical terminal and becomes visible
when its enabling signal becomes true.
Press Press
1
File2
5 1
File2 5 1
File2 5
2 6 2 6 2 6
The preceding figure shows how a single true-enabled Screen Area works with two signal-
enabled Screen Areas.
Note the Enable settings in the Inspector tab for each Screen Area.
1
File2 5 1
File2
5 1
File2
5
2 6 2 6 2 6
The preceding figure shows how three signal-enabled Screen Areas work together.
Note the Enable settings in the Inspector tab for each Screen Area.
(See Define Areas Page/About the Enable Property on page 325 for more about
Enable properties.)
The order in which you assign Screen Areas in the Port Manager tab initially sets the
front-to-back Order.
1
File2 5
2
File1 File3
6
3 7
4 8
ESC OK
The preceding figure shows the display order of three true-enabled Screen Areas.
To change the Order property, right-click a Screen Area in the Layout pane. In the pop-up
menu that opens, click the Move Forward or Move Backward command.
1
File2 5
2 File1 6
File3
3 7
4 8
ESC OK
The preceding figure shows the display order of three Screen Areas where:
• The File2 and File3 Screen Areas are signal-enabled and both have true signals.
Signal-enabled Screen Areas that have true signals display:
Y-axis
240
The preceding figure shows the effect of the Inspector tab’s Upper left corner and Lower
right corner properties on the size and position of a Screen Area.
Enter
Right-click Select
Layout panel
When you enter the Define Screen page for the first time, this page displays the tools that
you need to assign the Screen Areas that you created in the Define Areas page described
on page 321.
Once you assign your first Screen Area, the tools that enable you to drag items from the
Screen Library tab (not shown here) into Screen Areas become available. Define Screen
Page/Add Library Items on page 332 describes these tools.
The Define Screen page does not support sub-buses. Always use a main bus to bring
signals to this page.
T The File menu’s Import Page and Import Block commands do not work with the
Define Screens block. Importing a Define Screens block into a new project strips the
block of its contents.
Screen Manager tab Use this tab to assign the Screen Areas that you created in the Define Areas page to a hardware port.
Screen_Page1—Click for a tree view of the Screen Areas assigned to the PortName selected in the Inspector tab.
Click a Screen Area name in the tree to bring the area to the front of the Layout pane.
SingleWireEntry—Not used here.
BusEntries—Click for a tree view of all the signals available at the Define Screen page’s Data port.
Inspector tab This tab assigns the Screen Areas in the Screen1 tree to a hardware port.
Layout pane Displays the Screen Areas added to the Screen1 tree.
(You must return to the Define Areas page if you need to change the property of a Screen Area, such its Color,
Enable, or Corner properties.)
Click a Screen Area to bring the area to the front and highlight its name in the Screen Manager tab.
Editor buttons The size of your monitor determines the row in which these buttons appear.
Preview Click for a preview of the layout as it will look in the graphical terminal.
The preview temporarily overrides Options window settings.
Layout panel
Properties Preview
Once you assign a Screen Area to a port, the Define Screen page displays more tools.
You use these tools to drag items from the Screen Library tab—such as Shapes, Images,
and Texts—into Screen Areas and to then manage the properties of these items.
Screen Manager Use this tab to manage the contents of each Screen Area.
tab Click a Screen Area name for a tree view of all the library items that you assign to the selected area.
Click Screen Area items in this tab to see their properties in the Inspector tab.
Right-click items in this tree to open pop-up menus that have Cut, Copy, Delete, and Paste commands.
Inspector tab Use this tab to manage the properties of items placed in Screen Areas.
Layout pane Drag library items from the Screen Library tab into Screen Areas placed here.
Click a Screen Area to bring the area to the front and highlight its name in the Screen Manager tab.
Click a library item to see its properties in the Inspector tab. The Screen Manager tab highlights the name of the selected
item.
Screen Library tab Displays a tree view of a library of Shapes, Images, Texts, and HWComponents that you can add to Screen Areas.
Use the Image Register pane to add to the library of available Images.
Use this tab to manage the properties of the library items that you add to Screen Areas.
To view the properties of a library item, click the item name in the Screen Manager tab or
click the item itself in the Layout pane.
Different types of library items have different properties, so that the type of item you
select determines the properties displayed by the Inspector tab.
See Define Screen Page/About Screen Item Properties on page 335 for a list of the
properties of Shapes, Images, Texts, and HWComponents.
ID Used for internal identification purposes. You cannot change this value.
Order Indicates the front-to-back display order of overlapping library items when library items simultaneously have an Enable with
a true Signal or a Constant that is True.
An item with an Order of 1 displays in front of a library item with an Order of 2.
The sequence in which you drag a library item into the Layout pane sets its initial Order.
To change a library item’s Order, right-click the item. In the pop-up menu that displays, click the Move Forward or Move
Backward command.
Begin point X—Sets the starting y-axis (horizontal) position, in pixels, of a Line.
Y—Sets the starting y-axis (vertical) position, in pixels, of a Line.
(You select Line from the Shapes tree in the Screen Library tab.)
End point X—Sets the ending x-axis (horizontal) position, in pixels, of a Line.
Y—Sets the ending y-axis (vertical) position, in pixels, of a Line.
Width Sets the top-to-bottom thickness, in pixels, of a Line drawn on the horizontal x-axis.
Sets the side-to-side thickness, in pixels, of a Line drawn on the vertical y-axis.
Font Sets the font property of Texts taken from the Screen Library.
Reference Sets the X-axis and Y-axis coordinates of the small blue cross displayed on Images and HWComponents library items.
position All vertical, horizontal, and rotational movements of the library item take place with reference to this point.
Reference point in the Image Register pane sets the position of this cross.
Priority Determines which library item displays when two or more items simultaneously have an Enable with a true Signal.
When you enable two or more items, the graphic terminal only displays the item (or items) with the highest Priority.
Lower Priority numbers give library items higher display priorities, with 0 giving an item the highest display priority.
Visible Outputs a true Boolean signal when a library item becomes visible.
To be visible, a library item must have a true Screen Area, a true Enable property, and a Priority that is higher than or equal to
the Priority of any other library item in the same Screen Area.
(You must connect a wire to the Data bus to be able to output this signal.)
Begin point √ — — —
Color √ √ √ √
Enable √ √ √ √
End point √ — — —
Font — — √ —
ID — √ √ √
Reference position — √ — √
Order √ √ √ √
Priority √ — √ √
Rotation — √ — √
Starting point — — √ —
Visible √ √ √ √
Width √ — — —
• Low Oil Pressure! text has an Order of 1, with Enable properties that change.
1 5
2 6
Low Oil Pressure! (text) Low Oil Pressure! Red background
3 7
4 8
ESC OK
Low Oil Pressure! 1 Signal Alert text and background bar only display when their signals become true.
Red background 2 Signal Alert text displays in front of background bar when both signals are true.
Red background 2 Signal Background bar displays behind alert text when its signal becomes true.
When setting the color through a Signal, use a Multi-character Constant component to
output red, green, and blue (RGB) color values.
Use the ten-character scheme shown below when setting individual RGB values.
Place holder
Blue value
Green value
Red value
Hexadecimal prefix
0x FF FF 00 00
COLOR
Two-character hexadecimal values set the red, green, and blue values of the color where:
Color examples
Red Value Green Value Blue Value
FF 255 00 00 00 00 Red
00 00 FF 255 00 00 Green
00 00 00 00 FF 255 Blue
When you enable two or more items, the display terminal only shows the item (or items)
with the higher Priority.
• The Low Oil Pressure, Dirty Air Filter, and Low Washer Fluid alerts all appear within
the same Screen Area.
Priority example
Alert Enable Signal Status Priority Display
Right-click
Preview
Pixel color
Use the Image Register pane to add 8-bit bitmaps (BMP) to the Image tree in the Screen
Library tab.
• Copies the selected bitmap to a file in the folder that contains the graphic project files.
This copied bitmap becomes the source of the registered image.
The Images tree in the Screen Library tab displays the name of the registered image.
The source bitmap itself remains unchanged.
Path Displays the location of the registered image in the Screen Library tab’s Images tree.
Description Enter the reference name for the bitmap that you are registering.
This name displays in the Images tree when you click Save.
Image Displays the name of the source file, its image type, and its size in pixels.
Pixel origin Becomes available if your image has a single pixel with a unique color. Check to set the Reference point on this pixel.
Color depth Sets the color depth that the bitmap image displays.
Select Monochrome (1 bit) or 256 Colors (8 bit).
The 256 Colors (8 bit) selection is only available for 256-color source images.
Transparency Click to set what areas of the bitmap image are transparent.
Opaque—All pixels in the bitmap image are visible.
Lower left corner—All pixels with the same color as the pixel in the lower left corner of the bitmap image become transparent.
Click image—All pixels in the bitmap image that have the same color as the pixel that you click become transparent.
Pixel color—Displays the color of the selected pixel.
Palette Sets the color palette that the bitmap image uses.
Active in application—Uses a color palette previously defined in the application.
From OS—Uses the color palette defined in the hardware operating system.
From BMP—Uses the color palette from the BMP source file.
Reference point
The Reference point sets an X-axis and Y-axis reference point on an image.
The default Reference point is the upper left corner of the image.
When you click an image in the Layout pane, a small blue cross identifies the Reference
point.
All vertical, horizontal, and rotational movements of the image take place with reference
to this point.
Languages in
each Text Group
Text Group
Use the Text Register pane to add a Text Group to the Texts tree in the Screen Library
tab.
• Copies the strings in the Text Group to a file in the graphic project folder.
• Displays the Description name of the Text Group in the Screen Library tab’s Texts
tree.
Preview font Sets the font and size of the string that displays in the Preview pane.
(This control does not set the font displayed by the graphical terminal. The Inspector tab’s Font property sets the font displayed
by the graphical terminal.)
Path Displays the location of Text Group within the Texts tree in the Screen Library tab.
Description Enter the name for the Text Group. This name appears in the Screen Library tab’s Texts tree when you click Save.
Click a Text Group name in the Texts tree to open the Text Register pane and view the strings in the group.
Languages Lists the different languages in which you can display the Text Group string.
This chapter contains some basic “how-to” procedures for the PLUS+1 GUIDE program.
Select
Windows programs use an object-action paradigm: you first select an object and then you
select the action to apply to the object.
The PLUS+1 GUIDE program uses an action-object paradigm: you first select an action and
then you select the object of the action.
2. Do the action.
3. Stop the action by either clicking another action or by pressing `.
2. Each click in the Drawing Area adds another 3 Digit Auto-type component.
Undo Redo
Toolbar
Use the Undo and Redo buttons in the toolbar or the Setup menu’s Undo and Redo
commands to correct your mistakes.
T By default, the PLUS+1 GUIDE program enables the Undo and Redo functions. The
Options window enables and disables these functions.
The path to this window is Setup menu > Options > Options window > General.
Zoom level
− M zooms in.
− W zooms out.
4 4
Selected
action
The Status bar shows that you have selected the delete action.
2. In the Drawing Area, click and drag to select the item that you want to delete.
The Attributes window displays when you select a single item or make multiple
selections of identical items (such as selecting three components).
* = Will be deleted
- = Will not be deleted
2
4
Selected
action
5 4
1. In the toolbar, click the Delete button.
The Status bar shows that you have selected the delete action.
2. In the Drawing Area, click and drag to select multiple items.
The Select Item Class window displays when select multiple items that belong to
more than one class (such as a component and a wire).
3. Use the Select Item Class to select the items that you want to delete.
Signal wire
Typically, when you delete a signal-to-bus connection, you want to keep the bus but
delete the wire, annotated text, and port.
* = Will be deleted
A - = Will not be deleted
C
D
B
E 4
Selected action
1. Delete the signal-to-bus connection at the bus without deleting the bus.
A. Click the Delete button in the toolbar.
The Status bar shows that you have selected the delete action.
Releasing the mouse displays a Select Item Class window that identifies, by class,
the items that you have selected.
C. In the Select Item Class window, click Toggle ON<-> OFF and click:
... B
A
C 4
Releasing the mouse displays an Attributes window that shows the attributes of
the wire that you selected.
Refresh a View
Press 4 to refresh your view of the Drawing Area.
1
2
1. Right-click and drag the pointer straight in the direction that you want the page to
move.
A square appears where you right-click.
2. Release the mouse.
The area that was under the square now centers on your pointer.
The farther you right-click from the center of the page, the more the page moves.
To leave a page: or L
• To enter a page:
1. Click the Enter Page button in the toolbar or press E.
• To leave a page, click the Leave Page button in the toolbar or press l.
Inputs page
Drag to undock
Click to close
Drag to dock
Default Downlock
Layout Upunlock
Drag to resize
• Click the Default Layout command in the View menu to display locked Manager,
Inspector, Compiler, and Selector panes in their default positions.
• Once you have clicked the Default Layout command, you can use the Pane Control
buttons or the Manager, Page Navigator, Inspector, Compiler Messages, and
Selector commands in the View menu to show and hide panes.
• To undock a pane from the PLUS+1 GUIDE window, drag the pane by its undocking
bar to separate it from the window.
• To dock a pane to the PLUS+1 GUIDE window, drag the pane by its title bar over the
window edge until it docks.
• To autohide a pane (show and hide with mouse movements), unlock the Pane Control
button. The pane will only display when you move the mouse to the edge of the pane.
A. Locate the Hardware Description for your PLUS+1 hardware model and drag it
from the Hardware tab into the Project Manager tab.
B. In the Project Manager tab, fully expand the Hardware Description tree.
C. In the Hardware tab, also fully expand the Hardware Description tree.
A
B
2. As needed, change the comment that describes the hardware to a comment that is
meaningful to you.
B. In the toolbar, click the Inspector button to display the Inspector pane.
C. In the Inspector pane Comment field, change the default Hardware Description
comment.
A. Drag the Template from the Hardware tab to the Project Manager tab.
(You can also drag the Template and drop it into the Drawing Area.)
B. Use the Rename Main Module window to give the Default template a name that
is useful for you.
A
A
B
A. In the Inspector tab, click the property that you want to change.
B. Select or enter a new property value.
T By default, the PLUS+1 GUIDE program enables the Undo and Redo functions. The
Options window enables and disables these functions.
The path to this window is Setup menu > Options > Options window > General.
Create a Page
An application template contains pages. Pages in the template logically organize
functions such as inputs, parameters, outputs, as well as the application itself.
User-defined pages
You can add your own pages when you need to:
• Create blocks of components that you can export and then import for reuse in other
applications.
Page View
Page Interface
Editor View
The preceding figure shows a Top View, Page View, and Page Interface Editor View of the
same page. You use these three page views—typically along with the Import Block
command—to create a page.
Page Top View In this view, you connect wires and buses to the entries that you defined in the Page Interface Editor View.
Page View In this view, you add wire and bus ports. These ports connect to the entries that you defined in the Page Interface
Editor View.
You connect the components that you place in this page to these ports.
You can import blocks of components into this page and also drag individual items into this page from the
Component and Library tabs.
Import Block Use the File menu’s Import Block command to select an *.SCS file containing a block of components and import it
into the Page View.
(Use the File menu’s Export Block command to export selected items to an *.SCS format file.)
Page Interface Editor View Design the appearance of the page’s Top View here. Use the Page Interface Editor tools to draw page borders, add
wire and bus entries, and add text labels.
The following procedure creates the page shown in the preceding figure. This page has a
wire and a bus input and a wire and a bus output.
The contents of your page determine the number of inputs and outputs required on the
page that you create.
This procedure focuses on creating a page but not on adding contents to the page. Your
programming style determines when and how you add contents to the page.
Also see Page Guidelines on page 438 for suggestions about the layout of page elements
and port labeling.
Typically, the Application page is the first place where you need to add a page.
Stop
Start
2. Add a page.
The Page Interface Editor View displays the preceding toolbar. The following table
describes the tools in this toolbar that you commonly use to create a page view.
Change Size Resize lines and move entries, @PAGENAMEs, and text.
A
C
B
Insertion point
D
5. In the Page Interface Editor View, draw new, thick blue page borders and reposition
the @PAGENAME.
D. Click @PAGENAME and move it to just below the top border of the page.
A
B
C
E `
D
(Note the button shown in the preceding figure. Do not confuse the Entry Bus
button and the Entry button.)
B. In the <Entry> Change Attributes (Single Mode) window’s EntryName, type the
name for the wire entry.
E. Press `.
Repeat these substeps to add additional wires.
A B
C
E `
B. In the <Entry> Change Attributes (Single Mode) window’s EntryName, type the
name that you want to give the bus entry.
E. Press `.
A
B
8. In the Page Interface Editor View, draw lines between the entries and the page
borders.
These non-functional lines improve the top level appearance of a page.
B. Draw a line between each entry and the borders of the page.
A
B
D E
9. In the Page Interface Editor View, add a text label to each entry.
A. In the toolbar, click the Text button.
B. Click anywhere on the page.
C. In the Text Attributes window, type a text label name in the String field.
D. Click OK.
Click
Standard toolbar
10. Click the Stop button to leave the Page Interface Editor and return to the Page View.
(Note the button shown in the preceding figure. You can easily confuse this
button with the Port Bus button.)
E `
12. Place the wire port and select the wire entry that you want to port into the page.
A. Click to place the wire port.
The Select/Define Port Name window opens. This window lists the names of wire
entries that you created in the Page Interface Editor.
B. In the Select/Define Port Name window, click the wire entry that you want to
port into the page.
D. Draw a wire from the wire port and then press 9 to terminate the wire.
13. In the Page View, add bus ports as needed to the page.
B
C
E `
14. Place the bus port and select the bus entry that you want to bring into the page.
A. Click to place the bus port.
The Select/Define Port Name window opens. This box lists the bus entries that
you created in the Page Interface Editor.
B. In the Select/Define Port Name window, click the bus entry that you want to port
into the page.
D. Draw a bus from the bus port and then press 9 to terminate the bus.
Click
15. In the toolbar, click the Leave Page button to leave the Page View and go to the Top
View of the page.
D
16. In the Top View, give the page a name that is meaningful to you.
A. In the toolbar, click the Query/Change button.
B. Click Page1.
A read-only parameters file is a downloadable lhx file with constant values that configure
an application.
A read-only parameter files is useful where, except for different configuration values, the
same logic controls a series of devices, such as a family of hydraulic motors.
Instead of creating a separate application for each device, you can create different read-
only parameters files to configure the same application for use with each device in the
series.
This procedure creates a read-only parameters file with the following values.
Read-only parameters
Name Signal Type Value
T See Read-only Parameter on page 285 for more information about the components
used to create a read-only parameters file.
Changed from
TYPE to Setup_Values
Changed from
COMMENT to Mtr_Values
(Motor Values)
In this example:
T inputs to the Switch components cause these components to apply the values
in the read-only parameters lhx file to the application.
B. In the Inspector tab, click the button that appears in the Parameters property to
display the Edit System Parameters window.
C
D
5. Set the properties needed to create a read-only parameters lhx file.
A. In the Project Manager tab, right-click the Application Name (Motor Control in
this example) to display a pop-up menu.
The Inspector tab shows the File Name of the *.exr conversion file.
C. In the Inspector tab, enter a TYPE name that matches the TYPE name used in the
PARAMETER OPEN component (Setup_Values in this example).
D. Press ‘.
The CSV template file has fields for each parameter, but no data types or values in
the fields.
In the next steps, you turn the CSV template file into a CSV source file by adding
values and saving the file under a new name. You then run a PLUS+1 process that
outputs the values in the CSV source file to a downloadable read-only parameters
lhx file.
Warning
Do not compress (zip) your project files until you have resolved the causes of all ERROR 77
messages.
Zipping the project files with unresolved errors will corrupt the P1P format file. You will not be
able to reopen your project.
If you close a project with unresolved ERROR 77 messages, do not zip the project files.
A
CSV template fileno data types or values
A. Browse to the project folder and locate the CSV template file.
B. Right-click the CSV template file and, using the pop-up menus, open the template
file with Microsoft Excel or Notepad.
See About the CSV Template File Format on page 382 for more information
about the format of the CSV template file.
Data type
Value
CSV source filedata types and values
Value (1 = T; 0 = F)
Data type
8. Create the CSV source file.
A. In the CSV template file, enter a data type and a value for each parameter.
A
B
A. In the toolbar, click the Generate Parameter button to display the Generate Read-
only Parameter File window.
C. In the Generate Read-only Parameter File window, click Browse to display the
Open window.
Use the Open window to select the CSV source file for the Data Values used in
the read-only parameters lhx file.
(To change the default file name, see OutputFileName on page 382.)
Compile
For more information about downloading lhx files, see the PLUS+1 Service Tool User
Manual.
The CSV template file has fields for each read-only parameter but no values in the fields.
You add values to the fields and save the file under a new name to create a CSV source file.
The CSV source file is the source for the downloadable, read-only parameters lhx file.
2 Type* Identifies the read-only parameter set, using the PARAMETER OPEN component’s TYPE value.
3 TypeFileName* Identifies the *EXR file used to generate the read-only parameters file.
4 OutputFileName Defines the name of downloadable read-only parameters lhx file that you generate with the Generate Read-
only Parameter File window.
As needed, enter a new output file name (in this example, replace DataTemplate_SETUP_VALUES.lhx).
5 VERSION Defines a version field that appears in PLUS+1 Service Tool program.
As needed, enter a version (in this example, replace Heavy Duty Motor).
8 MIN_DATASIZE* The value of the minimum data size as defined by the hardware.
11– Read-only parameters, generated from the parameter set in your application.
For each read-only parameter, enter a SIGNALTYPE (Data Type) and a VALUE.
As needed, enter an optional COMMENT. Comments do not become part of the read-only parameters lhx file.
This chapter contains some “how-to” procedures for the PLUS+1 GUIDE Screen Editor.
1. Install the most recent version (2.2.4 or later) of the PLUS+1 GUIDE program on your
PC.
2. Start the PLUS+1 program.
3. If you have already installed the hardware files for the graphical terminal, skip ahead
to step 6.
4. Install the hardware file for the graphical terminal for which you are creating an
application.
C. In the Select Hardware window that opens, locate and click the hardware file for
the graphical terminal.
A Hardware file
A. In the Install Hardware window, click Install. The selected hardware file installs
and the Hardware tab now displays the selected hardware file.
6. Click and drag the hardware file and the template for the graphical terminal from the
Hardware tab to the Project Manager tab.
A. In the Hardware tab, click to view all the items in the graphical terminal tree.
B. Drag the hardware file for the graphical terminal from the Hardware tab into the
Project Manager tab.
C. Drag the template file for the graphical terminal from the Hardware tab into the
Project tab. As needed, use the Replace Main Module window to rename the
module.
The Drawing Area now displays the template in which you will create an
application for a graphical terminal. (Your template may look different.)
F
D
B E
F
7. Enter the Application page of the template and add Screen Editor pages.
This step adds the Define Areas page and the Define Screen page. All graphical
terminal applications that use the Screen Editor must have these two pages.
The Basic Page is provided for your convenience to contain the logic that controls
what the graphic terminal displays. You can add this page later.
Typically, you also add buses to bring Inputs signals to these pages. (See Screen
Editor Elements on page 319 for a fully “wired” example.)
A. In the toolbar, click the Enter Page button.
Enter
Screen Area
The Inspector tab displays the properties of the Screen Area, including its File
name.
Enter
B
A
The Inspector tab displays the properties of the new Screen Area, including its
File name.
Enter
A
New file name
C /
2. Change the name of a Screen Area.
A. In the Port Manager tab, click the Screen Area name that you want to change.
C. Press '.
Enter
A. In the Port Manager tab, right-click the Screen Area that you want to delete.
1. If you want to control properties with signals, you must route the bus containing the
desired signals to the Define Areas page to make these signals available.
Enter
3. To change a Screen Area property that is Constant, perform continue on to the next
step.
A. In the Port Manager tab, click the Screen Area that has the property that you
want to change.
The Layout pane displays the selected Screen Area.
B. In the Inspector tab, click the Constant property that you want to change. Select
a new property from the list that displays.
A. In the Port Manager tab, click the Screen Area that has the property that you
want to control with a signal.
The Layout pane displays the selected Screen Area.
B. In the Inspector tab, click the Signal for the property that you want to control.
Select a signal from the list that displays.
When you power up the graphical terminal, the logic in the preceding figure:
• Displays the Screen Areas enabled by the SW_SOFT1, SW_SOFT2, and SW_SOFT3
signals.
• Disables the SW_SOFT1, SW_SOFT2, and SW_SOFT3 inputs for 150 ms.
Off Delay:
Holds Logo_Scrn
signal true for 5 s after OS start
Negative Transition:
Two Input Switch: Makes SW_SOFT1 true
Disables inputs when 5 s off delay ends
for 5 s after OS start
When you power up the graphical terminal, the logic in the preceding figure:
• Displays the Screen Area enabled by the Logo_Scrn signal for five seconds.
• Disables the SW_SOFT1, SW_SOFT2, and SW_SOFT3 inputs for five seconds.
• Displays the Screen Area enabled by the SW_SOFT1 signal after five seconds.
10100824 · Rev CA · April 2007 393
PLUS+1 GUIDE
User Manual
Screen Editor—How To
C
B
A
D
C. In the Select Screen Area window that opens, click the Screen Area that you want
to assign.
This window lists all the Screen Areas that you created in the Screen Areas page.
The Layout pane also resizes to the pixel dimensions of the HWPortName that
you assigned in the Define Areas page.
Grayed-out items in the Screen Library tab become available as soon as you
assign the first Screen Area.
A. In the Screen Manager tab, right-click the Screen Area that you want to delete.
You select a Line from the Shapes tree in the Screen Library tab.
0 X-axis 400
0 Layout panel
WidthConstant
Y-axis
End point:
240 XConstant,
same as Begin point X value
YSignal
Begin point:
WidthConstant XConstant
YConstant
• Increases in length when the pixel value of its x-axis End point signal increases.
• Decreases in length when the pixel value of its x-axis End point signal decreases.
The vertical bar graph shown in the preceding figure:
• Increases in height when the pixel value of its y-axis End point signal decreases.
• Decreases in height when the pixel value of its y-axis End point signal increases.
(You can change the default language later. See Define Screen Page/Use the Default
Language Setting on page 399 for more information.)
C. Use the Languages window to add additional languages to the Text Group.
– Click the + button to display the Screen Editor window. Type the name of the
new language in this window and click OK.
– In the Languages window, click the languages that you want to add.
B. In the pop-up menu that displays, click Text to open the Text Register pane.
Text Group
name
C D
C. Click Save.
The Screen Library tab displays the Description name in the New Text Group
tree. (As needed, repeat these steps to add an additional Text Group.)
• You do not want the end user to be able to switch between languages.
If you want the end user to be able to switch between languages, see Define Screen
Page/Switch between Different Languages on page 400.
2
New default language
1. In the Screen Library tab’s Languages tree, right-click the language that you want to
make the default language.
A download file created with a Swedish default language setting (as shown in the
preceding figure) only displays Swedish text strings.
Place to right of
Select Language component
Use this figure as a guide when creating logic that switches languages if:
• And you want the end user to be able to switch between different languages.
If you do not want the end user to be able to switch between languages, see Define
Screen Page/Use the Default Language Setting on page 399.
1. Route the bus containing the desired data signal or signals to the Define Screen page.
Enter
3. Use the Text Register pane to create and register a text string with a % print character.
(See Define Screen Page/Create a Text Group on page 397.)
A. Drag the registered text from the Screen Library tab into the Layout pane.
B. In the Screen Manager tab, click to expand the new T (ext) entry.
D. In the Inspector tab, click the signal with the value that you want to display.
%d %+5d %05d
Conversion character Conversion character Conversion character
Formatting characters Formatting characters
− % print character.
− A conversion character that is appropriate for the data values that you want to
display.
• Use the formatting characters as needed to refine the appearance of the data.
Space Puts a blank space before a positive displayed value and a - sign before a negative displayed value. Item 2
+ Puts a + sign before a positive displayed value and a – sign before a negative displayed value. Item 3
n Right justifies the displayed value, where n = maximum number of spaces that precede the value. Spaces Item 4
decrease as the value increases.
-n Left-justifies the displayed value, where n = maximum number of spaces that can follow the value. Spaces Item 5
decrease as the displayed value increases.
0n Sets the maximum number padding zeros that appear to the left of the displayed value, where n = number Item 6
of zeros.
For more information, see Define Areas Page/Assign a Hardware Port on page 387.
For more information, see Define Screen Page/Assign a Screen Area on page 394.
− A Boolean signal that controls the Image List component’s Enable property.
In this example, the Image List component displays when the Boolean
ImgLst_Enbl (Image List Enable) signal is T.
In this example, the value of the U8 Img_Slct (Image Select) signal controls which
image the Image List component displays.
Enter
Add images
3. Use the Image Register pane to add images to the Screen Library tab’s Image tree.
See Define Screen Page/Text Register on page 342 for more information about the
Image Register pane.
4. Drag an Image List component from the Screen Library tab into the Layout pane.
− Position the Image List component where you want the images to appear.
− The Screen Manager tab displays an Image List entry.
Display order
5. Drag images from the Screen Library tab on to the Image List component.
− Each image that you successfully add to the Image List component acquires the
layered border of the Image List component.
− The name of each image added to the Image List component appears in the
Image List tree in the Screen Manager tab.
6. Select an ActiveIndex signal to control which image the Image List component
displays.
B. In the Inspector tab, select a signal to control the Image List component’s
ActiveIndex property.
The order in which you added images to the Image List component sets the initial
Order value of each image.
(You can move an image in the Image List tree to change its Order.)
An image displays when its Order value equals the ActiveIndex value.
– The Dirty Oil Filter image has an Order value of 2. A Data.Img_Slct signal
value of 2 displays this image.
– The Dirty Air Filter image has an Order value of 3. A Data.Img_Slct signal
value of 3 displays this image.
7. Select an Enable signal to enable the display of the Image List component.
In this example:
To enable a constant display of the Image List component, set its Enable
property to a Constant value of T.
8. Compile the application and download it to the display terminal.
For more information, see Define Areas Page/Assign a Hardware Port on page 387.
For more information, see Define Screen Page/Assign a Screen Area on page 394.
− A Boolean signal that controls the Text List component’s Enable property.
In this example, the Text List component displays when the Boolean TxtLst_Enbl
(Text List Enable) signal is T.
− An integer signal that controls the Text List component’s ActiveIndex property.
In this example, the value of the U8 Txt_Slct (Text Select) signal selects which text
the Text List component displays.
Enter
Add text
3. Use the Text Register pane to add text to the Screen Library tab’s Texts tree.
See Define Screen Page/Text Register on page 342 for more information about the
Text Register pane.
4. Drag a Text List component from the Screen Library tab into the Layout pane.
− Position the Text List component where you want text to appear.
− The Screen Manager tab displays a Text List entry.
Initial order
5. Drag text from the Screen Library tab on to the Text List component.
− Each text that you successfully add to the Text List component acquires the
layered border of the Text List component.
− The name of each text added to the Text List component appears under the Text
List entry in the Screen Manager tab.
6. Select an ActiveIndex signal to control which text the Text List component displays.
B. In the Inspector tab, select a signal to control the Text List component’s
ActiveIndex property.
The order in which you added text to the Text List component sets the initial
Order value of each text.
(You can move a text in the Text List entry to change its Order.)
A text displays when its Order value equals the ActiveIndex value.
7. Select an Enable signal to enable the display of the Text List component.
B. In the Inspector tab, select a signal to control the Text List component’s Enable
property.
In this example:
To enable a constant display of the Text List component, set its Enable property
to a Constant value of T.
8. Compile the application and download it to the display terminal.
T If your project needs to display a non-Roman alphabet such as Cyrillic, see Define
Screen Page/Display a Non-Roman Alphabet on page 420.
For more information, see Define Areas Page/Assign a Hardware Port on page 387.
For more information, see Define Screen Page/Assign a Screen Area on page 394.
Enter
B
A
This step installs fonts in a Fonts folder, which is located in the Program Files for the
PLUS+1 GUIDE program.
A. In the Setup menu, click Install Font to display the Install Font window.
B. In the Install Font window, click Select to display the Font window.
C. In the Font window, select the desired Font, Font style, and Size.
As needed, select the correct Script type if you are displaying a non-Roman
alphabet.
D. Close both the Font window and the Install Font window.
3. Create a folder for the fonts that you will use in your project.
In the pop-up menu that displays, click the New Folder command to create a new
folder.
In the pop-up menu that displays, click the Rename command and give this folder
a useful name, such as Project Fonts.
A
Use to browse to the Fonts folder
This step copies the fonts that you installed in Fonts folder to the folder that you just
installed in the Screen Library tab.
In the pop-up menu that displays, click the New > Font commands to display the
Add Font to Project window.
B. In the Add Font to Project window, click the font that you want to add.
New font
The Screen Library tab displays the fonts that you added.
Add text
5. Use the Text Register pane to add text to the Screen Library tab’s Texts tree.
See Define Screen Page/Text Register on page 342 for more information about the
Text Register pane.
6. Drag a text from the Screen Library tab into the Layout pane.
New font
B. In the Inspector tab, change the text’s Font property from a Constant system
font to a new project font.
• Use the Text Register pane to enter text in a language that uses a non-Roman
alphabet.
A. Display the Advanced tab of the Regional and Language Options window.
Path: Start menu > Settings > Control Panel > Regional and Language Options
window > Advanced tab
B. In the Advanced tab of the Regional and Language Options window, select the
desired language.
C. In the Change Regional Options window that displays, click Yes to restart your
computer.
A. Display the Languages tab of the Regional and Language Options window.
Path: Start menu > Settings > Control Panel > Regional and Language Options
window > Languages tab
B. Click Details to display the Settings tab of the Text Services and Input
Languages window.
C. In the Text Services and Input Languages window, click Add to display the Add
Input Language window.
D. In the Add Input Language window, select an appropriate Input language and
Keyboard layout/IME.
A. In the Text Services and Input Languages window, click Language Bar to
display the Language Bar Settings window.
B. In the Language Bar Settings window, click Show Language bar on the
desktop.
C. Close both the Language Bar Settings window and the Text Services and Input
Languages window.
4. To install fonts, see Define Screen Page/Install Additional Fonts on page 414.
5. After you have installed the necessary fonts, continue on to the next steps.
6. Use the Text Register pane to add text to the Screen Library tab’s Texts tree.
A. Use the Language Bar to select the correct keyboard input.
B. In the Text Register pane, use the Preview font pull-down menu to select the
correct preview font.
C. Еnter your text.
D. Click Save to save your changes. Click Close to close the Text Register pane.
7. Drag a text from the Screen Library tab into the Layout pane.
A
New font
B. In the Inspector tab, change the text’s Font property from a Constant system
font to the font for the non-Roman alphabet.
9. Compile the project and download it to the display terminal.
A
B
3. Drag a Video input frame from the Screen Library tab into the Screen Area.
A. In the Screen Library tab, click to fully expand the HWComponents tree.
B. Drag the Video input frame into the upper left-hand corner of the Screen Area.
Video page
4. Leave the Screen Areas page and navigate to the Video page.
False constant
True constant
5. In the Video page, replace the F(alse) constant on the DIGOUT with a T(rue) constant
to enable the video output.
• Capture an image of the graphical terminal’s screen and save this screen image in the
terminal’s random access memory (RAM).
• A Boolean signal, that when true, causes the graphical terminal to save a screen image
in its RAM. The Prnt Scrn (Print Screen) signal in the following procedure performs
this function.
• A Boolean signal that when true, causes the graphical terminal to display the saved
screen image. The Dsp Prnt Screen (Display Print Screen) signal in the following
procedure performs this function.
In the following procedure, inputs from the graphical terminal’s 1 and 2 buttons make
these two signals true. (Your application may use different inputs to make these
signals true.)
Application page
− Basic Page to contain the control signals for the Define Screen page.
− A bus that carries a signal from this Basic Page to the HW Outputs bus.
2. Enter the Basic Page that contains signals for the Define Screen page.
A
Basic Page
Captures image
Displays capture
3. In the Basic Page for the Define Screen page, wire the signals that capture the screen
image and display the captured screen image.
OS Out page
Delete
Wire
5. In the OS Out page, wire the Prnt Screen signal to the PRINT SCREEN output.
7. Drag a Print Screen frame from the Screen Library tab into the Layout pane and
then select the signal that enables the frame.
A. In the Screen Library tab, click to fully expand the HWComponents tab.
B. Drag the Print Screen frame into the Layout pane. Where you place the Print
Screen frame sets the position of the upper left-hand corner of the captured
screen image.
C. In the Inspector tab, click to Enable the display of the captured image with the
Dsp Prnt Scrn signal.
4 8
Current values
ESC OK
9. Capture a screen image and then display the captured screen image.
A. On the graphical terminal, press button 1 to make the Prnt Scrn signal true.
The graphical terminal captures the screen image and saves it in RAM.
B. On the graphical terminal, press button 2 to make the Dsp Prnt Scrn signal true.
The graphical terminal displays the captured screen image. Where you placed the
Print Screen frame determines where the captured screen image displays.
− Delete
− Copy
− Move
− Stretch
− Route Wire/Bus
Chapter contents Keyboard Shortcuts ................................................................................................................................... 432
Command Modifiers.................................................................................................................................. 434
Keyboard Shortcuts
Keyboard shortcuts
Menu/Command Keyboard
File
Import Block b
Export Block y
Edit
Undo 0
Redo —
Move m
Stretch S
Delete X
Copy/Repeat c
Query/Change q
View
Enter Page e
Leave Page l
Refresh 4
Set Center i
Zoom
In M
Out W
Area 3
Fit Page h
Keyboard shortcuts
Menu/Command Keyboard
Setup
Add
Route Wire/Bus R
Tools
Help
Command Modifiers
Delete command modifiers
Modifier Keys Function
x To delete a selected segment in a route, press this modifier key while selecting the segment.
6 Press this modifier key to rotate a selected item counterclockwise (ccw) in 1deg increments.
7 Press this modifier key to rotate a selected item ccw in 45 deg increments.
9 Press this modifier key to rotate a selected item ccw in 90 deg increments.
s++ Moves the most recently added item in a group of selected items.
To move only the most recently added item in selection, press this modifier key while dragging.
s Press and hold this modifier key to constrain routing to 90 or 180 deg.
j Press this modifier key to display a window in which you can change the route width.
n Press this modifier key while selecting a route to display a Nodes window that provides information about the route.
n then x Pressnwhile selecting a route. Then press x to delete vertexes from the route.
Press 9 to stop deleting vertexes.
This chapter contains guidelines for laying out pages and labeling the ports on the pages.
Page Guidelines
The following figure and table have layout guidelines that you can use when creating the
Page Top View in the Page Interface Editor.
1 My_Page_Name 3
2
Loop Tm Status
Max Fault
Min Data 1
4
Rst/Hld Data 2
5
Rst Val Alrm
6 Input Output
3 Page name PageName Center on block Title caps; underscore (_) spaces between words; do not
overrun function borders
4 Input label CoverSheet3 X left, Y center Title caps; do not underscore (_) spaces between words
5 Output label CoverSheet3 X right, Y center Title caps; do not underscore (_) spaces between words
D
C My_Page_Name
Loop Tm Status
Max Fault
Min Data 1
Rst/Hld Data 1
Rst Val Alrm
B
Input Output
A
I t
E E
F F
Detail: Input label and connection Detail: Output label and connection
centimeter cm millimeter mm
kilogram kg volt V
meter m
BIT, 70
1 Bit Count component, 154
Bitwise
16 Input Capped component, 166
AND component, 147
16 Input component, 164
OR component, 148
XOR component, 149
2
2 Input Capped component, 161 C
2 Input component, 160
Call Module component, 264
Close Text Set component, 310
3 COLOR, 70
Color properties, about, 337
3 Character component, 137 Combine component, 205
3 Digit Autotype component, 134 Command modifiers, 431
Compare in Hysteresis Window component, 129
6 Compare with
Hysteresis High component, 123
6 Character component, 139, 140 Hysteresis Low component, 127
6 Digit Autotype component, 136 Hysteresis Middle component, 125
Component
Subtract, 81
A Component tab, 63
Absolute Value Capped component, 93 Components
Absolute Value component, 92 16 Input, 164
Add Capped, component, 86 16 Input Capped, 166
Add, component, 80 2 Input
Advanced Checkpoint component, 227 2 Input Capped, 161
Advanced Checkpoint with Namespace component, 3 Character, 137
227, 229 3 Digit Autotype, 134
AND component, 143 6 Character, 139, 140
Arc 6 Digit Autotype, 136
Cos component, 103 Absolute Value, 92
Sin component, 102 Absolute Value Capped, 93
Tan component, 104 Add, 80
Array Constant from File component, 195 Add, Capped, 86
Arrays, about, 74 Advanced Checkpoint, 227
Assign Advanced Checkpoint with Namespace, 227, 229
hardware port AND, 143
Define Areas page, 387, 388, 389, 390, 391 Arc Cos, 103
Arc Sin, 102
Arc Tan, 104
B Array Constant from File, 195
Basic page, about, 319 Basic String with 8 Variables, 307
Basic String Bit Count, 154
with 4 Variables component, 306 Bitwise
Basic String with 8 Variables component, 307 AND, 147
E I
Enable properties, about, 325 Image Register, described, 339
Encode Initialize Hardware Output component, 232
4 BOOL component, 198 Insert Array Elements component, 191
8 component, 200 Insertion point, about, 341
Equal (to) component, 121 Inspector
Error tab, 66
checking, 10 Inspector tab (Screen Editor)
Define Areas page, 323
Define Screen page, 333
F
False component, 133
Fault handling, 10
K
FILE, 70 Keyboard shortcuts, 431
Find Array component, 194
FONT, 70
Function tab, 64
L
Language Definition Input component, 311
G Languages, how to switch between, 400
Length of Array component, 188
Generate Compiler Error on Not Constant component, Less (than) component, 118
269 Less (than) or Equal (to) component, 120
Generate Compiler Error on Range component, 268 Limit component, 115
Generate Compiler Error on Type component, 270 Line component, 295
Get Array Element component, 184 Lock panels, 354
Graphic Loop
component, 297 Counter component, 170
Label component, 300 Counter with Carry component, 168
Greater (than) component, 117 Loop Delay component, 216
Greater (than) or Equal (to) component, 119 LSB Position component, 152
GUIDE window, 30
M
H Max Value Capped component, 111
Hardware Max Value component, 107
description, installing, 355 Measure Period component, 223
Input Typed component, 233 Median Value Capped component, 113
Input/Output component, 235, 236 Median Value component, 109
Output component, 234 Memory Capped component, 181
tab, 55 Memory component, 179
tab, about, 60 Menu bar, 36
Hardware tab Min Value Capped component, 112
Product Search window, 57 Min Value component, 108
Module
Bus Input component, 263
W Z
Window, GUIDE, 30, 33 Zero component, 141
X
XOR component, 146