AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Gx works 2 commands10/12/2023 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
Read More
Leave a Reply. |