System Connections
Operating Manual PSENvip RL D P Set
1001641-EN-09
| 100
AND
bToolTypeE3
JMPC TOOL01
// Tool class 02
LD
bToolTypeE2
ANDN bToolTypeE3
JMPC TOOL02
// 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