![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|
#1 |
|
Member
![]() Join Date: Oct 2009
Location: Belgium
Posts: 2
|
S7 Datablocks
Hi all.
I'm trying to make a program, with a DB with integers. I read out a specific DB value, and add 1 to it with "ADD_I": Code:
A I 125.0
FP M 4.0
JNB _001
L DB1.DBW 0
L 1
+I
T DB1.DBW 0
_001: NOP 0
When I would download the program to a real PLC, and I'll do this, and then I disconnect the PLC from the net, will the value's be 0 again to? |
|
|
|
#2 |
|
Member
![]() Join Date: Jun 2006
Location: Edmonton
Posts: 2,418
|
No, the simulator resets when closed down, the PLC is not dependant on any connection to maintain values.
|
|
|
|
#3 |
|
Member
![]() Join Date: Oct 2009
Location: Belgium
Posts: 2
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Topics
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Siemens S5 and S7 Dual Masters for Profibus | daveswerld | LIVE PLC Questions And Answers | 15 | December 16th, 2008 02:15 AM |
| Siemens S7 hardware Structure Designe | farrei | LIVE PLC Questions And Answers | 10 | August 28th, 2008 03:59 AM |
| Siemens S7 PLC communications with Automod - datablocks higher than 255 | Chipley | LIVE PLC Questions And Answers | 10 | May 9th, 2008 02:46 PM |
| S7 & Controllogix over Ethernet | beethoven_ii | LIVE PLC Questions And Answers | 15 | March 13th, 2008 02:49 PM |
| New to S7 and MP270 | NetMan | LIVE PLC Questions And Answers | 19 | July 25th, 2006 10:38 AM |