Trycom Technology TRP-C24H User manual

TRP-C24H
16 channels isolated digital output
(Open Collector) Modbus TCP module.
User’s Manual
Printed Sep. 2014 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.

2
1. Introduction
The TRP-C24H is an Isolated open collector digital outputs Modbus TCP Module, It provides 16 channels output
open collector signal (100mA) to driven your devices on network, It supports 3 communication Protocols, TRP-ASCII,
Modbus RTU / ASCII, It can be easy and convenient to use application supports Modbus.
Software engineers can use the TRP-ASCII or Modbus RTU/ASCII command set quickly and easily integrated into
the self-development program, such as Microsoft VB, VC...
The TRP-C24H built-in independent IP, WEB-browsing more convenient to rewrite the configuration and collect
information through computers, tablet computers, smart phones, will be available!
The TRP-C24H built-in watchdog Hardware 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.
The TRP-C24H can TRP-C26H, 16 remote control directly, do not need to run the software and equipment.
When TRP-C24H and TRP-C26H are paired, they can support 16 channels remote control does not require any
drivers and software support.
The TRP-C24H is 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.
IO status can be set in the boot.
WEB PAGE can be directly output and 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 output signal with 3750Vrms isolation protection.
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-Correction.
Power/Link/16 CH DO 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/ASCII.
Digital output maximum voltage:+30V.
Digital output maximum current: 100mA.
Digital output isolation: 3750Vrms.
Communication interface: Ethernet RJ45.

3
Configuration mode: Trycom Device Manager, WEB settings.
Matching remote control: with TRP-C26H.
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 240mA/12V.
Operating environment: 0 to 50℃.
Storage temperature:. -10 to 70℃.
Humidity: 10~90% Non-condensing.
Dimension: 151mm X 75mm X 26mm .
Weight: 395g .
2. Hardware Description
2-1. Panel layout
Notice: The Module provides two type power inputs, optional DC-JACK or Screw Terminal input, not to two used
together!
2-2. Block Diagram
PWR LED: Blinking is ready.
LINK LED: RJ-45 cable connection and data active.
D0~DF LED: Each digital status indication.
DC Jack: Power Input DC +10V to +30V, Please use the 5.5*2.1mm DC JACK.

4
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

5
2-5. Screw Terminal Pin assignment Description
2-6. Block Diagram
2-7. Pin Description
DO5 Digital output Channel 5 DOF Digital output Channel F
DO4 Digital output Channel 4 DOE Digital output Channel E
DO3 Digital output Channel 3 DOD Digital output Channel D
DO2 Digital output Channel 2 DOC Digital output Channel C
DO1 Digital output Channel 1 DOB Digital output Channel B
DO0 Digital output Channel 0 DOA Digital output Channel A
EXT.PWR The isolated side power input MAX.30V DO9 Digital output Channel 9

6
EXT.GND The isolated side ground DO8 Digital output Channel 8
DC 10~30V Input DC 10~30V DO7 Digital output Channel 7
GND Power Ground DO6 Digital output Channel 6
3.Install TRP-C24H Hardware
STEP1: Connect power source with TRP-C24H, the PWR LED will blinking.
STEP2: Connect TRP-C24H with netwotk by RJ45 cable.
If the cable is properly connected the “LINK” LED will light up.
*The TRP-C24H 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-C24H screw terminal wiring, such as 2-5 picture description.
4. How to configure TRP-C24H
*Please note that the computer's IP segment adjusted with TRP-C24H same section, modify the parameter values in
order to effectively store!
For example:
Computer IP is 192.168.1.xx
TRP-C24H 192.168.1.1
There are 2 ways can change the module parameter values.
A.DSM Software
B. WEB Server

7
4-1. Using DSM Utility
The DSM utility software performs several functions:
A: Searching for TRP-C24H connected to the network.
B: Displaying and changing the configuration.
C: Upgrading the TRP-C24H firmware, Refer the Firmware upgrade help file.
D: Saving and Loading Configuration from external log File or EEPROM.
4-2. Searching TRP-C24H
Once TRP-C24H is connected to the network the DSM software will search it and display it in a window by name, IP
address, Mac….Information.

8
4-3.Configuring 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.

9
Device Name:
Device server name, Maximum 10 chars.
Model Name:
TRP-C24H.
MAC Address
The TRP-C24H 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-C24H will timeout then back
to factory setting IP=192.168.1.1.
Server Listening IP
The TRP-C24H IP address.
Server Data listening port
TRP-C24H 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.

