Parameter Manual
Operating Instructions, 08/2013, 6FC5397-8EP40-0BA0
425
PLC User Interface
5.2 MCP
5.2.3 Reading/writing NC data: Job
5.2.4 Reading/writing NC data: Result
DB1200 Reading / writing NC data [r/w]
PLC -> NCK interface
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Write
variable
Start
1 Number of variables
2
3
DB1200 ...
1203
Reading / writing NC data [r/w]
PLC -> NCK interface
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
1000 Variable index
1001 Area number
1002 Column index for the NCK variable x (WORD)
1003 Line index for the NCK variable x (WORD)
1006
1008 Writing: data to NCK variable x (data type of the variables: 1 to 4 bytes)
DB1200 Reading / writing NC data [r]
PLC -> NCK interface
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
2000 Error in job Job
completed
2001
2002
DB1200 ...
1203
Reading / writing NC data [r]
PLC -> NCK interface
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
3000 Error has
occurred
Valid
variable
3001
Access result
1)
3002
3004 Reading: data from NCK variable x (data type of the variables: 1 to 4 bytes)
1) 0: no error; 3: illegal access to
object; 5: invalid address; 10: object does not exist
Siemens Controls