DavidBurg
Member
Hey guys,
I'm hoping someone here can help me with a client using a Siemens S5 controller. Most of my experience is with Allen-Bradley controllers using ladder logic. A client has sent me an S5 program with the following files:
*st.s5d
*px.ini
*xr.ini
*z0.ini
*z1.ini
*z2.ini
*ls.ini
*[email protected]
*xrefls.ini
I can open and view the *st.s5d program with the "s5/s7 for windows" program provided by Process Informatik.
The client has an issue with an analog low alarm not triggering when it should. I dug through the program I was able to find block FX15 within OB1 that is responsible for Analog Alarm Processing. I see that FX15 is called several times within OB1, however I cannot distinguish which of these calls to FX15 correspond to which analog alarm. The following is a snippet of code from OB1 that is called 6 times. The last 2 instructions change every time it is called. DB# increments by 1 each time (KF +21, KF +22, KF +23, etc.), and system sequence bit # increments by 1 also (D 21.4, D 21.5, D 21.6, etc.)
BAB FX 15 ;call analog alarm function
NAME ANLGALRM
DBCF: KF +21 ;DB# of analog alarm config
U D 21.4 ;system sequence bit #4
I am having trouble finding which analog input corresponds to each of these alarms, where the limits to trigger these alarms are stored, and which bit will turn high when the alarm is activated.
I can upload more of the program if that will help. I apologize if this is a silly question, I have very limited experience with the S5 programming environment.
Thanks in advance
-Dave
I'm hoping someone here can help me with a client using a Siemens S5 controller. Most of my experience is with Allen-Bradley controllers using ladder logic. A client has sent me an S5 program with the following files:
*st.s5d
*px.ini
*xr.ini
*z0.ini
*z1.ini
*z2.ini
*ls.ini
*[email protected]
*xrefls.ini
I can open and view the *st.s5d program with the "s5/s7 for windows" program provided by Process Informatik.
The client has an issue with an analog low alarm not triggering when it should. I dug through the program I was able to find block FX15 within OB1 that is responsible for Analog Alarm Processing. I see that FX15 is called several times within OB1, however I cannot distinguish which of these calls to FX15 correspond to which analog alarm. The following is a snippet of code from OB1 that is called 6 times. The last 2 instructions change every time it is called. DB# increments by 1 each time (KF +21, KF +22, KF +23, etc.), and system sequence bit # increments by 1 also (D 21.4, D 21.5, D 21.6, etc.)
BAB FX 15 ;call analog alarm function
NAME ANLGALRM
DBCF: KF +21 ;DB# of analog alarm config
U D 21.4 ;system sequence bit #4
I am having trouble finding which analog input corresponds to each of these alarms, where the limits to trigger these alarms are stored, and which bit will turn high when the alarm is activated.
I can upload more of the program if that will help. I apologize if this is a silly question, I have very limited experience with the S5 programming environment.
Thanks in advance
-Dave