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
3
votes
2 answers

libnodave error while reading from Siemens s7-1200 (0x8104)

While checking s7nodave's EPICS device support for S7-1200 I've encountered a problem that refers to libnodave. When I'm try to read any memory address in PLC, IOC console reports an error: epics> 2014/05/19 14:20:41.964 Siemens-PLC error while…
user3653898
  • 31
  • 1
  • 3
2
votes
1 answer

How can I read/write an entire user-defined object to an OPC UA Server from OPC UA Client using C#?

I have a Siemens PLC which has an OPC UA Server on it. The image below shows the data I'm getting from browsing the nodes when I use the ReferenceClient.csproj found here https://github.com/OPCFoundation/UA-.NETStandard under the…
2
votes
1 answer

OPC UA Certificate chain validation incomplete - OPC Foundation SDK

I've been struggling with this code for hours. I need to connect to an OPC UA server (IP 192.168.7.118), it's a Siemens S7-1200 PLC. I'm using the official OPC Foundation NuGet package and the following code: static void Main(string[] args) { //…
IFrank
  • 419
  • 1
  • 5
  • 12
2
votes
0 answers

C# OPC-UA Read/Write String - Strange characters

I'm relatively new to OPC-UA, I use C# to read/write data to Siemens PLC with OPC-UA protocol. I downloaded helper class (UAClientHelperAPI.cs) from Siemens site ad I use the ReadValues and WriteValues method from this class. In short: When I read…
2
votes
2 answers

Threejs: Change color of only one child object

i have a problem with changing the color of a element of my 3D Model (imported with the GLTFLoader). I added some pictures of the structure of the model. I want to change the color of the marked children element in red. The path is:…
stoex
  • 81
  • 6
2
votes
1 answer

S71200 LSQL-Microsoft, Datatype changed, after copying Function Block - How do I fix this?

I am integrating SQL-Connection to one or our existing Siemens S7-1200 PLCs right now. After copying a Function Block from a working project, one of the data types has changed and is causing trouble now. Original: Copied FB: Does anybody know, how…
nico25
  • 73
  • 6
2
votes
1 answer

OPCUA: How to call nested method

I'm tryng to call "Select" method using OPCUA Foundation libraries. and this is how I call it NodeId node = new NodeId("ns=2;s=/Methods/Filehandling"); NodeId method = new NodeId("ns=2;s=/Methods/Filehandling/Select"); object[] arguments = new…
2
votes
2 answers

How to set I/O values in siemens PLC Device?

I am creating a Web API for a local network in the .net framework(C#). In that user can import/export IO Tags from excel or set them as a static string array. I have added (Siemens.Engineering.Hmi.dll) but still, it shows a not found compile-time…
Dot Net
  • 31
  • 3
2
votes
1 answer

Siemens S7-1200: Cannot download datalog

I have problem downloading my datalog. Already make a coding using python to automatically download the datalog everyday. And the coding works on three sites. But, on the fourth site, using the same code, I got an ERROR 404 not found. But, the files…
Mohd Izzar
  • 41
  • 8
2
votes
2 answers

S7-1200, Snap7: Exception: CLI : function refused by CPU (Unknown error)

Running below snap7 client script for python using Siemens S7-1200 PLC shows the below common CLI refusal error. What is here the common problem and how to solve it? Script: import snap7 from snap7.util import * import struct import…
ZF007
  • 3,708
  • 8
  • 29
  • 48
2
votes
1 answer

Pass data from Siemens s7 1200 PLC to PHP script

Currently I'm working on project with PLC's. I have Siemens s7 1200 PLC and I would like to pass data into another website. For example I would like to count units and send/record on database. I know I can have website on PLC and remotely open that…
Klapsius
  • 3,273
  • 6
  • 33
  • 56
2
votes
1 answer

SIEMENS PLC S7 1200 TOF issue

Let's say I have a Boolean input which can switch its state automatically. Swichting from 0 to 1 and from 1 to 0 sets a cycle. To determine if that cycle is valid, the cycle time must be at least 10 seconds. I can determine if one semicicle is…
Aldridge1991
  • 1,326
  • 6
  • 24
  • 51
2
votes
4 answers

python snap7 windows - can't find snap7 library

i try to install snap7 (to read from a S7-1200) with it's python-snap7 0.4 wrapper but i get always a traceback with the following simple code. from time import sleep import snap7 from snap7.util import * import struct plc =…
Lavalu
  • 83
  • 1
  • 1
  • 8
2
votes
1 answer

Siemens S7-1200 PLC LED DI/DO History

Is there a way to review the Digital Input/Digital Output LED light history of a Siemens S7-1200 PLC? If so, is it through the web portal or through Simatic and can someone point me in the direction of where to find such information? Thanks - will…
Emko
  • 21
  • 1
2
votes
1 answer

Siemens S7-1200. TRCV_С. Error code: 893A; Event ID 02:253A

Please, help to solve the problem with communication establishment between PC and 1211C (6ES7-211-1BD30-0XB0 Firmware: V 2.0.2). I feel that I've made a stupid mistake somewhere, but can't figure out where exactly it is. So, I'm using function…
KrasnokutskiyEA
  • 587
  • 1
  • 6
  • 20
1
2
3
11 12