Search the Community

Showing results for tags 'wincc flexible 2008 tutorial'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 47 results

  1. 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
  2. TIA Portal for beginners

    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...      
  3. 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
  4. 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. Export/Import PDL WinCC

    Hi all, Do you know a way to export/import the graphics screens (PDL) from a human understandable language (XML, CSV, JSON, etc)?? Thanks!
  6. 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
  7. WinCC WWTP Example Screenshots

    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.
  8. Hello all, I worked in controls specializing in Allen Bradley and Fanuc for 3 years after college. I left the technician work to pursue an electrical engineering bachelor when the pandemic hit. I'm pretty burnt out after this most recent year and took a work placement as a controls specialist to get a year off. Although the position was intended to be an intership, based on my prior experience, they are bringing me on with a full time wage with the expectation I wont need any training. It has been 3 years since I've even looked at a PLC. I'm wondering if someone could provide a solid 1-stop resource on the internet to help me get back up to speed that starts off with the basics, but also gets to the more advanced stuff that I would have been exposed to doing controls engineering. I have 2 weeks between my last exam and when I start work to get myself refamiliarized with industry. Thanks.
  9. Siemens PCS7 v9.1

    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. 
  10. Open data log in HMI

    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!
  11. 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)
  12. Siemens WinCC 7.0 SP3 SCADA Value Freezing

    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  
  13. Passwords in Runtime

    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
  14. problem with wincc flexible

    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.
  15. 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
  16. Deleting Alarm Logs Wincc HMI

    Hi, how can I get rid of those alarms with status I(O) ? They are simply something like duplicates and they re making it hard to read the logs.
  17. 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 :)
  18. 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!                
  19. LOGO! 8 TIA portal WinCC

    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
  20. Optimized Blocks

    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!
  21. 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
  22. Hello. I'm trying to connect to Microsoft SQL Server (2008 EXPRESS), but the connection is not working. I have done this in Citect SCADA 2018 without any problems using connection string: hSQL = SQLConnect("SCADA Data Provider=SQLClient.....) How can I connect to MS SQL Server using Citect 6.1? Thanks. Best regards.
  23. 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?
  24. Click PLC Series Tutorial

    This Click Series PLC tutorial will give you a good start in learning how to program this controller. Click PLC Series (Automation Direct) System Hardware – Video Installing the Software – Video Establish Communication – Video Numbering System and Addressing – Video Timers and Counters– Counter Video – Timer Video Compare and Math Instructions – Video Program Control Instructions – Video Shift Register – Video Drum Instruction – Video Send and Receive Instructions – Video AdvancedHMI Communiation – Video Create an Analog Voltage Input Tester for a PLC – Video Wiring Testing Analog PLC Input Click – VideoModbus RTU Click PLC Master to BRX PLC Slave Communication – Video If you have any questions or need further information, please contact me. Regards, Garry www.accautomation.ca
  25. CP1H Series PLC Tutorial

    Here is a series on the Omron CP1H. It has been written for those who want to become familiar with the Omron PLC and its basic functions. At the end of each web page lesson there is a video. Omron CP1H Series System HardwareCX-ProgrammerEstablish Communication Setting, Forcing and Online Editing Numbering System and AddressingCP1H TimersCounters Data Movement Compare Instructions Data Shift Instructions Math InstructionsData Conversion Program Control Instructions Table Data InstructionsData Control InstructionsAdvancedHMI Communication If you have any questions or need further information, please contact me. Thank you, Garry www.accautomation.ca