Does the PLM21 support the regular X10 Status Request or the extended version? Some modules like the RR501 transceiver supports both formats and will "adopt" the format that you first poll it with. The Ocelot can only receive regular X10 commands and responses so you need to see if that could work first. You can easily program a Status Request by sending two "Transmit Single X10" commands, and then start a timer to look for the response within a few seconds, something like:
IF (whatever)
THEN Transmit Single X10 A/1
THEN Transmit Single X10 Status Request
THEN Timer #1 = 1
IF Receive X10 Status A/ON
AND Timer #1 > 0
THEN (whatever you want to do)
THEN Timer #1 = 0
IF Receive X10 Status A/OFF
AND Timer #1 > 0
THEN (whatever else you want to do)
THEN Timer #1 = 0
IF Timer #1 becomes > 4
THEN Timer #1 = 0
You could trigger it by time of day, a timer every so many seconds, etc.
_________________________
"If you don't know what you're doing, do it neatly..."