Index a Siemens Pointer in a RTU Modbus Master

AlbertoM

Member
Join Date
Jan 2016
Location
Gauteng
Posts
5
Hi All

I need to index a Pointer in a RTU Modbus Master block, please see attached screen shot.

I have 34 VSD's which I need to Write the Speed ref to and Read the Statuses,
when I use an Absolute address (P#DB13.DBX0.0 BYTE 4) it works but not with anything I have tried using a dynamic address.

Any Ideas?

Thanks

Screenshot.jpg
 
Hi and welcome to the Forum


Do yo have problem with Network3 pointer?

Maybe LAR2 gets different value somewhere. You can try changing LAR2 to some MD or DB-address

OPNDI DB13

L "Tag_B" //MW500
T MW502
L MW502
ITD
T MW508
L MW508
SHL 3 // change Dint to pointer value (=*8)
T MW512

L DBD [MW512]
T Pointer


?
 
SHL Invalid

Hi

I have tried various versions of the reply but keep getting "Syntax error: The specified value "SHL" is invalid"?

I am using TIA V13 SP1 Upd 5, and am obviously doing something wrong but brain hitting a blank.

See screen shot

Thanks all

SHL Invalid.jpg
 
Tia portal STL have little bit different commands than old step7

Try this way

L 3
L "Tag_1"
SLW
T "Tag_2"

or

L 8
L "Tag_1"
*I
T "Tag_2"




Shifting left is same than multiple with 8
 

Similar Topics

Hi everybody. I got some problems about how to perform this task Now, I got an FB where I have this code snippet that looks like: L P##DBD_134...
Replies
5
Views
1,130
I am using a function block that has a in/out parameter that is a structure. The structure has an array as one of the elements. I can index the...
Replies
1
Views
737
Hi all, I have an Allen Bradley PLC which is connected to a Kinetix 300 drive. I have been using MotionView to adjust the different positions...
Replies
3
Views
1,273
Sorry for the word salad title, I'm having trouble putting my problem into words. Basically I have two arrays of DINTs, both the same size...
Replies
29
Views
7,969
Hi all, I'm working on developing a 90° valve actuator system that will actuate valves several hundred times for some testing. The PLC (an AB...
Replies
23
Views
7,207
Back
Top Bottom