Section 8. Operation
473
HTTPOut
("<a href=" + CHR(34) + "http://www.campbellsci.com" + CHR(34) + ">")
HTTPOut
("<img src="+
CHR
(34) +"/CPU/SHIELDWEB2.jpg"+
CHR
(34) + "width=" + _
CHR
(34) +"128"+
CHR
(34)+"height="+
CHR
(34)+"155"+
CHR
(34) + "class=" + _
CHR
(34) +"style1"+
CHR
(34) +"/></a></td>")
HTTPOut
("<p><h2> Current Data:</h2></p>")
HTTPOut
("<p>Time: " + time(4) + ":" + m ":" + s "</p>")
HTTPOut
("<p>Temperature: " + Tempe "</p>")
HTTPOut
("<p><h2> Links:</h2></p>")
HTTPOut
("<p><a href="+
CHR
(34) +"monitor.html"+
CHR
(34)+">Monitor</a></p>")
HTTPOut
("</body>")
HTTPOut
("</html>")
WebPageEnd
'Monitor Web Page
WebPageBegin
("monitor.html",Commands)
HTTPOut
("<html>")
HTTPOut
("<style>body {background-color: oldlace}</style>")
HTTPOut
("<body>")
HTTPOut
("<title>Monitor CR3000 Datalogger Tables</title>")
HTTPOut
("<p><h2>CR3000 Data Table Links</h2></p>")
HTTPOut
("<p><a href="+
CHR
(34) + "command=TableDisplay&table=CRTemp&records=10" + _
CHR
(34)+">Display Last 10 Records from DataTable CR1Temp</a></p>")
HTTPOut
("<p><a href="+
CHR
(34) + "command=NewestRecord&table=CRTemp"+
CHR
(34) + _
">Current Record from CRTemp Table</a></p>")
HTTPOut
("<p><a href="+
CHR
(34) + "command=NewestRecord&table=Public"+
CHR
(34) + _
">Current Record from Public Table</a></p>")
HTTPOut
("<p><a href="+
CHR
(34) + "command=NewestRecord&table=Status" +
CHR
(34) + _
">Current Record from Status Table</a></p>")
HTTPOut
("<br><p><a href="+
CHR
(34) +"default.html"+
CHR
(34) + ">Back to the Home Page _
</a></p>")
HTTPOut
("</body>")
HTTPOut
("</html>")
WebPageEnd
BeginProg
Scan
(1,Sec,3,0)
PanelTemp
(RefTemp,250)
RealTime
(Time())
Minutes =
FormatFloat
(Time(5),"%02.0f")
Seconds =
FormatFloat
(Time(6),"%02.0f")
Temperature =
FormatFloat
(RefTemp, "%02.02f")
CallTable
(CRTemp)
NextScan
EndProg
8.10.1.7 Micro-Serial Server
The CR3000 can be configured to allow serial communication over a TCP/IP port.
This is useful when communicating with a serial sensor over Ethernet with micro-
serial server (third-party serial to Ethernet interface) to which the serial sensor is
connected. See the network-link manual and the CRBasic Editor Help for the
TCPOpen() instruction for more information.
8.10.1.8 Modbus TCP/IP
The CR3000 can perform Modbus communication over TCP/IP using the Modbus
TCP/IP interface. To set up Modbus TCP/IP, specify port 502 as the ComPort in
Summary of Contents for CR3000 Micrologger
Page 2: ......
Page 3: ......
Page 4: ......
Page 6: ......
Page 30: ......
Page 34: ......
Page 36: ......
Page 96: ......
Page 485: ...Section 8 Operation 485 8 11 2 Data Display FIGURE 110 Keyboard and Display Displaying Data ...
Page 487: ...Section 8 Operation 487 FIGURE 112 CR1000KD Real Time Custom ...
Page 491: ...Section 8 Operation 491 FIGURE 116 Keyboard and Display File Edit ...
Page 496: ......
Page 502: ......
Page 564: ...Section 11 Glossary 564 FIGURE 126 Relationships of Accuracy Precision and Resolution ...
Page 566: ......
Page 594: ......
Page 598: ......
Page 600: ......
Page 602: ......
Page 624: ......
Page 642: ......
Page 643: ......