GE Industrial Solutions 6KCV300WPD User Manual
Page 31
5.4.3
Setting the Port Attributes
The port attributes consist of two properties:
the name of the port
the data type of the port.
The name
be changed for basic blocks, only for compound blocks. The data type can be set to the
standard types of the C language:
char
short
int
long
(unsigned char)
(unsigned short)
Uint (unsigned int)
Ulong (unsigned long)
The selections available depend on the definition of the basic block. Especially basic blocks for arithmetic
operations provide a wide choice of data types. During code generation it is checked if the selected data types
fit together.
Editing Block Parameters
Some basic blocks not only have ports but also parameters to determine their behavior. These parameters can
be considered as internal constants of the block that can be set to fixed values by the user while creating the
schematic. The parameters are changed by opening the parameter dialog. First a block has to be selected, then
the context-sensitive menu has to be opened by pressing the right mouse button and finally the Parameter..
item has to be selected from this menu.
. . . . . . . . . . . . . . . . . . . . . . . . ...” . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
Figure 5.5.1: Block Parameter Dialog
A parameter is changed by selecting it from the list of available parameters. The text boxes for its name and
type show the actual values. A new value can be entered in the corresponding text box. A command button is
provided to change it back to the default value. Leaving the dialog by OK makes the change while pressing
Cancel leaves everything unchanged.
21