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. hello.   I've been trying to communicate this omron plc CP1L-EM30DT1-D, with a yaskawa inverter cimr-vu4a0004faa. but i can't figure out how to make de correct mov or configuration in de DM. i need to run/stop, change frequency.    some help, please. :) 485PRUEBA.cxp 485PRUEBA.opt
  2. ladder program

    Hello everyone, I want to know why the Y172 coil is ON / logic 1? whereas contact SM1 is worth OFF / logic 0? can anyone explain it to me ?
  3. Hi everybody! I am an experienced electrical/electronics technician with 6 years of maintenance experience, and my boss at the factory recently suggested that I should start learning PLCs so I can take over the automation maintenance all by my own team. I have a lot of time to prepare for this position. What is the optimal way to start? We are working with OMRON equipment. I found some courses that look interesting, so my training plan is: 1 finish the free courses - the ones from Omron Learning website - the one from LinkedIn learning "Learning PLC Ladder Logic Course by: Zahraa Khalil" 2 finish the payed courses on UDEMY - Learn 5 PLCs in a Day-AB, Siemens, Schneider, Omron & Delta - PLC Programming From Scratch (PLC I) -  Practical PLC Programming (PLC II) -  Process Visualization with HMI / SCADA (PLC III) -  Advanced Programming Paradigms (PLC IV) - From Wire to PLC , A Bootcamp In Industrial Automation -  Factory Automation using PLC Logics   That being said, can you suggest me more courses / textbooks / training programs? BTW your forum has been a good source of information for the last few days that I have took to research the topic, so I want to thank you all for providing all of this information. God bless you all!    
  4. Bits on Contactor

    I use ladder logic in its most simple form. In ladder logic on the left, I have contacts(ANDs and ORs configuration). They are either switches, logic results of functions or switches, or canned strobing On the right, I have all types of functions, timers, keeps, counters, etc. As a simple example, I have a canned 1 second strobe feeding a counter. I can use the counter as a contact to close when it reaches zero. Does all of the" business" have to happen on the right? For example, the left side of the IF/(contact) statement can I put something like a bit comparison on the left? Something like... Counter, Bit# Or do I have to use a bit comparison on the right and its binary result as a contact and put it on the left?     Thanks    
  5. I've got a 300 with Motionview that I'm going to run using the IOD connector with discrete signals.  First time to touch one of these.  I see the pin 29 is enable/inhibit.  I've tried +24VDC, 0v, and nothing and the drive will never 'enable'.  What am I missing?  I've got the the STO where the safety1 & 2 inputs are tied to +24VDC and the commons shorted together.  I tried unshorting the commons.  I tried removing the connector altogether.  I've read the manual, there nothing mentioning 'enabling' other than that pin 29 being high, which obviously doesn't work for me.  Any help?
  6. How to watch the value in decimal directly in the ladder page ?  Default Hexadecimal The only way I can do it is in Watch Tab and I/O map per example Thank you
  7. I am new to PlC programming . Plz can anyone guide me for ladder programming for FX5U -4LC Temperature controller with autotune parameters . Plus i want to use a PT-100 for the same . Plz help me out.
  8. Hello all. I have been working with an SLC 5/04 system, which houses various Digital and Analog INs and OUTs, up to Slot 29. I am currently mainly working with Slot 25, an Analog Input: 1746-NI16I. This is a system which has already been set up and has been running for the best part of 8-10 years. This particular card has had some spare inputs, one of which I am trying to connect to. In the Advanced Configuration, only a few Channels are actually "Enabled", and each channel is pretty much slightly different from another in terms of Input Type, Filter Frequency and Data Format. I am trying to set up Input 14, which is Channel 15, to "Enable" it, 4-20mA Input Type, Filter Frequency of 6 Hz and Data Format of either Raw/Proportional or Engineering Units. Now, after I have made my choices, I click apply, and then OK. I am then confronted by a pop-up which states: "Configuration Rung and Data Integer Data File Number: 25 Integer Data Element: 100 Rung to be inserted: XIC S2:1/15 COP #N25:100 #O0:25.0 24 At Program File Number: 4 82" I have the options of OK or Cancel. If I click OK, I now have LAD 4, Rung 82 Highlighted. This First Scan Bit and COP function were already here, but does that mean I have now altered what is being written to "#O:25.0"? I now Download the Changes. However, after all this, I am not getting any Analog input reading coming in from the Live PLC. What is this COP function? What does it do? How do I properly set up this Analog Card?   Thanks for your time, -Jame
  9. Hello. Anyone ever seen a button disappear on an hmi. This button is to unlock set values to be adjusted. All I done was restart the panel and it will not show up now. A little lock shows up where the button would he
  10. So I did this simple Function Block, pretty simple, and yet it keeps giving me this error, after a bunch of failed combinations the error persists, without telling me whats wrong. And therefore won't even allow me to download the program to the PLC (CJ2M CPU31) or even simulate.   I heard it's a simple thing to fix but I really dont know how to, since I'm quite new to this. Here's the function block  itself in the picture and the programming inside it, although since it gives me no errors, i don't think that would be the problem
  11. Hi..  someone please help me.. i'm working in omron CS1H-H CPU67 PLC. My struggle is I/O in one particular rung is not getting updated.  Note: the rung is consist of a P_On flag followed by a FB ; all I/O to the FB were correctly assigned. but the inputs inside the FB instance are not getting updated so that the output not updated. can anyone please help me....????   sorry for my poor english... thanks in advance.
  12. Block Compare Instruction

    Is there a Block Compare Instruction like the one in Omron PLC for Mitsubishi PLC? If the Omron PLC is BCMP (68), then what is the name of the instruction on the Mitsubishi PLC? I tried to use BKCMP in the Mitsubishi PLC, but the way it works is not the same as the one in Omron PLC
  13. Hello. How can I get bit addressing of defined variable in function block? For example: - I define variable type DUINT with name Double_VarI_INT. - I want to get or set one bit out of it (its double word). - If I use Double_VarI_INT.0 I got error. Best regards.
  14. I need to run 4 exactly same devices with 4 different controllers. The logic for them would be exactly the same but the IPs and controller names would be different. Is there a way to do it using 1 project file? Basically whenever download is done the logic would be downloaded but the controller name/IP would be left unchanged. They will be connected to the same network so the IPs must be different. I am using 1769-L32E for these and all racks are set up exactly the same. Any ideas?
  15. Gx Works 2 ve fx2n için bir fonksiyon kütüphanesine ihtiyacım var. Servo ve step motor kontrolü için.   thank you
  16. Struct as FB input

    Hello,  I am trying to define a struct as an input variable for a Function or Function Block. For example the function AddDelimiter (This is a standard Sysmac function), has a input variable with the variable type Struct, an it is possible to couple a struct to this input (See picture below). If i try to make my own function block with a struct or Structure as an input data type, i get the following error (See picture below). When I try to define a struct from the data types (In this case struct: Test) it doesn't give a error. But when I try to couple a struct to this input, that is a layer deeper than the function block struct i get the following error (See picture below). How can i define a struct as an function/ function block input? Thanks in advance.
  17. Anyone ever used a Wait-for digital tag in a C Program? I have to use C in the Red Lion Programs.. but, I'm not at all proficient in C (or anything else for that matter ..) Here’s a nice problem for basic C programming .. I really need to solve it .. but, so far ... can't ... sigh!: I have an actuator that will be commanded to make sine wave motion.  The program that does that, in the actuator’s driver-controller, requires the actuator to first be in a zero position.  Homing has already been done, so the drive knows where the actuator is.  I cannot modify the sine wave program; but, can command a Move Absolute program in the drive, to take the actuator to zero, if it isn’t already there.  When the actuator is at zero, it is “In position” and a digital tag will go True. If the Tag is False, the actuator is not at zero, it’s at some other position,  and only the Move Absolute program can return the actuator to zero. So, when launching this position command program, In a Red Lion G3 HMI, using only Basic C programming, how would you write a control program that would test the status of the actuator’s position, and, finding it at zero (the “InPos” tag is true) would start the Sine Wave program.  And, If the “InPos” Tag is false, would start the Move Absolute program, which would return the actuator to zero, and when the actuator is In Position, would start the Sine Wave program. Here’s the tricky part. It will take only a few milliseconds to start the Move Absolute program (if required) .. but how do you get the “C” control program you are writing, to wait until the actuator actually reaches zero, and the “inPos” tag goes true … which could take several seconds? I don’t believe there is a WaitFor function in “C” , and you cannot send either the Move Absolute, or the Sine Wave program more than once .. so, if a loop is used, it can loop only one time .. presumably with conditional delays. (however that's done)  You cannot use Sleep().. that would be cheating.. the full program must run in the least amount of time, and you do not know how far the actuator is from zero. You could use if (! InPos) or if (InPos) to qualify what programs to run .. but, where does the “Wait for In position”  fit into C Programming?  You might be able to use Continue .. but, ya still have to wait for “InPos” to go True…..before running the Sine Wave.       Thanks Much, Regards, Michael
  18. Howdy, So the program I have has linked up and I've downloaded to the Omron NS-10 just fine... other than when I go to certain screens the text from all the descriptor labels are gone. I can't figure out if its a setting or if its just getting lost in transmission somewhere. Halp. Thanks,
  19. Hi there! I have a question with AB PLC. My problem:  I have some raw data...distance for example.When the machine starts,the sensor begins to send the information with the distance values. When data is received it is moved into an array. After the first 5 values the program calculates an average and the result is moved into another array.Currently after receiving the fifth value,thus filling the first array,making the calculation and sending the average to the other array,the program empties the entire first array instead of just always discarding the oldest value of the five,and recalculating the average with the newly arrived value every time. I tried to made this with ladder diagram using an an fifo load and unload but isnt working. Please help me if anybody can. Thank You.
  20. Ladder Display Format Change

    My program has the option Tool | Options | Program Editor | Ladder | Ladder Diagram Display Format set to 11 Contacts.  Are there any repercussions to changing this on an existing program?  I would like to spread it out to the 17 Contact setting.
  21. FX2N & Inverter iG5A on RS485

    Hello everyone, I'm a beginner in RS485 communications and i want to control 2 inverter LS iG5A via RS485 from a PLC Mitsubishi FX2N I really don't understand how i should aproach and start this part of program in Ladder Diagram, to write and read parameters from Inverters.  Please help me with an example    Thanks.
  22. Structured Ladder

    Need Help! I uploaded structured ladder program into FX3S PLC. But When I try to read it from PLC it says the program cannot be opened. 
  23. Profibus Function Blocks for Q2ASCPU for Melsec ST Lite RIO inter-connection. Please assist in advising the attainment of such blocks - if any existing. Thanks
  24. Ok, so I have 22 bits that I need to monitor the status of; all in separate words. Each change of state (on each bit) I need to trigger a timer and have the timer done to completion. I'd like to have the timer reset if a bit changes state during timing. I'd like to keep it to one timer. I'd like to keep things as simple as possible so the less rungs / branches the better. Any help?
  25. Hi, I'm working in so machine basic v1.5 and I'm wondering if it is possible to change the start time and stop time in a schedule block with a %MW. So is there a possibility to for example say %CH0.??? := %MW5 in an operation block? And is there a page where u can see al the possible codes. I already discovered that %TM0.P changes its preset but i don't find a list of al those possibility's.