Home

TRP-C24 User`s Manual Digital I/O Module By RS485

image

Contents

1. read the TRP C24 s name Response 01TRYCOM The TRP C24 s name is TRYCOM 12 2 Set the module s LED operating mode DLEDA CHK cr First leading code Address of setting module 00 FF HEX Set the module s LED operating mode syntax A 0 Turn off all LEDS when logic 1 ON description A 1 Turn on all LEDS when logic 1 OFF on n Response IID CHK cr Command valid ID CHK cr Command Invalid EX Send command 01LEDO Turn off all LED when logic 1 ON Response 01 Command valid 12 Digital O Module By RS485 Communication TRP C24 User s Manual 13 1 Enable watchdog and set the timeout value IDWENN CHK cr En pounou un CA panno Syntax NN Set the watchdog time NN 00 FF One Unit 0 1 Sec description FF MAX 25 5 Sec Response D CHK cr Command valid ID CHK cr Command Invalid EX 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 flashing before timeout if host send the watchdog will re counted When the module is in safe mode any digital output command are invalid you will get the response IDWE which means the system is in safe mode you can t change output status Reset and power fail will not affect watchdog mode 13 2 Disable watchdog IDWD CHK cr
2. DOO 1 Response Command valid Send command 011201 Data 01 DO2 1 Response Command valid Send command 01B301 Data 00 DO11 1 Response gt Command valid Digital I O Module By RS485 Communication TRP C24 User s Manual 9 1 Read digital input output status ID6 CHK cr fs do pan io aatss stn nada on re Ret itt cuts onn EX Send command 016 Read digital output status Response 01C345 DO15 DO8 11000011 DO7 DO0 01000101 9 2 Read the module s configuration 1D2 CHK cr soo T OO C Response IIDPPBBDD CHK cr Command valid PP Digital I O type 40 BB Baud rate DD Data format See data format table Module model BIT 2 0 000 TRP C28 001 TRP C24 010 TRP C26 a format table LA dd con Checksum O Disable 1 Enable EX Send command 012 Read configuration Response 01400641 DIO type 40 Baud Rate 9600 See 7 2 Data format 41 Checksum Enable Module model 1 TRP C24 See Data format table 9 Digital I O Module By RS485 Communication TRP C24 User s Manual 10 1 Reset the module SRSC soo o doue on mw haeso sonno noae orrn OO Response OCHE nell EX Send command 01RS Reset TRP C24 Response 01 eeeuee Have been reset Reset will clear all digital output status 10 2 Read the module s name IDM CHK cr
3. EN T ponn CA Dena Co hon Syntax return description Response ID en Cr Command valid ID CHK cr Command Invalid EX Send Command 01WD Watchdog disable Response 01 Command valid System LED will stop flashing 13 Digital I O Module By RS485 Communication TRP C24 User s Manual 14 1 Read watchdog timeout value IDWR CHK cr En donan on CA ress of sing mae OE d ipti Response IIDWANN CHK cr W watchdog IID CHK cr A E watchdog enable D watchdog disable or safe mode NN watchdog timeout value ID CHK cr Command Invalid EX Send Command 01WR Read watchdog timeout value Response 01WDOF Command valid set the watchdog timeout is OF 1 6 Sec 14 2 System stand by Host OK CY do on Syntax cr Carriage return description eee Watchdog Watchdog Watchdog Enable Timeout Disable NN A Safe Mode Digital Output Invalid Before watchdog timeout Send the Host ok NN Watchdog timeout value If watchdog is in enable send the Host Ok before watchdog timeout B the watchdog will re count PWR LED will flashing after watchdog timeout 1A Digital I O Module By RS485 Communication TRP C24 User s Manual 15 1 Read power on safe value ID4V CHK cr En pomon un CA Pen Syntax V V P Power On description V S Safe value cr Carriage return Response IDHHLL CHK cr HH DO1
4. so o pna n oo n Response IIDNNNNNN CHK cr NNNNNN The chars from 1 6 chars ID CHK cr Command Invalid EX Send command 01M Read the TRP C24 s name Response 01TRPC24 The module s name is TRPC24 Syntax description 10 Digital O Module By RS485 Communication TRP C24 User s Manual 11 1 Read the module s firmware version mam sooo oo i remos CA Dano OOO Response IIDMODMMYY CHK cr MOD The module s model MM Release Month YY Release Year ID CHK cr Command Invalid EX Send command 01F Read the TRP C24 s version Response 01C240605 The TRP CQ4 s version date is 06 2005 11 2 Read reset status ID5 CHKXcr sooo oo i remo m eo orrn OOOO Response IIDS CHK cr S 1 has been reset S 0 not been reset ID CHK cr Command Invalid EX Send command 015 Read the TRP C24 s reset status Response 011 The TRP C24 has been reset If the module is system halt or detect abnormal voltage the module will restart and reset the flag to 1 11 Digital O Module By RS485 Communication TRP C24 User s Manual 12 1 Change the module s name IDONN CHK cr En donan on CA asst sting aus OFFER fo oman rrr TR C24s nape Response IDEA DCHA EX Send command 01OTRYCOM Change the TRP C24 s name become to TRYCOM Response 01 Command valid Then send the command 01M
5. 5 DO8 LL DO7 DOO HD CHK EX Send Command 014S Read safe mode digital output status Response 01080F Command valid safe mode digital output status is 080F 15 2 Save exiting digital output status to power on or safe mode e N Address of setting module 00 FF HEX 5 Save the current digital output is save or power on Syntax mode V description V P Power On V S Safe value Response IID CHK cr Command valid ID CHK cr Command Invalid EX Send Command 010AOF Digital output DO7 DOO 0000 1111 Response 01 Command valid Then Send Command 015P Set the digital output for power on After power fail or reset the module will load current 15 Digital I O Module By RS485 Communication TRP C24 User s Manual 16 1 Save existing digital input status Co oo Syntax Carriage return description Response No Response EX Send Command Save current digital linput output status of all modules on line 16 2 Read synchronized data ID4 CHK cr S Firstleadingcode oS CE desorption Response AHHLLOO CHK cr Command valid A 1 Have been send A 0 Have been read HH DO15 DOS output status LL DO7 DOO output status Before send this command do not send the command a gt acl EX Send Command Save current digital IO status All modules on line Then send command 014 Read synchroniz
6. Max 30V DC for DO Isolation DOO DO9 channel output connector TRP C24 16 CH Isolated Digital Output Open Collector Module DOO DO1 DO2 DO3 DO4 DOS DO6 DO7 oe ENSM DO0 DO15 channel status LED Indictor Power or Watchdog RS485 flow LED Indictor Power Input From 10 30V DC RS485 interface T OOOO O n DO10 DO15 channel output connector H IE E N a E n n System configuration and hardware self test switch DC Voltage Input From 10V 30V DC jack connector 0 5 2 1 mm plug Use in RS485 interface along with bellowing TRP converter family TRP CO6 RS232 to RS422 485 optical isolated converter TRP CO7 RS422 485 optical isolated repeater TRP COGE RS232 to RS422 485 converter TRP CO8 USB to RS232 422 485 optical isolated converter TRP C36 TCP IP to RS232 422 485 optical isolated converter TRP C39_ Multi mode fiber to RS232 422 485 optical isolated converter Digital I O Module By RS485 Communication TRP C24 User s Manual Block Diagram EEPROM VCC Photocoupler a LED pi T Display Data a RS485 Interface Vs a Power GND Regulator Wire Connection For Digital Input EXT PWR O x T EXT COM O 8 3 Q DO9 Os AN OFS 708 OS oe 2 DO7 wan A O8 2 ae DO6 O8 gt a DO5 Ora Grgo mz s g DO2 4 Digital I O Module By RS485 Communication TRP C24 User s Manual System Configuration Switch 1 1 Power off the module then adjust Switch 1 to ON 2 Power on t
7. TRP C24 User s Manual Introductions The TRP C24 an RS 485 isolated open collector output module provides 16 digital outputs channels Each channel features screw terminals for the convenience connection of field signals as well as LED to indicate channel status The inside photocoupler design may entirely prevent your module and devices from the damage when irregularly high power voltage occur TRP C24 can be configured and conduct self test by outside dip switch without complicated setting and connection Build in a full set of command watch dog auto reset function the module can be bi directionally remote controlled by PC and operating at different baud rates with different data formats by RS485 protocol Features gt All communication s command are perform in ASCII gt Programmable in virtually any high level language gt 16 CH isolated digital output with common power gt Baud Rate can be set from 1200 to 115 2K bps gt High surge current suppressors varistor for RS485 interface gt LED display to indicate output channels and 485 communication status gt Dual Watchdog for hardware reset circuit and host operating status gt External switch for hardware self test and module s configuration gt Digital output Isolation with power source 2500 Vrms gt Support screw terminal and standard external DC power adaptor input gt Power input from 10V to 30V DC Specification gt Output Channel 16 channels isola
8. ed data Response 1010E00 1 Have been send the the DO status valid is O10E After Read synchronized data A value is 1 Read again become to 0 16 Digital I O Module By RS485 Communication TRP C24 User s Manual How to use the utility for windows The TRPCOM utility can help you to test the module s data transmit and receive digital input and output communication status Figure 1 m TRPCOM Termial Scan Loop TCPAP Help System status setting Com port setting OK com a600 Default Checksum Selects Exit C Enable t Disable Description In the settings menu be sure to select the com port number and baud rate from the drop down menus and selecting your Checksum Selects Enable or Disable before continuing m TRPCOM 1 The Setting function is for user to initiate the software to set the Com Port from 1 to 8 and setting the Baud Rate from 1200 to 19200 Checksum Enable or Disable See Figure 1 The Module Factory Setting is 9600 and ID Is 01 Checksum is Disable Figure 2 setting Termia Scan Loop TCPAP Hem Terminal Command Input Send Command 2 The Terminal function is for user to input command user can control all of Response module s digital input output status or wait to get module response status See Figure 2 Description Se Checksum an Command Checksum send the m
9. ee151 15 1 ID5V CHK cr Save existing digital output status to power on or on 15 2 safe mode Save existing digital input status Save existing digital input status existing digital input status See161 16 1 ID4 Read synchronized data n 16 2 Safe mode Digital output when Watchdog enable Power on mode Digital output when power on Watchdog The watchdog is designed to monitor the module s output status to prevent the module from communication problem or system halt due to unexpected situation User can save the module output value by using the command ID5V if the power is fails Digital I O Module By RS485 Communication TRP C24 User s Manual 7 1 Set the module s configuration Must adjust the system configuration Switch 1 to ON See Page 5 IDNNPPBBDD CHK cr First leading code Address of setting module 00 FF HEX New address of setting from 00 FF HEX The Digital I O module type define to 40 syntax D ipti escription Set new baud rate See 7 2 Data format See 7 3 Yo Checksum QO z Response IID CHK cr Command valid ID CHK cr Command Invalid 7 2 Baud rate BB setting Ena a GGG 1200 2400 4800 9600 19200 38400 57600 115200 7 3 Data DD format setting so An e ce bhpeh Carriage return Bit T Function Checksum O Disable 1 Enable EX Send command Yo0001400600 If you turn on the system setting switch the ID will be
10. he module The module will be reset to ID 00 baud rate 9600 checksum Disable 3 Send command to configure TRP C24 4 Power off the module then adjust the Switch to OFF Self test Switch 2 1 Power off the module then adjust switch 2 to ON 2 Power on the module The module start self testing PWR and digital input LED start lighting one by one power relay activating NO lt 3 Power off the module to stop self testing Command Description Default setting ID Address 01 Baud Rate 9600 DIO Mode Type 40 Checksum Disable 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 OFFH Example Send the command is SO6M Sum of string is 0 G M 24H 3CH 4D A1H The checksum and CHK A1 ka Response string with checksum is A1 Digital I O Module By RS485 Communication TRP C24 User s Manual Command List Command List Function Description Page Index IDNNPPBBDD CHk cr Set the module s configuration See 7 1 7 3 102 GH SIDRS CHK SOM GH SDF CHV IDONN CHK cr Change the module s name See 12 1 ID4V CHK cr Read Read power on safe vale 0 Read power on safe vale 0 value S
11. odule 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 17 TRP C24 User s Manual Figure 3 TRPCOM Salles Setting Termial Y Torr Munsnnnnnnnnnnak D Name Description Check Sum Scan The Module Status Com ILYOO FF Baud Rate Checksum See En Description If you dont know current on line module s ID only click Scan to get ID If you don t know current on line module s whole configeration click the Scan Unknown setting the scan function can auto detect all existing on line module s detailed confiquation status If you don t know the Baud rate ID or Checksum you may select Scan to find the module s setting 18 Digital I O Module By RS485 Communication Release Date 07 18 2005
12. reset to OO New ID is 01 D I O type is 40 Bard Rate 9600 Checksum setting disable is OO Response 01 EX Send command 0003400540 New ID 03 Bard Rate 4800 Checksum Enable Response 03 We offer the utility to guide you to configure the module the utility also with on line RS485 modules scanning and searching function You can find the utility in the CD which is bundled in TRP C26 standard package See the page 17 Digital I O Module By RS485 Communication TRP C24 User s Manual 8 1 Digital output data IDPPFD CHK cr First leading code Address of setting module 00 FF HEX D I O type 0A or 00 low byte data DO D7 Multi Channel Syntax 0B high byte data D8 D15 Multi Channel description 1L or AL low byte data DO D7 Single Channel L 0 7 BL high byte dataD8 D15 Single Channel L 0 7 DD Sent the data from OO FF CHK Checksum Carriage return cr IDCHKI 7D CHA Multi Channel mode Output control for one BYTE EX Send command 010A0F Data 0F DO0 DO7 11110000 Response gt Command valid EX Send command 010B20 Data 26 DO8 DO15 01100100 Response Command valid EX Send command 01000G Data OG Data error Response 01 Parameter error Single Channel mode Output control for one BIT EX Send command 011001 Data O1
13. ted digital output Open collector gt Output isolation voltage 2500Vrms gt Maximum loading voltage 30V gt Maximum loading current sink 100mA gt Distance RS485 up to 4000ft 1250meters gt Baud Rate 1200 2400 4800 9600 19 2K 38 4K 57 6K 115 2K bps gt Communication type RS485 differential 2 half duplex wires gt Format Asynchronous data with any combination of bits parity stop gt RS 485 and input output connector Industrial plug in screw terminal gt Power input DC 10 30V gt Power consumption 2 1W gt Operating Temperature 20 to 55 C gt Humidity 10 90 non condensing Digital I O Module By RS485 Communication TRP C24 User s Manual Communication Wiring DIGITAL IN LED PWR RELAY OUT LED DIO Dit Di2 DIS e RL1RL2 RLSRL4 RX a in ie R5422 RS232 COM PORT RS485 TRP CO6 Industrial RS232 to TRP C60 4 CH ISOLATED DI INPUT RS422 485 Converter AND 4 CH RELAY OUTPUT CH TA a TW RX 2 Rxiz2 GND 5 gt gun DATA Ap DATA 10 30V DC Warning Don t connect external DC Jack and screw terminal DC input at the same time Using the voltage 18 DC above when often high loading Pin Definitions External isolated voltage input Max 30V DC Ground of external isolated Voltage input n un non en Digital I O Module By RS485 Communication TRP C24 User s Manual Function Description a ae External Voltage Input

Download Pdf Manuals

image

Related Search

Related Contents

Thank you for selecting our product LX-SO-98B  SHAKE-5  この取扱説明書をよくお読みのうえ正しく お使いください  JVC RX-884PBK User's Manual  PDF: Product manual  - Nähmaschine  Sitecom Firewire Cable  INSECTICIDE 101  Timex Ironman Run Trainer 1.0 GPS Quick Start Guide  N22 Owner`s Manual  

Copyright © All rights reserved.
Failed to retrieve file