ifm
Basic Device Manual AS-i ControllerE M4 Target V15
2015-10-30
Programming
Overview PLC addresses
155
For flags
% M X
125
.0
% M B
164
% M W
82
% M D
41
Data area
Type of access
––
IEC address index
Data bit
M = flag
X = bit
not used
words 0…79 = remanent
words 80…127 = not remanent
0...15 bit access in
the defined word
address
16...2047* bit access
to the words
following the defined
word address
B = byte
byt
es 0…159 = remanent
bytes 160…255 = not remanent
––
W = word
words 0…79 = remanent
words 80…127 = not remanent
D = double word
double words 0...39 = remanent
double words 40...63 = not remanent
* Maximum data bit number for defined word address 0. If the defined word address is, for example, 126, the maximum data bit
number is 31 (access to bit 15 of flag word 127) because otherwise the length of the flag area is exceeded.
Examples:
%MX17.16 = %MX18.0
%MX0.2047 = %MX127.15
%MX126.31 = %MX127.15
Relationship between double word, word and byte
MD0
remanent
MW1
MW0
MB3
MB2
MB1
MB0
MD1
MW3
MW2
MB7
MB6
MB5
MB4
…
MD39
MW79
MW78
MB159
MB158
MB157
MB156
MD40
not remanent
MW81
MW80
MB163
MB162
MB161
MB160
MD41
MW83
MW82
MB167
MB166
MB165
MB164
…
MD63
MW127
MW126
MB255
MB254
MB253
MB252