$status = $_COOKIE['status'];
$repped=$_COOKIE['ecorep'];
$mycat=$_COOKIE['ecosmartmycat'];
$print = $_GET['print'];
$ctd=$_GET['ctd'];
if($print == "yes"){
if($ctd==""){
$goprint = "onLoad='javascript:printWindow()'";
}//if not coming from mycatalog
$status="";
$repped="";
$pgbg="white";
}else{
$goprint = "";
$pgbg="#BDDEA0";
}
/////////////////////////////////////////////////////////
$fr=$_GET['fr'];
if($fr == "lite"){
$subcat = "Lighting";//category name
$back = "catlite.php";//category address
$head = "catlitehead.js";
if($print=="yes"){
$head = "catliteheadprint.js";
}
}else{
$subcat = "Multi-Point Lighting Controllers";//category name
$back = "catcontrol1.php";//category address
$head = "catcontrolhead.js";
if($print=="yes"){
$head = "catcontrolheadprint.js";
}
}
$page_name = "catcontrol1_4";
$here=$page_name.".php";
$mycathere=$here;
$hereprint=$here."?print=yes";
$page=$page_name;//change folder if needed
$prodname="PLC MAS Photodiode Sensor";
if($mycat!=""){
$mycat_link="Add to My Catalog";
}else{
$mycat_link="My Catalog";
}
$item="BC-PLC-MAS-*";
$price_display="Quoted";
$items[]="BC-PLC-MAS-I";
$itemnames[]="PLC MAS Indoor Photodiode Sensor for Lighting Controllers";
$items[]="BC-PLC-MAS-O";
$itemnames[]="PLC MAS Outdoor Photodiode Sensor for Lighting Controllers";
$items[]="BC-PLC-MAS-S";
$itemnames[]="PLC MAS Skylight Photodiode Sensor for Lighting Controllers";
$items[]="BC-PLC-MAS-A";
$itemnames[]="PLC MAS Atrium Photodiode Sensor for Lighting Controllers";
$items[]="BC-PLC-MAS-CAL";
$itemnames[]="PLC MAS Sensor Calibration Unit";
$dbcnx = new mysqli('localhost', 'ecoszzqh_produser', 'cata1og', 'ecoszzqh_products');
foreach($items as $value){
$result = $dbcnx->query("SELECT list,retail,special,dealer,unit,cs FROM price WHERE item = '$value'");
if (!$result) {
//echo("ERROR:".mysql_error()."
");
$mess[]="Eco-\$mart Price: Quoted*";
$pay[] = "no";
}else{
$row = $result->fetch_row();
$list = $row['list'];
$retail = $row['retail'];
$special = $row['special'];
$dealer = $row['dealer'];
$unit = $row['unit'];
$units[]=$unit;
$cs = $row['cs']*1;
if($unit == "CS" and $cs > 0){
$unit = "CS*".$cs;
$caseit = "on";
}else{
$caseit = "off";
}
if($special>0 or $dealer>0){
$qoks[]=$value;
}
if($status == 'wholesale'){$charge=$special; $bergen = 'Special';}
elseif($status == 'dealer'){$charge=$dealer; $bergen = 'Wholesale';}
else{$charge=$retail; $bergen = "";}
if($retail == "0.00" and $list == "0.00" or $retail="" or $list==""){
$mess[]="Eco-\$mart Price: Quoted";
$pay[] = "no";
}else{
if($retail != "0.00" and $list == "0.00"){
$pay[] = "yes";
if($bergen != ""){
$mess[]="Regular Price: \$".$retail."" .
"
Eco-\$mart ".$bergen." Price: \$".$charge."";
}else{
$mess[]="Eco-\$mart Price: \$".$charge." ".$unit."";
}//no special pricing
}//retail is not 0 and list is
else{//all present
$pay[] = "yes";
if($bergen != ""){
$mess[]="List Price: \$".$list."".
"
Regular Price: \$".$retail."" .
"
Eco-\$mart ".$bergen." Price: \$".$charge." ".$unit."";
}else{//list but no special pricing
$mess[]="List Price: \$".$list."".
"
Eco-\$mart Price: \$".$charge." ".$unit."";
}
}//allpresent
}//retail and list are 0.00
if($caseit == "on"){
$cso[] = $cs.":".$charge;
$casecharge = $charge * $cs;
$price[] = sprintf("%01.2f", $casecharge);
}else{
$price[] = $charge;
$cso[] = "";
}//no cases
}//got result
}//4eachitem
//////////////////////////divide table cells for quote request
//$labels[]="Item Number";
//$itcount=count($items);
//$labcount=count($labels);
//$dibby=$itcount/$labcount;
//$codes=array();
if($unit==""){
$unit="EACH";
}
$libdot = " ";
$libdotnew = "
";
?>
With 4-20mA Output 2 Wire, Loop Powered, Microprocessor
The MAS is a two wire, microprocessor photosensor which provides a light level input into lighting control and building automation systems. The MAS has four models which are used in different locations in and around a building. The MAS sensors are powered by 24VDC, but can accept from 18 to 30VDC. The output signal is 4-20mA. This robust signal can travel up to 4,000ft without the signal degrading. Both the 4mA and 20mA values are calibrated to factory standard footcandle settings using NIST traceable equipment; Indoor, Outdoor, Atrium and Skylight.
Item Number: Unit of Issue: ///display one item in a side-bar $i=0; $countem=count($items); while($i<$countem){ if($print!="yes"){ if($pay[$i]=="yes"){ echo(" $mess[$i] " . ""); }else{ echo(" $mess[$i]"); if($print!="yes"){ echo(" $items[$i] " . "" . "Quote "); }//print is not yes }//pay is no }//print is not yes else{ echo(" $mess[$i]"); }//print is yes $i=$i+1; }//while counting down items ?> |
" .
" " .
" " .
"More Information" . " $libdotMAS Specifications PDF" . " $libdotMAS Calibration Unit Specifications PDF" . " ----- " . "
|
Models: | |
BC-PLC-MAS-I | Indoor |
BC-PLC-MAS-O | Outdoor |
BC-PLC-MAS-S | Skylight |
BC-PLC-MAS-A | Atrium |
BC-PLC-MAS-CAL | Calibration Unit |
![]() The MAS-CAL is the field calibration unit for the MAS sensor. It is designed to operate off of either a 9V battery or external 24VDC power supply. The MAS-CAL provides the MAS sensor with power from either source. The MAS-CAL is used to view the settings of the MAS sensor and be able to halve or double the factory set full scale range of the sensor and be able to double or reset to zero the factory set timing. |
" . "" . "©2011 Eco-\$mart, Inc." . " (888) 329-2705" . " info@eco-smart.com" . " www.eco-smart.com" . " |
" .
" $mycat_link " . " << Return to $subcat" . " | ||
" . "" . " ©2011 Eco-\$mart, Inc." . " (888) 329-2705" . " info@eco-smart.com" . " www.eco-smart.com" . " | " . " QUOTE " . " | " . " PRINT " . " |
" .
"
" . " Eco-\$mart Representative $repped Logged In. "); mysql_select_db('ecosmar_inv', $dbcnx); $getquote = $dbcnx->query("SELECT ID,CID FROM quotes WHERE usrn='$repped'"); if(!$getquote){ $air[]="Could not get quotes for ".$repped.". Error: ".mysql_error(); $show="off"; }else{ $numquos=mysql_num_rows($getquote); if($numquos < 1){ $show="off"; $air[]="No Quotes Started."; }else{//there are quotes while($rowq=mysql_fetch_array($getquote)){ $QIDs[]=$rowq['ID']; $CIDs[]=$rowq['CID']; }//while getting and filling arrays mysql_select_db('ecosmar_contacts', $dbcnx); foreach($CIDs as $value){ $getcon=mysql_query("SELECT first_Name,Name,Company FROM con_main WHERE ID='$value'"); if(!$getcon){ $air[]="Could not get contact info for contact. Error: ".mysql_error(); $show="off"; }else{ $rowc=mysql_fetch_array($getcon); $first_Name=$rowc[0]; $Name=$rowc[1]; $Company=$rowc[2]; if($Company!=""){ $quocos[]=$Company; }else{ $quocos[]=$first_Name." ".$Name; } }//got contact }//4each quote/contact ID }//there are quotes }//got quote $i=0; $countem=count($items); while($i<$countem){ if(in_array($items[$i],$qoks)){ $ast[]=$items[$i]; $astname[]=$itemnames[$i]; }//in array with dealer prices $i=$i+1; }//while counting items if(empty($ast)){ $air[]="No Quotes. No qualifying prices."; $show="off"; } if($show=="on"){ echo("");
foreach($air as $value){
echo(" ");
}//air is not empty
}//print is not yes
?>
$value"); }//4each echo(" |