EB Pro, Register Index/Offset help

theColonel26

Lifetime Supporting Member
Join Date
Feb 2014
Location
West Michigan
Posts
781
My base address all work fine. The problem starts when I set the Index from 0 to an offset. I get a "PLC No Response" error.


So say my Base address is B10:2/5

In maple that address is 01000205


What if I want to access B20:2/5


Would that offset be 10,000 or would it be 1,000,000? the Manual says that offsets for bits are still by words, so I would think the offset would be 10,000 I have tried both. I get a "PLC No Response" error with both.


if I assign If I set it to use Index 16, and set index 16 to 10,000 I would expect to get B20:2/5



Same for words if it was F15:4 and I wanted F25:4 I would set the index to 10,000 and if I wanted F35:4 I would set the index to 20,000 as 015,004 + 20,000 = 35,004


and N at the Bit level N13:2/8 to get N42:2/8 I would need to use 30,000.


What am I doing wrong?
 
For Bits the index is a multiple of 16. Search "INDEX_REG_DETAILS" in the help file.

But this would only work on a single file of 255 elements. Your using separate files.

Normally the offset would be B3:10/5 x index of 10 or 160 bits which would be B3:20/5

B3:10/5 could be entered in you PLC as B3/165 or enter B3:20/5 as B3/325

Which breaks down as File #: Word x 16 + Bit

if you want to use separate files. then you'll need to map your B# files to LW and use the LW in your HMI to mirror your B# files in the PLC.

Use the Data Transfer (time base) of B10 -> LW10 and B20 -> LW20 and use an index of 10.
 

Similar Topics

I am having trouble with creating a shift register in Unity Pro on my Schneider M340. I am using the FFB SHR to try and get this to work. I have...
Replies
13
Views
5,046
Hello, I am trying to modify the MBP_MSTR FB in order to write data to another thirty part device. Could you give me an example (which working)...
Replies
6
Views
2,474
Hey guys; Im in between projects at the moment and I decided to mess around with Unity Pro XL as it will be the next PLC used on my next...
Replies
5
Views
8,969
Hi, I'm working on a project and building a dfb. What I need is the address-register of a variable and using it for a start-adress. (see...
Replies
2
Views
2,129
I have EB Pro installed on windows 11, I can open an existing project and edit but when I got to parameters tab and open page I get the hourglass...
Replies
0
Views
48
Back
Top Bottom