When you activate the option Control FPWIN Pro7 automatically enters the proper data type according to the prefix set in this dialog. Use the import and export function to save your prefix table, e.g. to share your prefixes with other users.
,The automatic detection of the data type only works if a capital letter or a number follows after the prefix.
If Control FPWIN Pro7 cannot detect a prefix, the most recently used data type is used.
Default setting
Data type |
Syntax |
Example |
---|---|---|
INT |
i |
iStation |
UINT |
ui |
uiInChannel0 |
DINT |
di |
diValue |
UDINT |
udi |
udiValue |
WORD |
w |
wSaveAlarms |
DWORD |
dw |
dwValue |
REAL |
r |
rMeasurementvalue |
LREAL |
lr |
lrTemperature |
BOOL |
b |
bPLC_Battery |
STRING |
s |
sPhonenumber_MCU01 |
DATE |
d |
dDate |
DATE_AND_TIME |
dt |
dtDateAndTime |
TIME |
t |
tResponseTime |
ARRAY |
a + data type character |
awReceiveBuffer[ ] |
Global variables |
g_ (initial characters) |
g_iStation, g_awReceiveBuffer[ ] |
Especially for programs written in the text-based ST editor you should use the Panasonic syntax recommendations for variable identifiers. The syntax has no effects on the behavior of a program, but certain rules help to assure better readability of a program. Of course you can choose your own syntax rules, e.g. to distinguish your identifiers from Panasonic identifiers.