Pilz PSENvip RL D P Manual de usuario Pagina 126

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 139
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 125
10.2 Communication with the safety system
10 System Connections
Pilz GmbH & Co. KG, Felix-Wankel-Straße 2, 73760 Ostfildern, Germany
Telephone: +49 711 3409-0, Telefax: +49 711 3409-133, E-Mail: [email protected]
10-4
Program example for communication between the PSENvip and a safety
system from the automation system PSS 4000:
Systemanbindung_PSS4000_Beispiel
FUNCTION_BLOCK PSENvipCom
VAR_INPUT
bStartToolChangeE0 : SAFEBOOL; // Start signal for the communication from
PSENvip
bValidToolChangeE1 : SAFEBOOL; // Tool value from PSENvip is valid
bToolTypeE2 : SAFEBOOL; // Tool value Bit 0 from PSENvip
bToolTypeE3 : SAFEBOOL; // Tool value Bit 1 from PSENvip
uiToolTypeCNC : SAFEUINT; // Tool value from the CNC
END_VAR
VAR_OUTPUT
bAcknowledgeToolChangeA0 : SAFEBOOL; // Acknowledge signal for the communication
from PSS4000
bAcknowledgeToolTypeA1 : SAFEBOOL; // Tool value Bit 0 from PSS4000
bAcknowledgeToolTypeA2 : SAFEBOOL; // Tool value Bit 1 from PSS4000
END_VAR
VAR
RisingFlagE0 : R_TRIG; // FUNCTION block rising edge for Signal E0
RisingFlagE1 : R_TRIG; // FUNCTION block rising edge for Signal E1
bComEnd : BOOL; // End of communication
bToolchangeFlag : BOOL; // Rising edge for start of the communication
bToolValidFlag : BOOL; // Rising edge for valid tool from PSENvip
bStartCom : BOOL; // Start communication
bToolValid : BOOL; // Tool from PSENvip is valid
uiToolTypePSENvip : SAFEUINT; // Tool type from PSENvip
END_VAR
// Communication between PSENvip and PSS4000
CAL RisingFlagE0(
clk := bStartToolChangeE0,
q => bToolchangeFlag
)
Vista de pagina 125
1 2 ... 121 122 123 124 125 126 127 128 129 130 131 ... 138 139

Comentarios a estos manuales

Sin comentarios