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 and I0.5. Now the rung with I0.5 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 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 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
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 and I0.5. Now the rung with I0.5 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 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 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