I used the s7 in
to connect the PLC and read the data in it.But I have a trouble.
DB407,D78.1
in PLC.I don't know how to convert it to an address in s7 in
so that I can read this data.
I used the s7 in
to connect the PLC and read the data in it.But I have a trouble.
DB407,D78.1
in PLC.I don't know how to convert it to an address in s7 in
so that I can read this data.
I checked the official document, which does not say how to convert D78.1
.
Try DB407,X78.1..
booleans are only variables that contain"." in their addressing (unless you use strings) then
DB407,S78.1
But it is a binary variables not boolean.
What do you mean by binary? Binary is representation of number:
10 -decimal
2#1010 - binary
16#A - hex
show screenshot of your DB407, area 78. If your variables are numbers - go for numbers, if they are boolean (true/false) try DB407,X78.1
I use word
directly.DB407,WORD78.1
can get the number what I want.Thank you very much.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.