plcforum.uz.ua

International PLC Forum
It is currently Wed Aug 23, 2017 4:58 pm

All times are UTC + 3 hours


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: DBx.DBDxxx to output
PostPosted: Fri Jan 20, 2017 2:12 pm 

Joined: Mon Jan 02, 2017 1:46 pm
Posts: 7
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?


Top
 Profile  
 
 Post subject: Re: DBx.DBDxxx to output
PostPosted: Fri Jan 20, 2017 4:57 pm 

Joined: Sun Feb 12, 2006 8:47 pm
Posts: 182
Location: Europe
if You use STL than:

a DB1.DBX0.5
= Q0.1

Upper code You can easy convert to LAD or FBD

regards


Top
 Profile  
 
 Post subject: Re: DBx.DBDxxx to output
PostPosted: Fri Jan 20, 2017 5:00 pm 

Joined: Mon Jan 02, 2017 1:46 pm
Posts: 7
I want to transfer a double word because my db is DB8.DBD462


Top
 Profile  
 
 Post subject: Re: DBx.DBDxxx to output
PostPosted: Fri Jan 20, 2017 5:47 pm 

Joined: Sun Feb 12, 2006 8:47 pm
Posts: 182
Location: Europe
Could You clarify Your problem. DBx.DBDx is DOUBLE WORD data, which is 32bits wide.


Top
 Profile  
 
 Post subject: Re: DBx.DBDxxx to output
PostPosted: Mon Feb 13, 2017 10:49 am 

Joined: Mon Sep 09, 2013 4:08 pm
Posts: 3
l dbx.dbd xxx
t qd yyy


Top
 Profile  
 
 Post subject: Re: DBx.DBDxxx to output
PostPosted: Sun Apr 30, 2017 5:31 pm 

Joined: Fri Sep 19, 2014 9:01 am
Posts: 3
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






:D


Top
 Profile  
 
 Post subject: Re: DBx.DBDxxx to output
PostPosted: Tue May 02, 2017 6:26 am 

Joined: Fri Apr 10, 2015 10:12 am
Posts: 2
Exactly.
Just experience share here (suc) To create couple FCs and call them when necessary. It can be also work for some mathematical calculation


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 3 hours


Who is online

Users browsing this forum: Yahoo [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by International PLCforum® Forum Software © PLCforum
Mobile version