Home
TRP-C68 User's Manual
Contents
1. ID 46 27 00 CRC ID Address of setting module 1 247 46 Function Code 27 Spam full calibration 00 Reserved code ID 46 27 Module command Line 00 Reserved code ID 46 27 00 CRC ID C600 CRC ID C6 CRC C6 Error function code 00 Reserved code Example Send command 01 46 27 00 Response 01 46 27 00 Command valid Error Response 01 C6 Error code Refer to paragraph 4 Function description before calibration 28 7 13 Read one or multi channel analog input data ID 03 00 NN 00 CN CRC ID 04 00 NN 00 CN CRC ID Address of setting module 1 247 03 or 04 Function Code 00 NN Start channel from NN 00 07 00 CN How many channel want to read CN 1 8 ID 03 or 04 Module command Line BC Byte Counter ST 01 when Voltage or of FSR is Positive ID 03 04 BC ST DATA CRC ST 00 when Voltage or of FSR is Negative ST 02 when fast mode and engineer mode is 2byte ST 03 when normal mode and engineer mode is 3byte DATA Analog Input value ID 83 Function Code ER 00 Syntax error ID 83 ER CRC ER 01 Data Format error ER 02 Start channel error ER 03 I O out of range Example TT 08 DF 00 Send command 1 3 0 0 0 1 Read channel 0 voltage Response 01 03 05 10 00 87 89 65 8 78965V When voltage or of FSR mode the data length is 5 byte 1 byte is 10 Positive 00 Negative Example When DF
2. Storage Temperature 20 to 60 C gt Humidity 10 90 Non condensing gt Dimension 151mm X 75mm X 26mm gt Weight 398g 1 3 Panel layout TRP C68 8 Channel Analog input Module Converter Series EN eee a a EN 26 mm Screw Terminal 1 4 Block Diagram Power Switching R GND Microprocessor 1 5 Pin Definitions Analog Input Channel 5 DC DC Converter Optical lt gt 4 gt A D converter RS485 SKV interface Analog Input Channel 4 Analog Input Channel 5 Analog Input Channel 4 Analog Input Channel 6 Analog Input Channel 3 Analog Input Channel 6 Analog Input Channel 3 Analog Input Channel 7 Analog Input Channel 2 Analog Input Channel 7 Analog Input Channel 2 RS485 DATA Analog Input Channel 1 RS485 DATA Analog Input Channel 1 DC 10 30V Input Voltage DC 10 30V Analog Input Channel 0 GND Input Voltage Ground 1 6 Communication Wiring Analog Input Channel 0 ZF Slave Device 9 Slave Device Tx D 0 0 D D tx ft A I OO DEN RX RX 2 Wire Connection for Digital Input 2 1 Wire Connection For Current Input 124 OHM 1 3 System Configuration Switch The TRP C68 DIO and AIO support the Modbus RTU and ASCII communication protocol It has a two pins external dip switch that allow user to select protocol between Modbus RTU and ASCII The dip switch also p
3. 0 F enable disable status 00 Reserved code ID C6 00 CRC ID C6 CRC C6 Error function code 00 Reserved code Example Send command 01 46 22 00 Data Channel Response 01 46 22 OF 00 Channel 0 3 is enable Channel 4 7 is disable Error Response 01 C600 Error code 7 10 Perform Spam Calibration ID 46 25 XX 00 CRC ID Address of setting module 1 247 46 Function Code 25 Spam calibration enable XX XX 00 Disable XX 01 Enable 00 Reserved code ID 46 25 00 Module command Line 00 Reserved code ID 46 25 00 00 CRC ID C600 CRC ID C6 CRC C6 Error function code00 Reserved code Example Send command 01 46 25 01 00 Response 01 46 25 00 Set up enable Error Response 01 C6 00 Error code Refer to paragraph 4 Function description before calibration 27 7 11 Perform Zero Calibration ID 46 26 00 CRC ID Address of setting module 1 247 46 Function Code 26 Spam zero calibration 00 Reserved code ID 46 26 Module command Line ID 46 26 00 CRC 00 Reserved code ID C6 00 CRC ID C6 CRC C6 Error function code 00 Reserved code Example Send command 01 46 26 00 Response 01 46 26 00 Command valid Error Response 01 C6 00 Error code Refer to paragraph 4 Function description before calibration 7 12 Perform full Calibration
4. Error function code 00 Reserved code Example Send Command 01 46 08 00 Read the TRP C68 s reset status Response 01 46 08 01 00 Have been reset Error Response 01 C6 00 Error code 25 7 7 Set up the module reset ID 46 09 00 CRC Address of setting module 1 247 Function Code Module Reset Reserved code ID 46 09 00 CRC Module reset ID C6 00 CRC ID C6 CRC C6 Function Code 00 Reserved code Example Send Command 01 46 09 00 Response 01 46 09 00 Command valid Error Response 01 C6 00 Error code 7 8 Select analog channel Disable Enable ID 46 21 HL 00 CRC ID Address of setting module 1 247 46 Function Code 21 Read module s Firmware H Channel 4 7 L Channel 0 3 0 Channel disable 1 Channel Enable HL 00 Reserved code ID 46 21 NN 00 CRC Command valid ID C6 00 CRC ID C6 CRC C6 Error function code 00 Reserved code Example Send Command 01 46 21 OF 00 Enable Channel 0 3 Disable Channel 4 7 Response 01 46 21 OF 00 Command Valid Error Response 01 C600 Error code 26 7 9 Read all channel Disable Enable status ID 46 22 00 CRC ID Address of setting module 1 247 46 Function Code 22 Read all channel disable enable status 00 Reserved code ID 46 22 Module command Line ID 46 22 HL 00 CRC HL Channel
5. be remote controlled by PC in ASCII or Modbus RTU protocol 1 1 Features gt Support ASCII and Modbus RTU protocol gt Photo Isolation 3750V between digital and analog gt All channels can input analog signal by voltage or current gt Baud rate from 1 2Kbps to 115 2Kbps gt Surge protection on RS 485 interface gt LED display to indicate power and communication gt Dual Watchdog for hardware reset circuit and host operating status gt External switch for hardware and module s configuration gt Support screw terminal or external DC power supply gt Wide input range DC power supply 1 2 Specifications gt Resolution 16 Bit gt Sample rate Normal mode 10 sample sec 24 bit Fast Mode 60 sample sec 16 bit gt Bandwidth Normal Mode 15 72Hz Fast Mode 78 72Hz fast gt Zero drift 0 03uV C gt Span drift 25 ppm C gt Accuracy Normal 0 1 or better Fast 0 5 or better gt Analog Input range Voltage 10V 5V 2 5V 1 25V 650mV Current 20 mA gt CMRR 92db min 50 60Hz gt Analog input over voltage protection 35V gt RS485 connector Industrial plug in screw terminal gt Communication Interface RS485 2 wires gt LED indicator Power and communication gt Transmission distance 4000ft 1200M gt Speed From 1 2K to 115 2Kbps gt Power consumption 1 2 Watt gt Power requirement DC input from 10 to 30 V gt Operating Temperature 0 to 60 C gt
6. of setting module OO F F HEX TM resdogrodioovme description z rion eg Towar OOO O O O O SOOO Response IDNNNNNN CHKJ for NNNNNN The chars from 1 6 chars ID CHK er Command Invalid Example Send command 01M Read the TRP C68 s name Response 01TRPC68 The module s name is TRPC68 5 20 Read the module s firmware version IDF CHK cr First leading code ID Address of setting module from 00 FF HEX F Read firmware Checksum cr Carriage return IDNNYYMMDD CHk cr NN Module s name YYMMDD Release Date ID CHK cr Command Invalid Example Send command 01F Read the module s firmware version Response 01C68M070407 The module s version date is 07 04 2007 5 21 Change the module s name First leading code Address of setting module OO F F HEX Command for rename module Syntax NN TRP C24 s name Max 6 characters description Checksum cr Carriage return Response ID CHK er Command valid AID CHK fcr Command Invalid Example Send command 01Qabcdef Change the module name become to abcdef Response 01 Command valid Then send the command 01M read the module name Response 01abcdef The TRP C68 s name is abcdef 5 22 Enable watchdog and set the timeout value IDWENN CHK cr Emms ID Address of setting module 00 FF HEX Syntax NN S
7. 0 CRC ID Address of setting module 1 247 Function Code Read module s configuration Reserved code ID 46 05 00 BD 00 TT 00 DF 00 00 CRC ID 46 05 00 Module command Line BD Baud Rate See 7 3 2 TT Analog Input type See 7 3 1 DF Data format See 7 3 3 ID C6 00 CRC 7 3 1 TT Analog input type Type Code 08 09 ID C6 CRC C6 Error function code 00 Reserved code OA 0B OC OD Voltage 10V 5V 2 5V 1 25V 650mV 20mA of FSR 100 100 100 100 100 100 2 S complement 0000 8000 FFFF 0000 8000 FFFF HEX HEX HEX 7 3 2 BB Baud Rate Setting 0000 8000 FFFF 0000 8000 FFFF 0000 8000 FFFF 0000 8000 FFFF HEX HEX HEX HEX me le so 1200 2400 4800 9600 19200 38400 57600 115200 7 3 3 DD Data format setting Checksum 0 Disable 1 Enable Rejection 0 60Hz 1 50Hz Function Example 0 Normal Engineer Unit Format Mode 00 Voltage 01 Percent 1 Fast 10 2 s Complement HEX Format 23 Send Command 01 46 05 00 Read TRP C68 s configuration Response 01 46 05 00 06 00 08 00 08 00 00 Error Response 01 C600 Error code 7 4 Set up the module s configuration ID 46 06 00 BD 00 TT 00 DF 00 00 CRC ID Address of setting module 1 247 46 Function Code 06 Set up module s configurati
8. 3 4 5 6 7 Data ID CHK cr Command Invalid Example Send command 01 Read the all analog input channels data IF TT 08 the data will be show Response gt 01 02 667 00 006 00 002 00 000 00 000 00 000 00 000 00 000 Show the channel 0 7 voltage between 10V 10V Unit Voltage 11 5 10 Read analog input from N channel IDN CHK cr First leading code ID Address of setting module from 00 FF HEX N Analog channel 0 7 Checksum cr Carriage return IDData CHK cr Data Channel N data ID CHK cr Command Invalid Example Send command 010 Read the analog input channel 0 value Response gt 01 03 82062 Channel 0 3 82062 Unit Voltage 5 11 Read Module s Configuration 1D2 CHK cr First leading code ID Address of setting module from 00 FF HEX 2 Read module s configuration Checksum cr Carriage return IDTTBDOO CHK cr TT Analog input type BD Baud rate type ID CHK cr Command Invalid Example Send command 012 Read module s configuration Response 01080600 TT 08 10V 10V Refer 5 6 Baud rate 06 9600 Refer 5 7 5 12 Read reset status ID5 CHK cr First leading code ID Address of setting module from 00 FF HEX 5 Read reset status Checksum cr Carriage return IDS CHK cr S 1 Reset S 0 No Reset ID CHK cr Command I
9. TRP C68 8 Channel Analog Input to Digital Output Isolated Module Support ASCII and Modbus RTU protocol User s Manual Printed Sep 2013 Rev 1 4 Trycom Technology Co Ltd No 35 Zhongxing Rd Guishan Township Taoyuan County 333 Taiwan Tel 886 3 350 3351 Fax 886 3 350 3352 Web www trycom com tw Copyright Copyright Notice The information in this manual is subject to change without notice to improve reliability design and function and does not represent a commitment on the part manufacturer No part of this manual may be reproduced copied or transmitted in any form without prior written permission by the manufacturer Products mentioned in this manual are mentioned for identification purposes only In this manual product names appearing may or may not be registered trademarks of their respective companies or copyright 1 Introduction TRP C68 an 8 channel Analog to Digital Converter ADC takes an analog input signal and converts the input into a digital output signal It accepts analog input a voltage or a current and supports the sample rate in Normal or Fast mode All channels feature screw terminals for convenient connection All analog inputs are provided with isolation and surge protection to protect the module against high voltage spikes as well as ground potential differences TRP C68 support both ASCII and Modbus protocol with a full set of command dual watch dog and auto reset function the module can
10. a each channel like Modbus Poll but the TRP C68 standard mode is support 5 byte for display If user use the that utility the TRP C68 must be adjust the data format Example Send command 02 46 06 00 06 00 08 00 02 00 00 Set the BD 06 9600 TT 08 10V DF 02 Engineer display Response 02 46 06 00 00 00 00 00 00 00 00 Command valid Then send the command 13000 1 Read channel 0 voltage Response 02 03 02 E1 C1 Channel 0 data is E1 C1 Note The engineer s display is 0000 hex 8000 hex FFFF hex 10V 0V 10V Example TT 09 DF 01 Send command 01 46 06 00 06 00 09 00 01 00 00 BD 9600 TT 09 5V DF 01 of FSR set up configuration see 7 4 Response 01 46 06 00 00 00 00 00 00 00 00 Send command 01 03 00 00 01 Read channel 0 of FSR Response 01 03 05 10 00 51 43 59 51 43 59 51 4359 about 2 55V Example TT 08 DF 00 Send command 01 03 00 05 0 3 Read channel 5 7 30 Response 01 03 OF 10 00 79 88 53 10 00 00 14 35 10 00 19 37 00 Channel 5 7 98853V Channel 6 0V Channel 7 1 937V 7 How to use the utility for windows The TRPCOM utility can help you to test and configuration the module s data transmit and receive analog input data and output communication status User may download TRPCOM software from TRYCOM web www trycom com tw 1 The Setting function is for user to initiate the software to set t
11. et the watchdog time NN 00 FF One Unit 0 1 Sec description FF MAX 25 5 Sec Response ID CHK er Command valid AID CHK fcr Command Invalid Example Send Command 01WEFF Set the watchdog time for 25 5 Sec Response 01 Command valid When module count to 25 5 Sec the watchdog will into safe mode then PWR LED will flash if the host send before timeout the watchdog will recount 5 23 Disable watchdog IDWD CHK cr p O OSO poo Tsamma cr Syntax Carriage return description ID CHK fer Command Invalid Example Send Command 01WD Watchdog disable Response 01 Command valid System LED will stop flashing 5 24 Read watchdog timeout value 18 OWRD First leading code nl D asvessotseingmomue0 Fr EN O Response IDWANN CHK cr Wi watchdog ID CHK fer A E watchdog enable D watchdog disable or safe mode NN watchdog timeout value ID CHKJ cr Command Invalid Example Send Command 01WR Read watchdog timeout value Response 01WDOF Command valid set the watchdog timeout is OF 1 6 Sec Syntax description 5 25 System stand by Host OK eo ET Syntax cr Carriage return description ical I ao Watchdog Watchdog Watchdog Enable Timeout Disable NN Safe Mode Digital Output Invalid A B g p c Before watchdog timeout Send the Host ok NN Watchdog timeout value If watchdog is in e
12. he Com Port from 1 to 20 and setting the Baud Rate from 1200 to 115200 Checksum Enable or Disable See Figure 1 The Module Factory Setting is 9600 and ID is 01 Checksum is Disable Turn module s switch to OFF ON position into ASCII communication mode Fe TRPCOM Test Utility 2010 Pro Yersion 3 Setting Temat Scan Tone Her Communication Configuration Initial Setting OK coma v 2600 v GFE 1200 Communication Protocal 2400 4800 9 ASCII c Mod 9500 Default Exit Description In the settings menu be sure to select the ASCII Modbus protocal com port number and baud rate from the drop down menus and selecting your Checksum Selects Enable or Disable before continuing Figure 1 2 The Terminal function is for user to input command user can control all of module s digital input output status or wait to get module response status See Figure 2 31 2010 Pro Version Ed Mg TRPCOM Test Utility Setting Termia Scan TCPAP Help Terminal Command Input Send Command 503M Instruction Response I03TRPC68 Clear Checksum i Command Checksum Description Send the module s command and get realtime response If your module s checksum configuation setting is enable the command checksum will show you the send command status Figure 2 If you don t kno
13. is 02 Engineer and normal mode Byte Counter is 3 bytes TT 08 DF 02 DF fast mode display 3 byte Send command 01 03 00 00 01 Read channel 0 engineer mode 0000 8000 FFF HEX 10V 0V 10V Response 01 03 03 B7 BD DB 10 Engineer mode AC 1A about 4 3V When DF is 22 Engineer And fast Mode Byte Counter Is 2 Bytes TT 08 DF 22 DF fast mode display 2 byte Send command 01 03 00 00 01 Read channel 0 engineer mode 0000 8000 FFF HEX 10V 0V 10V Response 01 03 02 AC 1A 10 Engineer mode AC 1A about 3 3V Example TT 08 DF 02 DF normal mode display 3 byte Engineer Mode Send command 01 03 00 00 01 Read channel 0 engineer mode 000000 800000 FFFFF 29 HEX 10V 0V 10V Response 01 03 03 EE 1C BD 10 Engineer mode EE 1C BD about 8 58V Example TT 09 DF 01 Send command 01 46 06 00 06 00 09 00 01 00 00 BD 9600 TT 09 5V DF 01 of FSR set up configuration see 7 4 Response 01 46 06 00 00 00 00 00 00 00 00 Send command 01 03 00 00 01 Read channel 0 of FSR Response 01 03 05 10 00 51 43 59 51 43 59 51 4359 about 2 55V Example Send command 01 03 00 00 00 08 Read all channel Response 01 03 28 00 00 02 27 97 00 00 00 00 61 10 00 00 01 22 00 00 00 00 61 10 00 00 00 00 10 00 00 00 00 10 00 00 00 00 10 00 00 00 00 Voltage Unit Data format 00 Note Some Modbus utility support 2 byte dat
14. lculate the ASCII sum of all characters of the command string except the character return 2 Mask the sum of string with OFFH Example Send the command is 06M Sum of string is 0 6 M 24H 30H 4D A1H The checksum and CHK A1 Response string with checksum is AT 5 4 ASCII Command List Command List Function Description Page Index IDNNTTBBDD CHk cr Set the module configuration 5 5 ID CHK cr Read all analog input 5 9 IDN CHk cr Read analog input from N channel 5 10 ID2 CHK cr Read the module s configuration 5 11 ID5 CHK cr Read reset status 5 12 ID6HL CHK cr Select analog input channel enable disable 5 13 ID7 CHK cr Read analog channel enable disable status 5 14 01EV CHkK cr Set up the calibration enable disable 5 15 ID8 CHK cr Perform zero calibration 5 16 ID9 CHK cr Perform full calibration 5 17 IDRS CHk cr Perform software reset 5 18 IDM CHK cr Read the module s name 5 19 IDF CHk cr Read the module s firmware version and date 5 20 IDONN CHk cr Chang the module s name 5 21 IDWENN CHk cr Enable watch dog and set up timeout value 5 22 IDWD CHK cr Disable watchdog 5 23 IDWR CHkK cr Read watchdog timeout value 5 24 CHK cr System stand by Host ok 5 25 5 5 Set the module s configuration The module must be reboot When you set up module s configuration af
15. nable send the Host Ok before watchdog timeout B the watchdog will re count PWR LED will flashing after watchdog timeout 6 Modbus RTU Command Description 19 The TRP C68 AIO support Modbus RTU protocol The serial communication data format is Start bit 1 Data bit 8 Parity check None Stop bit 1 Baud rate 1200bps 115200bps 6 1 Modbus Syntax Command Format ID HEX FC HEX SU HEX DA HEX or RC HEX CRC16 HEX Response Format ID HEX FC HEX SU HEX DA HEX or RC HEX CRC16 HEX Error Format ID HEX FC HEX CRC16 HEX ID RS485 Device Address HEX 1 247 1Byte FC Function Code HEX 1 Byte SU Sub Function HEX 1 Byte DA Data Format No Limit RC Reserved code No Limit CRC Cyclic Redundancy Check 2 Byte Error Response If CRC IS mismatches error the response is empty 7 Modbus RTU Command List 20 Command List Function Description ID 46 00 00 CRC Read the module s name ID 46 04 IP 00 00 00 CRC Set up the module s address ID 46 05 00 CRC Read the module s configuration ID 46 06 00 BD 00 TT 00 DF 00 00 CRC Set up the module s configuration ID 46 07 00 CRC Read the module s Firmware ID 46 08 00 CRC Read the reset status ID 46 09 00 CRC Set up the module reset ID 46 21 HL 00 CRC Select analog channel Disable Enable ID 46 22 00 CRC Read all channel Disable Enable statu
16. nit Voltage Example Send command 00030B0501 Response 03 New ID 03 Analog input 1 25V Baud Rate 4800 Checksum Disable DD 01 Then send command read analog input CH 0 FSR of percent 030 Response gt 03 063 3626 63 3626 I Unit Example Send command 0101080602 Response 01 New ID 01 Analog input 10V Baud Rate 9600 Checksum Disable Normal mode DD 02 Then send command read analog input CH 0 FSR of percent 010 Response gt 017FF99F Unit 2 s complement 3 Byte 000000 800000 FFFFFF TRPCOM utility is the utility for user to configure the module the utility also with on line RS485 modules scanning and searching function You can find the utility in the TRP C68 support CD which is bundled in TRP C68 standard package Foy TRPCOM Test Utility ASCII Modbus RTU Support JC x Seting Termiat scan Option TCP Help Terminal Command Input Send Command Instruction 01 0 Response gt 01 06 46689 r Checksum zi Command Checksum Description Send the module s command and get real time response If your module s checksum configuation setting is enable the command checksum will show you the send command status 5 9 Read all analog input ID CHK cr First leading code ID Address of setting module from 00 FF HEX CHK Checksum cr Carriage return IIDData0 7 CHK cr Channel 0 1 2
17. nvalid Example Send command 015 Response 011 1 Module have been reset If the module is system halt or detect abnormal voltage the module will auto restart and flag of reset set up to 1 until use ID5 5 13 Select analog input channel enable disable ID6HL CHK cr First leading code ID Address of setting module from 00 FF HEX 6 Set up channel enable disable HL H Channel 4 7 L Channel 0 3 O disable 1 enable CHK Checksum cr Carriage return IID CHK cr Command valid ID CHK cr Command Invalid Example Send command 0160F Channel0 3 enable Channel4 7 disable Response 01 Then send command 01 Read channel 0 7 Response 02 130 07 512 01 765 02 986 00 000 00 000 00 000 00 000 From channel 4 7 is disable 5 14 Read analog input channel enable disable status ID7 CHK cr First leading code ID Address of setting module from 00 FF HEX 7 Read analog input channel enable disable status Checksum cr Carriage return IIDHL CHK cr H Channel 4 7 L Channel 0 3 0 Channel disable 1 Channel Enable ID CHK cr Command Invalid Example Send command 017 Response 010F Channel 4 7 disable Channel 0 3 enable 5 15 Set up the calibration Enable Disable IDEV CHK cr First leading code ID Address of setting module from 00 FF HEX EV V 0 Di
18. on BD Baud Rate See 7 3 2 00 BD 00 TT 00 DF 00 00 TT Analog Input type See 7 3 1 DF Data format See 7 3 3 ID 46 06 00 Module command Line ID 46 06 00 00 00 00 00 00 00 00 CRC 00 00 00 00 00 00 00 00 Reserved code ID C6 00 CRC ID C6 CRC C6 Error function code 00 Reserved code Example Send Command 1 46 06 00 05 00 08 00 00 00 00 Set up TRP C68 s configuration Response 01 46 06 00 00 00 00 00 00 00 00 Command valid Error Response 01 C6 Error code Baud Rate set to 4800 Analog input typ 10V Data format 00 24 7 5 Read the module s Firmware ID 46 07 00 CRC ID Address of setting module 1 247 Function Code Read module s Firmware Reserved code ID 46 20 Module command Line ID 46 07 YY MM DD 00 CRC YY Year MM Month DD Date 00 Reserved code ID C6 00 CRC ID C6 CRC C6 Error function code 00 Reserved code Example Send Command 01 46 07 00 gt Set up TRP C68 s configuration Response 01 46 07 07 04 07 00 2007 04 07 12 2006 TRP C68 Firmware Version Error Response 01 C600 Error code 7 6 Read the reset status ID 46 08 00 CRC Address of setting module 01 247 Function code Read reset status Reserved code ID 46 08 00 Module command Line ID 46 08 XX 00 CRC XX 01 Have been reset 00 Have been read ID C6 00 CRC ID C6 CRC C6
19. r Pressure Gauage Weight Sensor Anemometer Temperture Sensor TRP C68 8 Channel Analog Input A USB Po RS485 Network ea TRP C08 I e Remote I O Remote I O Remote I O 9 Using the Modbus poll for test the TRP DIO and AIO The Modbus poll is the very popular utility that supports the Modbus RTU ASCII and Modbus TCP IP you can download that for test the any TRP DIO and AIO basic Modbus function The download website is http Avww modbustools com modbus_poll asp 34
20. rovides back to INIT function when user forget the configuring information stored in EEPROM such as ID RS 485 Module address baud rate and data format TRP C68 Default setting ID Address 01 Baud Rate 9600 Analog Mode Type 08 Checksum Disable Data Format 00 All analog input channels Enable RS485 communication data format N 8 1 Modbus Protocol Factory Modbus Communication Protocol Back to INIT for Modbus Step1 Adjust to on off position Step2 Reboot the system ASCII Protocol ACSII communication protocol Back to INIT for ASCII Step1 Adjust to on on position Step2 Reboot the system INIT ID 00 Baud Rate 9600 Data format 00 TT 08 RS485 communication protocol N 8 1 The INIT mode if you forgot the C68 ID or baud rate before you adjusted you can adjust the switch to INIT mode then easy to get ID 00 3 1 How to manually more positive voltage calibration Send command ID7 make sure the TRP C68 8 CH enable Send command IDEO calibration enable Send command IDE1 set up the calibration enable Send command 1D8 perform the Zero calibration Send command IDE1 set up calibration enable again Send command ID9 perform the full calibration Send command IDEO calibration disable 4 Function description Auto voltage calibration The TRP C68 will auto calibrate the voltage
21. s ID 46 25 XX 00 CRC Perform Spam Calibration ID 46 26 00 CRC Perform Zero Calibration ID 46 27 00 CRC Perform full Calibration ID 03 00 NN 00 CN CRC Read one or multi channel analog input data ID 04 00 NN 00 CN CRC Read one or multi channel analog input data 21 7 1 Read the module s name ID 46 00 00 CRC Address of setting module 01 247 Function code Read module s name Reserved code ID 46 00 00 Module command Line ID 46 00 00 OC 68 00 CRC OC 68 Module s Name is C68 ID C6 00 CRC ID C6 CRC C6 Error function code 00 Reserved code Example Send Command 01 46 00 00 Read the TRP C68 s name Response 01 46 00 00 OC 68 00 Module s name is C68 Error Response 01 C600 Error code 7 2 Set up the module s address ID 46 04 IP 00 00 00 CRC ID Address of setting module 1 247 46 Function Code 04 Set up module s ID IP New module s ID 00 00 00 Reserved code ID 46 04 00 00 00 00 CRC ID 46 04 00 00 00 00 Command valid ID C6 00 CRC ID C6 CRC C6 Error function code 00 Reserved code Example Send Command 01 460402000 Set up the new ID is 02 Response 01 46 04 00 00 00 00 New ID changes to 02 Error Response 01 C6 00 Error code 22 7 3 Read the module s configuration ID 46 05 0
22. sable V 1 Enable CHK Checksum cr Carriage return IID CHK cr Command valid ID CHK cr Return not enable calibration before calibration command Example Send command 01E1 Response 01 Enable calibration Refer to paragraph 4 Function description before calibration 5 16 Perform Zero Calibration ID8 CHK cr First leading code ID Address of setting module from 00 FF HEX 8 Perform zero calibration Checksum cr Carriage return IID CHK cr Command valid ID CHK cr Return not enable calibration before calibration command Example Send command 018 Response 101 Refer to paragraph 4 Function description before calibration 5 17 Perform Full Calibration ID9 CHK cr First leading code ID Address of setting module from 00 FF HEX 9 Perform full calibration Checksum cr Carriage return IID CHK cr Command valid ID CHK cr Return not enable calibration before calibration command Example Send command 019 Response 101 Refer to paragraph 4 Function description before calibration 5 18 Perform software Reset sid Fistlatingeode mw Address of setting module OO F F HEX Example Send command 01RS Reset Response 01 svaner Have been reset 5 19 Read the module s name IDM CHK cr C T Do Address
23. ter IDNNTTBBDD CHK cr First leading code ID Address of setting module from 00 FF HEX NN New address of setting from 00 FF HEX TT Analog input type setting BB New baud rate setting DD Data Format CHK Checksum cr Carriage return IID CHK cr Command valid ID CHK cr Command Invalid 5 6 TT Analog input type Type Code 08 09 OA OB OC OD Voltage 10V 5V 2 5V 1 25V 650mV 20mA of FSR 100 100 100 100 100 100 Fast Mode 0000 8000 FFFF 0000 8000 FFFF 0000 8000 FFFF 0000 8000 FFFF 0000 8000 FFFF 0000 8000 FFFF Normal 000000 800000 000000 800000 F 000000 800000 F 000000 800000 F 000000 800000 F 000000 800000 F Mode FFFFFF FFFFF FFFFF FFFFF FFFFF FFFFF 5 7 BB Baud Rate Setting Gel Te ee ee JE 1200 2400 4800 9600 19200 38400 57600 115200 5 8 DD Data format setting Engineer Unit Format Rejection Checksum Mode 00 Voltage Function 0 60Hz 0 Disable 0 Normal 01 Percent 1 50Hz 1 Enable 1 Fast 10 2 s Complement HEX Format Example Send command 0003080600 New ID 03 Analog input 10V Baud Rate 9600 Checksum Disable DD 00 Response 03 If you turn on the system setting switch the ID will become to 00 Then send command read analog input CH 0 voltage 030 Response gt 03 07 63178 7 63178V U
24. w the module s ID may select Scan to find the module s eine Ferg IRPCOM Test Utility ji EA A Check Sum 03 TRP C 68 8 C H A D QE iL ID Dis able Scan The Module Status COM 3 RS4851D Baud Rate 2600 Checksum Disable Scan Scan Unknown Configuration aa er input gie akz D3 3 Gu DODI Status EE Response Ar _ 4 32 Select the module which one you want setting then click Configuration Example TRP C68 Configuration A Get analog input voltage Value please click DO D7 button B Set up new RS485 ID Baud Rate and data format then click Write to EEPROM button Fj TRPCOM Test Utility setin Termial e et 03 TRP C 68 o C H A D 9 0 IQ Dis able 2010 Pro Version Ji E1 Scan The Module Status COM 3 Rsaesip 04 Baud Rate 3600 Checksum Disable Scan Scan Unknown Map ante Input sc Nan 00 0018 00 0021 00 0018 00 0015 00 0021 Fr 00 0015 TE 00 0030 ME 00 0006 ee ae DODI Status EN Response Digtal Output Control P D1 D2 DS ba DS DG D7 DOS BOY DOA DOB DOC DOD DOE DOF New Module Configuration Baud_Rate ASCII Check Sum C68 Mode TRP C68 Analog Type 9600 Disable Normal fosc 10 V Module ID Data Format vane W Data Format Write to EEPROM fo foren a Ovog 33 8 Application ot Le amp SV Light Senso
25. when power up However user may also use voltage calibrating command to correct the voltage while the environment temperature is obvious difference or the module was long period in idle When the voltage must be calibrated by software command it is necessary to reboot the module before calibration Dual Watchdog Module self watchdog The module s watchdog is a hardware reset circuit while working in harsh or noisy environment the module may be down The circuit may enable the module to continue working and never halt Host watchdog The host watchdog is a software function to monitor the module s output states The purpose is to prevent the RS 485 network from communication problem or host halt due to unexpected situation When the timeout interval expired the module will turn all outputs to predefined safe value This can prevent the controlled target from unexpected situation 5 ASCII Command Description The TRP C68 DIO and AIO support the ASCII communication protocol the serial communication data format is Parity check None data Bit 8 Stop bit 1 baud rate can setting from 1200bps 115200bps 5 1 Factory Setting ID Address 01 RS485 communication protocol 9600 8 N 1 Al Mode Type 10V Checksum Disable 5 2 Protocol Syntax Command Format Leading Code ID Address Command CHK cr Response Format Leading Code ID Address Data CHK cr 5 3 How to Calculate the Check Sum 1 Ca
Download Pdf Manuals
Related Search
Related Contents
User Manual for AC2x0 Modules 20 Fi 24 Fi - Certificazione Energetica Multi-Tech Systems MTCBA-C-EN-NX User's Manual Manual de instalação e operação iPod nano Manual do Utilizador V7 L21500WS 22" LED Monitor 16:9 English-US Calibração / Ajuste do Memosens COND Samsung SMART Camera GN120 18-55 mm objektiivi Musta Käyttöopas Copyright © All rights reserved.
Failed to retrieve file