Retentive real

svoicum

Member
Join Date
Sep 2006
Location
Cluj
Posts
43
Hello again! I have an S7-314-2DP processor and I don't know how to save a retentive real variable. The prcessor admits only ex. M0-M16 retentive memory bite, time and counter and DB's are reseted on a power failure.

Please help me.
Thanks in advance.
 
svoicum said:
how to save a retentive real variable. The prcessor admits only ex. M0-M16 retentive memory bite,

you can use MD0, MD4, MD8, MD 12 etc as real values (define them in symbol table) and set up those M are retentive...
or use datablock to store real value
 
In general, the memory (DB and markers) is retentive. As girevik stated, define your DB as real or use MD.

Here is a link to Siemens tech note about the Retentivity of S7-300 CPUs (Entry ID 17602317). It gives details on making memory retentive or not retentive.
 

Similar Topics

Hi all, I have what is likely not a complex issue, but I am working in Automation Studio and want an accumulating/retentive timer when a...
Replies
17
Views
1,967
Having trouble with a Siemens S7 226 counter being retentive. I have specified in the System block C ranges offset 0, 6 elements. However, at...
Replies
0
Views
293
Been a long time since I've posted, but here we go. Started a new role in august and progressively learning about Codesys programming in...
Replies
2
Views
1,186
GE 90-30 using ME 6.0 - Newbie question... Let's say on rung 10 I set a coil (S) with a one-shot. Input to coil drops out, but coil stays...
Replies
30
Views
11,248
Need some insight into why this happened. After finally getting a VM to connect to a CPU 216 2 siemens processor, uploaded the program. made a...
Replies
5
Views
2,615
Back
Top Bottom