Contact
Home
|
Product Support
|
Applications & Tools
|
Services
|
Forum
|
mySupport
Login
|
Register
Print document
Technical Forum
SIMATIC S7-1200
S7-1200 and DATA LOG
Thread Starter:
MarISG
Started:
6/7/2012 12:54 PM
Replies:
2
« Previous thread
Next thread »
Page 1 of 1 (3 items)
6/7/2012, 12:54 PM
MarISG
Joined 2/13/2012
Last visit: 12/21/2012
Posts: 1
Rating:
(0)
(0)
Pegaia wrote:
Hi,
I attached here a very simple sample program with Data Logging.
As didactical propose, I just call the relative blocks and mount a Watch Table to the manual command.
The block FB1 is used just to evaluate diagnose, it has no influence on the data log functions.
I suggest the follow sequence of commands in the Watch Table:
1 – Set a size for the data loggin: “Nr_Records”=10
2 – Create a File: “Cammand_Create”=1, and after “Cammand_Create”=0
3 – Give values for the logged variables, for example: “Data_Block_1”.Data.Int1 = 123; “Data_Block_1”.Data.real1=4,56;
4 – Write the open values to the File: “Cammand_Write”=1, and after “Cammand_Write”=0
Repeat the steps 3 (with different values) and 4, so many times you wish
5 – Open the Internet Browser and give the Ethernet address of the PLC as Address (10.100.120.3).
6 – Browse in Data Logs, and click in Download Icon
Note
: this sample program was made with STEP 7 V11 SP1 upd1.
SP1 for STEP 7 V11
http://support.automation.siemens.com/WW/view/en/51696778
Update1 for STEP 7 V11 SP1
http://support.automation.siemens.com/WW/view/en/52258326?Datakey=47071380
Attachment:
Data Logging.zip
(1710 Downloads)
Thanks for the sample program.
I also had my share of problems though:
i noticed that if the number of records is above a certain number the log file is not created and there is no error code generated, in my case the maximum number was 5000 records.
has anybody encoutered this problem before?
Thanks and best
Mar_ISG
=== Edited by O_Moderator @ 6/11/2012 9:36 AM [GMT ] ===
new subject after splitting from
Sample program: S7-1200 and DATA LOG
Top
6/12/2012, 4:47 PM
Gabriel de Ol...
Joined 2/16/2011
Last visit: 5/17/2013
Posts: 222
Rating:
(15)
(0)
Hello,
I Think the limit is the CPU memorie.
What CPU are you using?
How many data are in each record? And type? Int, Dint, real..
All the best
Gabriel de Oliveira
It Works? Rate It.
Top
6/12/2012, 4:57 PM
huggy_d1
Joined 7/7/2010
Last visit: 5/22/2013
Posts: 1979
Rating:
(200)
(0)
Saving to internal memory or memory card?
Helpful? Rate it.
Solved? Post it.
Top
Page 1 of 1 (3 items)
Actions
Copy Link
To conference
Product Conferences
LOGO!
SIMATIC TDC, FM458, T400
SIMATIC S7
SIMATIC S7-200
SIMATIC S7-1200
SIMATIC S7-300 / S7-300F
SIMATIC S7-400 / S7-400H / S7-400F /FH
SIMATIC S7-1500
SIMATIC S5 / STEP 5
SIMATIC 505
Communication / Networks
Programming Devices
PC-based Automation
Industrial PC SIMATIC PC
Decentral Peripherie
Industrial Software
SIMATIC Addons / IT4Industry
Process Control Systems SIMATIC PCS 7
Process Control System - APACS+
Process Control System - QUADLOG
Teleperm M / WinCC-TM / PCS 7 - TM
Other Process Control Systems
Visualization
SINUMERIK / SIMODRIVES / MASTERDRIVES / SIMOTION / SINAMICS
SINUMERIK CNC automation systems
SIMODRIVE Converter system
SIMOVERT MASTERDRIVES
Motion Control System SIMOTION
SINAMICS
MICROMASTER
ROBICON Perfect Harmony - Medium voltage converters
DC converters SIMOREG
SIMOTICS
Drive Tools
Process Instrumentation / Analytics / Weighing Systems SIWAREX
SIMATIC Ident
Low-Voltage Controls
Building Technology
General Conferences
Quick Links
All Conferences
The new Threads
Highlight Threads
Contact
Support Request
Contacts Worldwide
Moderator
Users online
hdhosseini
,
Newelectric
,
Shravan
,
DeanArmstrong
,
DenisF
,
Hallmi
,
Edma
,
mtoscani
,
dchartier
,
R&H CO.
,
eduargo
,
allen1
,
singh is king
,
gustavo1974
Help
Online Help
Guided Tour