Search the Community

Showing results for tags 'function block enable bit ladder logic missing'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 162 results

  1. I have an Omron NX PLC  NX1p2 which Supports EtherCAT . also I have Balluff BNI00HA Ecat Block(IOlink Master). I have setup communications and connected a BNI004K balluff I/O device. I managed to get inputs and i can read it as well. but to set the pins of BNI004K as outputs i have to configure the module by accessing its Index and Subindex. I tried with IOLwrite Block but it says 16#4802 error. Also an Engineer from balluff suggested me to use CoE block but while reading the description is said CAN over EThercat. WHile my devices are IOLINK.. If Anyone can Help.Please. SS1 - Is the error I am getting on IOLink instruction SS2 - Is what i did. which is an IOlink Write block from Omron SS3 - is what balluff Engineer suggested.
  2. GX Works 3 glitch?

    Hi all, I have a program I am editing in ladder mode It is getting quite large, nearly 30k steps now At some point after a continuous paste (I think) the editing has become glitchy If you try and change an item it inserts the new one and keeps the old one It puts in horizontal and vertical lines seemingly randomly which you have to play around to delete before conversion It is only this one program I tried editing on 2 pc's, no different I cant find anything in mitsubishi manual  Has anyone else had same issue? Thanks in advance  
  3. Hi,  I write a CAM function to sync 2 axis (Rotary & linear). i am using a virtual servo as master, and 2 physical servos as slave. The problem i facing is, with the exact same CAM profile setting, when difference speed used will give difference result of movement. Below is my setting, Master axis     linear motor move 0-180degree   0-500mm 180-360          500-0   when running with slow speed, it move following the CAM profile setting, however, when moving in fast speed, the linear motor will only move halfway then start to moving back 0 already. Has anyone encounter this issue before? is it i missed out some setting? Thanks.
  4. Memory Data in FX3S

    Greetings Can someone tell me about a memory that saves the data even when the machine is turn off? I need one for a speed pulse for a driver and all the memorys that I used where not saving the data. The PLC is an FX3S-MT32
  5. Hi All, I need access to a the Safety function blocks within a safety CPU using sysmac studio on a machine we are upgrading.. Is there a generic password available to gain access? Best Regards, Paul  
  6. Hello, In GX Works2, what do asterisks before function block input and output variable names mean? Thanks,    
  7. Emerson 90-30

    I'm working with Emerson 90-30 on proficy machine edition and I'm trying to use a string variable to display words on a graphical panel in target 2 but withing the code itself on target one I cant seem to understand how the reference address works? can some one explain how string variables function and how to use them?
  8. Problem failed to start ladder engine

    Hello my brother and sister at this forum, please help me, my problem is after i make ladder diagram and iam click button simulation -> Work online simulator ( CTRL + SHIFT + W ) then appear warning  "failed to start ladder engine", what a problem?? thanks before
  9. As the industry of plc and scada softwares continue to integrate more and more programming languages into their IDE, what is the most common language that should be learned by controls engineers (excluding Ladder Logic)?  I mainly use Python and VB for scripting but I am curious what languages other SCADA and PLC programming environments use. Should I be sticking to a specific language and learning it well or just know a little bit of them all? Let me know your thoughts!!
  10. Hi   New here.  Trying to create a cumulative timer with zelio soft 2 for a SR2B201BD So, whenever the plc receives a pulse (coming from a coin acceptor) it adds x amount of time, whenever receives a second pulse, adds x amount of time to the time left on the timer. This is a timer for a self serve car wash. Used to work with Ecostruxture Machine and a TM221, but do to a stock break on the supplier and time sensitive project was forced to change to a sr2.  Can't seem to make the transformation from my program on ecostruxtur to the zelio. Any help? Thank you
  11. I am trying to use Reusable files, but it is greyed out. Is there a setting that needs to be enabled to activate it? I am using CX-Programmer v 9.74 Update 1: Apparently, when you create a data structure this gets greyed out  
  12. 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 :)
  13. Version 1.0.0

    40 downloads

    PRNG algorithm packed into a functional block. As an example of using ST language for Omron CJ series PLC.
  14. Function block RANDOMIZE on ST View File PRNG algorithm packed into a functional block. As an example of using ST language for Omron CJ series PLC. Submitter drYurban Submitted 10/05/22 Category PLC Sample Code
  15. Version 1.0.0

    29 downloads

    An example on ST is the definition of the fronts of a discrete signal.
  16. Function block on ST for algorithm DIFU DIFD View File An example on ST is the definition of the fronts of a discrete signal. Submitter drYurban Submitted 10/05/22 Category PLC Sample Code
  17. valve_control

    Version 1.0.0

    49 downloads

    A working example of an FB to control a valve from an HMI panel. Controls closing/opening times, plus a little visualization.
  18. valve_control View File A working example of an FB to control a valve from an HMI panel. Controls closing/opening times, plus a little visualization. Submitter drYurban Submitted 10/05/22 Category PLC Sample Code
  19. GX Works3 Projectlib Locked

    Hello, I have a problem that I need to solve in a PLC program has it's projectlib locked.  I work for a company that contracted a PLC programmer before my time to program their new version of their control cabinets. The company did not write any specific contract with the contractor and just relied on his work. The guy later delevered a buggy software that is kind of functional (the bugs came up at the commissioning after the guy was paid and now he refuses to help or to provide more consultations). I have as a task to freshen this up and make it work without bugs, the problem is that the Projectlib is locked and I cannot access the source code.  The only thing that I can changes that I can make to the code is to put some logical circuits between the I/O of the already existing function blocks, which solved some problems, but not all and it keeps one of the most important ones as well. Anyways, that's my story, so now my question is, is there and possible way of unlocking the projectlib? Any feedback would be highly appreciated. Thanks in advace!
  20. Newbie in the field of Automation here! I have a waste water project that requires operating 6 pumps to empty a sump. The water level in the sump is being monitored by an analog ultrasonic sensor. The analog range is divided into 5 levels; level 1 being the lowest and level 5 being the highest. The way the pumps operate is analogous to the water level, i.e., 5 pumps will run at level 5, 4 pumps will run at level 4, 3 at level 3, 2 at level 2, and only 1 pump will run at level 1. The sixth pump is used to run the pumps sequentially and that's where I need help. Basically, the pumps can not be assigned to a certain water level as this would result in the pumps at the lower level run way more as compared to the pumps assigned to higher levels. The pumps need to alternate so as to keep the running hours of each comparable. Another requirement is that say if pump 1 turns on due to water level rise and then turns off due to water level fall, and again if the water level rises, then the next pump should start instead of pump 1, and so on for the rest of the pumps. Also, if one pump goes on some kind of fault, the 6th pump comes in and runs in its stead until the fault is reset. I'm trying to come up with a ladder program to make all this happen but hoped that I could find some help online. I feel like this is a common project and there should be someone that can give me the proper solution. With thanks, Aafaq.
  21. Output polarity selection

    Hello to everyone. Nice to meet you all. How are you? I hope you are doing well. I’m developing a program with the purpose of make something similar to a pulse train in the output. However, sometimes I need the output to be a “positive” pulse and sometimes a “negative” one. By positive and negative I mean the polarity in relation to the pulse train source. I’m trying to use a pair of bits in order to switch between the two choices of polarities. I attach a simplified version of the ladder diagram I’ve made. When I thought about the logic, it seemed logical to me, however, it isn’t working as supposed. SM0.4 is a pulse train source. According to the software manual, it is a pulse train with 50% duty cycle and a cycle time of 2 s. That it to say it says at TRUE for one second and return to FALSE for another second. I assign the value of that variable bit to the M0.0 memory bit. I get the negative version of the pulse train logically negating it in the Network #2.                 I assign the value of two inputs, I0.0 and I0.1, to other two memory bits, M0.1 and M0.2. ·         When both inputs are in a FALSE state, the output stays FALSE, disregarding the state of SM0.4. (Case #1) ·         When I0.0 is TRUE, M0.1 is TRUE. However, Q0.0 stays at FALSE no matter SM0.4 is TRUE or FALSE. I attach a pair of pictures. (Case #2) ·         On the other side, when I0.1 is TRUE, M0.2 is TRUE. In this case, the output shows the correct behavior. It is the negated version of the pulse train source. (Case #3)                 Has any of you experienced something similar? Is there a better way to execute my purpose?                 I’m not executing the program, just simulating it with KincoBuilder from Kinco. However, it has always worked fine for me. Thanks for you attention. I look forward for your responses. Kind regards!
  22. Hi, It's been a while since I last worked with NB hmi, and when I need to update one of the hmi, it shows a message of missing font.  On the menu toolbar, under tools there is a Check missing font  selection, but no selection on how to upload missing fonts? Is there any provision on how to upload the missing fonts? or how do we update / upload missing fonts, on the NB software? Thank you.
  23. Hello Dear Engineers; I am a PLC beginner learner, so please do not my my question as it sounds little ignorance my question is; how can i insert two output instructions in parallel but from the same input instructions. kindly check the drawing attached, the problem i can not find the right tool in my RSLogix 500 software.  please help me and i do highly appreciate that.   best regards,  Kevin 
  24. What are the types of fuzzy logic syatems and it's applications? Is the fuzzy systems based on the vague value or real values? What are the real time applications of fuzzy logic. I am writing a thesis at best essay writing services on fuzzy logic and it's applications.