Siemens SINUMERIK 840Di Function Manual page 1324

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

Detailed Description
2.12 Block descriptions
Successful completion of the read process is indicated by a logic "1" in status parameter
Done.
The read process extends over several PLC cycles generally 1 to 2).
The block can be called up in cyclic mode only.
Any errors are indicated by Error and State.
Note
After communication between the PLC and NC (read/write NC variables, FB2, 3, 5, or PI
general services, FB4) has been aborted by POWER OFF, the start jobs must be deleted in
the first OB1 run after cold restart or reset (signal: Req = 0).
FB 5 can read GUD variables only if basic program parameter NCKomm has been set to "1"
FB 1, DB 7).
Declaration
FUNCTION_BLOCK FB 5
VAR_INPUT
VarToken:
END_VAR
VAR_OUTPUT
END_VAR
VAR_IN_OUT
END_VAR
BEGIN
END_FUNCTION_BLOCK
2-130
KNOW_HOW_PROTECT
VERSION : 3.0
Req :
Addr:
Area:
Unit :
Index1:
Index2:
CnvtToken:
Error : bool;
Done : bool;
State : word;
RD:
bool;
any;
byte;
byte;
INT ;
INT ;
BOOL ;
ANY ;
any;
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
//Server name
//Variables name string
//Area: NCK = 0, channel = 1
//Field index 1
//Field index 2
//Conversion into 10-byte token
//Struct with 10 bytes for the
variable token
PLC Basic Program Solution Line (P3 sl)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents