0% found this document useful (0 votes)
63 views1 page

BSL2

The document is a program listing for a PLC with 8 rungs. It describes functions for bit shifting, spraying items, detecting items entering and exiting, counting items in and out, resetting the count, and checking if the in and out counts are equal.

Uploaded by

titowateke
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views1 page

BSL2

The document is a program listing for a PLC with 8 rungs. It describes functions for bit shifting, spraying items, detecting items entering and exiting, counting items in and out, resetting the count, and checking if the in and out counts are equal.

Uploaded by

titowateke
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

BSL2.

RSS

LAD 2 - --- Total Rungs in File = 8

http://www.geocities.com/plc_guide/index.html
Bit Shift / Line
Movement
I:1 BSL
0000 Bit Shift Left EN
0 File #B3:0
1746-IA8 Control R6:1 DN
Bit Address I:1/1
Length 8<

Spray 1
B3:0 O:3
0001
1 1
1746-OA8

Spray 2
B3:0 O:3
0002
4 2
1746-OA8

Detect Item In
I:1 CTU
0003 Count Up CU
1 Counter C5:1
1746-IA8 Preset 0< DN
Accum 0<

Detect Item Out


I:1 CTU
0004 Count Up CU
2 Counter C5:2
1746-IA8 Preset 0< DN
Accum 0<

Reset Item Count


In / Out
I:1 C5:1
0005 RES
3
1746-IA8 C5:2
RES

In / Out Count Equal


EQU O:3
0006 Equal
Source A C5:1.ACC 7
0< 1746-OA8
Source B C5:2.ACC
0<

0007 END

Page 1 Friday, January 17, 2003 - 15:08:06

You might also like