Some of the Delta PLC programmers, sometimes wonders what are those E and F index that appears on the WPLSoft wizards.
What can I use them?
So let me told you that secondary letters can save you a lot of time!!!
E and F index are the tool to do indirect calls to variables, n the typical use is to create matrix of elements. It works like the typical pointer, where you can move it along the memory mapping.
Let´s take the below program as example:
Data register (D2000) should be the analog data of an analog input for example, and this value should change on time basis.
Memory_reg register (D7000) is the starting register where I want to save the data loggin.
Then I use E register to change the destination register of the adquired data in the following way
MOV D2000 D7000+E0
Second 0 -> MOV D2000 D7000
Second 1 -> MOV D2000 D70001
Second 2 -> MOV D2000 D70002
For better understanding, don’t hesitate to download the program and simulate it.
E and F registers
February 24, 2019 at 2:22 pm
thanx hey it works perfectly
July 26, 2017 at 8:49 am
do you know how to get start doing this indirect addressing?
January 24, 2017 at 1:50 pm
Hi, thanks for the post!
But the correct one would not be:
Second 0 -> MOV D7000 D2000
Second 1 -> MOV D7000 D2001
Second 2 -> MOV D7000 D2002
April 24, 2015 at 3:48 am
I have tried M4@E0 and the software accepts it but PLC does not
April 24, 2015 at 3:44 am
I would like to see indirect indexing implemented for bit devices, it make the sue of indirect word devices easier as I often use banks of bits and words with indexing with delta I have to use a word as a bit device. It would also be nice to be able to use bits in a word as a bit device like on mitsubishi i.e. D100.3 = 3rd bit in D100 this can be used to read/set/reset a bit in a word like a M device
April 27, 2015 at 6:33 am
Impossible with DVP series, but no problem with AH
October 4, 2012 at 5:59 am
Hi, in the operational manual – programming file there is a chapter 2.14, that says: “Devices can be modified includes byte device (KnX, KnY, KnM, KnS, T, C, D) and bit device (X, Y, M, S).”
But bit devices can’t be modified in reality (ISPSoft 1.03 and WPLSoft).
Why capabilities, mentioned in manual, don’t work in reality?
October 4, 2012 at 8:37 am
In what instruction you said It can´t be modified?
Depending on the instruction can be or not, but is not a matter of the device, is a matter that you can´t move a bit into a word.
October 4, 2012 at 9:41 am
So it can be used with instructions, that work with data (word) for example: k4m50@e1? There are no errors at this example.
Do you plan to add indirect indexing for instructions, such as LD?
October 4, 2012 at 2:38 pm
I just test it K2M0@E0 and it works (with simulator)
My version is ISPSoft 2.00.
Let us know your testing
May 25, 2012 at 4:57 pm
muy interesante y con muchas aplicaciones