beautypg.com

10 system connections, 1 overview – Pilz PSENvip RL D P User Manual

Page 134

background image

10.1

Overview

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

Tool class 3

The user program confirms tool class 3. The PSENvip switches to a
RUN state.

The PSENvip switches to a HOLD state if
– No communication is established (within 30 s on power-up, other-

wise within 200 ms).

– The tool class sent by the PSENvip and reflected by the user pro-

gram do not match.

– Errors occur in the communications protocol.
– Overall communication takes longer than 600 ms.
– A single communication phase takes longer than 200 ms (see

Chapter 4-4, section entitled "Communication sequence").

The switchover point must be raised in comparison with the switcho-
ver point for tool class 3. The switchover to lower speed must take
place even earlier.

The user program must convey a higher switchover point to the CNC
controller and then monitor this.

If the press is at top dead centre (TDC), each press stroke must be
acknowledged before it is initiated. Only after this acknowledgement
are the OSSDs switched on, enabling rapid traverse for the press.

Systemanbindung_PSS4000_Beispiel_Einl

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