S7-1200 and hardware interrupt OBs

pacak

Member
Join Date
Sep 2006
Location
Arad
Posts
65
Hello!

I am using:
S7-1214C 6ES7 214-1HG31-0XB0 V3.0
SB1221 6ES7 221-3AD30-0XB0 V1.0
and some other modules ...
TIA Portal V11 SP2

I've enabled rising edge events at 2 digital inputs (I0.4 and I0.5) and added 2 hardware interrupt OBs, one for I0.4 and another for I0.5.

During the testings I had to realise that the second OB does not execute, so I deleted it and tried to detect the source of the event within a single OB using I0.4:p and I0.5:p. Now the rung with I0.5:p was not executed.
Eventually I had to realise that the rising event at the second input is not "handled".

When I moved the second input line from I0.5 to I 0.6, the rising event worked and the rung with I0.6:p was executed.

I did a last test and connected my first input line from I0.4 to I0.7. Now the rung with I0.7:p was not executed.


Does that mean that I can use only every second input for interrupt handling?
I could not find anything about this in the S7-1200 system manual (04/2012). Did I miss something?

Some other questions regarding the hardware interrupt OBs regarding S7-1200:

1.According to the S7-1200 system manual I should use interrupt OBs from number 200 and up, however in the TIA Portal when I add the OB, I can choose from 40-47 and 132-32767? OB40 works fine, too.

2.Aren't there local variables in the OB like OB40_POINT_ADDR (as in the case of S7-300)?

BR
Attila
 

Similar Topics

Hello I have 1214C DC/DC/DC CPU which I can't communicate with it through pc. When I'm Trying to search the cpu in tia portal I can't find it...
Replies
2
Views
1,471
Dear all, Currently I have a task to study our s7-200 hardware configuration retrofitting to s7-1200 hardware. s7-200 configuration: CPU 224...
Replies
2
Views
1,761
Hi all, Currently having trouble getting a speed reference to write over modbus to an Omron M1... I can successfully write a run command and...
Replies
6
Views
252
HI i would like to know how to get a variable that will store the amount of times a program has been executed. The issue is I have 3 DBs for 1 FB...
Replies
2
Views
81
Hi, I have attached herewith one image which our programmer has been used in S7 1500 PLC. Now we need to use the same instructions in S7 1200 PLC...
Replies
4
Views
120
Back
Top Bottom