CanaanP

MrPLC Member
  • Content count

    111
  • Joined

  • Last visited

Community Reputation

0 Neutral

About CanaanP

  • Rank
    Sparky

Contact Methods

  • Website URL http://

Profile Information

  • Gender Male
  • Location Union, MO
  • Country United States

Recent Profile Visitors

1571 profile views
  1. Multi language PV, selected language to PLC?

    Hema, I would recommend using the Excel Spreadsheet option when exporting/importing languages. The reason being is that you will see each language represented by its own column in the spreadsheet and each object in your project will be on its own row. You can easily scroll down through the objects, find the objects that need translating by reading the English (en-US) text, then enter the translated version into the Spanish column (es-ES). Re-import that file back into your project and you will be good to go. I have included a small example, which contains some items on an alarm screen. I hope it helps. Spanish Translation Example.zip
  2. Multi language PV, selected language to PLC?

    Yes, I have this working and it is now a standard part of our systems. We use a standard language switch button on the Panelview, in the ME project we have both English and Spanish. I then setup a controller tag on the PLC called CurrentLanguage, which is DINT. I created the following expression in Global Connections section of the ME project to execute remote macro 1: (CurrentLanguage( ) = "en-US") AND ({[PLC]CurrentLanguage}<>0)OR(CurrentLanguage( ) = "es-ES") AND ({[PLC]CurrentLanguage}<>1)Macro 1 ties to the same PLC tag, {[PLC]CurrentLanguage} and the expression is simply: If CurrentLanguage()="en-US" then 0Else 1This way, whenever the Panelview language is switched, the controller tag is updated automatically. Value of 0 for English, 1 for Spanish. I used this as a mechanism to achieve my end goal, which was to allow a service tech or operator to change the text of any item in the HMI. Now all text labels are stored in the PLC, and using the CurrentLanguage tag in the PLC, I can set the visibility of which string to show, English or Spanish. I created an editing screen in which all string tags can be navigated and edited, thus displaying the desired text for any HMI element.
  3. Bridging the gap between PLC and Smartphone

    I was also going to suggest AdvancedHMI as gbradley did. I have worked with it quite a bit and loved it. The problem is that it yields a desktop application only. If it were able to be deployed as ASP.NET somehow that would be better. Having said that, I would advise a change in direction. AndrewG mentioned the arduino, that is probably going to work out better. You can check those out, as well as raspberry pi. That in conjunction with what's called Node RED can yield great results. Node Red is a java based server that can run on the raspberry pi and control outputs and inputs based messages from http, twitter, other inputs, etc. It is a flow diagram style interface and very easy to work with. All open source. There are relay boards and ADC boards on amazon for very cheap as well.
  4. Check out chapter 6 of the user manual for the embedded Ethernet adapter on the 525. The document name is 520com-um001_-en-e. Chapter 6 is about using explicit messaging with the 525. There are a lot of examples to follow for doing the reading or writing of individual or groups of parameters.
  5. Multi language PV, selected language to PLC?

    Thanks Arlen, I had actually just read that in the FactoryTalk ME user's guide. I setup a quick test with a macro button and it does work. I just need to figure out how to execute that macro when the language is changed. DERP, guess I should have read more thoroughly, remote macro does seem the best way - thanks again.
  6. Multi language PV, selected language to PLC?

    Thanks, I'm familiar with the standard multi-lingual setup in factorytalk projects, that's not what I'm asking though. I would like to let the PLC know which language is actually selected, that's all.
  7. Not sure if there is a solution to this, but I would like to have a multilingual panelview project with a language switch button EN/ES. When user changes selected language, can I share that somehow with the PLC so that in logic I may know which language is chosen? I have searched global connections, etc but cannot find a place where this is possible? Any ideas would be appreciated. Thanks
  8. Persistent array values in AOI?

    Thanks b_carlton, I didn't realize that was possible. Now I have a ton of values to re-enter!
  9. Hello, I would like to store an array of real values as a local tag inside an add on instruction in an RSLogix 5000 project. My problem is that I am working with pre-existing values for the array and I need to keep that information. I want to use a local tag so that the values remain hidden. I am performing a lookup in the AOI logic, and just need to pass the result out to the output value of the AOI. To get the values into my array, I added a parameter tag with usage set to In/Out so that I could access my controller scoped array that already had the values. I then performed a copy inside the AOI to populate the array in the local tags. I then removed the external reference to the controller scoped tag and exported the AOI to a new, clean project. The internal array was all 0's as I had feared. So my question to the forum is... is there a way to store values in an array and have that array maintain the values from project to project as the AOI is exported/imported, etc.? Thanks in advance to anyone who can help out.
  10. CLX Method to identify if program has changed?

    Ok, so if I'm looking at this correctly, I use SSV to set ChangesToDetect and set the flags I want to monitor. Then I use GSV to retrieve the AuditValue, which should change based on an event occurring that matches what flags I had set? I created a tag, ChangesToDetect, DINT[2] and set ChangesToDetect[0].1 to 1, as per table 4 this should monitor online edits. I created the tag AuditValue, DINT[2], and setup my SSV and GSV instructions. I performed an online edit, just added a rung with a contact and coil and accepted. My AuditValue never changed, so I am I looking at this all wrong?
  11. Hi, I'm trying to implement a method to where I could easily tell if the program currently in a processor matches my latest copy or not - without having to connect to find out. We typically use the new L24's in our projects, and I was thinking maybe there is a way for me to write a checksum value of the program to a tag, which can then be displayed on the HMI. Sort of like a "Hi, my version is ..." in the bottom corner of the screen. Does anyone think this is possible? I sure would appreciate any input available - thanks!
  12. Hello, I have seen in the Rockwell code samples library a sample that can write log files in csv format directly to a memory card in the PLC. Does anyone know of a way to read such a file? I would like to be able to have a series of values in a csv file that could be loaded into the CLX program, sort of saving a recipe into an array. If anyone could point me in the right direction that would be great. Thanks :)
  13. RSL5000 non-viewable/hidden tag?

    Excellent, thank you.
  14. RSL5000 non-viewable/hidden tag?

    I know how to add signature and disable modification, but how to password protect AOI?
  15. RSL5000 non-viewable/hidden tag?

    Yes, that is exactly right...