December 2001 Display and Operation 6 – 337
Module 9276 Writing operand contents into the log
With this module you can write the contents of operands (inputs, outputs,
markers, bytes, words, double words, timers, counters) into the log. For later
editing the entry can be given an identifier.
Call:
PS B/W/D/K <Identifier operand name>
0: M (marker)
1: I (input)
2: O (output)
3: C (counter)
4: T (timer)
5: B (byte)
6: W (word)
7: D (double word)
PS B/W/D/K <Address of the first operand>
PS B/W/D/K <Number of operands>
PS B/W/D/K/S<Log identifier>
–1: No entry
PS B/W/D/K <Priority>
0: Information
1: Warning
2: Error
CM 9276
Error recognition:
Marker Value Meaning
M4203 0 Entry was written
1 Error code in W1022
W1022 1 Invalid priority
2 Invalid identifier for operand name
3 Invalid first operand address
4 Sum of first operand address and number of operands
invalid
5 Address is not a word/double-word address
12 No string end identifier
20 Module was not called in a spawn job or submit job
36 Entry in the log was shortened to 210 characters