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

Hello all, I'm currently working on a servo motor linear positioning system (ball screw). I'm all set up regarding communication between my HMI...
Replies
1
Views
79
I have an application using an incremental encoder and then I convert it to degree (0-360) using calculation program. For a while, the calculation...
Replies
7
Views
224
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,335
Hello, could someone kindly convert the attached RSP files that are currently used for SLC 5 PLC into PDF please
Replies
6
Views
513
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
7
Views
680
Back
Top Bottom