noorloai

MrPLC Member
  • Content count

    58
  • Joined

  • Last visited

Everything posted by noorloai

  1. Which plc is the best?

    Hi guys,  I would like to ask based on your experiance which plc is the best based on lifetime span over high tech feature? If any one can help me / share with me his thought and some links to guides me through this topic would be highly appreciated.   Thanks
  2. What is the easiest way that HMI writes to Array of SINT[24] ? Like I am thinking to have a maintain buttons that points to a BOOl[32] elements in PLC when button press on HMI the bit in BOO[32] will be active high and then can write 99 a member in to SITN[24] , else will write 0. But that required 48 rungs . Is there any other efficient suggestion ? Thanks  
  3. writing from HMI to Array SINT [24] in PLC

    I have the following: Array of SINT[24] call it Sorted[24] has a sorted vehicles based on its position If there is less than 24 vehicles on track, I need operator to insert gaps which will shift the first Array elements based on the location that operator select I want operator to select from HMI whether this location is full or empty which write to another Array of SINT[24] call it Gap[24], 0 means full, 99 mean empty   Example: Sorted[21]= [6,7,8,9,…..,10] Operator can add up to 3 gaps, Based on operation selection Gap[24]= [0,99,99,99,0….0] Output Array = [6,99,99,99,7,8,9,…..10] So what I am thinking is to map 24 buttons on HMI to Bool[32] on PLC only 24 used, Then if operator select that bit it will write 99 to Array SINT[24] Else it will write 0 Then I can compare my sorted array with my gap array and find the output array. If you have a better solution/idea would be appreciated.  
  4. writing from HMI to Array SINT [24] in PLC

    “Do the array elements match up? In other words, will pressing BOOL[7] write 99 to SINT[7]?" ·         Yes It does match Why 48 rungs with only 32 buttons? Do you have an example of what you've done so far that does what you want for one button?” ·         As I have two condition 0 and 99 , and I have 24 elements
  5. Hi All,   I have a question on if its possible to do indirect addressing of individual bits of a tag of datatype dint in studio5000 ladder logic? I am writing a routine that should  loop through the individual bits of the tag of data type dint and do processing . Like instead of using OTE instruction ConfirmRequest[rvIndexSafety] where confirm Request is BOOL[32] elements  if condition true and rvIndexSafety =1 => it will set confirmRequest[1]  I need to use DINT and set DINTDataType.1  How can i approach this?   Thanks,  
  6. Thanks for your response. I also found a tech note that explain that using this  MyArray[(MyIndex AND NOT 31) / 32 ] . [MyIndex AND 31]  
  7. Hi All, I have an issue and hoping you can help me with the solution.  I am not sure how can I use TON within loop in ladder logic? I have made a loop using JSR and LBL to execute Sub, in this subroutine I need to use timer or delay before turning the output on, as I am facing an ON/Off condition which turn the output on. Is there any suggestion ? Appreciate your response in advance. Thanks,
  8. Using TON within Loop in Ladder logic

    there is no condition on JSR, BUT I am using conditional MCR to execute those codes . Is there any other solution ? 
  9. Hi, I need to set an output of bool[64] array when condition triggered but when I download the code to the controller it cause major fault see attached. Can someone help me with that? Thanks  
  10. Masking array in ladder logic

    Hi Guys, I have an Array of BOOL [52].I want to mask this array based on size (SINT) . like if my array size is 12, I want to pass the first 12 elements of Array of Bool and block the rest. I am not sure how to use MVM. Can someone help me with that ? Thanks 
  11. array in studio5000

    Hi All, I have two DINT array for example array1 [200] = [ 0, 1.........199], array2[100] = [ 20,40,60 ...180]  array1[30] = 30 need to compare it with array2[100]  and find the closest range. in my example array1[30] is between array2[0] and array2[1] how can I do that in studio5000? I haven't worked with array before and therefore your support is appreciated  Thanks  
  12. Hi Guys, Is there a way to logic AND array element in ladder logic studio5000 ? I have Array[BOOL 64], and I want to make sure all the elements are 1 to activate an LED.  I was thinking to use FAL instruction however this instruction does not accept BOOL. is there any suggestion ? Thanks,  
  13. array in studio5000

    Thanks a lot, That was very helpful, I did it same way and it works as I wanted.  Thanks again
  14. array in studio5000

    well, the value in array 1 changes dynamically, but in array 2 is not. and its ascending order. I want to check the array 1 element value with array 2 values and get the closest bigger  number in array 2 so I can update my target to the closest number  and repeat that for each element in array 1 example: target position =0  current array[1] = 20000, compare with the constant array 2 , which is between 18000 and 25000 values then take the closest bigger number and move it to the target position   
  15. Hi all, I have downloaded the studio5000 emulator to test my application, I manage to download my plc program to virtual backplane emulator plc and got it run . Now I am trying to use factoryTalk studio with it, however I am facing an issue with communication setup. I have added RSLinx Enterprise server to my application, and I am trying to navigate to my emulator processor but I cant find it . in RSLinx classic it shows me yellow question mark as it shows in the attachment. can someone explain to me what did I miss? Thanks in adavnce
  16. I figured out Thanks anyway  
  17. setting BOOL [64] in Studio 5000

    oh do you mean I have to use LIM instruction to check my range and if its not within this range I write 0 then execute this rung ?
  18. setting BOOL [64] in Studio 5000

    Thanks, but how can I do that in ladder ?
  19. Factory Talk- site edition

    Hi all,  Q1- I would like to know how can I set up a pop up navigation button in FT. I need to do the following:  Click on a button will display a pop up screen that it has 6 screens pressing any of them will take me to the required screen.   Q2- I have another button once we pressed this button a confirmation message (yes/No) display if yes will take me to specific screen ?    Thanks for your response in advanc.      
  20. Hi All, I am wondering if its possible with Rockwell multiple GuardLogix PLCs to monitor the same pointIO? and is it also true for safety process? If so could any one share with me articles or links in this regards. Thanks,  
  21. Factory Talk view ME and SE

    Hi all, I would like to know what is the difference between Factory talk view - ME and SE. I am really confuse which one to choose for my application. Appreciate your response in advance.  
  22. Hi, In my application, I have OMRON rotary increment encoder (E6B2-CWZ6C) connected to Axis encoder GX-EC0211 using EtherCAT technology to the master NJ501-1330. See attached picture The increment encoder used to control the position. I want to use the existing equipment to get the number of motor rotation so I can calculate the total work travel in mm Total work travel = work travel distance per motor rotation * No. of motor rotation Please advise if that possible without affecting the current application? And if so, how can I get this value? Appreciate your consideration and support in advance. Noor
  23. Omron rotary Encoder- GX series

    Thanks Crossbow for your prompt response.
  24. Omron rotary Encoder- GX series

    Hi all, Please, I want to understand how did they calculate the Command pulse count per motor rotation and the work travel distance per motor rotation in the software configuration. The module I have is  E6B2-CWZ6C 360 P/R - 2M . based on the equation that I have in the software, I would like to check the unit is configured right in my system. Thanks a lot for your support in advance.
  25. Hi all, We have a machine to produce corrugated aluminium sheets that acts as space in the ERV cores. The finish sheets must have the following attributes: Aluminium to be corrugated perpendicular to the direction of travel of the material within the machine. Sheets with range in width from 165mm to 762mm Sheets with range in length ()with corrugation) from : \ without perforation 165mm to 1800mm with perforation: 450mm to 750mm Corrugation height (pitch) will range from 1.5mm to 6.0mm Right now the machine’s pressure is calculated manually using the pressure gage. Our goal is to replace the pressure gage with digital regulator. My question is how to calculate the pressure equation for this machine? I came up with this formula P= width size* Constant (CONSTANT = coefficient of foil aluminium = 2.2/100000), but unfortunately this formula did not work well. It gives me very high value! I am using click plc to program the regulator and c-more micro to program the HMI. Any suggestion or feedback would be appreciated and thank you for your support in advance.