5 ram memory access via codes, Ram memory access via codes, Appendix – Lenze ECSCAxxx User Manual
Page 381: Codes

Appendix
Memories
RAM memory access via codes
l
381
EDBCSXA064 EN 3.2
14.3.5
RAM memory access via codes
)
Note!
ƒ
In the system task, the memory access is processed at the same time as the
PLC program. This is why the processing time depends on the workload of
the system.
ƒ
If you want to access the RAM memory from the IEC 61131 program, you
can use the functions of the LenzeMemDrv.lib function library for this
purpose.
If you want to access the RAM memory of the ECSxA... axis module by external controls or
PC tools, e. g. in order to manipulate the data of motion profiles online, you can implement
a RAM memory access by means of the following codes:
RAM
block 1
RAM block selection
C0506
1
2
Offset
C0505
4 bytes
4 bytes
Offset
C0505
RAM
block 2
0
write
read
4 bytes
C0507
4 bytes
C0508
0
65535
65535
Write protection
C0504/1
Write protection
C0504/2
ECSXA296
Fig. 14−2
Codes for RAM memory access
Codes
Code
Possible settings
IMPORTANT
No.
Designation
Lenze/
{Appl.}
Selection
C0504
Activate/deactivate write
protection for RAM memory
l
In case of activated write
protection, writing on the
RAM memory via codes or
functions from the function
library LenzeMemDrv.lib not
possible.
^ 381
1
0
0
Write protection RAM block 1 inactive
1
Write protection RAM block 1 active
2
0
0
Write protection RAM block 2 inactive
1
Write protection RAM block 2 active