Search the Community

Showing results for tags 'structure text'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 54 results

  1. Can anyone advise if there are data structure #s associated with each of the data types in Logix?  Example if it is a Bool, I believe Logix advises it is a 32 bit number.  But is there an "under the hood" data type reference number for each Logix data type?  I.E.  if it is a Bool, that is a RA data type #1, if it is a DINT, it is a RA data type #2, etc.  
  2. HERE’S IS A QUICK WAY TO SEND EMAIL (TEXT) MESSAGES FROM THE PLC Sending email messages from the PLC sounds like an easy task. However, very few applications do this on the production floor. This is probable due to the networks involved and using authentication can be complicated. In our example we will use a restricted Gmail SMTP server so no authentication will be required. We will walk through sending email and text messages from the PLC to Google Gmail. Once in your Gmail account, the message can be automatically forwarded to another verified email or SMS text message address. HERE’S IS A QUICK WAY TO SEND EMAIL (TEXT) MESSAGES FROM THE PLCThe PLC used in this case is the Do-More from Automation Direct. The software is Do-More Designer. Here is a blog post that I thought was good to share. Let me know what you think. Garry http://www.accautomation.ca
  3. Hello: I'm not sure how to go about creating the structure of this program, would like some ideas/help. I have a program that checks/reads 8 analog inputs and compares each input against 4 different settings, if the value is outside any of these settings the program runs a subroutine to send out an email for (Alarm/Event) notification for that particular input. The way the program is structured now is that it reads analog input 0 first and checks against the settings if the reading is not in range it will call a subroutine to send out email for that sensor(analog AI:0.0) then it will return and read for Analog input #1 and check reading and if it needs to it will call another subroutine to send out email for that sensor(analog AI:0.1) and so forth. What I need to add, is a way to count how many times a sensor(input) has sent the alarm email because I want to limit this to 5 notifications after that, stop sending emails. Now this has to be done for each sensor(input).(Note: I would also like to have a timer involved so that it will only send emails about every 15 minutes for 5 counts.) I need this because the plc will send out emails until the error for the sensor has been corrected, this could take a few hours and if I don't have some sort of control, that would result in 1000's of emails being sent and world probably get shut down for spamming. Would like some ideas on how I should go about this. I am using a micrologix 1100 and rslogix 500 software. Thanks
  4. Hello everyone! First of all, I'm a new comer to this forum from Indonesia. The name's Inno. Looking forward to share knowledge with all of you So I had this trivial, but annoying matter with CX-Supervisor Text Points. I had connected it to NJ101 controller. There I made a sample STRING, let's say "1234". I set this STRING to be stored in D0 memory, which means in ASCII it'll now contains : D0 = #3132 D1 = #3334 Then I use the Display Value (Text) Action to a Text Object in CX-Supervisor. The problem is, each Word on the Point display the LSByte first. So the resulting view in CX-Supervisor is : "2143", while I expect to see "1234" I know this can be easily solved by swapping the bytes inside the NJ program, but I'm curious, does CX-Supervisor has the feature to swap these bytes automatically? I mean, even NS or NB HMI can do so to accomodate Mitsubishi/others String system :D This occured for any Text type I choose (Signed/Unsigned/Raw Binary). Waiting for your suggestions