Page 1 of 1
DBx.DBDxxx to output
Posted: Fri Jan 20, 2017 11:12 am
by raduadragos
Hello ,I need a help in transferring a DBx.DBDxxx to an output, in the form of a Boolean signal, could you help me out?
Re: DBx.DBDxxx to output
Posted: Fri Jan 20, 2017 1:57 pm
by dsekulic
if You use STL than:
a DB1.DBX0.5
= Q0.1
Upper code You can easy convert to LAD or FBD
regards
Re: DBx.DBDxxx to output
Posted: Fri Jan 20, 2017 2:00 pm
by raduadragos
I want to transfer a double word because my db is DB8.DBD462
Re: DBx.DBDxxx to output
Posted: Fri Jan 20, 2017 2:47 pm
by dsekulic
Could You clarify Your problem. DBx.DBDx is DOUBLE WORD data, which is 32bits wide.
Re: DBx.DBDxxx to output
Posted: Mon Feb 13, 2017 7:49 am
by benek128b
l dbx.dbd xxx
t qd yyy
Re: DBx.DBDxxx to output
Posted: Sun Apr 30, 2017 2:31 pm
by Adulka
So you can do this way in STL.
L DB8.DBD462
T QD4
(You do only two statement code)
But all the Bit address start from DB8.DBX462.0 till DB8.DBX465.7 will write to Q 4.0 till Q 7.7
Re: DBx.DBDxxx to output
Posted: Tue May 02, 2017 3:26 am
by baddysw
Exactly.
Just experience share here
To create couple FCs and call them when necessary. It can be also work for some mathematical calculation