italo2008

MrPLC Member
  • Content count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About italo2008

  • Rank
    Newbie
  • Birthday 11/16/84

Contact Methods

  • Website URL http://
  • ICQ 0

Profile Information

  • Gender Male
  • Country Italy

Recent Profile Visitors

2613 profile views
  1. Hi I'm trying to import and export datasets of a project (runtime) in CSV files , using a USB key. The OP is Siemens MP277. The user must be able to export a dataset to a CSV file in the USB key, and import the dataset from the usb key. I've written a script for export and another script for import datasets, this is the code EXPORT (I have 3 recipes, and SmartTags("Recipe data.Recipe_Number") is the number of dataset I want to export/import ExportDataRecords "Filling Gains",SmartTags("Recipe data.Recipe_Number"),"\Storage Card USB\ExportedRecipe\FillingGains.CSV",hmiOverwriteAlways,hmiOff,StateExportFillingGains Do Loop While (StateExportFillingGains <>4 And StateExportFillingGains <> 12) ExportDataRecords "In_Flight",SmartTags("Recipe data.Recipe_Number"),"\Storage Card USB\ExportedRecipe\In_Flight.CSV",hmiOverwriteAlways,hmiOff,StateExportInFlights Do Loop While (StateExportInFlights <>4 And StateExportInFlights <> 12) ExportDataRecords "Production recipe",SmartTags("Recipe data.Recipe_Number"),"\Storage Card USB\ExportedRecipe\Production recipe.CSV",hmiOverwriteAlways,hmiOff,StateExportProductionRecipe Do Loop While (StateExportProductionRecipe <>4 And StateExportProductionRecipe <> 12) IMPORT ImportDataRecords "\Storage Card USB\ExportedRecipe\FillingGains.CSV",SmartTags("Recipe data.Recipe_Number"),hmiOverwriteAlways,hmiOff,StateImportFillingGains Do Loop While (StateImportFillingGains <>4 And StateImportFillingGains <> 12) ImportDataRecords "\Storage Card USB\ExportedRecipe\In_Flight.CSV",SmartTags("Recipe data.Recipe_Number"),hmiOverwriteAlways,hmiOff,StateImportInFlights Do Loop While (StateImportInFlights <>4 And StateImportInFlights <> 12) ImportDataRecords "\Storage Card USB\ExportedRecipe\Production recipe.CSV",SmartTags("Recipe data.Recipe_Number"),hmiOverwriteAlways,hmiOff,StateImportInFlights Do Loop While (StateImportProductionRecipe <>4 And StateImportProductionRecipe <> 12) my problem is that the first script works (I find the 3 files in the usb key, with the correct values), but the second doesn't, and the value of variables Stateimport.... is 12 (error). could someone explain me where is the mistake?
  2. Process supervision-help for beginner

    Siemens s7 300 or Allen-Bradley or both
  3. Hi I need to create an application for windows platform wich allows users supervising a process, in wich there are two or more PLCs. Now, I'm looking for informations about software that I can use in order to create this application (ZenOn, Movicon, ecc.). In the manuals that I found on the Internet, I see that these softwares allow to use ( for example) 2 communication drivers at the same time: but what does it means exactly? does it means that the application will communicate with no more than 2 PLCs? What kind of hardware do I need in order to establish a communication between PLCs and the PC in wich the application will run? Do I need a particular module on each PLC?
  4. Hi (and sorry for my English I need to connect an operator panel (producted by Siemens) with VIPA plc, using an ethernet cable. I tried with a 10 meters long straight-thru cable and it works correctly, but using a longer cable (15 or 20 meters) there's no communication. I checked cable ends and i verified that there's current in the cable and everything is OK 1) the lenght of the cable may be a problem? 2) I know that a stright-thru cable must have the same order in the two cable ends, but can I decide this order or there's a specific order that I must follow?) thanks
  5. Hi I need to learn how to build a web-based application which allows user to see production data of a plant with Siemens PLC over the Internet, using a web browser. I know that with SIEMENS CP343-1 Advanced module I can do this (it's a web-server). Now, does anybody know if an equivalent VIPA module does exist? thanks
  6. thanks for all these informations, but I'm working at my thesis, and they asked me to test socket communication.... I know that it would be simpler using mail and custom web pages (I've buit some already). All I have is: LAN with -router -pc (with rslogix 5000) -compactLogix L43+EWEB I used java libraries for setting up a server waiting for socket connections on my pc, but I'm not able to write ladder logic to set up this connection.The only thing I can do is following the user guide, and this is what I've done so far: is it correct? I manually set "abilita_socket", and in this way those rungs are executed only once. I set all parameters like user guide says. The problem is that the ER tag of the 1st MSG instructionis is set, and it says "Connection Failure". What's the communication path that has to be set in the MSG configuration? is it correct?
  7. Hi (and sorry for my English....) I'm trying to establish a socket communication between a CompactLogix L43 (with 1768 eweb) and a pc. The pc is the server, eweb is the client. I want the PLC to send data to the pc, wich is waiting for incoming connections. So, what's the correct sequence of services that I have to write in ladder logic (using MSG instruction)? for example: a)open connection b)create socket c)write socket or a)create socket b)open connection c)write socket or others? and if is the pc that must send data to the PLC? thanks...