Set64RS-Temperature-Controller: Difference between revisions
Jump to navigation
Jump to search
Embeddedrf (talk | contribs) |
|||
| (19 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
== Set64rs-Pages == | |||
*[[Software Design Notes - MultiChannel Set64rs]] | |||
*[[Set64rs-Communication-Protocol-notes]] | |||
*[[Set64rs-Software-Issues]] | |||
== Set64RS notes == | == Set64RS notes == | ||
Main Board | Main Board | ||
*CPU chip = [[Media:16F76 | *CPU chip = [[Media:16F76.pdf]] | ||
** RC6 / TX / CK > pin 17 - TX Goes to 485 circuit | ** RC6 / TX / CK > pin 17 - TX Goes to 485 circuit | ||
** RC7 / RX / DT > pin 18 - RX goes to 485 circuit | ** RC7 / RX / DT > pin 18 - RX goes to 485 circuit | ||
| Line 26: | Line 32: | ||
**Most likely the TXEN controls flow and RA4 is used as in input output pin for this and not to connect to timer0 | **Most likely the TXEN controls flow and RA4 is used as in input output pin for this and not to connect to timer0 | ||
== Notes from user manual == | |||
[[Set64rs-Communication-Protocol-notes]] | |||
*Comm port settings | |||
**speed > variable and can be set from menu | |||
**Stop bit = 1 | |||
**Data Bit = 8 | |||
**parity = none | |||
*ModBus > From manual...function codes | |||
** 03 > read | |||
** 01 > read the status | |||
** 05 > change control pattern > auto tuning etc | |||
...did not have WRITE code | |||
*Addresse ranges called out in manual | |||
**1000,2000,3000,4000 hex | |||
== Search for Protocol on the web == | |||
User Manual quoted that MCGS, Century Star and KingAct software ModBus_RTU work with the SET64RS | |||
*[http://translate.google.com/translate?hl=en&sl=zh-CN&tl=en&u=http%3A%2F%2Fwww.mcgs.com.cn%2Fsc%2F MCGS website] - already translated to english | |||
*Downloaded document detailing [[Media:MCGS-modbus-rtu.doc]] from pudn | |||
*Found a [http://www.wellincontrol.com.cn/en/xzzx.asp download link for KingACT] but it is not functioning. | |||
== Conclusions == | == Conclusions == | ||
*Most likely could setup a circuit using TXEN as flow control with TX and RX going to line receiver / transmitter. | *Most likely could setup a circuit using TXEN as flow control with TX and RX going to line receiver / transmitter. | ||
** would need to figure out TXEN states > HIGH is TX or RX enable?? | |||
** would need to figure out TXEN states > HIGH is TX or RX enable?? Should be listening when in quiescent state. Thus measure it when just sitting there. | |||
** fitting a transceiver > would not know polarity of the signal going to the processor. A / B signals should put out HIGH / LOW when? A = high or B= high ??? | |||
*The comm protocol is more difficult as I have no example. I have addresses of registers but no examples. | *The comm protocol is more difficult as I have no example. I have addresses of registers but no examples. | ||
*Difficult when the hardware AND software are in doubt. | *Difficult when the hardware AND software are in doubt. | ||
== Purchase from eBayID=TibetWalk: Po Cho: == | |||
*TibetWalk emails: tibetwalk@yahoo.com tibetwalk_ship@yahoo.com tibetwalk@gmail.com | |||
*TibetWalk location: Hong Kong | |||
*Return address on envelope that set64rs came in | |||
Yau Man King | |||
Rm 805 8/F Block C | |||
Healthy Gardens | |||
560 King's Road | |||
North Point, Hong Kong | |||
*Wrote a letter to this address and received email from: yau_manking@yahoo.com | |||
**he claimed they were the OEM's | |||
**yau_manking@yahoo.com - signed the letter: Stanley | |||
== Company that makes Set64rs == | |||
Software from TibetWalk had chinese at the bottom: 北京汇邦科技有限公司 | |||
[http://www.hbkj.com.cn/ hbkj.com.cn] | |||
[[Company-Making-Set64rs]] | |||
Latest revision as of 05:22, 21 May 2010
Set64rs-Pages[edit]
- Software Design Notes - MultiChannel Set64rs
- Set64rs-Communication-Protocol-notes
- Set64rs-Software-Issues
Set64RS notes[edit]
Main Board
- CPU chip = Media:16F76.pdf
- RC6 / TX / CK > pin 17 - TX Goes to 485 circuit
- RC7 / RX / DT > pin 18 - RX goes to 485 circuit
- RA4 / T0CKI > pin 6 - TXEN goes to 485 circuit ( T0CKI = Timer 0 Clock input )
PIC chip > 193 bytes RAM / 4096 words of program memory
CD4051B - 8 channel mux / demux
74hc164
24LC64 > 64 kbit serial eeprom 9 ( 8 kbytes )
crystal frequency = 18.432 MHz > 1920X 9600 baud
Comments[edit]
- Why does the TXEN line go to the rs-485 circuit? direction control?
- Naming convention **TXEN** is suspicious = Transmit Enable ?? > most likely
- Most likely the 18.432 xtal is the timing oscillator for serial bus. 18.432 / 1920 = 9600 baud
- Most likely the TXEN controls flow and RA4 is used as in input output pin for this and not to connect to timer0
Notes from user manual[edit]
Set64rs-Communication-Protocol-notes
- Comm port settings
- speed > variable and can be set from menu
- Stop bit = 1
- Data Bit = 8
- parity = none
- ModBus > From manual...function codes
- 03 > read
- 01 > read the status
- 05 > change control pattern > auto tuning etc
...did not have WRITE code
- Addresse ranges called out in manual
- 1000,2000,3000,4000 hex
Search for Protocol on the web[edit]
User Manual quoted that MCGS, Century Star and KingAct software ModBus_RTU work with the SET64RS
- MCGS website - already translated to english
- Downloaded document detailing Media:MCGS-modbus-rtu.doc from pudn
- Found a download link for KingACT but it is not functioning.
Conclusions[edit]
- Most likely could setup a circuit using TXEN as flow control with TX and RX going to line receiver / transmitter.
- would need to figure out TXEN states > HIGH is TX or RX enable?? Should be listening when in quiescent state. Thus measure it when just sitting there.
- fitting a transceiver > would not know polarity of the signal going to the processor. A / B signals should put out HIGH / LOW when? A = high or B= high ???
- The comm protocol is more difficult as I have no example. I have addresses of registers but no examples.
- Difficult when the hardware AND software are in doubt.
Purchase from eBayID=TibetWalk: Po Cho:[edit]
- TibetWalk emails: tibetwalk@yahoo.com tibetwalk_ship@yahoo.com tibetwalk@gmail.com
- TibetWalk location: Hong Kong
- Return address on envelope that set64rs came in
Yau Man King Rm 805 8/F Block C Healthy Gardens 560 King's Road North Point, Hong Kong
- Wrote a letter to this address and received email from: yau_manking@yahoo.com
- he claimed they were the OEM's
- yau_manking@yahoo.com - signed the letter: Stanley
Company that makes Set64rs[edit]
Software from TibetWalk had chinese at the bottom: 北京汇邦科技有限公司