Home

TRP-C28H User's Manual

image

Contents

1. os oe g 4 Channel AC DC Relay Control 4 Channel Digital Input Ethernet Modbus RTU ASCII or TRP ASCII 40
2. 26 mm gt Screw Terminal Notice The Module provides two type power inputs optional DC JACK or Screw Terminal input not to two used together PWR LED Blinking is ready LINK LED RJ 45 cable connection and data active D0 D3 R1 R4 LED Each digital status indication DC Jack Power Input DC 10V to 30V Please use the 5 5 2 1mm DC JACK 2 2 Block Diagram LED CPU E Power Regulator 2 3 Factory Button Hold down the button and then power on until the power light flashes Release the button 2 4 Factory parameter values Network Setting Serial Port Modbus Setting Device Name TRP C28H Module Name TRP C28H MAC Address 00 0E C6 00 00 9D Konk 255 255 255 0 DHeF Disable E eny 192 168 1 3 Server Master Listening IP 192 168 1 1 DNS 168 395 1 1 Data listening port 502 Transmit Timer 10 C Client Slave Heart Beat Disble z UID Range Client Slave IP Address Port i To fi 192 168 1 2 02 Maximun Connection je x fp To 0 jooon p TCP Keep Alive 7 7 fp To 0 poon fp n AA e f oat eco p Firmware Version 417 E To j0 fp 0 00 p m Data Packet Type Management Packet Type fp To 0 jooo fp UDP K B Auto connect IV Broadcast j To j0 jooo jp after reboot I Multicast Iv TCP fp To 0 pooo jp Submit Save Load Device Setup Network Setting Serial Port Modbus Setting r Serial Port Setting Baud rate
3. Web Browser Data listening Transmit Timer 10 lient Slave UID Range Client Slave IP Address Port to E 192 168 1 1 Heart Beat Disable x Maximun Connection P m TCP Keep Alive c p i E pooo pa New Password ia p ao E pr p Fimware Version pe 5 p p eee fp Data Packet Type Management Packet Type pz KRS 5 s eae commect IM Broadcast 0 p Restore Reboot Upgrade Eey Bee cand ae e Eca Eea To p fp 0 0 0 pp 2 se a I Multicast fi poon p Save Load Device Setup Network Setting Serial Port Modbus Setting p Serial Port Setting Digital Output Status E Baud rate 500 v Digital Input Status E oan Digital Input CH1 0 jsi 2 Digit InputCH2 o Parity None v Digital Input CH3 0 nea Digital Input CH4 fo top bits fa 4 Digital Input CH5 iro Flow Control ions v Digital Input CH6 j Modbus Setting Digital Input CH7 fa rm Modbus s 7 Slave ID Digital Input CH8 l Digital Input CH9 T LED Display Panel Setting fort ee z Polling Setti Digital Input CH10 i D e Hig v Digital Input CH1 fT a Fet Mode A Digitl nputCHi2 fT Team saa Digital InputCH3 fT SSS Power On Mode Output fo Digital Input CH14 Sa Safe On Mode Output jo Digitel Input CH15 Digital Input CH16 fa se J teat 8 Application Ol my Gas Alarm input Counter input Relay Input ae E 8 lt Alarm Security Lock System Control Lamp ON OFF
4. cr Command valid ID CHK cr Command Invalid Ex Send command 01CW Clear all channels counter value Response 01 Command valid 5 5 Save all digital input counters value Syntax Address of setting module 00 FF HEX description Booo save all channels counter values C fen f Camiageretun return Response ID CHK cr Command valid ID CHK cr Command Invalid Ex Send command 01CS Clear all channels counter value Response 01 Command valid 17 5 6 Read digital input latched n Address of setting module 00 FF HEX Syntax description S 0 Latch logic 0 S 1 No use Carriage return o Response IIDLLHH CHK cr LL DI0 DI7 status HH DI8 DI15 status ID CHK cr Command Invalid Ex Send command 01L0 Read all channels latch value Response 01000F All channels have been trigger 5 7 Clear digital input latched Syntax Address of setting module 00 FF HEX description Carriage return ee Response ID CHK cr Command vaild ID CHkK cr Command Invalid Send command 01C Clear digital input latch Response 01 5 Latch have been clear 18 5 8 Digital Output Data IDPPDD CHK cr First leading code Syntax Address of setting module 00 FF HEX description D I O type 0A 00 DO0 DO3 low byte data Multi Channel lt 1L AL DO0 DO3 low byte data Single Channel L
5. ease of use TRP ASCII integration to develop their own software such as VB VC 13 Command List Function Description Paragraph index IDNNPPOODD CHK cr Setting module configuration See 5 1 IDN CHK cr Read digital input channel counter value See 5 2 IDCN CHK cr Clear digital input N channel counter value See 5 3 IDCW CHK cr Clear all digital input counters value See 5 4 IDCS CHK cr Save all digital input counters value See 5 5 IDLS CHK cr Read digital input latched See 5 6 IDC CHK cr Clear digital input latched See 5 7 IDPPDD CHK cr Digital Output Data See 5 8 ID6 CHK cr Read digital input output status See 5 9 IDF CHK cr Read the module s firmware version See 5 10 IDM CHK cr Read the module s name See 5 11 01RS CHK cr Reset Module See 5 12 IDONN CHK cr Change the module s name See 5 13 DLEDA CHK cr Set the module s LED operating mode See 5 14 IDWE CHK cr Enable watchdog See 5 15 IDWD CHK cr Disable watchdog See 5 16 IDWR CHK cr Read watchdog status See 5 17 ID4V CHK cr Read power on Safe on mode See 5 18 ID5V CHK cr Set the digital output status Power on Save Mode status See 5 19 14 5 1 Setting module configuration IDNNPPOODD CHk cr i _ l
6. C6 00 ID C6 C6 Function Code 00 Reserved code Example Send Command 01 46 0B 01 00 Watchdog Enable Response 01 46 0B 00 Command valid Error Response 01 C6 00 Error code 35 6 14 Read watchdog status ID 46 OC 00 ID Address of setting module 1 247 46 Function Code oC Read watchdog status 00 Reserved code ID 46 0C Module command line ID 46 OC WT WT 01 Watchdog enable WT 00 Watchdog Disable ID C6 00 ID C6 C6 Function Code 00 Reserved code Example Send Command 01 46 0C 00 Read watchdog status Response 01 46 OC 01 Watchdog enable Error Response 01 C6 00 Error code 6 15 Set up LED ON OFF ID 46 OD OS 00 ID Address of setting module 1 247 46 Function Code OD Set Up LED Status Value S 0 Turn on all LED when DIO enable off oP S 1 Turn off all LED when DIO enable on 00 Reserved code ID 46 OD 00 ID 46 0D Command valid ID C6 00 ID C6 C 6 Function Code 00 Reserved code Example Send Command 01 46 OD 01 00 Response 01 46 OD 00 Error Response 01 C6 00 Error code 36 7 Pair Mode TRP C28H support pairing mode with the TRP C28H Applied to 4 digital channels input and 4 AC relay output with over the network without any driver with computer hardware All digital LED flashes in pairing mode until successfully paired will stop blinking TRP C28H sus
7. RJ45 cable If the cable is properly connected the LINK LED will light up The TRP C28H Support Auto MDIX A straight through or crossover RJ45 cable can be used to make a connection directly to the HUB Router PC LAN port STEP3 Connect TRP C28H screw terminal wiring such as 2 5 picture description 4 How to configure TRP C28H Please note that the computer s IP segment adjusted with TRP C28H same section modify the parameter values in order to effectively store For example Computer IP is 192 168 1 xx TRP C28H 192 168 1 1 There are 2 ways can change the module parameter values A DSM Software TRP Ethernet Series DSM PC TRP C37 C37M C24H C26H C28H FESSA Isolated 4 DI and 4 AC Relay Modbus TCP Module uil m a o eooo ooo T E pozis OOO O prias m z eo a fonie aooo esse Ej Amy _Ren 4 1 Using DSM Utility The DSM utility software performs several functions A Searching for TRP C28H connected to the network B Displaying and changing the configuration C Upgrading the TRP C28H firmware Refer the Firmware upgrade help file D Saving and Loading Configuration from external log File or memory 4 2 Searching TRP C28H Once TRP C28H is connected to the network the DSM software will search it and display it in a window by name IP address Mac Information TRYCOM DSH 4 7 TRP Ethernet Series DSM TRP C37 C37M C24H C26H C28H 4 3 Configuri
8. are alphabetic they re easier to remember The Internet however is really based on IP addresses Every time you use a domain name therefore a DNS service must translate the name into the corresponding IP address Transmit Timer This feature is only available to Serial Server TRP C37 and TRP C37M Maximum Connection 1 16 The function allows the user to configure the TRP C28H in Server mode adjust 1 16 TCP client host connections TCP Keep Alive 1 7 Minute When TRP C28H in Server or Client mode the TRP C28H without data over the 1 7 Min setting value The TRP C28H will be disconnecting TCP port New Password 1234 It only accepts value from1000 9999 integer if input the wrong password over 5 times the WEB Page will lock until the TRP C28H re boot Firmware Version ABC Slave ID 1 255 ID performs MODBUS RTU ASCII and TRP ASCII will use to address LED Display Panel Setting ON OFF The setting will turn on all panels LED or Turn off panel LED Polling Setting High Low Digital High Low potential settings Applies only TRP C26H C28H System Mode Power ON Mode Digital output state when the TRP C28H Power On Save ON Mode The digital output state when the TRP C28H is working Once this mode is set the digital output state cannot be rewritten 10 Pair Mode It can be used as a remote manual remote control when the TRP C24H 16 DO 0 TRP C26H 16 CH DI TRP C28H 4 D I O with TRP C28H 4 D O Withou
9. when Output Enable OFF C Carriage return Response IDNN CHK cr NN ON or OFF Command valid ID CHK cr Command Invalid EX Send command 01LED1 Turn off all LED when Channel Enable ON Response 01OFF Command valid 22 5 15 Enable Watchdog Syntax F Address of setting module 00 FF HEX description C Gamage retum return Response IID CHK cr Command valid ID CHK cr Command Invalid EX Send Command 01WE Enable Watchdog Response 01 Command valid The user can not change the digital output state when watchdog enable this mode will keep until the watchdog disable When the watchdog enable digital output into safe mode There are 3 ways you can set the safe mode command WEB DSM 5 16 Disable Watchdog Syntax description Address of setting module 00 FF HEX Carriage return Response lID CHK cr Command valid ID CHK cr Command Invalid EX Send Command 01WD Watchdog Disable Response 01 Command valid 23 5 17 Read Watchdog State Syntax description i Address of setting module 00 FF HEX Response IIDWN CHK cr N E Enable N D Disable ID CHK cr Command Invalid EX Send Command 01WR Read Watchdog state Response 01WE Watchdog Enable 5 18 Read Power on Safe Mode Syntax Address of setting module 00 FF HEX Read po
10. 0 3 DD 00 FF Milti Channel DD 00 or 01 Single Channel Response gt CHK cr Command valid ID CHK cr Parameter invalid Command data error ID CHK cr Command Invalid Multi Channel mode Output control for one BYTE EX Send command 010A02 CH 1 Relay 1 ON Response gt Command valid EX Send command 01000A CH1 nad CH3 Relay ON Response gt Command valid EX Send command 01000G Data OG Data error Response 0 Parameter error Single Channel mode Output control for one BIT EX Send command 011001 CHO Relay ON Response gt Command valid Send command 011201 CH2 Relay ON Response gt Command valid 19 5 9 Read digital input output status CO Address of setting module 00 FF HEX Syntax description e Read digital output status Carriage return C Response IDOLOH CHK cr L DO0 DO3 status H DIO DI3 status ID CHkK cr Command Invalid EX Send command 016 Read digital output status Response 010308 DO1 DO2 DI3 Enable 5 10 Read the module s firmware version Syntax j Address of setting module 00 FF HEX description Command for reading module s version Response IDMODDDMMYY CHk cr MOD The module s model DD Date MM Month YY Year ID CHK cr Command Invalid EX Send command 01F Read th
11. 0 Syntax error ID 85 ER ER 01 Data Format error ER 02 Start channel error ER 03 I O out of range Example Send command 01 05 00 03 FF 00 RLY4 Output Enable Response 01 05 00 03 FF 00 Command Valid 31 6 6 Write Coils Write multi channel output data ID OF 00 SS 00 NN BC OL ID Address of setting module 1 247 OF Function Code Start channel number 0x0000 0x0003 Output channel number 0x0001 0x0004 Byte counter Write output data L 0 F ID OF 00 SS 00 NN Command Line ID 1 247 8F Function Code ER 00 Syntax error ID 8F ER ER 01 Data Format error ER 02 Start channel error ER 03 I O out of range Example Send command 01 OF 00 00 00 04 01 OB RL1 RL2 RL4 Enable Response 01 OF 00 00 00 04 Command Valid 6 7 Write single register Write single channel counter value ID 06 00 SS DD DD ID Address of setting module 1 247 06 Function Code Start channel number 0x0000 0x0003 Write Counter Vaile DDDD 0x0000 0xFFFF ID 06 00 SS DD DD Command Line ID 86 Function Code ER 00 Syntax error ID 86 ER CRC ER 01 Data Format error ER 02 Start channel error ER 03 I O out of range Example Send command 01 06 00 03 00 63 Write DI3 Counter Value 99 Response 01 06 00 03 00 63 Command Valid 32 6 8 Write multiple registers Write multi channel counter value ID 1000 SS 00 CNB
12. 0004 Output channel number 0x0001 0x0004 ID 1 247 03 Function Code ID 03 BC NN NN BC Byte counter NN NN Digital output read back value ID 1 247 83 Function Code ER 00 Syntax error ID 83 ER ER 01 Data Format error ER 02 Start channel error ER 03 I O out of range Example Send command 01 03 00 00 00 04 Read digital RL11 RL4 readback counter value Response 01 03 08 00 03 00 12 00 37 0012 30 6 4 Read Input Registers Read the current digital input count value ID 04 00 SS 00 NN ID Address of setting module 1 247 04 Function Code Start channel number 0xO000 0x0004 Output channel number 0x0001 0x0004 ID 1 247 04 Function Code ID 0 BC NN NN BC Byte counter NN NN Digital output read back value ID 1 247 84 Function Code ER 00 Syntax error ID 84 ER ER 01 Data Format error ER 02 Start channel error ER 03 I O out of range Example Send command 01 04 00 00 00 04 Read CHO CH3 read back counter value Response 01 04 08 00 01 00 01 03 FC 00 1E Bytes Counter 8 DI0 1 DI1 1 DI2 1020 DI3 30 6 5 Write Single Coil Write Single channel output data ID 05 00 SS DD 00 ID Address of setting module 1 247 05 Function Code Start channel number 0x0000 0x0003 Write output data DD FF Relay Enable DD 00 Relay Disable ID 0500 SS DD 00 Command Line ID 1 247 85 Function Code ER 0
13. 02 33 71 6D 26 Checksum for 01 0000 00 10 3D C6 Command Checksum Description send the module s command and get real time response If your module s checksum confiquation setting is enable the command checksum will show you the send command status 28 Modbus TCP Command List Command List Function Description C28H Description Index ID 01 00 SS 00 NN Read Coils Read relay output readback value 6 1 ID 02 00 SS 00 NN Read Discrete Inputs Read the current digital input value 6 2 ID 03 00 SS 00 NN Read Holding Registers Read the current relay output readback count value 6 3 ID 04 00 SS 00 NN Read Input Registers Read the current digital input count value 6 4 ID 05 00 SS DD 00 Write Single Coil Write Single channel output data 6 5 ID OF 00 SS 00 NN BC OL Write Coils Write multi channel output data 6 6 ID 06 00 SS DD DD Write single register Write single channel counter value 6 7 ID 10 00 SS 00 CNBC DD DD Write multiple registers Write multi channel counter value 6 8 ID 10 00 00 00 01 Save multiple registers Save multi channel counter value to memory 6 9 Additional modbus RTU command set Command List Function Description Index ID 46 00 00 Read the module s name 6 10 ID 46 04 IP 00 00 00 Setting module new ID 6 11 ID 46 07 00 Read the module s Firmware 6 12 ID 46 OB WS 00 Enable Disable watchdog 6 13 ID 46 0C 00 Read watchdog status 6 14 ID 46 0D 0S 00 Set up L
14. C DD DD ID Address of setting module 1 247 10 Function Code Start channel number 0x0000 0x0003 Counter Number 0x0001 0x0004 Byte Counter Counter Vaile DDDD 0000 FFFF ID 10 00 SS 00 CN Command Line ID 90 Function Code ER 00 Syntax error ID 90 ER ER 01 Data Format error ER 02 Start channel error ER 03 I O out of range Send command 01 10 00 00 00 04 08 00 OA 00 14 00 1E 00 28 Write DIO DI3 Counter Value Response 01 10 00 00 00 04 Command Valid 6 9 Save multiple registers Save current multi channel counter value to memory ID 10 00 00 00 01 02 00 00 ID Address of setting module 1 247 10 10 Function Code 00 00 Start channel number 0x0000 00 01 Counter Number 0x0001 02 00 00 Save all counters to memory ID 10 00 00 00 01 Command valid ID 90 Function Code ER 00 Syntax error ID 90 ER ER 01 Data Format error ER 02 Start channel error ER 03 I O out of range Send command 01 10 00 00 01 02 00 00 Save all current counters Value to memory Response 01 10 00 00 00 01 Command Valid 33 6 10 Read the module s name ID 46 00 00 Address of setting module 1 247 Function code Read module s name Reserved code ID 46 00 00 Module command Line ID 46 00 00 0C 28 00 OC 28 Module s Name is C28 ID C6 00 ID C6 C6 Function Code 00 Reserved code EX Send Com
15. ED ON OFF 6 15 6 1 Read Coils Read relay output readback value ID 01 00 SS 00 NN ID Address of setting module 1 247 01 Function Code Start channel number 0x0000 0x0004 Output channel number 0x0001 0x0004 ID 01 BC OL ID 1 247 01 Function Code BC Byte counter OL Relay output read back value ID 81 ER Example Send command 01 01 00 00 00 04 Response 01 01 01 08 RL4 Enable ID 1 247 81 Function Code ER 00 Syntax error ER 01 Data Format error ER 02 Start channel error ER 03 I O out of range Read RL1 RL4 relay Output read back value 29 6 2 Read Discrete Inputs Read the current digital input value ID 02 00 00 00 NN Address of setting module 1 247 Function Code Start channel number 0x0000 Input channel number 0x0001 0x0004 ID 1 247 02 Function Code ID 02 BC LL BC Byte counter LL Digital current input value ID 1 247 81 Function Code ER 00 Syntax error ID 82 ER ER 01 Data Format error ER 02 Start channel error ER 03 I O out of range Example Send command 01 02 00 00 00 04 Read DIO DI3 Digital Input readback value Response 01 02 01 08 DI3 Enable 6 3 Read Holding Registers Read the current relay output readback count value ID 03 00 SS 00 NN Address of setting module 1 247 Function Code Start channel number 0x0000 0x
16. TRP C28H Isolated 4 Channel Digital Input with counter and 4 channel AC Relay Modbus TCP Module Support TRP ASCII Modbus RTU ASCII protocol User s Manual Printed Aug 2013 Rev 1 0 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 prior notice in order to improve reliability design and function and dosed not represent a commitment on the part of the manufacturer No part of this manual may be reproduced copied or transmitted in any form without the prior written permission of manufacturer Acknowledgment Products mentioned in this manual are mentioned for identification purpose only Products manes appearing in this manual may or may not be registered trademarks or copyright of their respective companies 1 Introduction TRP C28H an Isolated Digital Input with counter and AC Relay Modbus TCP Module provides 4 channels optical isolated digital input channels and counter and 4 Channel AC Relay that allow you to input the logic signal from 0 to 30V DC and 5A 250V AC relay on network it supports 3 communication Protocol TRP ASCII Modbus RTU ASCII TRP C28H can be easy and convenient to use application supports Modbus Software engineers can use the TRP ASCII or Modbus RTU command set quickly and easily integrated into the self devel
17. adcast E To E 0 0 0 0 pe r I Multicast v fo t p pom E Save Load Device serap f Network Setting Serial Port Modbus Setting p Serial Port Setting Digital Output Status E Band rate fsso0 X Digital Input Status fi Digital Input CH1 ob t S Data bits 8 s Re Digital Input CH2 pooo Parity None Z Digital Input CH3 po Digital Input CH4 0 Stop bits E m Digital Input CH5 Do Flow Control None v Digital Input CH6 p Digital Input CH 0 Modbus Setting ee f 0 Slave ID Digital Input CH8 fp igital Input CH9 j LED Display Panel Setting Off z Dna Polling Setti Digjital Input CH10 p 0 e Hi DK igh Z Dis nputcH fT Ret ptc TS Se Disable Digital Input CH13 TSS Power On Mode Output 7000 Digital Input CH14 a Safe On Mode Output e000 Digital Input CH15 m Digital Input CH16 0 38 TRP C28H Client parameter setting m ES TRP Ethernet Series DSM TRP C37 C37M C24H C26H C28H IPC DSM Setting p Device Status List 3 Device Name MAC Address Port Mode Status 1 TRP C23H 00 0E C6 00 00 40 Enable 192 168 1 2 502 Slave Connected Device Setup E Network Setting Serial Port Modbus Setting Setting i DSM Function Search Device Name Module Name TRP C28H IP Search j DE C N0 OU A MAC Address 00 0E C6 00 00 40 i 7552552550 Device Setup DHG Enable Al aea fiziesis o Server Master Listening IP ise 168 1 2 DNS 168 395 1 1
18. e TRP C28H s version Response 01C24H090113 The TRP C28H s version date is 01 09 2013 20 5 11 Read the module s name Address of setting module 00 FF HEX Syntax description Reading module s name Response IIDNNNNNNNNN CHK cr NNNNNN The chars from 1 9 chars ID CHK cr Command Invalid EX Send command 01M Read the TRP C28H s name Response 01TRPC24H The module s name is TRPC24H 5 12 Reset Module Syntax description f Address of setting module 00 FF HEX Carriage return Response lID CHK cr Command valid ID CHK cr Command Invalid EX Send Command 01RS Response 01 Command valid 21 5 13 Change the Module s name Command IDONN CHK cr First leading code Syntax description ID Address of setting module 00 FF HEX O Change Module Name NN NN 1 9 characters char cr Carriage return Response IID CHK cr Command valid ID CHK cr Command Invalid EX Send Command 010123456789 Change Name Response 01 Command valid Send command 01M Read the TRP C28H s name Response 01123456789 The module s name is TRPC24H 5 14 Set LED operating mode Syntax description Address of setting module 00 FF HEX ra Set the module s LED operating mode A 1 Turn off all LEDS when Output Enable ON A 0 Turn on all LEDS
19. l First leading code oe Address of setting module 00 FF HEX Syntax Description New address of setting from 00 FF HEX ppp The Digital I O module type define to 40 Gamage retum return Response IID CHK cr Command valid ID CHK cr Command Invalid DD Data Format so CE Function Checksum 0 Disable 1 Enable EX Send command 0103400000 New ID is 03 D I O type is 40 Checksum setting disable is 00 Response 01 15 5 2 Read digital input channel counter value Syntax Address of setting module 00 FF HEX description N Digital Input channel 0 3 C Len o Gamageretumn return Response IIDCCCCC CHK cr Command valid CCCCC from 0 65535 ID CHK cr Command Invalid Ex Send command 012 Read the TRP C26H channel 2 counter value Response 0100023 The digital input have been trigger 23 times 5 3 Clear digital input N channel counter value Syntax Address of setting module 00 FF HEX description FON Digital Input channel N 0 F C fen f Gamiageretun return Response IID CHK cr Command valid ID CHK cr Command Invalid Ex Send command 01C0 Clear channel 0 counter value Response 01 Command valid 16 5 4 Clear all digital input counters value Syntax j Address of setting module 00 FF HEX description pow Clear all channels counter values a Fey Carag etn return Response ID CHK
20. ling Setti Hi X a m Digital InputCH11 Poo System Mode Power On Mode x Digital Input CH12 m Trycom Checksum Setting Disable 7 Digital Input CH13 Power On Mode Output jo Digital Input CH14 tT Safe On Mode Output jo Digital Input CH15 gt Digital Input CH16 p Save Load Device Name Device server name Maximum 10 chars Model Name TRP C28H MAC Address The TRP C28H MAC address DHCP If DHCP is disabled it allows user setting the IP address Subnet mask Gateway If DHCP is enabled the IP address Subnet mask Gateway address will be dynamically configuration by DHCP server such router When DHCP is enabled but the DHCP server is not available on the network the TRP C28H will timeout then back to factory setting IP 192 168 1 1 Server Listening IP The TRP C28H IP address Server Data listening port TRP C28H port address Client Destination IP When user using the pair mode the client setting need to input module IP and port which one need to connect Client Destination port Client port address Port 16 bit number 1 65535 Netmask The default LAN Netmask is configured for a Class C address This maybe reconfigured by the user Gateway Input the gateway IP address that can be allows users to access the serial server from internet DNS Short for Domain Name System an Internet service that translates domain names into IP addresses Because domain names
21. mand 01 46 00 00 Read the TRP C28 s name Response 01 46 00 00 OC 28 00 Module s name is C28 Error Response 01 C6 00 Error code 6 11 Setting module new ID ID 46 04 IP 00 00 00 ID Address of setting module 1 247 46 Function Code Setting module ID IP New module s ID 00 00 00 Reserved code ID 46 04 00 00 ID 46 04 00 00 Command valid ID C6 00 ID C6 C 6 Function Code 00 Reserved code EX Send Command 01 46 04 08 00 00 00 Set up the new ID is 03 Response 01 46 04 00 00 New ID is 08 Error Response 01 C6 00 Error code 34 6 12 Read the module s Firmware ID 46 07 00 ID Address of setting module 1 247 46 Function Code Read module s Firmware Reserved code ID 46 07 Module command Line ID 46 07 YY MM DD 00 YY Year MM Month DD Date 00 Reserved code ID C6 00 ID C6 C6 Function Code 00 Reserved code Example Send Command 01 46 07 00 Read Firmware Version Response 01 46 07 13 02 28 00 Firmware Version 02 28 2013 Error Response 01 C6 00 Error code 6 13 Enable Disable watchdog ID 46 0B WS 00 ID Address of setting module 1 247 46 Function Code 0B Setting Watchdog Status WS 00 Watchdog Disable WS 01 Watchdog Enable WS 00 Reserved code ID 46 0B 00 00 ID 46 0B 00 Command valid ID
22. n find this software in our CD internal directory copied to the hard disk and then a execute TRPCOM exe iS TRPCOM Test eles TRP C3X Ethernet Serial Server Setting IP 192 168 1 1 Port o2 Link Send the ASCII command g M Command_Button Tl Auto Send Command o Response The execution TRPCOM exe enter the IP amp Port click Link button It can be input the TRP ASCII instruction set 12 Fe TRPCOM Test Utility Yersion 2012 Q1 E E3 Termial TRP C3X Ethernet Serial Server Setting IP 192 168 1 1 Response Port 502 Link I01TRP C28H Send the ASCII command fom ha Command_ Button SEE Auto Send Command l fo Clear i 60 Network Status 5 TRP ASCII Communication Protocol TRP C28H supports three modes of communication Protocol TRP ASCII Modbus RTU Modbus ASCII TRP ASCIl Command Protocol Description Command Format Leading Code ID Address Command C HK cr at Leading Code ID Address Data CHK cr How to calculate the checksum 1 Calculate all characters of the command string to get the ASCII sum 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 CHkK A1 Response string with checksum is A1 TRP ASCII
23. ng Server Properties Select the NO item and Double click to open the module configuration after setting then click Submit will save the configuration to memory x Network Setting Serial Port Modbus Setting Device Name TRP C28H Module Name TRE C26H MAC Address 00 0E C6 00 00 9D E 255 2552550 DHCP Disable Ej eny 192 168 1 3 Server Master Listening IP 192 168 1 1 DNS 168 95 1 1 Data listening port 502 Transmit Timer 10 C ClientSlave Hei Beni UID Renge Client Slave IP Address Pot oS Dist pp To jp 192 168 1 2 502 Maximun Connection fe 7 E To p 0 0 0 0 jp TCP Keep Alive g x pp To fp 0 0 0 0 p New P al ia pp To fp 0 0 0 0 p EAA NATEN rh p To p 0 0 0 0 p m Data Packet Type Management Packet Type E T jp 0 0 0 0 p M UDP i r Auto comnect IV Broadcast pp To fi 0 0 0 0 jp after reboot I Multicast Jv TCP fp To a 0 0 0 0 jp Device Setup Submit Save Load Network Setting Serial Port Modbus Setting r Serial Port Setting Digital Output Status jp Band rate a600 v Digital Input Status fi net Digital Input CH1 jo ta bits v Sak E Digital Input CH2 jo Parity None Digital Input CH3 fp ae Digital Input CH4 jo top bits v k fi Z Digital input CHS fp TF Flow Control None gt Digital Input CH6 p Modbus Setting Digital Input CH7 jp m Modbus Se Slave ID Digital Input CH8 0 f Digital Input CH9 1 LED Display Panel Setting On X EAGAR Pol
24. opment program such as Microsoft VB VC TRP C28H built in independent IP WEB browsing more convenient to rewrite the configuration and collect information through computers tablet computers smart phones will be available TRP C28H built in watchdog function to ensure the normal operation of the module and a built in voltage monitoring to ensure that the boot excellent and advanced hardware for harsh environment TRP C28H with another TRP C28H remote control directly do not need to run the software and equipment TRP C28H also offers the maximum connection 16 host client to link the network server that is easy to operate in Modscan32 Modbus Poll CAS Modbus Scanner and SCADA application uses TCP mode and Virtual COM mode 1 1 Features Wide input range DC power supply Automatically determine 3 TRP ASCII and Modbus RTU ASCII communication protocol 16 TCP Port can be open at the same time Heart Beat function ensures a reliable communicating connection Support Virtual COM mode WEB PAGE can be directly read IO status Easily update the firmware using the Internet Back to factory configuration by external touch Button Auto reconnection when power or Ethernet fail Digital input signal from 0 to 30V DC Built in surge absorbers in each relay N C and N O Built In watchdog function prevents system boot fail LED for each I O channels working status Support Auto MDIX twisted pair crossover detection and Auto Correc
25. p600 v Data bits 8 7 Parity N one v Stop bits 1 v Flow Control None Z Modbus Setting Slave ID jE LED Display Panel Setting On ka Polling Setting High ne System Mode Power On Mode Trycom Checksum Setting Disable hai Power On Mode Output jo Safe On Mode Output jo 2 5 Screw Terminal Pin assignment Description Digital Output Status Digital Input Status Digital Input CH1 Digital Input CH2 Digital Input CH3 Digital Input CH4 Digital Input CH5 Digital Input CH6 Digital Input CH Digital Input CH8 Digital Input CH9 Digital Input CH10 Digital Input CH11 Digital Input CH12 Digital Input CH13 Digital Input CH14 Digital Input CH15 Digital Input CH16 Save Load amp O Cc 3 f go D a Q fe 3 o D lt O 0 2 6 Pin Description Digital input Channel 3 Relay 4 common Digital input Channel 2 Relay4 Normal Close Digital input Channel 1 Relay4 Normal Open Digital input Channel 0 Relay 3 common The isolated side power input MAX 30V Relay3 Normal Close N C Not connected Relay3 Normal Open N C Not connected Relay 2 common N C The isolated side ground Relay2 Normal Open DC 10 30V Input DC 10 30V Relay 1 common GND Power Ground 3 Install TRP C28H Hardware Relay1 Normal Open STEP1 Connect power source with TRP C28H the PWR LED will blinking STEP2 Connect TRP C28H with network by
26. t any driver Trycom Checksum setting Disable Enable TRP ASCII command used bit checksum Power On Mode Output 0000 FFFF Digital output state when TRP C28H Boot Save ON Mode Output 0000 FFFF Digital output state when watchdog enable Digital Output Status Display last stored in the memory of the digital output state Digital Input Status This feature is only available to TRP C26H and TRP C28H Display last stored in the memory of the digital input state Digital Input CH1 CH16 Display last stored in the memory of the digital input counter value This feature is only available to TRP C26H and TRP C28H Submit Save the setting value to memory Save Save the setting value to external log file Load Load the setting value to external log file Upgrade Upgrade the TRP C28H firmware 4 4 Using the WEB Server mode The Web Server can be used to configure the TRP C28H from any web browser software such as I E In Internet Explorer type the IP Address of the TRP C28H into the address field and press the Enter key The following window will appear Example If TRP C28H s IP is 192 168 1 1 Please Input the 192 168 1 1 then enters at web address the web page will appear 11 Modbus TCP Module TRP C28H Setting 4 5 TRPCOM Test Utility TRP C28H Isolated 4 DI and 4 AC Relay Wess l TE E The TRPCOM test utility may help to use the debugging program development phase the user ca
27. tained in connection automatically regardless of any party the power to re open or network disconnection to ensure normal transmission product application are as follows Pair Mode i TRP C28H 4 DI e and 4 AC Relay 1 I I Fire detector Counter Counter 1 0 Switch d TRP C28H 4 DI e and 4 AC Rela y e se Alarm 37 7 1 Parameter setting example Perform DSM utility to change the parameters TRP C28H server parameter setting PUIRYCOM DSM 4 7 TRP Ethernet Series DSM IPC TRP C37 C37M C24H C26H C28H DSM Setting Setting i l 0 SM Function Search IP Search Device Setup Web Browser Restore Reboot Upgrade UML aL Device Status List Device Name MAC Address IP Status 1 TRP C28H 00 0E C6 00 00 9D Disable 192 168 1 1 502 Master Connected Device setaa i x Network Setting Serial Port Modbus Setting Device Name Re MAC Address pooEce0D Netmask 255 255 255 0 E DaS i Gateway psies o Server Master Liseaine IF 192 168 1 1 DNS C Data listening port 502 Transmit Timer 10 C ClientSlave Heart Beat Disb UID Range ClientSlave IP Address Port ea Dist z o To E pooo p TCP Keep Alive Po z E po ig p pooo po New Password ee P i p pooo pmi Firmware Version pe i E poao p Data Packet Type Management Packet Type p To E 00 00 po a connect IV Bro
28. tion Power Link 8 CH D I O LED indicator DIN Rail and panel mount support Dual power input select from screw terminal or DC Jack 1 2 Specification Power Input Voltage DC 10V to 30V Protocol TRP ASCII and Modbus RTU ASCIl Input channel 16 digital input channels with counter Input digital input counter 0 65535 Input optical isolation 3750 Vrms Input logical level 0 1V max Input logical level 1 4 0V 30V Output channel 4 channel power reply outputs Relay type 2 Form A RL1 RL2 2 Form C RL3 RL4 Contact ratting 5A 30V DC 5A 120V AC 5A 250V AC Relay surge strength 4000V Relay operating time 3mS Relay operating life 2 X 10 7 Communication interface Ethernet RJ45 Configuration mode Device Manager WEB settings Matching remote control with another TRP C28H Heart Beat TCP Port sent string every 5 seconds TCP Maximum Connection 1 16 Module ID 1 255 Connection type Screw terminal for maximum AWG 12 wire Power supply Screw terminal or external DC adapter Power consumption 320mA 12V Operating environment 0 to 50 C Storage temperature 10 to 70 C Humidity 10 90 Non condensing Dimension 151mm X 75mm X 26mm Weight 395g 2 Hardware Description 2 1 Panel layout Screw Terminal TRP C28H 4 D l and 4AC Relay Modbus TCP Module Factory 151mm 4111 MM wires eeesenseeseseneeeeeesneerenanee Converter Series DC Jack
29. tual COM utility support multi language please select which language do you need Step3 Click OK button and select VSP run as Client support Server Device 26 Step5 Run VCOMM exe then click right button select New Virtual COM Virtual Serial VSPM run as Client support Server Device Ver3 16 Manager Config Minimize VSPM About Exit Edit Virtual COM Delete Virtual COM Minimize SPM Manager Device Config UpdateState Step6 Select Select Serial Port and input TRP C28H IP and port then press OK TCP IP virtual serial param Serial COM5 Remote Server IP 192 168 1 1 m Remote Server PORT 4000 Mepmode Cient H Step7 If Virtual Com setting success the display will appear bellow Step8 Run TRPCOM utility then select virtual com port make a TRP C28H command If in VCOMM s configuration select Boot with windows the virtual com will Auto connection when windows start 27 eP Boston ani FF Init VSP when Stat IV Clear YSP when Start T Ignore used VSP when exit IV Eanbled Device Scaner Process priority Nomal Thread priority Noma GUI default mode Normal x Data refresh interval X Cancel TRP C28H in use the Virtual com mode the default data format is 9600 N 8 1 this mode is not allowed to change Fo TRPCOM Test Utility Terminal Command Input Send Command 1100010 Response 01 01
30. wer on safe mode status V P Power on V S Safe mode a eee o fee Response IIDOL CHK cr L DO7 DO0 description ID CHK cr Command Invalid EX Send Command 014P Read Power on output status Response 0107 Command valid EX Send Command 014S Read save mode output status Response 0108 Command valid 24 5 19 Set the digital output status Power on Save Mode status Syntax Save the current digital output is save or power on mode V V P Power on V S Safe mode Response lID CHK cr Command valid ID CHK cr Command Invalid EX Send Command 010A07 Digital output Send Command 015P Save Power on Send Command 014P Read Power on Response 0107 25 6 Modbus RTU ASCII Communication Protocol For more modbus RTU ASCII protocol specification please download from http www modbus org website Obtain more modbus TCP instruction test we recommend user can be downloaded from the following Web site Modbus Poll Test utility http www modbustools com Modbusscan Test utility http Avww win tech com html modbus1 htm User can use the virtual com program with TRPCOM exe for Modbus RTU test these programs can be found in our directory of the CD Install the Virtual COM Step 1 Insert the TRP Serial CD and find the TRP C28H folder Step 2 Click Vcomm exe icon then install Virtual COM utility The Vir

Download Pdf Manuals

image

Related Search

Related Contents

OccuSwitch DALI User Manual  ListNPFlowStatus user manual after NABS release 13.3  Sunbeam BT6700 User's Manual  Wireless Laser Mouse VGP-WMS30 Vor dem  Organización del Computador II  MX848600A  Techsolo TC-G15 computer case  Chapter 4 Chrysler Testing - Snap-on  Manuel Storebox pour les administrateurs  JVC HR-A34U User's Manual  

Copyright © All rights reserved.
Failed to retrieve file