Questions tagged [siemens]

Tag for questions about Siemens informatics products such as the programmable logic controller (PLC)

Siemens develops electronic embedded systems, devices and informatics products such as the programmable logic controller (PLC)

177 questions
2
votes
2 answers

C# and PLC (S7-1200) Data Block Reading Error 33028

I am working on the connection between C# and a Siemens PLC (S7-1200). I've created a datablock (a.k.a. database) to which I need to read and eventually write. The connection to the PLC works, but I can't read anything from its datablock. It always…
Frysning
  • 23
  • 1
  • 4
1
vote
2 answers

How to create Topology connection using Siemens TIA Openness & Python?

I am trying to automate the hardware configuration in TIA Portal V17 with the help of Python & TIA Openness API. I have created a subnet & connected all the network interfaces to the subnet as shown below: #creating a list of all found network…
mukara
  • 97
  • 2
  • 14
1
vote
0 answers

[OPCUA]Unable to get reflected changes in the node-red debug window for subsequent changes in the tia portal

In my Node-red flow, i am taking data from Siemens PLC through OPC-UA node in node-red. I'm getting data perfectly for some-time(meaning whatever changes i make in Tia portal program is also shows in node-red debug window.[Refer to screenshot…
Shubham Gupta
  • 57
  • 1
  • 6
1
vote
1 answer

Read the spindle speed in a SIEMENS PLC s7 300 with python snap7

I would like to read the spindle speed of a Siemens PLC 317-2DP with NCU 720.2. To do that, I use the python snap 7 library. I managed the connexion to the PLC, but I would like to read the spindle speed with the function read_area(area: Areas,…
Aux98
  • 23
  • 3
1
vote
0 answers

OPCUA subscribing to all events

I want to get all events when subscribing to server object at UA Expert, for that how can I listen to the Server object. I am using prosys JAVA sdk 4.2.0 As of now when I am subscribing directly to the specific sub-objects node of server object, I…
1
vote
1 answer

how to browse into an array node OPC UA (OPC foundation .NET)

I made a test program (altered this code) to browse into nodes from my opc ua server (siemens s7-1200): using (var session = Session.Create(config, new ConfiguredEndpoint(null, selectedEndpoint, EndpointConfiguration.Create(config)), false, "",…
Victor Pieper
  • 540
  • 2
  • 17
1
vote
0 answers

TIA Portal Openness - modify project library types

In TIA Portal Openness (API version 16, 17 or 18) - is there a way to edit library types? That is, to modify a library type and release the change as a new version? Specifically, I wish to modify PLC User Defined Types (UDTs). using Openness, I have…
1
vote
1 answer

Is it possible to send data from PLC to PC instead to have to read from PC to PLC periodically? (siemens S7)

I am new in PLCs, and I would like to can send data from the PLC to a PC application that it would be listening and the it could act in consecuence. For example, the PLC detects an alarm and the it would send this alarm to the PC. The PC receive…
Álvaro García
  • 18,114
  • 30
  • 102
  • 193
1
vote
2 answers

How to communicate Python with Siemens PLC using Python-snap7 and plcsim?

I used pycharm for writing my code and plcsim for simulatio. When I run my code and run plcsim I get an error. I used Tia portal V16 and s7-1200 and I want to communicate between S7-1200 and python-snap7 This is the error: PS…
bader
  • 11
  • 2
1
vote
1 answer

Differences between multiple OPC UA clients connected to the same OPC UA server

I have two OPC clients subbed to about 160 items(temp sensors,pressure sensors,...) on a Siemens PLC(S7 1500) OPC UA server. Each client is on a different machine (one is on-site, other is hosted on cloud). When we compare results on each client we…
Afaeld
  • 15
  • 3
1
vote
1 answer

How to install GSDML file via Siemens TIA openness API into TIA project?

Updating with very useful info using guidance from mrsargent I am trying to automate following steps in C# (Visual Studio) with following steps: run and connect to TIA portal create project install GSDML device files add PLC and single device as…
Ulysses
  • 5,616
  • 7
  • 48
  • 84
1
vote
0 answers

Secomea DCM 3529 multiple triggers or two values in the same reading

I am currently having troubles with Secomea Data Collection Module, I was wondering if anyone here might be able to enlighten me. So I am collecting sensor data from the product Secomea 3529 through a portal called Secomea Sitemanager. I can't seem…
1
vote
1 answer

finding the size of an item in a Siemens DICOM tag

I am tryying to read a multi-slice (Mosaic) DICOM image from a Siemens scanner in C++, using DCMTK to read the tag and information on the nibabel pages. As I understand, Mosaic images have a CSA header and after 8 bytes (CSA1) or 16 bytes (CSA2),…
alle_meije
  • 2,424
  • 1
  • 19
  • 40
1
vote
2 answers

Writing variables with OPC UA

Recently I was trying to communicate with a Siemens S7-1200 plc, I am using the OPC UA protocol, I am able to connect and read all the variables but I have problems when I try to write a value in the variable, this is the error message: File…
Gz9812
  • 13
  • 4
1
vote
1 answer

S7NetPlus plc.Write() not changing cartain values in data block (Siemens S7-1500)

I am using S7.NetPlus library to connect to Siemens S7-1500. When trying to read data from the plc, there are no problems. However, I am having a vary difficult time Writing new values to the plc. I have tried using plc.Write or plc.WriteClass. The…
SeeSharper
  • 23
  • 4
1 2
3
11 12