added script language helpers to rlPlcState