Questions tagged [s7-1200]

This is a tag to identify Siemens plc's from the product line S7-1200 series.

Questions related to the S7-1200 line may include module setup, function, errors, OPC communication but also communication via for example the snap7 library.

Some issues you may post are related to older PLC firmware versions in combination with certain Tia-Portal versions. If this applies to your case include version numbers always in the question either upfront or after the issue is solved. This way you save other users a lot of time finding bugs that are user coding unrelated.

58 questions
0
votes
1 answer

Connect to Matrikon server with OPC UA Java Legacy

I am trying to connect to an OPC server of a Siemens S7 1200 PLC. For this I used the Matrikon application That is configured on my local machine. With the JeasyOPC library I can make the connection, so it is like this: JOpc jopc = new…
0
votes
1 answer

Ways to establish communication between s7-1200 PLC and MS Azure

We're a group of students that is gonna set up communication between a S7-1200 PLC and a cloud (probably gonna be MS Azure), to upload measured data (e.g. temperature, pressure). In what ways is it possible to achieve this, and what communication…
0
votes
0 answers

WRITING FROM Raspberry Pi(python program) to S7-1200 plc

I would like to request your help in writing the following variables(strings) from a Raspberry Pi(python program) to CPU S7-1200 . I have compiled and installed Snap7 python.What are the changes I need to do for writing the variables (pc, prob,Xi,…
Aravind
  • 1
  • 1
0
votes
1 answer

Using WGET to retrieve information from PLC - Error 400 Bad Request

I'm attempting to use the wget program to retrieve and save a list of data from my Siemens S7-1200 PLC. Using a batch file I had written I was able drill down the folder path to my wget.exe file. Upon running the wget executable I get the error…
0
votes
1 answer

Metasploit Module NoMethodError undefined method 'get_once' for nil:NilClass

I am running a number of Metasploit modules for exploiting Siemens S7-300/400 and S7-1200 PLCs that were created from a Blackhat talk by Dillion Beresford in 2011. The modules are not supplied with Metasploit but have been added to the…
0
votes
0 answers

Not sure how to add parameters to a NetBiter EC310

I've just purchased a NetBiter EC310 and I'm having trouble adding parameters to the template. The PLC(Siemens S7-1200) and Netbiter are connected over Ethernet/IP and working. To add a parameter the following form needs to be filled in: The…
Niels
  • 95
  • 2
  • 9
0
votes
1 answer

Show several tags with JSON structure in Siemens s7 webserver

I am using a Siemens S7-1200 PLC with integrated webserver. I want to show multiple analog values from the PLC in the webpage using javascript. With one tag it works great, but how do I add and present multiple tags using JSON structure? I have…
user7315551
  • 39
  • 1
  • 8
0
votes
1 answer

Javascript file resize

Recently I was charting live data from simatic s7-1200 plc kit. This plc has a limitation where it only supports 60 KB js files. Is there any link or suggestions where i can get chart.js and jquery-3.1.0.js files which will be under 60KB. Thanks in…
0
votes
1 answer

C# TCP Server-Socket Security with PLC

I used this MS link to put together a TCP server in C# on a PC. I'm holding the port open and waiting for connections to be established by various PLC clients. The PLCs are in moving autonomous bots, so they move in and out of Wi-Fi range. I'm using…
itstudes
  • 411
  • 5
  • 14
0
votes
4 answers

make a dynamic chart on a plc

I'm searching for a way to make a graph on a user web page on a plc with data from the plc (datablocks or log files). The log files can be converted to CSV files. I get data per our and day from the plc and want to put this into a dynamic…
0
votes
1 answer

How do I solve the Siemens s7-1200 "GET" error from the webserver application?

I working with siemens s7-1200 web server. I'm trying to read data from 1200 so i made jsnop file and place it on 1200, and on my pc i made a web page to read that file. I've tested the code on web server on my virtual machine and it worked just…
ledenko
  • 1
  • 2
-1
votes
1 answer

s7.NET error tryind to read or write a var in vb.net

When i try to read some value appear de error on image... I already tried diferent ways and the result it´s all time the same(comment lines). How i can read a value in vb.net and s7.1200? thanks error vb.net Option Strict Off Option Explicit…
Colatra93
  • 1
  • 3
-2
votes
1 answer

Pass value two textbox's from one variable value

I have an encoder connected from Siemens PLC with data block "DB1.DBD56". My problem is, the two textbox has the same result or value. Scenario: Read Before 1seconds and Read After 1seconds I want the result like this: [For…
GMK
  • 1
  • 2
1 2 3
4