DBx.DBDxxx to output
-
- Posts: 9
- Joined: Mon Jan 02, 2017 10:46 am
DBx.DBDxxx to output
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?
-
- Posts: 186
- Joined: Sun Feb 12, 2006 5:47 pm
- Location: Europe
Re: DBx.DBDxxx to output
if You use STL than:
a DB1.DBX0.5
= Q0.1
Upper code You can easy convert to LAD or FBD
regards
a DB1.DBX0.5
= Q0.1
Upper code You can easy convert to LAD or FBD
regards
-
- Posts: 9
- Joined: Mon Jan 02, 2017 10:46 am
Re: DBx.DBDxxx to output
I want to transfer a double word because my db is DB8.DBD462
-
- Posts: 186
- Joined: Sun Feb 12, 2006 5:47 pm
- Location: Europe
Re: DBx.DBDxxx to output
Could You clarify Your problem. DBx.DBDx is DOUBLE WORD data, which is 32bits wide.
-
- Posts: 3
- Joined: Mon Sep 09, 2013 1:08 pm
Re: DBx.DBDxxx to output
l dbx.dbd xxx
t qd yyy
t qd yyy
-
- Posts: 4
- Joined: Fri Sep 19, 2014 6:01 am
Re: DBx.DBDxxx to output
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

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

-
- Posts: 2
- Joined: Fri Apr 10, 2015 7:12 am
Re: DBx.DBDxxx to output
Exactly.
Just experience share here
To create couple FCs and call them when necessary. It can be also work for some mathematical calculation
Just experience share here
