background image

 

31

Response:”

 

01 03 0F 

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 the 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. 

 

 

 

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.

 

Figure 1 

Summary of Contents for TRP-C68

Page 1: ...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...

Page 2: ...Photo Isolation 3750V between digital and analog All channels can input analog signal by voltage or current Baud rate from 1 2Kbps to 115 2Kbps Surge protection on RS 485 interface LED display to ind...

Page 3: ...4000ft 1200M Speed From 1 2K to 115 2Kbps Power consumption 1 2 Watt Power requirement DC input from 10 to 30 V Operating Temperature 0 to 60 Storage Temperature 20 to 60 Humidity 10 90 Non condensin...

Page 4: ...nel 3 VIN6 Analog Input Channel 6 VIN3 Analog Input Channel 3 VIN7 Analog Input Channel 7 VIN2 Analog Input Channel 2 VIN7 Analog Input Channel 7 VIN2 Analog Input Channel 2 DATA RS485 DATA VIN1 Analo...

Page 5: ...pins external dip switch that allow user to select protocol between Modbus RTU and ASCII The dip switch also provides back to INIT function when user forget the configuring information stored in EEPRO...

Page 6: ...on 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 calibr...

Page 7: ...nication 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 unexpe...

Page 8: ...D7 CHK cr Read analog channel enable disable status 5 14 01EV CHK 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 C...

Page 9: ...DD Data Format CHK Checksum cr Carriage return Response ID CHK cr Command valid ID CHK cr Command Invalid 5 6 TT Analog input type 5 7 BB Baud Rate Setting Type Code 08 09 0A 0B 0C 0D Voltage 10V 5V 2...

Page 10: ...063 3626 63 3626 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 0...

Page 11: ...K Checksum cr Carriage return Response IDData0 7 CHK cr Channel 0 1 2 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...

Page 12: ...the analog input channel 0 value Response 01 03 82062 Channel 0 3 82062 Unit Voltage 5 11 Read Module s Configuration Command ID2 CHK cr Syntax Description First leading code ID Address of setting mod...

Page 13: ...dule 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 Command ID6HL CHK cr Syntax Desc...

Page 14: ...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 Com...

Page 15: ...Response 01 Refer to paragraph 4 Function description before calibration 5 17 Perform Full Calibration Command ID9 CHK cr Syntax Description First leading code ID Address of setting module from 00 FF...

Page 16: ...nd command 01RS Reset Response 01 Have been reset 5 19 Read the module s name Example Send command 01M Read the TRP C68 s name Response 01TRPC68 The module s name is TRPC68 5 20 Read the module s firm...

Page 17: ...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 Example Send command 0...

Page 18: ...n 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 Example Send Command 01WD Watchdog d...

Page 19: ...e 01WD0F Command valid set the watchdog timeout is 0F 1 6 Sec 5 25 System stand by Host OK If watchdog is in enable send the Host Ok before watchdog timeout B the watchdog will re count PWR LED will f...

Page 20: ...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...

Page 21: ...s Firmware 7 5 ID 46 08 00 CRC Read the reset status 7 6 ID 46 09 00 CRC Set up the module reset 7 7 ID 46 21 HL 00 CRC Select analog channel Disable Enable 7 8 ID 46 22 00 CRC Read all channel Disabl...

Page 22: ...name Response 01 46 00 00 0C 68 00 Module s name is C68 Error Response 01 C6 00 Error code 7 2 Set up the module s address Command ID 46 04 IP 00 00 00 CRC Syntax Description ID Address of setting mo...

Page 23: ...ID C6 CRC C6 Error function code 00 Reserved code 7 3 1 TT Analog input type 7 3 2 BB Baud Rate Setting 7 3 3 DD Data format setting Example Type Code 08 09 0A 0B 0C 0D Voltage 10V 5V 2 5V 1 25V 650m...

Page 24: ...tion 00 BD 00 TT 00 DF 00 00 BD Baud Rate See 7 3 2 TT Analog Input type See 7 3 1 DF Data format See 7 3 3 Response ID 46 06 00 00 00 00 00 00 00 00 CRC ID 46 06 00 Module command Line 00 00 00 00 00...

Page 25: ...s configuration Response 01 46 07 07 04 07 00 2007 04 07 12 2006 TRP C68 Firmware Version Error Response 01 C6 00 Error code 7 6 Read the reset status Command ID 46 08 00 CRC Syntax Description ID Add...

Page 26: ...esponse 01 C6 00 Error code 7 8 Select analog channel Disable Enable Command ID 46 21 HL 00 CRC Syntax Description ID Address of setting module 1 247 46 Function Code 21 Read module s Firmware HL H Ch...

Page 27: ...nel Response 01 46 22 0F 00 Channel 0 3 is enable Channel 4 7 is disable Error Response 01 C6 00 Error code 7 10 Perform Spam Calibration Command ID 46 25 XX 00 CRC Syntax Description ID Address of se...

Page 28: ...valid Error Response 01 C6 00 Error code Refer to paragraph 4 Function description before calibration 7 12 Perform full Calibration Command ID 46 27 00 CRC Syntax Description ID Address of setting mo...

Page 29: ...ut 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 1st byte is 10 Positive...

Page 30: ...annel 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...

Page 31: ...are from TRYCOM web www trycom com tw 1 The Setting function is for user to initiate the software to set the Com Port from 1 to 20 and setting the Baud Rate from 1200 to 115200 Checksum Enable or Disa...

Page 32: ...32 If you don t know the module s ID may select Scan to find the module s setting Figure 2...

Page 33: ...hich one you want setting then click Configuration Example TRP C68 Configuration A Get analog input voltage Value please click D0 D7 button B Set up new RS485 ID Baud Rate and data format then click W...

Page 34: ...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 downlo...

Reviews: