You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old October 11th, 2009, 06:56 AM   #1
Robbe
Member
Belgium

Robbe is offline
 
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 simulate the program, and I monitor DB1, it adds 1. But when I close the simulator, it's 0 again.

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?
  Reply With Quote
Old October 11th, 2009, 08:21 AM   #2
PeterW
Member
Canada

PeterW is offline
 
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.
  Reply With Quote
Old October 11th, 2009, 08:25 AM   #3
Robbe
Member
Belgium

Robbe is offline
 
Join Date: Oct 2009
Location: Belgium
Posts: 2
Quote:
Originally Posted by PeterW View Post
No, the simulator resets when closed down, the PLC is not dependant on any connection to maintain values.
Thank you
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 01:41 PM.


.