Page 3
Limited Warranty “Products manufactured by CSI are warranted by CSI to be free from defects in materials and workmanship under normal use and service for twelve months from the date of shipment unless otherwise specified in the corresponding product manual. (Product manuals are available for review online at www.campbellsci.com.) Products not manufactured by CSI, but that are resold by CSI, are warranted only to the limits extended by the original manufacturer.
Page 4
SCIENTIFIC, INC., phone (435) 227-9000. After an application engineer determines the nature of the problem, an RMA number will be issued. Please write this number clearly on the outside of the shipping container. Campbell Scientific’s shipping address is: CAMPBELL SCIENTIFIC, INC.
Page 5
Periodically (at least yearly) check electrical ground connections. • WHILE EVERY ATTEMPT IS MADE TO EMBODY THE HIGHEST DEGREE OF SAFETY IN ALL CAMPBELL SCIENTIFIC PRODUCTS, THE CUSTOMER ASSUMES ALL RISK FROM ANY INJURY RESULTING FROM IMPROPER INSTALLATION, USE, OR MAINTENANCE OF TRIPODS, TOWERS, OR ATTACHMENTS TO TRIPODS AND TOWERS SUCH AS SENSORS, CROSSARMS, ENCLOSURES, ANTENNAS, ETC.
3.1 Connections ....................6 3.2 Safety considerations ................8 3.3 Examples for connecting the SDM-SIO1A to other equipment ....9 3.3.1 RS-485/RS422 Full duplex, one to one connection example ..9 3.3.2 RS-485 multi unit / in line example ..........9 3.3.3 RS-485 half duplex wiring example ..........
Page 8
Tables 3-1. SDM address settings ................6 3-2. SDM-SIO1A connections (left to right as viewed from the front) ... 6 3-3. SDM-SIO1A Functional description of the connections ......7 3-4. Pin cross connection table for SDM-SIO1 to SDM-SIO1A ....8 4-1.
To start using the SDM-SIO1A it is first necessary to work out how data will be exchanged with a sensor. In the case of a sensor there are basically two options, either the datalogger requests data and then picks up the response, or the sensor transmits data “one-way”...
The SDM-SIO1A Module is implemented in such a way that it looks like a built-in serial port to the user when writing programs in CRBasic. This means all the user needs to do is define the address of the SDM-SIO1A, which is easily accomplished by the use of a rotary switch on the side of the unit.
Both transmit and receive buffers are fill and discard type, i.e. once the buffers become full no new information is accepted and all further data is discarded until space is made when the logger requests data from the SDM-SIO1A. 2.2 Electrical parameters 2.2.1 SDM-SIO1A current consumption Nominal Notes General currents Standby current...
SDM lines (low level) 0.7V (1) Values are volts D.C. (except resistances) (2) It is NOT recommended that the user runs their SDM-SIO1A at maximum ratings for extended periods of time (3) Assuming a worst case 3 KΩ load (4) It is not recommended that the user allows such low input voltages as there will be an increased chance that external noise may cause errors in the incoming data 2.2.3 EMC compliance...
SDM-SIO1A having an address of ‘0’ not ‘F’. 3.1 Connections Connection to the SDM-SIO1A is achieved via the 11 terminals arranged along the top of the unit. The terminals are spring loaded providing an easy and reliable method of connection. Wires should be stripped 7-9 mm, twisted and inserted in the round hole whilst opening the clamp by pushing the orange tab down with the tip of a small flat blade screwdriver.
Page 15
User Guide Below is a table showing all the connections on the SDM-SIO1A. Table 3-2. SDM-SIO1A connections (left to right as viewed from the front) Power Communications connections Table 3-3. SDM-SIO1A Functional description of the connections Case text Connection to Description Power supply.
Page 16
Section 4. 3.1.1 Matching SDM-SIO1A connections to the older SDM-SIO1 The SDM-SIO1A has less terminals and different labelling compared to the SDM- SIO1. It does however perform in exactly the same way and can be used as a drop in substitute with only minor changes to the wiring. It has less terminals because the Z, Y, B and A terminals are not present.
There is a current limiting resistor fitted in the RG line in the SDM-SIO1A, but this will not be adequate in the event of a serious ground fault, e.g. the ground references being 240 V apart, due to faulty AC wiring.
SDM-SIO1A Serial Input/Output Module 3.3.2 RS-485 multi unit / in line example +12V RS485 0V can be connected To logger straight to 0V but, this is not recommended for long wire lengths. * Note connection order First RS485 RS485 0V...
User Guide 3.3.4 RS-485 internal circuit diagram Internal External RTS/TD+ 100R or higher * TX/TD- RX/RD+ 100R or higher * CTS/RD- 100R * Note the external termination resistors are optional. Some applications can use much higher value resistors and some may not need resistors at all depending on the distance and wire quality involved.
SDM-SIO1A Serial Input/Output Module 3.3.5 RS-232 wiring example with handshaking +12V To logger RS232 DCE RTS/TD+ RS232 RTS equipment TX/TD- RS232 TX RX/RD+ RS232 RX CTS/RD - RS232 CTS * Note CTS and RTS are optional if hardware handshaking is not required. Not connecting the handshaking lines will reduce the overall current consumption of the SDM-SIO1.
If using RS-232 mode also avoid connecting handshaking lines that are not required to avoid the unnecessary 2 mA drain per line. The SDM-SIO1A will start up with its last set of baud rate and protocol settings. This feature is to protect against brownout conditions where the SDM-SIO1A has reset but the logger has not.
User Guide SerialOpenFormat parameter This parameter defines not only the data format but with the SDM-SIO1A is used to set whether the module should work in normal RS-232, listen only RS-232, full or half-duplex RS-485 modes as defined in the tables below.
(1) This mode is only supported if there is at least a one bit delay between characters received by the SDM-SIO1A 4.1.2 SerialClose This will place the SDM-SIO1A unit into shutdown mode where only SDM communications will operate. This means any data coming into the SDM-SIO1A on the RS-232/RS-485 interface will be lost.
Time (in micro seconds) = (10 + 1) * (8 * 30) Note: that 30µs per bit is the default data rate for most Campbell loggers. It is possible to reduce this time and the transfer time by using the SDMSpeed instruction.
SDM-SIO1A Serial Input/Output Module 4.1.7 SerialInChk This returns the number of characters that have been received by the SDM-SIO1A and that are currently held in its buffer (0-6143). 4.1.8 SerialInRecord No special information. 4.1.9 SerialFlush This command will purge all information in the logger and SDM-SIO1A transmit and receive buffers.
In receive only mode the SDM-SIO1A will consume less current than normal but still can receive new information on its RS-232 port. The example below will set the SDM-SIO1A with the address 0 into receive only mode. All normal baud rates and buffer sizes are supported.
Page 28
'----------------------------------------------------------------------- ' Example use of the SDM-SIO1A. ' This example shows how to open the a serial port using an SDM-SIO1A. ' A prompt is sent from the logger to the sensor and it then waits for a response ' before reading the data.
Page 29
' This example shows how to open the RS-485 serial port using an SDM-SIO1A. ' Data is sent from the logger to the sensor. ' The program then sits in a loop until the SDM-SIO1A reports it had data ' available...
Firmware upgrades and flash signature errors 5.1 Upgrading the firmware In the unlikely event that the operating system of the SDM-SIO1A needs to be upgraded. This can be achieved by connecting it to a PC and using the Campbell Scientific Device Configurator program to load the operating system. (This program can be downloaded free of charge from www.campbellsci.com/downloads).
Page 31
BeginProg SDMSpeed (30) ‘Fix the speed Ver_Value = "" Sig_Value = "" Scan(1,Sec,0,0) 'Use the generic SDM command to get extra info from the SDM-SIO1A 'Ask for the firmware version Src = CHR(1) SDMGeneric(Ver_Value,SDM_Address,cmd,bytes_out,Src,Ver_values_in,bytes_val, big_endian,delay_usec) ' Read signature Src = CHR(2) SDMGeneric(Sig_Value,SDM_Address,cmd,bytes_out,Src,Sig_values_in,bytes_val,big_endian,delay_usec) Sig_Value_Dec = HexToDec (Sig_Value) 'Convert sig to decimal too.
The example below shows how to call the command with the required parameters. 'CR1000 Example program showing how to detect the state of the input line on an SDM-SIO1A 'Using the SDMGeneric instruction...
SerialOutBlock(32, 0, 0) ‘ This will set the spare output pin low The two example lines of code above will set the output pin on the SDM-SIO1A high then low respectively on the SDM-SIO1A device set to address 0 on its rotary switch.
Page 36
Santo Domingo, Heredia 40305 SOUTH AFRICA COSTA RICA • cleroux@csafrica.co.za • info@campbellsci.cc www.campbellsci.co.za www.campbellsci.cc Campbell Scientific Southeast Asia Co., Ltd. Campbell Scientific Ltd. 877/22 Nirvana@Work, Rama 9 Road Campbell Park Suan Luang Subdistrict, Suan Luang District 80 Hathern Road Bangkok 10250...
Need help?
Do you have a question about the SDM-SIO1A and is the answer not in the manual?
Questions and answers