July 2013 9.6 Operands 1745
Module 9075 Write to symbolic PLC operand
PLC Module 9075 writes to a symbolic PLC operand whose name is contained
in a PLC string.
Transfer:
String with symbolic operand name
Data word or, if it is a string memory, address of the target string.
Returns:
Identifier of operand type, 0 in case of error
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 source
string, otherwise of the source data
CM 9075
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
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.