beautypg.com

10 system connections, 2 communication with the safety system – Pilz PSENvip RL D P User Manual

Page 128

background image

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-6

// Tool class 03

LD

TRUE

ST

bAcknowledgeToolTypeA1

ST

bAcknowledgeToolTypeA2

LD

UINT#3

ST

uiToolTypePSENvip

JMP

ENDDATATRANSFER

TOOL01:

LD

TRUE

STN

bAcknowledgeToolTypeA1

ST bAcknowledgeToolTypeA2

LD

UINT#1

ST

uiToolTypePSENvip

JMP

ENDDATATRANSFER

TOOL02:

LD

TRUE

ST

bAcknowledgeToolTypeA1

STN

bAcknowledgeToolTypeA2

LD

UINT#2

ST

uiToolTypePSENvip

ENDDATATRANSFER:

// Comparing the tool value between PSENvip and CNC

LD

uiToolTypePSENvip

NE

uiToolTypeCNC

JMP END

// Waiting for the end of communication

LD

bStartToolChangeE0

OR

bValidToolChangeE1

OR

bToolTypeE2

OR

bToolTypeE3

ST

bComEnd