![]() How do I find if there's such a thing in the program?īecause There's one module on this PLC. Thanks a lot for the help, you're a great aid. The reason for that difference is probably because the program was made with Medoc, and then merely converted to GX Works 2, I guess. Your TO command simply puts the constant 8 into the buffer memory location 1 of the first module connected to the PLC, using 1 word of data. ![]() K5 is the buffer memory location the data to be read is stored in, D2 is the data register the data is going to be put into, and k4 is the number of words transferred. To break down your example code, FROM K0 K5 D2 K4 the K0 is the location of the special function module you are reading from. You must be using a FX series PLC, with a Q series using GX Works 2 the need for this is eliminated. TO and FROM are used to read and write data between the PLC and any extension units connected to it. I'm guessing K0 and then some kind of reading from K5 as well? And ultimately leave it all in K4. I would assume it read an word-value (as in analogue) from one of them. ![]() How does the "To" and "From" functions work? And when I ask about these, I am fairly certain I have no real clue as to how their correlation with the operands. Now there's no doubt about how that works. A tad deeper than necessarily, but that's neat.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |