Thread Content
This post was last edited by security on 2011-9-22 09:03. When learning the GX software, how do I write code to handle time using the instructions in the ladder diagram? For example, to write X0, you can simply write LD X0 without selecting a graphic; so how do you write the time value? Should I just write T0 K6000? My way of writing it doesn’t work. I’m a beginner; please don’t laugh at me. Thank you everyone!
This post was last edited by lk800811 on 2011-9-21 at 20:13. I’m not sure whether you’re referring to the output or to the normally open/normally closed contacts; if it’s the output, it should be written as out T0 k6000 (that is, 60 seconds). If it’s a contact, it should be written as LD T0 for normally open or LDI T0 for normally closed
Reply 2# lk800811 is connected after X0, and the Y0 coil is connected afterward.
Reply to 3# hallon520: Then you must be referring to a contact. An normally open contact is denoted as LD T0, while a normally closed contact is denoted as LDI T0. It cannot have a K6000 attached to it; it can only have one attached as an output
Reply to 4# lk800811: Oh, thank you. There’s one more question: if the Mitsubishi PLC isn’t connected, can’t it be tested? Also, after writing the program, does saving the previous transformation equate to compiling it with other software? Thank you, haha.
Reply to 5# hallon520: The Mitsubishi FX2N PLC comes with a virtual programming software. This software can be used to force the contacts to be ON or OFF, thereby testing how the program performs and determining whether it meets the desired requirements. As for the transformation by pressing F4 you mentioned, it is the way to switch from write mode to debug mode; well, it can be understood as what you call compilation.
Reply to 6# lk800811: Thank you. I now know about that simulation software; in addition to Developer, GX Simulator6-C is also required. Thanks!