%T and SHL with GE Fanuc Series 90-30/90-20/Micro (v6.60)

whatthbuck

Member
Join Date
Sep 2014
Location
indiana
Posts
8
We are converting an old GE to a S7 as a rush project.

Don't you love the 4:30 on Friday phone calls.

I need to know how a specific memory space works with an instruction.

In the code they use SHL (word) and SHR (word) on %T0001 (bit?)

I'm assuming that on execution of the SHL T0001 is moved to T0002 and So on until T0015 is moved to T0016 and T0016 is lost. Also B1 is written to T0001, after the old value of T001 is moved to T002.

With bits in the following format.

MSB LSB
T0016 T0015 T0014 .....T0008 T0007 T0006.....T0002 T0001

I'm also assuming that SHR does a similar function where T0016 is moved to T0015 and so on until T0002 is moved to T0001, also B1 is written to T0016.

Thanks in advance for corrections and verification and advice.
 
Your interpretation is correct. The shift takes place whenever the upper left node of the function evaluates as true, so normally the enabling contact is a one-shot. Also the length parameter determines the number of words over which the function is active. If, in your case the length is 1, the action is over %T0001 through %T0016. If the length parameter is 2, the action is over %T0001 through %T0032.
 

Similar Topics

Hello, I want to use the shift register SHL for siemens S7-1200 cpu. I expect when I trigger the EN-input that the IN- value (1) by each...
Replies
5
Views
3,150
U
Does this work like an ab bsl? I cant get it to work. Any advice appreciated.
Replies
2
Views
1,619
Unregistered
U
I have a CNC cutting equipment, all the components are Fanuc from the CNC CPU A02B-0307-B822, a PLC AIF01A and a panel i, on the panel i (operator...
Replies
1
Views
108
I want to buy this program if anyone has it. Absolutely no one has it officially for sale. My cpu is IC610CPU104B My mail...
Replies
2
Views
110
I've got a Micrologix 1100 with ethernet and I'm trying to configure communications to a Fanuc R30iB controller. I'm pretty sure you have to set...
Replies
0
Views
102
Back
Top Bottom