In Control FPWIN Pro7, explicit user addresses should only be entered in the global variables list by assigning addresses to global variables. Using explicit user addresses in the programming editors is unsafe and not recommended with exception of index modifier addresses (see compiler warning).
Two formats are available: FP address and IEC 61131-3 address.
FP address |
IEC 61131-3 address |
---|---|
R0 | %MX0.0.0 |
WX4 | %IW4 |
S23:UM4A (FP7 only) | %MW20.23.74 |
WX4, S23:UM4A, Y3E, S12, R100A, E1234, DT1234
Format:
Slot address prefix for unit memory addresses, e.g. S23:UM4A (FP7 only)
Slot address specifier S
Slot number dd, e.g. 23 of S23:UM1A0
Separator ':'
Double size prefix D only for 32-bit values of words
FP address prefix:
For 1-bit values, e.g. X, Y, R
For 16-bit words with bits, e.g. WX, WY, WR
For 16-bit words without bits, e.g. DT, FL
Address offset:
For bits in word data "dddX", e.g. 100A of R100A
For bits not in word data "dddd", e.g. 1234 of E1234
For word data "dddd", e.g. 1234 of DT1234
For word data in the unit memory "XXXX", e.g. ABCD of S3:UMABCD
dd, placeholder for decimal numbers
XX, placeholder for hexadecimal numbers
Index modifier addresses: in programming editors explicit user addresses can be used with index modifiers.
16-bit index modifiers e.g. IXDT100, IYWR27, I2Y0 on 16-bit PLCs
32-bit index modifiers e.g. DIXDT100, DIYWR27, DI2Y0... on 32-bit PLCs
These index modifiers can also be used before slot numbers, e.g. DIXS12:UM1A0.
%IW4, %IW23.4, %QX3.14, %QX12.3.14, %MX0.100.10, %MX10.1234, %MW5.1234
Format:
IEC direct address type prefix: '%'
Location prefix:
I, input
Q, output
M, internal memory
Size prefix:
X, 1 bit
W, 16 bits
D, 32 bits
Area hierarchy number and seperator '.' for the internal memory area M
Slot number and seperator '.' for unit memory addresses (FP7 only)
Address offset:
For bits in word data "ddd.d", e.g. 100.10 of %MX0.100.10
For bits not in word data "dddd", e.g. 1234 of %MX10.1234
For word data "dddd", e.g. 1234 of %MW5.1234
For the tables with all other memory areas, please refer to flags and memory areas.