TS-1700: Difference between revisions
Line 74: | Line 74: | ||
{|class=wikitable | {|class=wikitable | ||
|- | |- | ||
| Address | | Address (hex) | ||
| Address (dec) | |||
| Access | | Access | ||
| Description | | Description | ||
Line 80: | Line 81: | ||
|- | |- | ||
| 0x70 | | 0x70 | ||
| 112 | |||
| Read/Write | | Read/Write | ||
| Modbus Mode | | Modbus Mode | ||
Line 85: | Line 87: | ||
|- | |- | ||
| 0x71 | | 0x71 | ||
| 113 | |||
| Read/Write | | Read/Write | ||
| RS485 Bus Termination Enable | | RS485 Bus Termination Enable | ||
Line 90: | Line 93: | ||
|- | |- | ||
| 0x72 | | 0x72 | ||
| 114 | |||
| Read/Write | | Read/Write | ||
| Modbus Device Address | | Modbus Device Address | ||
Line 95: | Line 99: | ||
|- | |- | ||
| 0x73 | | 0x73 | ||
| 115 | |||
| Read/Write | | Read/Write | ||
| Modbus baud rate | | Modbus baud rate | ||
Line 100: | Line 105: | ||
|- | |- | ||
| 0x74 | | 0x74 | ||
| 116 | |||
| Read Only | | Read Only | ||
| Unit Model | | Unit Model | ||
Line 105: | Line 111: | ||
|- | |- | ||
| 0x75 | | 0x75 | ||
| 117 | |||
| Read Only | | Read Only | ||
| Verilog Version | | Verilog Version | ||
Line 110: | Line 117: | ||
|- | |- | ||
| 0x76 | | 0x76 | ||
| 118 | |||
| Read Only | | Read Only | ||
| ZPU Version | | ZPU Version | ||
Line 115: | Line 123: | ||
|- | |- | ||
| 0x77 | | 0x77 | ||
| 119 | |||
| Read Only | | Read Only | ||
| Power Supply in millivolts | | Power Supply in millivolts | ||
Line 120: | Line 129: | ||
|- | |- | ||
| 0x78 | | 0x78 | ||
| 120 | |||
| Read Only | | Read Only | ||
| Internal Temperature in 1/100th degree Celsius | | Internal Temperature in 1/100th degree Celsius | ||
Line 125: | Line 135: | ||
|- | |- | ||
| 0x79 | | 0x79 | ||
| 121 | |||
| Read Only | | Read Only | ||
| Reserved | | Reserved | ||
Line 130: | Line 141: | ||
|- | |- | ||
| 0x7a | | 0x7a | ||
| 122 | |||
| Read Only | | Read Only | ||
| Reserved | | Reserved | ||
Line 135: | Line 147: | ||
|- | |- | ||
| 0x7b | | 0x7b | ||
| 123 | |||
| Read Only | | Read Only | ||
| Reserved | | Reserved | ||
Line 140: | Line 153: | ||
|- | |- | ||
| 0x7c | | 0x7c | ||
| 124 | |||
| Read Only | | Read Only | ||
| Reserved | | Reserved | ||
Line 145: | Line 159: | ||
|- | |- | ||
| 0x7d | | 0x7d | ||
| 125 | |||
| Read/Write | | Read/Write | ||
| Write value 0xfeed to make holding registers persistent | | Write value 0xfeed to make holding registers persistent |
Revision as of 13:28, 14 February 2013
Released Feb. 2013 | |||
Product Page | |||
Documentation | |||
---|---|---|---|
Schematic | |||
Mechanical Drawing | |||
FTP Path | |||
DIO | |||
8 | |||
External Interfaces | |||
2x RJ45 Modbus | |||
Power Requirements | |||
12-24V | |||
Operates around ?? | |||
Operating Temperature | |||
| |||
| |||
Mechanical | |||
???mm x ???mm | |||
Height ???mm (approx without baseboard) | |||
Weight ??? |
Overview
The TS-1700 is a modbus peripheral device which brings out 8 DIO, or 8 one wire temperature sensors.
Getting Started
Power Requirements
Features
TS Modbus Support
When using all Technologic Systems Modbus devices we include functionality to create an arbitrary chain of stock peripherals to automatically enumerate all connected devices, configure them them, and generate an I/O map of all connected devices.
TS Modbus Autoconfiguration
The autoconfiguration works by using the optional mode pin on the RJ45 connector as designated in the MODBUS-2W standard. Technologic Systems uses this to indicate if it is a TS device. If it is asserted (low) to a TS device, then it will allow access to the #Holding Registers at address 0xfe. Normally 0xfe is not a valid address in Modbus, so this will not interfere with other devices.
This will identify the TS Modbus device model and revision, set the first device in the chain to 0x80, and then asserts the mode line to the next port to enumerate the next device. The next device address is set to 0x81, and they continue to increment 1 until no slave responds to the mode line indicating that all salve devices have been discovered. At this point the last device in the chain is configured to enable termination on the RS485 link, and all devices have their speed bumped up to 1M baud.
One-Wire Temperature Sensors
The TS-1700 supports any temperature sensor using the Maxim DS18B20 IC.
Temperature Range | -55C to 125C |
---|---|
Resolution | 0.0625 degrees |
Update Rate | 750ms |
Accuracy | Maximum error 0.5 degree from -10C to 85C. The maximum is 2 degrees for the full -55C to 125C. |
Maximum Sensor Cable Length | ??? |
Register Interface
Holding Registers
The holding registers include various settings such as the configurable Modbus Address, termination enable, and more. These settings are common to all of our Modbus peripherals, and are stored in flash to persist between power cycles.
The Modbus protocol supports 64K
Address (hex) | Address (dec) | Access | Description | Example Values |
0x70 | 112 | Read/Write | Modbus Mode | 0 = ASCII, 1 = RTU |
0x71 | 113 | Read/Write | RS485 Bus Termination Enable | 0 = No termination, 1 = enable termination |
0x72 | 114 | Read/Write | Modbus Device Address | 0-65535 |
0x73 | 115 | Read/Write | Modbus baud rate | Baud Rate |
0x74 | 116 | Read Only | Unit Model | TS-1700 |
0x75 | 117 | Read Only | Verilog Version | 1 |
0x76 | 118 | Read Only | ZPU Version | 1 |
0x77 | 119 | Read Only | Power Supply in millivolts | 24000 |
0x78 | 120 | Read Only | Internal Temperature in 1/100th degree Celsius | 22000 |
0x79 | 121 | Read Only | Reserved | N/A |
0x7a | 122 | Read Only | Reserved | N/A |
0x7b | 123 | Read Only | Reserved | N/A |
0x7c | 124 | Read Only | Reserved | N/A |
0x7d | 125 | Read/Write | Write value 0xfeed to make holding registers persistent | N/A |
Operating Registers
Address | Access | Description |
0x0 | Read Only | DIO 0 sensor temperature [1] |
0x1 | Read Only | DIO 1 sensor temperature [1] |
0x2 | Read Only | DIO 2 sensor temperature [1] |
0x3 | Read Only | DIO 3 sensor temperature [1] |
0x4 | Read Only | DIO 4 sensor temperature [1] |
0x5 | Read Only | DIO 5 sensor temperature [1] |
0x6 | Read Only | DIO 6 sensor temperature [1] |
0x7 | Read Only | DIO 7 sensor temperature [1] |
0x8 | Read Only | DIO Input data [2] |
0x9 | Read Only | DIO Output pins [3] |
0x0a | Read Only | 4 button inputs [4] |
0x77 | Read Only | Device Power Supply in millivolts |
0x78 | Read Only | Device temperature in 1/100th degrees Celsius |
0x79 | Read/Write | DIO direction and configuration [5] |
0x7a | Read/Write | DIO Port DIO or Temp [6] |
- ↑ 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 The temperature is read in 1/100th degrees Celsius. The temperature is only readable when the sensor is connected and the DIO port is configured to read from the sensor (0x7a).
- ↑ The input values are reflected in each bit for the DIO that are configured as inputs. DIO not configured as an input will be 0
- ↑ The bits in the return value will correspond with the pin configuration at 0x121 to show which pins are configured as outputs
- ↑ Bits 0-3 of the return value correspond with the 4x optional membrane buttons on the outside of the case. The return value is already debounced, and will indicate with a 1 if the button is pressed.
- ↑ See this section for more details on this register
- ↑ >The bits in the return value will correspond with the DIO to set as a DIO (0), or a temperature sensor (1).
Baud Rate
The TS-1700 supports 15 speeds:
Value | Baud Rate | Maximum CAT5 Cable Length |
---|---|---|
0 | 300 | 1200 meters |
1 | 600 | 1200 meters |
2 | 1200 | 1200 meters |
3 | 2400 | 1200 meters |
4 | 4800 | 1200 meters |
5 | 9600 | 1200 meters |
6 | 19.2K | 1200 meters |
7 | 38.4K | 1200 meters |
8 | 57.6K | 1200 meters |
9 | 115.2K | 800 meters |
10 | 230.4K | 400 meters |
11 | 460.8K | 200 meters |
12 | 1040K | 100 meters |
13 | 2080K | 50 meters |
14 | 4160K | 25 meters |
DIO
The DIO configuration register at 0x79 allows you to select between 4 settings for each port. The register is 16-bits wide, and uses 2 bits for each port:
Bits | Function |
---|---|
15:14 | Port 7 |
13:12 | Port 6 |
11:10 | Port 5 |
9:8 | Port 4 |
7:6 | Port 3 |
5:4 | Port 2 |
3:2 | Port 1 |
1:0 | Port 0 |
Each port can have unique settings using these values:
Bits | Function |
---|---|
10 | Input state with 1.2K ohm pull-up to 5V |
11 | Active low through 160 milliohms (capable of sinking 500mA) |
Connectors
2x RJ45
Both RJ45 ports, and all of our Modbus based devices are designed to be compatible with 2W-MODBUS RJ45 following this pinout:
16 Pin Terminal Block
The terminal block is a removable connector that includes 5V digital I/O. Every '+' pin is configurable using the Modbus registers, and each pin labelled '-' is connected to ground.
Product Notes
FCC Advisory
This equipment generates, uses, and can radiate radio frequency energy and if not installed and used properly (that is, in strict accordance with the manufacturer's instructions), may cause interference to radio and television reception. It has been type tested and found to comply with the limits for a Class A digital device in accordance with the specifications in Part 15 of FCC Rules, which are designed to provide reasonable protection against such interference when operated in a commercial environment. Operation of this equipment in a residential area is likely to cause interference, in which case the owner will be required to correct the interference at his own expense.
If this equipment does cause interference, which can be determined by turning the unit on and off, the user is encouraged to try the following measures to correct the interference:
Reorient the receiving antenna. Relocate the unit with respect to the receiver. Plug the unit into a different outlet so that the unit and receiver are on different branch circuits. Ensure that mounting screws and connector attachment screws are tightly secured. Ensure that good quality, shielded, and grounded cables are used for all data communications. If necessary, the user should consult the dealer or an experienced radio/television technician for additional suggestions. The following booklets prepared by the Federal Communications Commission (FCC) may also prove helpful:
How to Identify and Resolve Radio-TV Interference Problems (Stock No. 004-000-000345-4) Interface Handbook (Stock No. 004-000-004505-7) These booklets may be purchased from the Superintendent of Documents, U.S. Government Printing Office, Washington, DC 20402.
Limited Warranty
See our Terms and Conditions for more details.