1746 HEIDENHAIN Technical Manual iTNC 530 HSCI
Module 9076 Read symbolic PLC operand
PLC Module 9076 reads a symbolic PLC operand whose name is contained in
a PLC string.
Transfer:
String with symbolic operand name
If it is a string memory, the second parameter is the address of the target
string.
Returns:
Identifier of operand type, 0 in case of error
Data from PLC operand, if B/W/D/M/I/O/C/T type
Constraints:
The module can only be called from a SUBMIT/SPAWN job.
Call:
PS B/W/D/K/S<>Address of string buffer>
or constant string, e.g. PS S“DG_MP_DATA[68]“
PS B/W/D/K <>Address of the source string>
If the string was addressed, this is the address of the target
string.
CM 9076
PL B/W/D <>Type of operand>
0: PLCNONE in case of error
1: PLCMARKER
2: PLCTIMER
3: PLCCOUNTER
4: PLCINPUT
5: PLCOUTPUT
6: PLCBYTE
7: PLCWORD
8: PLCDOUBLE
9: PLCIBYTE
10: PLCIWORD
11: PLCIDOUBLE
12: PLCOBYTE
13: PLCOWORD
14: PLCODOUBLE
15: PLCSTRING
PL B/W/D <>Data>
Data from PLC operand, if B/W/D/M/I/O/C/T type
Error code:
Marker Value Meaning
M4203 0 No error
1 Error code in W1022 (also see return values of the
module)
W1022 2 Operand type is invalid or does not exist
11 Invalid address was programmed
20 The module was not called in a SUBMIT/SPAWN job