Search the Community
Showing results for tags 'WinCC'.
Found 42 results
-
hello everyone, Got a PLC/HMI project from machine vendor. The problem is that HMI does not compile. Both fonts are present of course but message suggest error stripping the font.... Sometimes there is additional warning about SimSun but that is just a warning...
-
Dear reader, I am writing a C# program using the library ‘EasyModbus’ that needs to communicate with Siemens WinCC via the connection type ‘Modicon modbus’ I have written a version using the ‘float’ data type in WinCC and that works perfectly. Here my code fragment: Method to convert ‘double’ to bytes in C#: public static byte[] DoubleToModbusFloat(double value) { byte[] bytes = new byte[4]; float floatValue = (float)value; int intValue = BitConverter.ToInt32(BitConverter.GetBytes(floatValue), 0); bytes[0] = (byte)(intValue >> 24); bytes[1] = (byte)(intValue >> 16); bytes[2] = (byte)(intValue >> 8); bytes[3] = (byte)intValue; return bytes; } Call of the method and loading of the modbus registers in EasyModbus: Bytes = PublicCode.DoubleToModbusFloat(TmpDbl); int n = (int)ModbusStartAddress + ((i - 1) * 2); mb.ModServer.holdingRegisters[n + 1] = (short)((Bytes[0] << 8) + Bytes[1]); mb.ModServer.holdingRegisters[n + 2] = (short)((Bytes[2] << 8) + Bytes[3]); So far so good – this works fine. But I also want to be able to use the ‘Double’ data type in WinCC because I sometimes need more precision than the 7 figures of the ‘float’. I thought it would simply be a case of doubling up the code so I wrote: Method to convert ‘double’ to bytes in C#: public static byte[] DoubleToModbusDouble(double value) { byte[] bytes = new byte[8]; long intValue = BitConverter.ToInt64(BitConverter.GetBytes(value), 0); bytes[0] = (byte)((intValue >> 56) & 0xff); bytes[1] = (byte)((intValue >> 48) & 0xff); bytes[2] = (byte)((intValue >> 40) & 0xff); bytes[3] = (byte)((intValue >> 32) & 0xff); bytes[4] = (byte)((intValue >> 24) & 0xff); bytes[5] = (byte)((intValue >> 16) & 0xff); bytes[6] = (byte)((intValue >> 8) & 0xff); bytes[7] = (byte)(intValue & 0xff); return bytes; } Call of method and loading of the modbus registers in EasyModbus: Bytes = PublicCode.DoubleToModbusDouble(TmpDbl); int n = (int)ModbusStartAddress + ((i - 1) * 4); mb.ModServer.holdingRegisters[n + 1] = (short)((Bytes[0] << 8) + Bytes[1]); mb.ModServer.holdingRegisters[n + 2] = (short)((Bytes[2] << 8) + Bytes[3]); mb.ModServer.holdingRegisters[n + 3] = (short)((Bytes[4] << 8) + Bytes[5]); mb.ModServer.holdingRegisters[n + 4] = (short)((Bytes[6] << 8) + Bytes[7]); However, this code does not work correctly. I have tried all combinations of byte and word reversal, and whatever I do WinCC either displays nonsensical values or ‘####’ showing that it cannot display the value. I have tried reading as much documentation as I can but it still looks to me as if I am doing the right thing. Also, I have downloaded a number of ‘modbus master’ code examples, and they seem to be able to read the ‘Double’ from my program without any issues. In WinCC I also see that there are two types of double – ‘Double’ and ‘+/- Double’ – I am also unsure as to why this is – there is no ‘+/- Float’ data type, which seems inconsistent to me. I am obviously missing something, but cannot seem to discover what exactly. I hope that someone can point me in the right direction as to what I am doing wrong. Please see attached word file for a picture of the configuration of the connection in WinCC. Thanks in advance for any help !, Dave Long Double trouble.docx
-
If you learn more quickly after watching videos about PLC like reading the literature without example, then these videos can help you if you are a complete beginner. Enjoy it (If this is against the rules of this site then sorry for spam ) PLC: 1. How to create project in TIA Portal https://www.youtube.com/playlist?list=PLqYtPgi-xbbgUBs7nrNmq5ManYyQ-hvKK 2. Program blocks https://www.youtube.com/playlist?list=PLqYtPgi-xbbhlni7Uw9-lfs8UIykpuubF 3. Bit logic operations https://www.youtube.com/playlist?list=PLqYtPgi-xbbitdaKvFJv9WZEOj7VrMf_0 4. Timer operations https://www.youtube.com/playlist?list=PLqYtPgi-xbbiaWQL8lXja1_Kd1z-jeDXr 5. Counter operations https://www.youtube.com/playlist?list=PLqYtPgi-xbbgfyg2dwDiR7xzsaXtdI9xo 6. Comparator operations https://www.youtube.com/playlist?list=PLqYtPgi-xbbgs-WgOvePyRUKgnDBK-qfx 7. Math operations https://www.youtube.com/playlist?list=PLqYtPgi-xbbgInRxxraaX6RG5LUS8gcpM 8. Move operations https://www.youtube.com/playlist?list=PLqYtPgi-xbbjQQEXr_bhzjKvNCjBeS1Zw 9. Conversion operations https://www.youtube.com/playlist?list=PLqYtPgi-xbbjsjfMUtVn3QQ6MJM7cBpTW 10. Program control operations https://www.youtube.com/playlist?list=PLqYtPgi-xbbgFtnxDkNZ7Amps67nr-KHX 11. Word logic operations https://www.youtube.com/playlist?list=PLqYtPgi-xbbh6bGa9bgy6cJhVi-RhF0gH 12. Shift and rotate instructions https://www.youtube.com/playlist?list=PLqYtPgi-xbbhlUnK9ECCKUccqt91Qsw6e HMI: 1. Beginning with HMI devices https://youtu.be/EF4Qprf0Mn8 2. Basic work with screens https://www.youtube.com/playlist?list=PLqYtPgi-xbbgPAApJCAGcPZOHViTAT9C1 3. Basic screen objects 4. Elements objects https://www.youtube.com/playlist?list=PLqYtPgi-xbbgOSznFb03Rr_St-2WFcygo 5. HMI Alarms https://www.youtube.com/playlist?list=PLqYtPgi-xbbi_V7XENgupV7HFjOJI7Yes 6. User administration https://www.youtube.com/playlist?list=PLqYtPgi-xbbgDP9dfAOkW3eodC5aH0kmR 7. Scheduled tasks https://www.youtube.com/playlist?list=PLqYtPgi-xbbjsaMlovHL2BDrju8kKgkZi OTHER: Siemens PLC - Hardware configuration (SIMATIC S7-300) https://youtu.be/WVkAGKsxftw Siemens HMI/PLC - communication (Basic Example) https://youtu.be/AcN50TShHgY Siemens PLC - Firmware upgrade/downgrade via TIA Portal https://youtu.be/qEsS7RR7QIw Siemens HMI/PLC - Recipes (Basic Example 1/2) https://youtu.be/wLmH-QT3T9U Siemens HMI/PLC - Recipes (Basic Example 2/2) https://youtu.be/_2K6l7dYuqY Siemens PLC - Upload program from PLC to TIA portal (PC) https://youtu.be/igw-4CxjnLw Siemens PLC - Add and install GSD file in TIA Portal https://youtu.be/LJKUzv3Zykw Siemens PLC - Activate and work with Web Server in TIA Portal (Part 1/2) https://youtu.be/WCpiej4S8-U Siemens PLC - Activate and work with Web Server in TIA Portal (Part 2/2) https://youtu.be/xl4pxLK0CDY Siemens PLC - Scaling/Converting Analog Input/Output (0-20mA to 4-20mA and vice versa) https://youtu.be/BOjFlhAwO0k Siemens HMI/PLC - Linear scaling of HMI Tag (PLC/HMI tag scaling) https://youtu.be/XBUknb3JDfE Siemens HMI - Changing of Date/Time format (12/24 hours format) https://youtu.be/bCVKFrLwzWA Siemens PLC - Configuring and commissioning of SIRIUS ACT (PROFINET IO) https://youtu.be/yIW6kta34_s and more...
- 70 replies
-
7
-
- tia
- tia portal
- (and 9 more)
-
Hello, I have installed Simatic S7 5.6 and WinCC Flexible 2008 Runtime SP5 on a Windows 7 computer. Running Simatic Manager brings up the error message 'Simatic WinCC flexible - Older version or not fully installed' as far as I know, WinCC 2008 is compatible with S7 5.6 and I have installed both fully. Does anyone have any ideas on how to get this running? Thanks, Rath
- 5 replies
-
- wincc 2008
- simatic s7 5.6
-
(and 1 more)
Tagged with:
-
Hello, I have installed Simatic S7 5.6 and WinCC Flexible 2008 Runtime SP5 on a Windows 7 computer. Running Simatic Manager brings up the error message 'Simatic WinCC flexible - Older version or not fully installed' as far as I know, WinCC 2008 is compatible with S7 5.6 and I have installed both fully. Does anyone have any ideas on how to get this running? Thanks, Rath
-
- wincc 2008
- simatic s7 5.6
-
(and 1 more)
Tagged with:
-
Hi all, Do you know a way to export/import the graphics screens (PDL) from a human understandable language (XML, CSV, JSON, etc)?? Thanks!
-
- wincc siemens
- scada
-
(and 3 more)
Tagged with:
-
Hi there, I'm downscaling my business in Western Canada and have some legit software licenses I'm going to sell. This was my first thought as to where I might explore selling/transferring licenses, but I'm also open to polite suggestions. I have: one Studio 5000 Full Edition ESD Software (9324-RLD600ENE) (software & valid license) two Siemens TIA portal software packages & licenses with Step7 v14sp1 and WinCC Comfort Advanced V14sp1 (software & USB dongles) an unused Simatic WinCC SmartServer license (software & USB dongle) one Progea Movicon 11 Scada/HMI developer license (software & USB dongle) one Progea Movicon NExT DEV3-FL (developer license) (software & USB dongle) an unused Progea Movicon NExT Scada license (RTCS3-F-1K+WB3-1K) for site install (software & USB *unused) one package of Schneider Movicon with license (Vijeo Designer, Unity Pro S, and SoMachine) (software & USB keys) Thanks! Mark
- 2 replies
-
- rs studio 5000
- tiaportal
-
(and 6 more)
Tagged with:
-
Hello everyone. I work with PLC's and SCADA for many years developing industrial applications. Now, for the first time, I have to develop a control system with Siemens PLC's and WinCC for a WWTP. Can some one share WinCC screenshost of simillar applications just to get an idea on what and how put things on screen. Thank's in advance.
-
We need to upgrade Siemens PCS7 V8.1 to PCS7 V9.1. Can we able to do so without upgrading the windows of the EWS/OWS. If Yes then How we can do it and If no then what is the replacement? Please answer that question with best of your experience. Thanks in advance.
-
Hi there! I have S7-1200 controller connected to a Comfort Panel. The machine has some pressure and temp sensors, as long as many valves and other stuff. I generate a daily datalog with some of those variables but, the thing is, I've been trying to figure out how to show these data in the HMI without using a trend viewer. I don't know if it's possible, but I want to be able to see what valves were open (for example) the day DD/MM/YYYY at HH:MM:SS, using the generated data log, kind of knowing the state of single bits at different past moments. I've been searching the web but I didn't find something exactly like this, don't know if I'm doing it properly so I'd like to know if you have done this or you can throw some light on the topic. Thanks in advance and hope you can help me!
-
Connection problem between WinCC Explorer & SIMATIC Manager Step7
devLooper posted a topic in Siemens
Hello, i want to create a connection between SIMATIC Manager Step7 and Wincc Explorer to share tags. I configured wincc to PLCSIM MPI (Create new MPI connection in Tags management) connection but when i active Wincc explorer the connection gone in Step 7 and PLCSIM and when i want to charge my config in the PLCSIM that message 33:17135 shown (SIN_SERV not started) -
Dear All, We are using Siemens WinCC 7.0 SP3 SCADA software. We are using two Redundant SCADA Computers that are communicating with PLC (CP-343 module) via Ethernet. One Ethernet cable from each PC is connected to Cisco Ethernet Switch and one Ethernet cable from the Cisco Switch is connected with CP-343 Siemens Ethernet Module. The problem is after every 75 hours one PC value become still (Freeze).Only One system values freeze at a time. If i restart the system the problem is resolved. Please help to resolve this problem. Thanks
-
Hi I'm looking for a little bit of help. I have a WinCC HMI which will not let me log on with one of the passwords. The general logon and admin both work fine. The Engineer password doesn't work (no display at the top of the screen where the other user names are displayed). There is no warning that the password is in correct or the account locked out (missed in the original programing I think). I have all the project files however I'm using a runtime licence. I would like to log in as admin open the project and clear the password lockout. The issue I have is that I have to use TIA portal and it will not show the project file, is this due to the fact that I have a runtime licence. Is there another way to see if the user name is locked and removed. Like I said I have the admin password which works. Thanks in advance for any help you can provide. Kind Regards
-
Hi guys !! I have a problem with my WinCC flexible. when I create my project with WinCC and step7 the window of Runtime cannot be running!! I use WinCC flexible 2008 sp5 windows 7, 64 bit. thank you so much.
-
Hi guys I am trying to connect a Mitsubishi FX5U PLC to a Siemens WinCC RT Advanced. I did find a document on the Siemens side on how to configure the HMI, but I can't seem to find any instructions on how to configure it on the Mitsubishi side. Any help, sample will be appreciated. Kind Regards Morne
- 2 replies
-
- fx5u
- siemens wincc
-
(and 1 more)
Tagged with:
-
Hi, I'm looking for a way to change the button graphic (From "non-pressed button" to "pressed button" which is much lighter) via script. The main problem is that, the button has to change it's graphic whenever i change a bit in my PLC program, more accurately, I press button in Factory IO, not in HMI, that thing I've already made, so I've set up my button "is pressed" graphic. I've got my tags prepared correctly, and I'm trying to reach the property of the button with this script: Do If SmartTags("Variable_1") Is True Then HmiRuntime.Screens("Screen_1").ScreenItems("Template_Button_2") End If Loop Is it even proper way to do stuff like that? I THINK it'll work like, if Variable_1 (Bool %Q0.0 for e.g. in PLC program) is 1 Then -> And when I'm at ScreenItems, i don't know which property should I choose next in order to change button graphic. Hope you can help :)
-
Regards! My problem is the following. I have a client that has 7 different machines with touch panels SIEMENS TP277. A touch panel for each machine. The machines are different and therefore the projects that have to be loaded from WINCC Flexible to each panel are different. That is, 7 different projects. My client wants to have a single spare screen, not 7. Is there any way that he has a single spare physical panel and without needing WINCC Flexible can he load the same one of the 7 projects? Can not you record inside the panel and then load 1 of the 7 you need? Or via USB memory? ZhankS! zHANKS!
-
Hi all experts, I am LOGO! 8 PLC programmer, and now I am beginning to start SCADA developement. I want to ask which software should I install ?, 1. TIA portal with Siemens SIMATIC STEP 7 Professional & WinCC Professional 15.1 x64 2. WinCC RT Professional 15.1 x64 3. STEP 7 Professional 14.0 4. SINAMICS Startdrive 14.0 5. WinCC RT Advanced v15 Please excuse me if my question is not OK as I am beginning scada developement I know nothing about it and I can get limited software through my college programme. I am confused too because I found that "Up from version 12 of WinCC the driver “LOGO” is available" and also "I think the Logo! communication driver is only available for a WinCC RT advanced , not professional." in this post : unable-to-connect-tia-15-version-to-logo-8/185145 Please hep me so that I can learn SCADA developement with my LOGO8 Waiting for your fruitful reply, Thanks and Regards
- 2 replies
-
- logo
- tia portal
-
(and 3 more)
Tagged with:
-
Hello everyone, Are there any alternatives to WinCC at the moment that can handle using optimized blocks. In most other SCADA software, while importing tags, the option to optimize blocks should not be selected as they cannot import in this format. Ignition by Inductive Automation has a driver that can be purchased to solve this problem. I wanted to know if there are some other solutions to this issue. Thanks!
-
- optimized blocks
- wincc
-
(and 4 more)
Tagged with:
-
Hi every body, the application i want to do is explain bellow: ((if i write in the IOFILED and the value existe in my database so a msg box will be shown that the value existe,else a msgbox will show that the value didn't existe.)) my problem is in the data entry. i have to press enter , but in reallity i want when the barcode is scanned so automatically the code will be executed. if the value change , I want that the msg will be automatically written without pressing enter. I m using wincc professionel. I have made a lot of research , and i didn't find any solution. if somenone knows how to do that please help me. Iwill be thankfull , Best regards
-
- wincc
- objectchange
-
(and 2 more)
Tagged with:
-
Hello all, I created a Viewer for WinCC flexible and TIA Portal csv archive. Here a screenshot: you can download this software here: http://plc2k.com/wincc-flexible-tia-portal-archive-viewer/ About feedback I would be happy Maybe you have some Ideas?
- 2 replies
-
- wincc flexible
- tia portal
-
(and 3 more)
Tagged with:
-
I current have 2 variable: Displacement vs Pressure. I need to draw a real time graph on Comfort Panel. The problem with using just f(x) trend is that the minimum time between updating a point is 0.5 sec and that is for ever in my application as the whole cycle last only 5 sec and I have to plot 500 points in that time. Is there a way to do real time graph using Historical data without any time delay. If anybody can guide me through any sample program or material would e helpful. Thanks
- 3 replies
-
- siemens
- tia portal
- (and 4 more)
-
In general, this control PLC program is written in GX Works. I did a simple visualization on TIA Portal v14 (WinCC RT Advanced) and I would like to now test it on Mitsubishi FX3U driver with ENET Module. I do not have much experience in this kind of thing, I'm still learning. I know that someone previously made a visualization in LabView and downloaded the tags from the PLC using NI OPC Server. Someone also did visualization in iFix and also downloaded tags through server opc. I do not know just how or what program to download tags in PLC so that I can no longer use it in visualization in TIA Portal. Unfortunately I still have a connection problem. The driver is connected to the router. From the connection options with RT Advanced I chose in the connections tab Mitsubishi and entered the appropriate IP. Still nothing. I do not know if the lack of a connection can be related to a virtual machine (VM Vare Workstation 12) on which I have TIA Portal installed. The driver pings but can not connect. I also tried using KEPServer EX to connect and unfortunately also failed. (I have information about the can not connect). Anyone know what program I should use? or had contact with such a problem? I attach a photo of communication from my station to more visualize the problem. Thanks
- 10 replies
-
- tia portal
- connection
-
(and 5 more)
Tagged with: