Campbell Hausfeld SDM-SIO4 사용자 설명서

다운로드
페이지 72
Section 4.  Programming the SDM-SIO4
4-3
because they are compiled.
exit
This command exits the command line and returns port 1 of the SDM-SIO4 to
normal operation.
4.4  Advanced Commands
version
This returns the internal EPROM part number, signature and the string signature if
good or 0 if bad. This will give the same signature as Campbell Scientific’s
SIG.COM PC program.
portset 
[port#] [baud#] [data length] [stop bits] [parity] [handshake mode]
[delay]
This sets up the port 1..4 to the communication format you require.
‘port #’ means the port number (1..4) to set up. For details of the other parameters
(baud #...delay) see Appendix B.
reset
The SDM-SIO4 is set to a known default state. All strings, filters and formatters
are erased, ports are set to 9600 baud, 1 stop bit, no parity and no handshake. All
transmit and receive buffers are flushed. All error counts are zeroed.
ramtest
The system RAM is tested and the SDM-SIO4 is then reset. The string ‘
Ram test
pass
’ is returned if the RAM is OK or ‘
Ram test fail
’ if some part of the
memory failed.
changeport [port #]
This command changes the port for which the command line is available. This
command line port setting will stay in effect for further sessions until a new port is
chosen or power is removed and then re-applied, in which case the command line
reverts to port 1.
status
This outputs the general status of the SDM-SIO4. The results are as follows:
BATT 0 or 1
If the value is 0 the battery needs replacing.
If the value is 1 the battery is good.
ADDR 0 to 15
This is the current SDM-SIO4 hardware address.