10
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 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-C24H in Server mode, adjust 1~16 TCP client host connections.
TCP Keep Alive: 1~7 /Minute
When TRP-C24H in Server or Client mode, the TRP-C24H without data over the 1~7 Min setting value,
The TRP-C24H 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-C24H 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-C24H Power On.
Save ON Mode: The digital output state when the TRP-C24H is working, Once this mode is set, the digital output
state cannot be rewritten.
Pair Mode: It can be used as a remote manual remote control, when the TRP-C24H 16 DO and TRP-C26H 16 CH
DI, TRP-C28H 4 D I/O with TRP-C28H 4 D I / O. Without any driver.
Trycom Checksum setting: Disable/Enable.
TRP-ASCII command used bit checksum.
Power On Mode Output: 0000~FFFF.
Digital output state when TRP-C24H 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.

11
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-C24H firmware.
4-4.Using the WEB Server mode
The Web Server can be used to configure the TRP-C24H from any web browser software (such as I.E).
In Internet Explorer type the IP Address of the TRP-C24H into the address field and press the Enter key. The
following window will appear:
Example:
If TRP-C24H IP is 192.168.1.1 Please Input the 192.168.1.1 then enters at web address, the web-page will
appear.

12
4-5 TRPCOM Test Utility
The TRPCOM test utility may help to use the debugging program development phase, the user can find this
software in our CD internal directory copied to the hard disk, and then directly execute TRPCOM.exe.
TRPCOM utility can automatically detect the model, it will list the corresponding function key,
It helps developers to understand and control the digital state.

