VB to VD convert?

kouim92kostas

Member
Join Date
Aug 2019
Location
Greece
Posts
32
Hello everyone...


I'm stuck on something .. Below I wrote you a piece of code from an existing program.

VW233 is the PLC time and VW810 is the first start time of a pump and VW812 is the second operating time.

Can I convert VW233, for example to VD233?

LD SM0.0
MOVB VB233, VB1505
IBCD VW1504

LDW= VW233, VW810
A I0.0
S M25.0, 1
LDW= VW233, VW812
A I0.0
S M25.1, 1


I want to use both VW233 and VD233 in the program. Can in do that?

Thank you....
 
There is a lack of information like what PLC is it ?, however, at a guess if it is like other PLC's VW means word VD means double word. In PLC's I have used if you use Double words it takes up two words for example MW100 is word 100 however MD100 is MW100 & MW101 so takes up the next word.
You will have to ensure that the next word is not used. also if you intend using the VW233 & VD233 for different applications then you will have conflict of data.
Also if the logic requires a word address and you supply a double word it may not compile & create an error, it really depends on the programming language.
 

Similar Topics

Hi all. Me again still learning Rockwell. So I'll be polling an INT data array from a Modbus SE power meter with a L82 (with a Modbus ProSoft in...
Replies
56
Views
1,208
Hello, could someone kindly convert the attached RSP files that are currently used for SLC 5 PLC into PDF please
Replies
6
Views
472
I'm trying to convert an RS Logix 500 fille when I open the 500 file and try to "save as" a .slc file, it does not allow it. It says " SLC library...
Replies
2
Views
516
Due to a lack of upkeep and understanding of my predecessors, I have a PLS71 that was running V16 of Logix. I need to swap out an AENT for an...
Replies
2
Views
670
Hello.We are trying to convert a program written with S7-300 Simatic Manager to S7-1200 V16.Unfortunately, there is only LAD,FBD option in S7-1200...
Replies
2
Views
737
Back
Top Bottom