Search the Community

Showing results for tags 'limit instruction'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 38 results

  1. I am noticing a problem where i am using MOV instruction and writing literal text into source and String datatype in destination. It works fines in one program but doesn't on another it show an error Invalid Data Type. Argument must match Parameter Data type. I know what the error is and why but my question is why is it working perfectly fine in 1 program and not on another.
  2. Hi guys, I am having difficulty in understanding and implementing the scaling of 32 or 16 bit binary data using Mitsubishi DSCL2 instruction. I just don't understand what to pass in its parameters particularly s2 parameter. I tried many variables but I get errors.  Please can someone provide an example how to implement that and scale any float no, for example 1200.00 to 100.00 using this instruction with output scale 0-100 being 100 at maximum for the sensor value of 1200.00  I am attaching pdf for DSCL2 instruction taken from Mitsubishi manual for help. and the error I am getting on my melsoft. instructions_manual.pdf
  3. Hi all  I need to view a project in instruction list format on Mitsubishi GX Works 2. On GX developer the shortcut is Alt + F1 or View tab then press instruction list.   Thanks 
  4. Hi, In our machine, we want the homing of linear axis to be - moving to reverse limit. In order to achieve that we connected positive limit to Enable_positive input, negative limit to Enable_negative input of MC_Power function block. We used MC_Home function block and assigned the negative limit to bCalibrationCam of home FB. Things were working correctly.  But one thing we noticed is if the axis is in synchronous operation mode(axis following another master axis), even the limit is engaged axis is not stopping. During discrete movement this was stopping. Is there any other way to configure limit switch in twincat3. 
  5. Analog

    I have plc mitsubishi A2USHCPU-S1 and there is already a program in it. The problem is, the analog input data doesn't want to be saved. How do i find the analog address instructions? Can anyone help?
  6. Wait Command

    Hi, I'm quite new to the PLC programming, I saw this delay input in one of the videos, that automatically switched to 1 after a set time, it wasn't a timer, just an contact input with time delay
  7. Old Cqm1H cpu51

    Looking for information about an APR fuction for analog output. Thks
  8. I have a problem trying to scale a floating number coming from an HMI to a value to use on PID instructions.My problem is on the scaling instruction.Whenever i try to run on cx simulator it gives me an error My setup of the scale parameters are (using SCL3(487)) D616 #0000 D617 &350 D618 #FFFF D619 #FFFF D620 #0000 My ladder to use the float number is: *F(456) Value +10,0 D2120 FIX(450) D2120 D2062 SCL3(487) D2062 D616 D2072 The error that throws is 0x80F0 Thanks in advance for any help PS Also tried all Scaling instructions.I think my problem is the setup of parameters for scaling instructions  
  9. Hi there! I recently discovered this forum and I find it pretty useful for sharing and learning about PLCs. The thing is I'm trying to make a Stack using the SSET(630) instruction in a CJ2M PLC. Reading Omron's W340 manual I saw that PLC memory address for the different stack channels is represented as "00010000" to "0001000F". So, in order to set the last stack word address as well as the pointer's address, how do you know those values? Or am I just misunderstanding something? Thanks in advance!   Edit: Solved, the definition of the stack was wrong!    
  10. RS2 instruction

    Hello Expert,   I've problem regarding Instruction RS2. I can receive and send data, but my problem is each time I send data it will always add 0 at the back. I define array data for sending:    POU_01/DATA_SEND[0]    769       00000011 00000001    H0301    --    #0301    --    Word[Unsigned]/Bit String[16-bit]    VAR    D2235    %MW0.2235        --   POU_01/DATA_SEND[1]    0            00000000 00000000    H0000   --    #0000    --    Word[Unsigned]/Bit String[16-bit]    VAR    D2236    %MW0.2236        --   POU_01/DATA_SEND[2]    2560     00001010 00000000    H0A00    --   #0A00    --    Word[Unsigned]/Bit String[16-bit]    VAR    D2237    %W0.2237        --   POU_01/DATA_SEND[3]   50637  11000101 11001101      HC5CD    --   #C5CD    --    Word[Unsigned]/Bit String[16-bit]    VAR    D2238    %MW0.2238        --   Data receive on Serial Terminal : "01" "03" "00" "00" "00" "0A" "CD" "C5" "00"  ==> "00" last value I tried to figure out how can it get there ?   I already check for terminator character already set off. I use channel 2 using FX-485-ADP-MB. I set my serial D8420 ==> "0C81".      
  11. RS2 instruction

    Hello Expert,   I've problem regarding Instruction RS2. I can receive and send data, but my problem is each time I send data it will always add 0 at the back. I define array data for sending:    POU_01/DATA_SEND[0]    769       00000011 00000001    H0301    --    #0301    --    Word[Unsigned]/Bit String[16-bit]    VAR    D2235    %MW0.2235        --   POU_01/DATA_SEND[1]    0            00000000 00000000    H0000   --    #0000    --    Word[Unsigned]/Bit String[16-bit]    VAR    D2236    %MW0.2236        --   POU_01/DATA_SEND[2]    2560     00001010 00000000    H0A00    --   #0A00    --    Word[Unsigned]/Bit String[16-bit]    VAR    D2237    %W0.2237        --   POU_01/DATA_SEND[3]   50637  11000101 11001101      HC5CD    --   #C5CD    --    Word[Unsigned]/Bit String[16-bit]    VAR    D2238    %MW0.2238        --   Data receive on Serial Terminal : "01" "03" "00" "00" "00" "0A" "CD" "C5" "00"  ==> "00" last value I tried to figure out how can it get there ?   I already check for terminator character already set off. I use channel 2 using FX-485-ADP-MB. I set my serial D8420 ==> "0C81".      
  12. A little background information here, I am trying to create a moving average so I accomplished it with the code (imaged attached) The problem i am having is the AVE instruction error bit goes true. it leaved me with a result of 1.#QAN  I did some googling and it said this is typically done when dividing by zero?? so i added a NEQ to 0 prior to loading the array. then it happened again. so i put the error bit in front of the FFL so it will stop loading the array when i get the error bit so i can see what values are in the array when it errors out. Has anyone else had this issue and what could you do to resolve it? I haven't had any luck find something that points me in the right direction. Thanks in advance for your help.
  13. Limit

    Looking to set a limit in my logic that returns a bit if my process value falls between the lower and upper limit values. Looking at LMT(680) but it does not appear that it switches a bit just passes the value through. Any ideas?
  14. Hello, Have this error come up constantly and can't be reset. Motor hasn't tried to drive at all. Second motor showing same problem. This is a new configuration on new machine. Other inverters configured without any problems. Anyone seen this before or any ideas what could be the issue.
  15. I am controlling the powerflex 527 drive with MSO instruction, first setting the drive on and then running the motor with MAJ instruction. After MSO instruction, motor is rotating about 2 sec and then stops to wait the  MAJ. I have not find any solution for this. My configuration is frequency control, no feedback, sensorless. One hint i found from the rockwell pages but it did not help me. Rated slip speed is set to zero.  
  16. Hello everybody,   I have the following situation:   I use the MAM function to move a servo axis; It also moves and stops  correctly when the condition before turns flase. The result is actually good, except that sometimes a readjustment takes place (but only disturbs as I said sometimes). I have been sitting in front but didn't notice anything, only the Operator meant that this happens sometimes   Now I would like to know how this can be stopped. Thank you   What information do you Need to help me further
  17. Hello everybody,   I have the following situation:   I use the MAM function to move a servo axis; It also moves and stops  correctly when the condition before turns flase. The result is actually good, except that sometimes a readjustment takes place (but only disturbs as I said sometimes). I have been sitting in front but didn't notice anything, only the Operator meant that this happens sometimes   Now I would like to know how this can be stopped. Thank you   What information do you Need to help me further
  18. MITSUBISHI FX3UC

    HEY, I'm kinda working on my own label machine and i am stuck on deriving its speed. I have already set the interrupt and acceleration parameters. but the problem i am facing is that i can't understand the ddvit's output pulse and output frequency relation to speed. If you guys know something, please do help. thank you,
  19. Hi Guys! I have a problem.  I have a leaser sensor, I already set the sampling frequency to 0,1 s. So 1 second I will get 10 data. I need to use the average of the datas. My problem is I dont know how can I solve that, after the 10. data every new data I have to  recount, the last 10 data's average. I think maybe I have to use the FFL instrucion or something like that. I need to solve this problem in ladder diagram. I use RS-logix 5000 software. Anyone can help me?  Unfortunatelly I havent the the software, so I cant show you what am I think.    Maybe the sliding window solution is the right, or is it not related to this? Im a bit confused.
  20. ZCP Instruction

    Hi group! I am struggling to figure out what I am doing with the Limit instruction (ZCP 088).  I want to turn on a permissive if the compared word is between 1 and 12.  Rockwell makes this so much easier!!! It looks like my "=" instruction is not correct but this is how they show it in the manual???????    
  21. Hi my problem may have a simple solution but i cant work it out. I need to use the Divide function but it wont let me use a decimal point in either Source A or Source B. Is there a way to use a decimal point in Logix 500 Math instructions? Im using an AB Micrologix 1400 PLC. Can you only use math instructions with whole numbers? is there a way around this? Thanks James
  22. Hi my problem may have a simple solution but i cant work it out. I need to use the Divide function but it wont let me use a decimal point in either Source A or Source B. Is there a way to use a decimal point in Logix 500 Math instructions? Im using an AB Micrologix 1400 PLC. Can you only use math instructions with whole numbers? is there a way around this? Thanks James
  23. Hi Guys! I have a problem with Motion axis move (MAM) command. There is an Allen bradley servo motor what is working well. But I need to add a new program section, wich is in  a specified moment, the axis should move a certain distance. I think I need to use the mam command, just I dont know how can I configure the motion control part. I need to make a new tag ? or what ? I need to use a user define ? PLS help me.   
  24. Hi there, I am trying to create an Add=On Instruction to help me manage some alarm conditions in my application. My AOI has one Boolean output that is used for messaging on the HMI, but I'd like to also have another output (Boolean or integer) that would be attached to o global parameter so that if any alarm is activated, it will create a master alarm that can be used for machine control, and possibly messaging. The reason for this is that I may have numerous alarms and I'm trying to avoid having to create a series chain of all those alarms to turn on a master alarm. My thought was that if I can get any alarm to make a global parameter go true, then I don't have to manage other bits if I delete or add an alarm block. I'm having trouble coming up with a way to create that output that I can have load a TRUE value into a global parameter, though.  I was trying to use an integer so that I could just load a '1' into the variable if any alarm goes off, and a master reset would reset the value to zero. But I'm apparently not setting up the AOI parameters just right. Has anyone got a suggestion of how I can do this? I can share my block if that would help, it's nothing special, just a way for me to condense alarming features and this one seems to be a little tricky. Thanks for your suggestions!
  25. Hi, I was wondering if there is a way to limit the number of allowed on-line connections at a time to a PLC? Like can you somehow set in the PLC parameters that only 1 'connection' can be on-line in the device at a time? Thanks Edit: I'm referring to connections from the TIA portal - not HMI / ethernet connections and so forth