13
5. TRP-ASCII Communication Protocol
TRP-C24H supports three modes of communication Protocol TRP-ASCII, Modbus RTU, Modbus ASCII.
TRP-ASCII Command Protocol Description
Command Format :”Leading Code”+”ID Address”+”Command”+”CHK”+(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 0FFH.
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 :” A1“.
TRP-ASCII: ease of use TRP-ASCII integration to develop their own software, such as VB, VC .
Command List Function Description Paragraph index
%IDNNPP00DD(CHK)(cr)
Setting module configuration See 5-1
#IDPPDD (CHK)(cr) Digital Output Data See 5-2
$ID6 (CHK)(cr) Read digital input/output status See 5-3
$IDF (CHK)(cr) Read the module’s firmware version See 5-4
$IDM (CHK)(cr) Read the module’s name See 5-5
$01RS(CHK)(cr) Reset Module See 5-6
~IDONN (CHK)(cr) Change the module’s name See 5-7
~IDLEDA(CHK)(cr) Set the module’s LED operating mode
See 5-8
~IDWE (CHK)(cr) Enable watchdog See 5-9
~IDWD (CHK)(cr) Disable watchdog See 5-10
~IDWR (CHK)(cr) Read watchdog status See 5-11
~ID4V (CHK)(cr) Read power on/Safe on mode See 5-12
~ID5V (CHK)(cr) Store Power on/ Save on mode See 5-13
~**(CHK)(cr) Read Module ID and mode name See 5-14
#**(CHK)(cr) Back to factory See 5-15

14
5-1. Setting module configuration
Command
%IDNNPP00DD(CHK)(cr)
Syntax
Description
%
First leading code
ID
Address of setting module 00-FF(HEX)
NN
New address of setting from 00-FF(HEX)
PP
The Digital I/O module type define to 40
00
00
DD
Data format
CHK
Checksum
(cr)
Carriage return
Response
!ID(CHK) (cr)
Command valid
?ID (CHK)(cr)
Command Invalid
DD: Data Format
Bit 7 6 5 4 3 2 1 0
Function 0 Checksum
0:Disable
1:Enable
0 0 0 0 0 0
EX: Send command:”%0103400000”.
New ID is “03”,D I/O type is “40” ,Checksum setting disable is “00”, Response:”!01”.

15
5-2.Digital Output Data
Command #IDPPDD(CHK)(cr)
Syntax
description
# First leading code
ID Address of setting module 00-FF(HEX)
PP D I/O type
:0A/ 00 DO0~DO7 low byte data (Multi-Channel)
:0B high byte data D8-D15(Multi-Channel)
:1L/ AL: DO0~DO7 low byte data (Single-Channel)
L=0~7
:BL : high byte dataD8-D15(Single-Channel)
L=0~7
DD DD:00~FF (Milti-Channel) DD:00 or 01 (Single-Channel)
CHK Checksum
(cr) Carriage return
Response >(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 :”#010A12”…..Data=”12”:DO0~DO7=“10000100”…1=Output Enable.
Response:”>”……. Command valid.
EX: Send command:”#010B34”…..Data=”34”:DO8~DO15=“110000010” …1=Output Enable.
Response:”>”……. Command valid.
EX: Send command:”#01000G”…Data=“0G”…….Data error!.
Response:”?0”…….Parameter error! .
*Single-Channel mode( Output control for one BIT)
EX: Send command:”#011001”….. Data=”01”:DO0=“1”….1=Output Enable.
Response:”>”……. Command valid.
Send command:”#011201”….. Data=“01”:DO2=“1”. ..1=Output Enable.
Response:”>”……. Command valid.
Send command:#01B301……Data=“00”:DO11=“1”... 1=Output Enable.
Response:”>”……..Command valid.

16
5-3.Read digital input/output status
Command
$ID6(CHK)(cr)
Syntax
description
$
First leading code
ID
Address of setting module 00-FF(HEX)
6
Read digital output status
CHK
Checksum
(cr)
Carriage return
Response
!IDLLHH(CHK)(cr)
LL=DO0~DO7 status, HH=DO8~DO15 status.
?ID(CHK) (cr)
Command Invalid
EX: Send command:$016…….Read digital output status .
Response:”!011234”…….DO1,DO5,DO8,DO9 Output Enable.
5-4. Read firmware version
Command $IDF(CHK)(cr)
Syntax
description
$ First leading code
ID Address of setting module 00-FF(HEX)
F Command for reading module’s version
CHK Checksum
(cr) Carriage return
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 the TRP-C24H’s version.
Response:”!01C24H090113”……. The TRP-C24H’s version date is “01/09/2013”.

17
5-5. Read the module’s name
Command
$IDM(CHK)(cr)
Syntax
description
$
First leading code
ID
Address of setting module 00-FF(HEX)
M
Reading module’s name
CHK
Checksum
(cr)
Carriage return
Response
!IDNNNNNNNNN(CHK)(cr)
NNNNNN :The chars from 1~9 chars
?ID(CHK)(cr)
Command Invalid
EX: Send command:$01M…Read the TRP-C24H’s name.
Response:”!01TRPC24H”……. The module’s name is “TRPC24H”.
5-6. Reset Module
Command $IDRS(CHK)(cr)
Syntax
description
$ First leading code
ID Address of setting module 00-FF(HEX)
RS Reset Module
(cr) Carriage return
Response !ID (CHK)(cr) Command valid
?ID(CHK)(cr) Command Invalid
EX: Send Command:”$01RS”
Response:” !01”……. . Command valid!

18
5-7. Change Module ‘s name
Command ~IDONN(CHK)(cr)
Syntax
description
~ First leading code
ID Address of setting module 00-FF(HEX)
O Change Module Name
NN NN : 1~9 characters char
(cr) Carriage return
Response !ID (CHK)(cr) Command valid
?ID(CHK)(cr) Command Invalid
EX: Send Command:”~01O123456789”…Change Name.
Response:” !01”……. . Command valid!
Send command:$01M…Read the TRP-C24H’s name.
Response:”!01123456789”……. The module’s name is “TRPC24H”.
5-8. Set LED operating mode
Command ~IDLEDA(CHK)(cr)
Syntax description
~ First leading code
ID Address of setting module 00-FF(HEX)
LED Set the module’s LED operating mode
A A=1 Turn off all LEDS, when Output Enable= ON.
A=0 Turn on all LEDS, when Output Enable= OFF.
CHK Checksum
(cr) 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.

19
5-9 Enable Watchdog
Command ~IDWE(CHK)(cr)
Syntax
description
~ First leading code
ID Address of setting module 00-FF(HEX)
WE Watchdog function
CHK Checksum
(cr) Carriage return
Response !ID(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-10 Disable Watchdog
Command ~IDWD(CHK)(cr)
Syntax
description
~ First leading code
ID Address of setting module 00-FF(HEX)
WD Disable Watchdog
(cr) Carriage return
Response !ID (CHK)(cr) Command valid
?ID(CHK)(cr) Command Invalid
EX: Send Command:”~01WD”…Watchdog Disable.
Response:” !01”……. . Command valid!

20
5-11 Read Watchdog State
Command ~IDWR(CHK)(cr)
Syntax
description
~ First leading code
ID Address of setting module 00-FF(HEX)
WR Read Watchdog State
(cr) Carriage return
Response !IDWN (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-12 Read Power on/Safe Mode
Command ~ID4V(CHK)(cr)
Syntax
description
~ First leading code
ID Address of setting module 00-FF(HEX)
4 Read power on/safe mode status
V V=P: Power on
V=S: Safe mode
CHK Checksum
(cr) Carriage return
Response !IDLLHH (CHK)(cr) HH:DO15~DO8
LL:DO7~DO0
?ID(CHK)(cr) Command Invalid
EX: Send Command:~014P……….Read Power on output status.
.. Response:” !011234”……. . Command valid.
Table of contents
Other Trycom Technology Control Unit manuals
Popular Control Unit manuals by other brands

Velleman
Velleman VSC1 user manual

Kofloc
Kofloc 6600 instruction manual

SMC Networks
SMC Networks VM1000 Series Operation manual

SCT
SCT RC4-E4P Series Application guide

Rockwell Automation
Rockwell Automation Allen-Bradley XM-124 installation instructions

Bardiani
Bardiani J-GIOTTO TOP Instruction, use and maintenance manual