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
0
votes
1 answer

S7.NET isConnected return value why always true after a succesful connect even if I disconnect the cable?

I connected my PC to a Siemens PLC with S7.NET library in a C# WPF app. There is a property, isConnected. If I connect to the PLC with plc.Open() the property return value becomes true. But, If I disconnect the PLC cable, the property value still…
0
votes
1 answer

How to connect to Siemens PLCs using dynamic connection parameters

I am trying to create a project that allows to change connection parameters without project's edits. I get parameters from a file stored in my PC. I used file-in to read the file, a switch to read the correct row and a function to get the IP Address…
0
votes
1 answer

Siemens LOGO! PLC data in the wrong order

So I'm accessing an Siemens LOGO! PLC to extract some data from. I managed to do that with my work partner but we're stuck on how the data is being saved. The data is being timestamped in a dictionary with the output and input bytes from the PLC.…
0
votes
2 answers

SQL Server (WINCC) does not exist

I'm really in trouble having Wincc RT Professional running on my computer. It has consistently come with an error "Compilation not possible. the "WinCC" SQL instance is either not running or not available" anytime I compile it. I searched that it…
Thanh Nhon
  • 23
  • 1
  • 7
0
votes
1 answer

Write an Array (of real) to an Siemens 1500 with OPC UA on WINDEV

(sorry for my french way to write english) Hi, After many research on net and doc, i can't resolve my problem I try to write an array of 150 real to siemens with OPC UA : PROCÉDURE WriteArrayToNode(NodeIdTxt is string) Trace("lets…
Paul M
  • 1
  • 1
0
votes
0 answers

How to Emit data from function using Socket io

I am very beginner in NodeJS, I am taking data from S71200 PLC device using nodes7 library, I want to pass data using socket io emit but I can't pass data to socket io emit below my code app.js var app = require('express')(); var http =…
Arasan
  • 13
  • 5
0
votes
1 answer

python snap7 on Anaconda for windows 10 - can't find snap7 library

I try to use snap7 (to read from a S7-1200) python 3.8 on Anaconda for Windows 10 .I have followed many suggestions on this issue. However, I cannot solve this problem. import snap7 plc = snap7.client.Client() Snap7Exception: can't find snap7…
titis
  • 1
  • 2
0
votes
1 answer

Handling Sinumerik Alarms with Event Based MonitoredItem on a .Net Core OPC UA client

I'm trying to monitor alarm events on a OPC UA client utilizing event based monitored items. I subscribe to the node: ns=2;s=Sinumerik and add the corresponding attributes and filters. Later on I handle the notification on a OnNotification() method…
Rodrigo Arroyo
  • 107
  • 1
  • 2
  • 9
0
votes
1 answer

Missing "Enable standard Simantic Server Interface" in OPC UA server options of TIA Portal V16

I'm pretty new to working on Siemens PLC (in my case a S7-1500). I want to set-up a OPC-UA server using a customn created information model. However I'm missing the option "Enable standard SIMATIC server interface" in the CPU settings. This is how…
0
votes
1 answer

AWS IoT Rule re-publish topic MQTT

I receive the following input: $aws/things/siemens-logo/shadow/update { "state": { "reported": { "I..1:1-1": "01" } } } How can I republish the value as follows: office/rgb1/light/status { "state": "ON", } I'm stuck with the…
0
votes
1 answer

Eclipse Milo: Reading and decoding a custom data type node from a Simatic S7-1500

The problem and what I suspect goes wrong: I am trying to read a custom data type node from a Siemens Simatic S7-1500 and decoding fails with: Error running client example: max string length exceeded (length=1819042152,…
Jordy
  • 1
  • 1
0
votes
1 answer

"some installed products need licenses. Please start automation license manager..." TIA portal installation error

Newbie here. So I've been having trouble installing TIA Portal v15.1. During the installation, I always get an error message saying "some installed products need licenses". I'm on win 10 Pro 64 bit. The log file can be found here:…
Charismatic
  • 1
  • 1
  • 2
0
votes
1 answer

Use windows user name and password for web login

I am new to industrial automation development. I am working on simens. And currently, I want to use windows login user name and password for website login using asp.net. let me know if it is possible or not. If yes then how? I will be very thank…
0
votes
1 answer

C# & Siemens S7 communication with Sharp7 library - GetAgBlockInfo parameters?

For this function: public int GetAgBlockInfo(int BlockType, int BlockNumber, ref S7BlockInfo Block); What is the parameter for BlockType if I would like to use this fc to read DB? I've tried: S7Consts.S7AreaDB, 132, 0x41, 65
0
votes
1 answer

Send bit to Siemens Logo 8 with Python (modbus connection)

I am trying to send 1 bit from my pc (192.168.0.2) to Siemens network input (IP: 192.168.0.11:504) with Python. But i can't get it work. The goal is to send bit via modbus connection to trigger BO31 condition. My Python code: import socket from…