K Constant DirectSoft6

I have this machine that is running a Koyo Direct Logic 205 with the DL 260 CPU in it. My task is to put a Do-More H2-DM1E in it.

Luckily there have been some great forum posts about the K constant here and I have read most of them (I think). The help feature in Do-more, Direct logic and the manuals have also been really helpful in helping me understand what each instruction does as this is my first time doing anything with PLC's. (Having documentation is awesome)

Luckily the migrate feature in Do-More did most of the work for me but I still have 400ish Direct logic stubs to manually convert. My issue is that I do not know if it is a BCD value or HEX value when there is a LD followed Directly by an OUT and nothing else, just LD then OUT.

(Example form program)
LD K101
OUT V10013

From my understanding I would convert this in Do-More as one of 2 variations.

1 Variation (I have been doing this one)
Move:
Source 65
Destination V4107
2nd Variation
Move:
Source 0x65
Destination V4107

Other times in the program I have used the context of the load to decide BCD or HEX. From my reading in the manual (DL 205 user Manual CH5), I found that it depends on the following instruction after the LD, for example if LD followed by MULB, it would be HEX for the K value but if it was just ADD, it would be BCD.

Would anyone be able to point me in the right direction. Any help would be much appreciated (not sure if I am overcomplicating this or missing something very obvious), if this has already been covered in a forum post would appreciate if someone could point me to it.

My theory is that I have to look elsewhere in the program where that V memory is being used, then use that context to determine if it is BCD or HEX.
 

Similar Topics

Hello everyone, I am working on a winder machine for extruded plastic film using an S7-1500 PLC and SINAMICS S120. I have a web accumulator...
17
Replies
634
Views
I have an unwinder-rewinder implemented at a client site which consists of: 2 motors (560 rpm, gear ratio i = 5, torque = 12 Nm) 2 frequency...
25
Replies
2,611
Views
I have some analog output values that need to change accordingly to a user specifyed slope, normally in units/s that will be traduced to volts/s...
9
Replies
1,195
Views
Hey everyone. I'm pretty new to programming and practicing some programming changes on a dummy copy of an existing program in Studio 5000. I'm...
3
Replies
832
Views
I have about 6 banner 10-30vdc through beam sensors that are giving me the same problem. Each reciever use to be fully operational and switch...
6
Replies
1,320
Views
Top