Search the Community

Showing results for tags '#range setting'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 13 results

  1. Array A INT[32] Array Index B INT Destination C INT I am trying to move an Array (A) Element (A[2]) using a symbol (B) in ladder into a destination symbol (C) C = A [ B ] Result: ERROR: Array Index of Operand 1 out of range at rung 1 ( 6, 0 ).  The documentation suggests that it is possible, but I am unsure if there is something I am doing incorrectly. Note* Fixed indexing works with no errors Is there another method to accomplish this?   PLC : CJ2M CPU31 CX- Programmer: Verion 9.74 Update 1: If I go online to the PLC It does look like the array look up is working. Is the issue with the mov block? Update 2: I changed the memory locations which has caused a different error to appear. This error is clearer but does not explain the manual excerpt I posted further up ERROR: Only the constant can be specified for the index of the array.  at rung 5 ( 6, 0 ).  Update 3: Solution 1 I managed to hack together a proof of concept using pointers and indirect offsets  Update 4: Solution 2 For some strange reason things work as expected inside of the function blocks so I made one where the array is In-Out and with an input and output respectively. Note* External reference to pointers inside of the function block produced an error. Function block Logic     Update 5: Solution 3 Now I feel like I am going crazy, I tried just the original code again and it works... I have no idea why and if it was not for all the documentation I would be lost as to why it works now... Update 6: Conclusion It seems to have array indexing work the array index must exist in the D Memory Block. The reason it did not work above is because I somehow had a MOVR block when I tested after moving all the variables to the D Memory Block. I hope this journey helps someone else :)
  2. Hello, Good Day All. I am facing this issue while I am going to copy old plc to new plc. but old plc having 4965 steps, once going execute this program to new plc its showing more than 8000 steps. please suggest on this. PFA.
  3. Is there a bug in the daylight savings feature of the HMI? I have the checked in the HMI but the time didn't update to fall one hour back in the fall. Now the HMI is showing one hour ahead. Am I missing something here?
  4. FX1N sprinkler system control.

    Hello!  I have an FX1N PLC that I want to use to operate a sprinkler system.  It should have two functions.  1. 1x30 minutes of operation every day.  2. 3x10 minutes of operation every day.   Thanks for the help.
  5. Analog range

    CP1L-L14DRD CP1W-AD041 I have my configuration words set to #80BB for both output words with the intention of having 0-10 input. With my input voltage at 5.25 I get 6300 the maximum range. I entered the bit wise in my calculator 1000000011011101 and it converts to 80DD. Tried both those options with the same result. Can anyone shed some light on what the problem is?
  6. CCLINK program problem

    Hello everyone, I want to ask,, Does address mapping use this concept to do "remote i / o station" can be done? following the network parameter settings for CCLink and I tried to program with this ladder, is that correct?  
  7. I am beginning my first project with the newer NX platform and am a little confused by the description in the manual vs what is actually in the sysmac setup.  The manual makes it sound like you can adjust the range settings for the card, but I don't see any where to do it in the setup.  I also don't know what the Index and sub-index columns mean, so I am wondering if this is a back door to access the range settings? 
  8. hello everyone,,,, I want to running the motor in 100 rpm but how to setting electronic gear to control speed in servo motor HG-SR502,, does anyone know how?
  9. hallo all, I want to ask if I click "read PLC Data" the "points" will appear, I use the QY18A output module that uses 8 points but there is no choice, the smallest is only 16 points.  so I can't put 148 in the "start XY" column ... will it affect the I / O address in the program?
  10. Dear Friends,       I want to set my servo controller overload setting as per my machine load requirement since all my servo installed in my machine over travelling and hitting trying to run continuously which is resulting servo failures ,repeated timing belt cut issues.Kindly help me resolve this issue.since i am not familiar with servo controllers.Model used A5 II minas servo MADKT 1507 and contol mode in position control setting.    
  11. Please assist me with the following; regarding the ME96SSHA-MB Power meter data transition with Melsec-Q series PLC; We acquire to read various values on dedicated Modbus storage address registers at the simultaneous into a Melsec-Q series PLC via Modbus (TCP or RTU)  for calculation purposes. Naturally, since the reading of these variables are to provide accurate instantaneous results, it is a requirement that these values are to be read at one scan.   However, as can be seen below, there is a gap in address register range – of which, if all of these are scanned simultaneously, yields an exception error when read. This error is only avoided by scanning these data sets separately – which is not ideal for our application – since accuracy in calculations is imperative.
  12. Please assist me with the following; regarding the ME96SSHA-MB Power meter data transition with Melsec-Q series PLC; We acquire to read various values on dedicated Modbus storage address registers at the simultaneous into a Melsec-Q series PLC via Modbus (TCP or RTU)  for calculation purposes. Naturally, since the reading of these variables are to provide accurate instantaneous results, it is a requirement that these values are to be read at one scan.   However, as can be seen below, there is a gap in address register range – of which, if all of these are scanned simultaneously, yields an exception error when read. This error is only avoided by scanning these data sets separately – which is not ideal for our application – since accuracy in calculations is imperative.
  13. Hello everyone! I need your help.  I use the PLC: Q06UDEHCPU and the module: QJ71MB91. I programmed in the program GX Works 2 I instaled a library of "QJMB91ModbusSerial_V120 (FB - QJMB91ModbusSerialMaster)" and using it wrote temperature sensor interrogation program. The sensor is interrogated by the channel 2 and has the following switch settings:  Switch 1 - 0000; Switch 2 - 0000; Switch 3 - 0000; Switch 4 - 0A04; Switch 5 - 0000; which are specified by the PLC parameter in GX Works 2. I found an example of writing a program to install the switch settings in the user manual QJ71MB91 using ZP.UINIT instructions. I wrote a program to this exemple. Not prescribed bit address, which should be established when the program is executed (M0) (ZP.UINIT  "U4"  D0  M0). I wrote: ZP.UINIT  "U4"  D0  .  After executing ZP.UINIT instruction PLC stops working, blinking error, settings module is not install. How can I write a program to configure the Switch Setting?