Control Logix BTD Instruction

somu

Member
Join Date
Dec 2006
Location
DUBAI
Posts
3
After importing a project from PLC-5 I am facing the problem that CLX doesn't have the option to put a tag in the source/destination bit of the BTD instruction. This was available in PLC-5 for the indexing. Any one who has faced a similar problem and solved it?
 
Can you explain what exactly you are trying to do with the instruction so maybe I can help you find another solution (not using this instruction).
 
BTD instruction in Control Logix.

In PLC-5 BTD instruction was being used to copy bits from one word to another word in a different bit location. i.e. If I want to move bit no. 3,4 and 5 of Word X to bit no 7,8 and 9 of Word Y. So the starting source bit will be 3 and length will be 3 where as destination bit will be 7. I want this source and destination to be addressed as tags instead of constants as I want to change it continuously during the runtime program execution.
 
somu,

what you describe is correct: in contrlologix source bit, dest bit and length can't be tag, only direct value and you will have to modify your program to accomodate this.

Why this is done in logix differently? - here is my guess:

- PLC5 uses interpretor: it reads the program on the fly and executes instruction based on the current state, one at the time.

- CLX uses compiler, it converts every instruction to the set of commands before downloading to the PLC. This makes execution much faster. To have 3 additional fields as variables makes compled code very complicated and as result very slow.

Again - this is my guess.
 

Similar Topics

I am having trouble with getting no control of my analog output signal. I am using the SCL function block to control my analog output. The logic...
Replies
11
Views
271
hi all, i have a plc i need to get info from for a site im working on: I have a 1764 Micro Logix 1500 LSP Series C (See Attached Image) im...
Replies
2
Views
388
I currently have a weird issue involving Ethernet IP communication between a ABB CI873 (EthernetIP Module) and a 1756-L83ES. The Layout is as...
Replies
8
Views
782
Possible for two processors in same rack to have separate motion groups across a single Kinetix Rack using a single EN3TR? One 6500/5700 rack, 8...
Replies
1
Views
435
Hi all! I am hoping to find some help understanding the ABB VFD Connection to my Rockwell PLC. I have set up the VFD parameters based on...
Replies
4
Views
693
Back
Top Bottom