Maybe stupid question, but..
I need to read external status from Danfoss vlt, which is connected to S7/300 via profibus.
I have done my own VLT controll FB.
Area of reading is determined by giving VLT address at FB input field.
With two first row, I can read actual reference and status from double word (example PED256).
But I need to read also word PEW 260, indirectly.
How should I call that word at FB?
L PED [#address]
T #From_VLT
L #From_VLT
T #Status_value
L #From_VLT
SRD 16
T #Status_word
L #Status_word
L 2#110000011011000
UW
L L#0
>I
= #VLT_fault
I need to read external status from Danfoss vlt, which is connected to S7/300 via profibus.
I have done my own VLT controll FB.
Area of reading is determined by giving VLT address at FB input field.
With two first row, I can read actual reference and status from double word (example PED256).
But I need to read also word PEW 260, indirectly.
How should I call that word at FB?
L PED [#address]
T #From_VLT
L #From_VLT
T #Status_value
L #From_VLT
SRD 16
T #Status_word
L #Status_word
L 2#110000011011000
UW
L L#0
>I
= #VLT_fault
Last edited: