Basic Opto Permissives

Baisc Opto Permissives

[tms6@PWM2-1 ~]$ mylist OptoProfile

"OPT","PWM2   ","M","010000","0005","    ","000","00","PLCCOM  ","2","S","","","","","00","N","RCU Permissive to PLC                   ","N","","","","9","M  05 SCALEIN 001 25 M010000 permiss                                            ","","","","",""

"OPT","PWM2   ","M","010000","0011","    ","000","01","PLCCOM  ","1","S","","","","","00","N","PLC Permissive to RCU                   ","N","","","","9","M  11 SCALEIN 001 19 M010000 permiss                                            ","","","","",""

"OPT","PWM2   ","M","020000","0005","    ","000","02","PLCCOM  ","2","S","","","","","00","N","RCU Permissive to PLC                   ","N","","","","9","M  05 SCALEOUT  001 25 M020000 permiss                                          ","","","","",""

"OPT","PWM2   ","M","020000","0011","    ","000","03","PLCCOM  ","1","S","","","","","00","N","PLC Permissive to RCU                   ","N","","","","9","M  11 SCALEOUT 001 19 M020000 permiss                                           ","","","","",""

[tms6@PWM2-1 scripts]$ cat start.optosrv.sh

#!/bin/bash

# Signature: ac97c6cae50d56820e831eb46adf75d3  Branch: release  Version: 4.4.0.611  Date: Fri Aug 10 11:07:37 EDT 2012

. /etc/toptech/ttcommon_env

[ "$USER" != "tms6" ] && echo "Must be tms6 to run this script!" && exit

killall optosrv

killall rcusrv

$TOPTECH_DIR/bin/rcusrv &

sleep 5

$TOPTECH_DIR/bin/optosrv &