Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
FB 217 "F_SFDOOR": Safety Door Monitoring Connections Inputs Outputs Parameter Data Type Description Default IN1 BOOL Input 1 0 IN2 BOOL Input 2 0 QBAD_IN1 BOOL QBAD or QBAD_I_xx signal of F-I/O/channel of input IN1 (F-I/O) 0 QBAD_IN2 BOOL QBAD or QBAD_I_xx signal of F-I/O/channel of input IN2 (F-I/O) 0 OPEN_NEC BOOL 1= Open necessary at startup 1 ACK_NEC BOOL 1=Acknowledgment necessary 1 ACK BOOL Acknowledgment 0 Q BOOL 1= Enable, safety door closed 0 ACK_REQ BOOL Acknowledgment request 0 DIAG BYTE Service information B#16#0 Principle of Operation This F-application block implements safety door monitoring. Enable signal Q is reset to 0 as soon as one of the inputs IN1 or IN2 assumes a signal state of 0 (safety door is opened). The enable signal can be reset to 1, only if: • Inputs IN1 and IN2 both assume a signal state of 0 prior to opening the door (safety door has been completely opened) • Inputs IN1 and IN2 then both assume a signal state of 1 (safety door is closed) • An acknowledgment occurs The acknowledgment for the enable takes place according to the parameter assignment at input ACK_NEC: • If ACK_NEC = 0, the acknowledgment is automatic. • If ACK_NEC = 1, you must use a rising edge at input ACK for acknowledging the enable. Output ACK_REQ = 1 is used to signal that a user acknowledgment is required at input ACK for the acknowledgment. The F-application block sets ACK_REQ = 1 as soon as the door is closed. Following an acknowledgment, the F-application block resets ACK_REQ to 0. In order for the F-application block to recognize whether inputs IN1 and IN2 are 0 merely due to passivation of the associated F-I/O, you must supply inputs QBAD_IN1 or QBAD_IN2 with the QBAD or QBAD_I_xx variable of the associated F-I/O or channel. This will prevent you from having to open the safety door completely prior to an acknowledgment in the event the F-I/O are passivated. Warning Variable ACK_NEC must not be assigned a value of 0 unless an automatic restart of the affected process is otherwise excluded. The F-application block supports the requirements of EN 954-1 and EN 1088. Interconnection Example You must interconnect the NC contact of position switch 1 of the safety door at input IN1 and the NO contact of position switch 2 at input IN2. Position switch 1 must be mounted in such a way that it is positively operated when the safety door is open. Position switch 2 must be mounted in such a way that it is operated when the safety door is closed. Startup Characteristics After an F-system startup, enable signal Q is reset to 0. The acknowledgment for the enable takes place according to the parameter assignment at inputs OPEN_NEC and ACK_NEC: • When OPEN_NEC = 0, an automatic acknowledgement occurs independently of ACK_NEC, as soon as the two inputs IN1 and IN2 assume signal state 1 for the first time following reintegration of the associated F-I/O (safety door is closed). • When OPEN_NEC = 1 or if at least one of the IN1 and IN2 inputs still has a signal state of 0 after reintegration of the associated F-I/O, an automatic acknowledgment occurs according to ACK_NEC or you have to use a rising edge at input ACK for the enable. Prior to acknowledgment, inputs IN1 and IN2 both have to assume a signal state of 0 (safety door has been completely opened) followed by a signal state of 1 (safety door is closed). Warning Variable OPEN_NEC must not be assigned a value of 0 unless an automatic restart of the affected process is otherwise excluded. Output DIAG The DIAG output provides non-fail-safe information on errors for service purposes. You can read out this information by means of operator control and monitoring systems or, if applicable, you can evaluate it in your standard user program. Structure of DIAG Bit No. Assignment Possible Causes of Problems Remedies Bit 0 Reserved - - Bit 1 Signal state 0 is missing at both IN1 and IN2 inputs Safety door was not completely opened when OPEN_NEC = 1 after F-system startup Open safety door completely Open safety door was not completely opened Open safety door completely Wiring fault Check wiring of position switch Position switch is defective Check position switch Position switch is incorrectly adjusted Adjust position switch properly Safety door was not closed Close safety door Wiring fault Check wiring of position switch Position switch is defective Check position switch Position switch is incorrectly adjusted Adjust position switch properly Bit 2 Signal state 1 is missing at both IN1 and IN2 inputs Bit 3 QBAD_IN1 and/or QBAD_IN2 =1 F-I/O fault, channel fault, or communication error, or passivation by means of PASS_On of F-I/O or channel of IN1 and/or IN2 For a solution, see DIAG variable, bits 0 to 6 in the F-I/O DB section Bit 4 Reserved - - Bit 5 If enable is missing: input ACK has a permanent signal state of 1 Acknowledgment button defective Check acknowledgment button Wiring fault Check wiring of acknowledgment button Bit 6 Acknowledgement required (= state of ACK_REQ) - - Bit 7 State of output Q - - Note Access to the DIAG output is not permitted in the safety program! See also F-I/O DB Passivation and Reintegration of F-I/O after F-System Startup