G_DeMark

MrPLC Member
  • Content count

    69
  • Joined

  • Last visited

Everything posted by G_DeMark

  1. I have a new application I am planning out.  In this case I have created an array of 100 elements (the array is made up of UDTs).  So basically a table to hold data.   The first 10 elements I have populated with data from inside Logix 5000 using the Tag Editor tab.  The array (table) will hold data for my production parts.  I expect that I will periodically want to add new parts or edit existing parts in the table.  My question is in regard to if I can do this from an HMI (ie: Panel View Plus).  In particular, can you add new records to the array through the HMI or do you need to go back into the software and edit the array tags directly? Thanks
  2. I have a Logix 5000 program that I created in version 20.03.  I am now using a laptop running version 20.01.  When I attempt to open the project I immediately get an error message; Project file contains an object whose format cannot be converted to it's current version. Any ideas on how I can at least view this file.  I am not uploading/downloading to a PLC.  I just want to view the program at my desk. Thanks
  3. Program open ERROR

    I was able to open it at last.   I had to update my software to version 20.04.   Apparently there were some bugs in the older version.   Thanks for your suggestions to solve this issue.
  4. Many of the PLC guys I work with just create all the TAGs as controller scope.  However, my background with VB.net (structured text like) has taught me to create variables with a more local scope when possible.  So what is the forum philosophy on  PLC Tag scope?  Do you think it is better to try and keep TAGs scoped within the programs they are used in.  Or for simplicity do you just stick them all in the controller scope?  What are your thoughts?  Thanks
  5. Data Type Conversion

    Ok, that explanation makes sense regarding the potential for negative values..  Now I wonder why the message command puts them in a SINT rather than an INT or DINT.  I wonder if there is a more direct way to get the IP.  This method can work for now though.  Thanks much
  6. I am using a MSG instruction (logix 5000) to extract the IP address of the controller.  The octets of the IP address are correctly returned to my destination tag in HEX format.  So does anyone know if there is an existing instruction to convert the HEX value to decimal?  In general are there standard instructions for data type conversions?  I am searching the knowledge base now looking for an answer, unless some already has investigated this.   Thanks https://rockwellautomation.custhelp.com/app/answers/detail/a_id/26779
  7. Data Type Conversion

    I am not near my CLX processor until Monday to experiment.   My first thought was that there should be a GSV instruction to obtain the IP.  However, that does not appear to be an option.  I stumbled upon the knowledge base article explaining the MSG instruction technique.  I am not understanding why we are concerned with negative values.  Why would an IP address have negative numbers?  Why is there a risk of a negative value in one of the octets?  I know I am missing something here.  Thanks all for the comments.
  8. Unused Tags Search

    Excellent information.  This will really help me a great deal with my project.  You are both a wealth of knowledge and I appreciate your time.  Thanks    
  9. I have a relatively large program with many ladder routines in the program.  Multiple programmers over time have edited the routines.  I am looking to clean up and stream line the program.  I would like to know if there is a way to search for (filter) any Tags that exist but are not used in the program.  I would like to delete these unused tags to help clean up the program.   Thanks
  10. Unused Tags Search

    Good suggestions.  I will get to work.  
  11. Unused Tags Search

    Hi Michael,  I am talking in regard to CLX (compact).  Thanks
  12. I am looking for a best practice for setting up TAGs in Logix 5000.  In particular, setting up multiple BOOL type Tags.   Is it better to just create each BOOL tag as needed?  Or is it better to create an array of BOOL tags? Or should I create a DINT type tag and use the individual bits like BOOLs?  In this case they would all have the same name but a unique bit index.  Please let me know if you have any recommendations.  Thanks
  13. Yes, that was my concern with the DINT.  I too would prefer MotorStart and MotorStop.  I wonder if there is any way to add a caption/name to the Motor.0 and Motor.1 to have the best of both worlds (memory usage and readability).  Perhaps a UDT type.  Thanks for your comments.
  14. OK.  Thanks to both of you.  The instruction regarding the date/time is very helpful.  Also, the help file within RSLogix 5000 for "Controllerdevice" does contain all the information I was looking for.  I had been searching the Rockwell knowledgebase and did not find this info.  While the entire time it was under my nose embedded in the software help file.  Thanks again.  
  15. I am attempting to write a routine that can access basic processor status such as run mode, remote, program, etc... I understand that I must use the GSV; ControllerDevice; Status instruction and write the data to a custom TAG I have created. The question is in respect to understanding the definition (mapping) of each bit in the returned data. Does anyone have a link to the AB document that defines which bits represent what? Thanks very much.