PLC-5 BSL help

CMP_elec

Member
Join Date
Sep 2010
Location
Ashburton
Posts
14
Just a question about the BSL instruction in PLC-5. The details of the instruction in my program are: File #B3:11, Control R6:0, Bit Address B3:3/2, Length 16. Is the length (16) too long, and would it cause problems in the program?

It says in the help section for Length 'the total number of bits to be shifted by the BSL. Remember that bits in the I/O files are numbered in octal 00-17, but that bits in other files are numbered in decimal 0-15.' This is why I wonder if the length is set wrong.

Any help would be appreciated, Thanks
 
The Length is fine; data file B3 is an ordinary PLC-5 data file, so data file element B3:11 has sixteen bits, numbered 0 through 15.

BSL's can be shorter or longer than a single 16-bit Word, but that's a very common implementation.

The "Bit Address" is the source address for the Bit value that is placed in the rightmost bit when the BSL is executed.
 
Thanks Ken. Wasn't sure whether the 'Length' figure should be in the 0-15 range or 1-16. Thought this would be the easiest way to find out and I was right. Thanks again
 

Similar Topics

HI everyone, i am new to Siemens plc programming and i am in need of some help. yesterday we had an S7-1200 CPU 1214C fail to turn on an output to...
Replies
7
Views
160
Hello, I have a Mitsubishi FX3G 14M PLC and a E615 HMI from Mitsubishi/Beijer. I'm using GXWorks 2 to do the programming and I have no problem...
Replies
4
Views
94
Hi, I'm trying to import a Rockwell/AB EDS to Beckhoff but I'm not sure how to import/install the EDS. It is a PowerFlex 525 EDS. Is there a way...
Replies
1
Views
92
I want to communicate my Q series PLC with Factory IO using GX works 2 software, I want to use modbus as server and the ips are as follows plc...
Replies
0
Views
62
Back
Top Bottom