Pi Service Functions - Siemens SINUMERIK 808D ADVANCED Commissioning Manual

Hide thumbs Also See for SINUMERIK 808D ADVANCED:
Table of Contents

Advertisement

13.7

PI service functions

The following PI service functions are supported on the control system:
● ASUP function
● Deleting a password
PLC interface address
DB1200
PI service [r/w]
PLC → NCK interface
Byte
Bit 7
4000
4001
DB1200
Reading/writing NC data [r]
NCK → PLC interface
Byte
Bit 7
5000
DB3400
ASUP: Result [r/w]
PLC → NCK interface
Byte
Bit 7
0
1
DB3400
ASUP: Result [r]
NCK → PLC interface
Byte
Bit 7
1000
1001
ASUP function
The ASUP function means the execution of the program PLCASUP1.SPF or PLCASUP2.SPF called by the PLC. The two
ASUPs cannot be simultaneously executed, and PLCASUP1.SPF has a higher priority over PLCASUP2.SPF.
In a PLC program, firstly you must initialize the ASUP by setting "PI index" (DB1200.DBB4001) and "NCK read/write start"
(DB1200.DBX4000.0), and then use a rising edge to trigger "ASUP1 start" (DB3400.DBX0.0) or "ASUP2 start"
(DB3400.DBX1.0).
The control system provides two default ASUPs for the PLC. ASUP1 is used for manual tool change and ASUP2 is used for
the manual machine of the workpiece on a turning machine with the Manual Machine Plus function.
You can also use your own ASUPs as required. To do so, you must first place your programs (PLCASUP1.SPF and
PLCASUP2.SPF) in the manufacturer cycle directory (N:\CMA), and then set "PI index" (DB1200.DBB4001) to 1 (ASUP1)/2
(ASUP2).
288
Bit 6
Bit 5
Bit 6
Bit 5
Bit 6
Bit 5
Bit 6
Bit 5
Bit 4
Bit 3
PI index
Bit 4
Bit 3
Bit 4
Bit 3
Bit 4
Bit 3
INT1
ASUP exe-
cution not
possible
INT2
ASUP exe-
cution not
possible
Bit 2
Bit 1
Bit 2
Bit 1
Error in job
Bit 2
Bit 1
Bit 2
Bit 1
Interrupt
ASUP is
no. not
being exe-
allocated
cuted
Interrupt
ASUP is
no. not
being exe-
allocated
cuted
Commissioning Manual
Bit 0
Start
Bit 0
Job com-
pleted
Bit 0
INT1
Start
INT2
Start
Bit 0
ASUP end-
ed
ASUP end-
ed
01/2017

Advertisement

Table of Contents
loading

Table of Contents