PILZ Structured Text Problem

chiwheels

Member
Join Date
Sep 2016
Location
Bedfordshire
Posts
1
I am looking for a PILZ expert as I am having real problems loading my program. The installation consists of two PLCs and 4 remote I/O headers all networked together with SafetyNet.

All devices load OK except one that switches to a Major FS Error state. I sent debug data to Pilz Germany and they replied that the Modbus is overflowing its scan cycle time. They suggested a longer cycle time setting. This didn't work.

I then narrowed the problem down to one structured text (IEC 61311 program) function. I cut its size down to a quarter of what it was (statements, declarations and I/O) and it still caused the problem. Then I split the reduced function into two separate functions and that loaded OK. In the end I replaced the function with a number of multi-program blocks and that worked. This work-around gets me out of the immediate problem. However, I am moving on to a much larger project and am concerned that this issue will arise again.

I have attached a PNG image of the multi-program and a listing of the structured text function block 'WHSafety'. Can anyone see a problem with what I have done ?

Maybe this is not resolvable in a forum but I thought it worth a try. Thanks in advance for anyone that takes a look.

WorkHallMulti.jpg
 

Attachments

  • whsafety.txt
    2.5 KB · Views: 19

Similar Topics

Hi Guys, I'm trying to integrate Pilz Ethernet IP Module to ControlLogix. I added Pilz module as a Generic Ethernet module and I'm able to...
Replies
2
Views
504
Long shot, anyone got the Pilz PDIA 2 Step 7 drivers zip file they could send me?
Replies
2
Views
1,187
Dear All. I need comm between Compactlogix/Controllogix with PNOZ m1p ETH. What we need the communication option? or can be connect direct? many...
Replies
0
Views
1,174
Hi Guys, First post here! I'll be working with PILZ Safety in a few weeks time, it will be communcating with Allen bradley, Studio 5000. I...
Replies
5
Views
2,828
Hi guys, how to do connect "Pilz 772138" on hardware like the pic? is it possible? I am newbie on Siemens. Thanks
Replies
8
Views
2,307
Back
Top Bottom