Home
PDF RS232 Commands User`s Manual
Contents
1. Seaich siring e Hex C Dec C Oct C Bin Asell ad be Kaes EE W Fomattiedview I Descrption AX imer 6 5 2006 1 34 43 PM COM port 3 Baud rate 9600bps Parity None Data bit 8 Stop bit 1 Handshaking None Simulating TX data format Hex RX data format Hex COM Port Opened RX TX DSR CTS a DOCO G Al OTRG ATS BARKS COM Post 3 Status igi Ready COM Port Settings 9600 n 8 1 Handshaking None Auto Responce OFF Way 2 From Programmable buttons Download and unzip the Pelco DP zip file then open Pelco D 232 file from 232Analyzer program When you click on the first button Lef the command will be sent out after 500ms wie Modes Comms View Controls Tools New Device Profile Shift F 1 Open Existing Device Profile Shift F2 Save Device Profile As Shift F3 Save Log F2 Open Log Fa Exit Programmable buttons hex format e 1 16 17 32 Cet Rig Up Dow Zot Zo For Fo Lef Rig Up Dow Zo Z0 For Fo 5 Have fun playing with 232Analyzer and Pelco D cameras The programmable buttons 1 to 8 will trigger the camera s action continuously To stop you have to send out the Stop command FF 01 00 00 00 00 01 or 255 01 00 00 00 00 01 Decimal format to the camera Pelco D 232 file allows you to send two 2 commands with the click of a button e g when you click on Lef button on the second row button no 9 the camera will pan left for 500ms and then stop
2. ELE 57 58 Result Data format Re Search string S High order byt Low order byt te e D C Oct Bin ASCII E Ge S S i V Formatted view Description RX timer Clear Note Append low order byte first in Modbus ASCII Chart User Notes CO ort 1 Bauc e 9 p00bps Parity None Data bit 8 Stop bit 1 Handshaking None Ctl Hex Dec Oct asc Jo S ication mode EK i g 0 0 0 E i 1 1 Bee L ata format Dec GE be ve ae He de ve He He HEH COM Port Opened ARKAKARAAK D 4 4 4 EOT E 5 5 5 ENQ F 6 6 6 ACK ee T EDLG pH A ANu G H 7 7 BEL 98 H 8 8 10 BS 9 9 11 HT Sa A 10 12 LF KE B 11 13 VT L C 12 14 FF M D 13 15 CR ae a ee ee EKA Port Opened N E 14 16 GU F 15 17 SI Data sent P 10 16 20 DLE 0 11 17 21 DC R 12 18 22 DCH S 13 19 23 DCH T 14 20 24 DC4 u 15 21 25 NAK VM 16 22 26 SYN J Maer d Sai SR S RX TX DSR CTS DCD Al DIR ATS BRKS COM Port Settings 9600 n 8 1 Handshaking None Auto Response OFF NUM 2010 37 24 F 09 02 i EGT fam 2 Windows Eg Microsoft Exc BB 232 Analyzer Microsoft Pow u ARAB sh D LCD will perform adjustments as you SEND different command sets DI Note Be sure to enter the complete sets of command or error occurs Command Set Functions Hexadecimal 0 1 48 65 48 69 48 65 02 48 48 49 50 48 48 48 48 03 119 13 5 1 48 65 48 69 48 65 02 48 48 49 50 48 48 49 57 03 127 13 50 1 48
3. RS232 Commands Users Manual i Tech Company LLC TOLL FREE 888 483 2418 EMAIL info itechicd com e WEB www ilechLCD com TECH COMPANY RS232 Commands User s Manual PC Control of the LCD e When the RS232 port is installed the LCD can be controlled from the PC via RS232 port e When the connection between the RS232 and PC has been established you can make various adjustments from your PC such as select between input signals adjust volume contrast and many more Complete command sets can be found below Testing PC to LCD Communication procedure Connect the RS232 DB9 interface cable to PC e Install 232analyzer program which was included in your LCD package Note 232analyzer is a freeware we use only for testing purpose feel free to use your own Software Run the 232analyzer program Please refer to attached Appendix for 232analyzer user s guide rage F d a A Ar Ea a H eu aoad nalyzer D Click on the open CIRCLEwhich is located on the top left size of the screen see RED ARROW to connect ZS 232 Analyzer RS232 485 422 Terminal Monitor FREE Yersion Devicel 232 File Modes Comms View Controls Tools Help es e Macto 1 gt EN Checksu Opera Communication mode Debugging Simulating A Send commands Append LI after each byte of command code e g 65 66 Data f t TX GE anni nl E e Dec C Oct C Bin ASCII Operator C And Or vir Not Rev
4. Repeat 0x Interval 0 ms Date sent Signal and command sending was comoleted Step 2 Step1B Ma Cros Sending signals Signal None Command 41 54 49 32 0 4 Delay Interval 0 ms Date recervved Date sent Signal and command sending was completed AX TX DSR CTS DCO Al DTRG ATS BARKS COM Port 3 Status i Ready COM Pot Settings 19200 8 1 Handshaking None Auto Response OFF Applications Serial port monitor RS232 RS485 RS422 TTL monitor Serial port monitor is one of the most important features available in the 232Analyzer software It allows data monitoring in Hexadecimal Decimal Octal Binary or ASCII format All data flows are logged in the Communication Window which can be saved as txt doc or rtf files for further analysis Not just designed to monitor RS 232 communication with the right type of serial converters such as CommEront s CVT 485 1 CVT 485 422 1 TTL 232 1 and TTL33 232 1 232Analyzer can also be used to monitor RS 485 RS 422 and TTL communications All monitoring modes available in 232Analyzer software come with timestamps in milliseconds Serial Port Monitor RS232 Monitor RS232 Sniffer RS232 Tester 1 With direction indication bal I he me J P T COM 1 Hi A ef OM 7 btm 4 CBL to 1A Passive Cable RS 232 Monitoring with direction amp line state indication By using a Full Duplex monitor cable CBL Full 1A the 232Analyz
5. This is because button no 9 is linked to button 17 which stores the Stop command Note Programmable buttons 9 to 16 will trigger the camera s action for 500ms and will stop automatically You may program it in such a way that the camera pans left for 500ms stops tilts up for 1000ms stops tilts down for 500ms and then pans right continuously All sorts of actions can be done through Programmable Buttons or Macros functions Ref http www commfront com CommFront Home htm
6. bit order Frequently used commands Ze OOh OFh 10h 1Fh Programmable buttons hex format e 1 16 17 32 zi x Mod CRC 16 Modbus NUL SOH STX ETX EOT ENG ACK BEL AT1 AT2 AT3 AT4 ATS ATG AT ATS Input operands e g 10 11 BS HT Up VT FF CR GU SI 1 52 53 54 55 56 S 8 ee Result Data format Fi Search string iah li Se Ze r Bi b High order byte Low order byte Dec ae Zu E V Formatted view Description RX timer Clear Note Append low order byte first in Modbus ASCII Chart User Notes 0 0 0 0 NUL A D 1 1 SOH Bo 2 2 2 STX ZC J3 3 3 ETX D J4 4 4 EOT E 5 5 5 ENQ F E E ACK G 7 7 7 BEL Ho 8 d 10 BS d 9 11 HT JA 10 12 LF KO B 11 13 VT 1 IC 12 14 FF Mo D 13 15 CR eer COM Port Opened N E 14 16 dr O F 15 17 sI P 10 16 20 DLE oO 1 17 21 DCI mm 12 18 22 DC2 S13 19 23 DC3 T 14 20 24 DC4 U 15 21 25 NAK vo 16 22 26 SIN nman oe Se SZ RX TX DSR CTS DCD Al DTR ATS BRK 8 COM Port Settings 9600 n 8 1 Handshaking None Auto Response OFF NUM 2010 3 24 F 08 57 Ei EGT Se RS232 COMMAND fm Datasheet amp SPEC Microsoft Excel 24 7 232Anslyzer RS232 8 57 IX When the CIRCLE closed you will see a COM Port Opened message atthe lower right screen with details of your LCD communication setting The RS232 port is connected and ready to test LCD Communication Setting Baud Rate Data Leng
7. flowing between the RS485 devices but also the data direction Connect 485 and 485 of the serial devices to A and B of the converter respectively Switch to Full Duplex monitoring mode in the 232Analyzer software Note It is important to know that the CVT 485 1 and CVT 485 422 1 are port powered converters although they can accept external 5VDC power supply it will damage the converter if the polarity is reversed or the voltage is 5 higher than 5VDC so be very careful when using the external 5VDC power adapter List of hardware accessories required 1 1x CBL Full 1A Full duplex RS232 monitor control cable 2 1x USB 232A 1 USB to dual RS232 converter 3 2x CVT 485 1 Port powered RS232 to RS485 converter 4 2x PWR 5V_US 2 or 2x PWR 5V_UK 2 SVDC power adapter 5 2x GCH 9 MM 9pin Male Male Gender Changer 2 Without direction indication RS 485 Monitoring without direction indication Use a RS 232 RS 485 converter CVT 485 1 or CVT 485_ 422 1 to capture the data flowing between the RS 485 serial devices Connect 485 and 485 of the serial devices to A and B of the converter respectively Note No data direction will be indicated in the 232Analyzer software List of hardware accessories required 1 1x CVT 485 1 Port powered RS232 to RS485 converter 2 1x USB 232 1 USB to single RS232 converter Serial Port Monitor RS422 Monitor RS422 Sniffer RS422 Tester With direction indication Gi
8. or signal you can program automatically output data and or signals Total of 16 numbers Programmable Macros Send sets of data signals response to different types of incoming data signals with timer and sequence Total 8 x 8 Steps and 8 x 8 Sub routines Virtual LEDs View RS 232 line state and control RTS and DTR Break communication if necessary Data Logging All communications are logged and can be saved into txt file for future analysis Checksum Calculator AND OR XOR NOT Reverse Bit Order x MOD CRC 16 for Modbus etc Notation Converter Convert data from one notation to another ASCII chart All 256 ASCII codes in different formats Device Profile Settings for different devices can be saved individually Flexible screen adjustment User preferences settings Color settings Startup Actions Exit Actions etc Customizable colors for Background TX RX1 and RX2 2nd COM port channel when using Full Duplex monitoring Monitoring mode This mode allows you to monitor see communications between two devices such as a touch panel s controller AMX Crestron and projector It is useful for programmers to understand the controlled device s protocol or sometimes perform reverse engineering since some devices do not come with their own protocol manual Nlonitering Communication mode Mongormg Full duplex Data format IR Hed C Dec C Oct Bin Asci Search sting 6 30 2006 2 35 11 PM
9. please download and install the MDAC _TYP EXE file from Microsoft s website e f you encounter the problem of Data mis display please download and install the Service Pack or reinstall the driver of your USB RS 232 converter if you are using Virtual COM port Please note that 232Analyzer might not work with other remote control programs such as VNC program e If you encounter the problem of Error 380 please uninstall the program delete the Comm Front folder in C Program files and then reinstall the application OpenD6B Error X Error Number 380 Description Invalid property value Program will be ended If the problem persists please reinstall the program Minimum recommended hardware requirements Pentium Il or above 128MB RAM one or more available COM ports USB to RS 232 converter also supported XGA 1024x768 or above monitor and graphics card Software features Two operating modes Debugging Simulating and Monitoring Support both Half Duplex and Full Duplex monitoring Timestamps for the data captured in Monitoring mode send Receive data in all formats Hexadecimal Decimal Octal Binary and ASCII string send Receive signals RTS DTR CTS DSR DCD and RI COM 1 to 16 Frequently Used Keys 00h to 1Fh Total of 32 numbers Programmable Buttons Send command strings signals or data sequence with one single button Total of 32 numbers Programmable Auto Response Upon receiving certain data
10. 65 48 69 48 65 02 48 48 49 50 48 48 51 50 03 118 13 75 1 48 65 48 69 48 65 02 48 48 49 50 48 48 52 59 03 120 13 100 1 48 65 48 69 48 65 02 48 48 49 50 48 48 54 52 03 117 13 Pictwremode 5800 1 48 65 48 69 48 65 02 48 48 53 52 48 48 52 55 3 118 13 6500 1 48 65 48 69 48 65 02 48 48 53 52 48 48 53 52 3 116 13 9300 1 48 65 48 69 48 65 02 48 48 53 52 48 48 54 57 3 122 13 SRGB 1 48 65 48 69 48 65 02 48 48 53 52 48 48 54 65 3 2 13 USER 1 48 65 48 69 48 65 02 48 48 53 52 48 48 54 66 3 1 13 owe VGA 1 48 65 48 69 48 65 02 48 48 54 48 48 48 48 49 3 115 13 HDMI 1 48 65 48 69 48 65 02 48 48 54 48 48 48 48 51 3 113 13 DVI 1 48 65 48 69 48 65 02 48 48 54 48 48 48 48 52 3 118 13 POWER SWITCH OFF 1 48 65 48 69 48 65 02 48 48 50 48 48 48 48 48 3 118 13 ON 1 48 65 48 69 48 65 02 48 48 50 48 48 48 48 49 3 119 13 1 48 65 48 69 48 65 02 48 48 54 50 48 48 48 48 03 112 13 e 1 48 65 48 69 48 65 02 48 48 54 50 48 48 48 56 03 120 13 14 1 48 65 48 69 48 65 02 48 48 54 50 48 48 48 62 03 126 13 24 1 48 65 48 69 48 65 02 48 48 54 50 48 48 49 56 03 121 13 31 100 1 48 65 48 69 48 65 02 48 48 54 50 48 48 49 63 03 126 13 ee Se 0 1 48 65 48 69 48 65 02 48 48 49 48 48 48 48 48 03 117 13 25 1 48 65 48 69 48 65 02 48 48 49 48 48 48 49 57 03 125 13 50 1 48 65 48 69 48 65 02 48 48 49 48 48 48 51 50 03 116 13 15 1 48 65 48 69 48 65 02 48 48 49 48 48 48 52 59 03 122 13 100 1 48 65 48 69 48 65 02 48 48 49 48 48 48 54 52 03 119 13 Red Gain 0 1 4
11. D cameras in five minutes time Notes 1 Before you can control any Pelco D cameras you need to prepare the following items A PC running 232Analyzer program ARS 232 port or USB RS 232 converter A RS 232 RS 485 converter 2 Make sure your COM port settings in the 232Analyzer program matches with camera s settings Pelco D cameras use No parity 8 Data bits and 1 Stop bit baud rate depends on your camera setting Click here to download the 232Analyzer FREE Version Click here to download Pelco D P device profiles 1 The format of Pelco D Pelco D consists of 7 hexadecimal bytes all byte data used in this page are in Hexadecimal format unless otherwise noted Panicle Command 1 Command 2 Data1 Data2 Checksum Address e Byte 1 Sync the synchronization byte fixed to FF e Byte 2 Camera Address logical address of the camera being controlled Address 1 is 01 e Byte 3 amp 4 Command 1 and 2 are shown below e Byte 5 Data 1 pan speed range from 00 stop to 3F high speed and FF for turbo speed the maximum pan speed that the device can go e Byte 6 Data 2 tilt soeed range from 00 stop to 3F maximum speed e Byte 7 Checksum sum of bytes excluding the synchronization byte then modulo 100 Decimal code 256 Command 1 and 2 details WG dG a ld Camera lris Iris Focus Zoom Zoom l Pan Pan Example Command 2 Pan Left 0 0000100 which equals to 04 both hex
12. FF 01 00 04 3F 00 44 Pan Right at medium speed FF 01 00 02 20 00 23 Tilt Up at high speed FF 01 00 08 3F 00 48 Tilt Down at medium speed FF 01 00 10 20 00 31 Stop all actions Pan Tilt Zoom Iris etc FF 01 00 00 00 00 01 Note there will be no response from cameras in Pelco D protocol 4 How to use 232Analyzer to control the Pelco D cameras Suppose you are controlling camera address no 1 to pan left at medium speed command string FF 01 00 04 20 00 25 Way 1 From the command pane choose Hex as the TX data format and key in the command string FF 01 00 04 20 00 25 in the input box as shown below Then click on the Send button The command will then be sent out immediately and you will notice the camera panning left continuously Note If you are using the FREE Version choose Dec as TX data format and key in 299 1 0 4 32 0 37 S 23 2Analyzer Registered Pelco D 232 File Modes Comms Yew Control Too Heb ki e G d Zz L Macro 1 zl Communication mode Debugging Simulating Send commands See Data format TX Append afler each byte of command code le a 65 66 e en C Deo Coa Cah Ac BEE d Delay 0 ms Repeat 0 Frequently used commands O0h OFh C 10h 1Fh Programmable buttons hex Toma e 1 16 C 17 32 NUL SOH STX ETX EOT ENQ ACK BEL Lef Rig 8s wT uF yr fe ca soj a Up Dow Zor Zo For Fo Lef Rig Up Dow Zor Zo For Fo Data format AX
13. Ze CX CH CH zl Aj CH x ef EEN a al Lag in cN Tel o N ee zf Ki ki H j gt gt gt EH L CV e CH nN COM 1 RS 422 Monitoring with direction indication By using two units of RS 232 RS 422 converters CVT 485 422 1 the 232Analyzer software can capture not only the data flowing between the RS422 devices but also the data direction Connect TX and TX of the serial devices to RX and RX of the converters for both sides of the connections Switch to Full Duplex monitoring mode in the 232Analyzer software List of hardware accessories required 1 2x CVT 485 422 1 Port powered RS232 to RS422 485 converter 2 1x USB 232A 1 USB to dual RS232 converter Serial Port Monitor TTL Monitor TTL Sniffer TTL Tester With direction indication egen TIL Out In GND TTL 232 1 OR L TIL33 232 z zm L RX COM 2 as a Been TTL 232 1 OR d TIL33 232 1 l TTL Monitoring 2 In Out GND with direction indication TTL By using a Full Duplex Monitor cable CBL Full 1A and two units of RS 232 TTL converters TTL 232 1 or TTL33 232 1 the 232Analyzer software can capture not only the data flowing between the TTL devices but also the data direction List of hardware accessories required 1 1x CBL Full 1A Full duplex RS232 monitor control cable 2 1x USB 232A 1 USB to dual RS232 converter 3 2x TTL 232 1 Port powered RS232 to TTL CMOS
14. a DCE device 2 Control a DTE device 2 B 1 halt cr Fudl Oupies Cabbie gt r Nul Modem S Converte A D D fei RS 252 Debugeing for DTE Device DTE Use a straight through cable Half or Full Duplex Monitor cable and a Null Modem converter to control a DTE device Serial Port Terminal RS485 RS422 Terminal Control Debug RS485 RS422 Devices CVT 485_422 1 TE E RS 485 422 Debugging Connect a RS 232 RS 485 RS 422 converter CVT 485 422 1 to PC s COM port to control debug RS 485 RS 422 devices Serial Port Terminal TTL Terminal Control Debug TTL Devices TTL 232 1 TTL Device TTL Debugging Connect a RS 232 TTL converter TTL 232 1 or TTL33 232 1 to PC s COM port to control debug TTL devices Applications Real world examples Pelco D Protocol Tutorial Examples RG I18 4177 Pelco D is the popular PTZ camera control protocol used in the CCTV industry Click here to visit Pelco s website This page will explain the following topics in details 1 The format of Pelco D 2 How to calculate the checksum byte by using 232Analyzer 3 Pelco D command string examples 4 How to use 232Analyzer to control the Pelco D cameras 5 Have fun playing with 232Analyzer and Pelco D cameras After reading this page and testing the camera with the 232Analyzer software you should be able to understand the ease of using the Pelco D protocol and control any Pelco
15. 48 65 02 48 48 50 51 48 48 48 48 03 117 13 d 1 48 65 48 69 48 65 02 48 48 50 51 48 48 49 52 03 112 13 100 1 48 65 48 69 48 65 02 48 48 50 5 1 48 48 54 52 03 119 13 Trouble Shooting If your monitor fails to operate correctly consult the following chart for possible solution before calling for repairs RMA The screen is not synchronized e Check if the signal cable is firmly seated in the socket e Check if the output level matches the input level of your computer e Make sure the signal timings of the computer system are within the specification of the monitor e If your computer was working with a CRT monitor you should check the current signal timing and turn off your computer before you connect the VGA Cable to this monitor e Make sure the power cord is plugged into the power outlet and into the back of the monitor e Check if the signal cable is firmly seated in the socket e Check if the Power is ON at the computer The Picture does not appear e Check if the brightness control is at the appropriate position not at the minimum The position of the screen is not in the center e Press the Auto button Adjust the image position using the Horizontal Position and or Vertical Position in OSD Main Controls The screen is too bright dark e Check if the brightness or contrast control is at the appropriate position not at the Maximum Minimum Appendix 232analyzer User s Guide Introduction 232Analyzer i
16. 5v converter or 2x TTL33 232 1 Port powered RS232 to TTL CMOS 3 3v converter Optional required if your PC doesn t come with RS232 COM port s Applications Serial port terminal Serial port terminal is one of the most important features available in the 232Analyzer software It allows you to control RS 232 devices right from your PC with various combinations of COM port settings Port Baud rate Data bit Parity Stop bit and Flow control and the Line state controls RTS and DTR Controlling a RS 232 device is just that simple no programming or technical background is required With the right type of serial converters such as CommFront s CVT 485 1 CVT 485 422 1 TTL 232 1 and TTL33 232 1 it is also possible to control other serial devices such as a RS 485 RS 422 or TTL which have different electrical signals but follow the RS 232 communication mechanism Also supported are Virtual COM ports when using USB Serial adaptors or Bluetooth Serial Port devices Virtually any kind of serial device can be controlled from the 232Analyzer including devices from Industrial SCADA PLC systems Commercial Building Automation systems Pro Sound Mixers and AV Matrix Switchers as well as CCTV cameras and Access Control systems Serial Port Terminal RS232 Terminal Control Debug RS232 Devices 1 Control a DCE device RS5 132 Debugging for DCE Device Use a straight through cable Half or Full Duplex Monitor cable to control
17. 8 65 48 69 48 65 02 48 48 49 54 48 48 48 48 03 115 13 Red Gain100 1 48 65 48 69 48 65 02 48 48 49 54 48 48 54 52 03 113 13 Red Gain255 1 48 65 48 69 48 65 02 48 48 49 54 48 48 63 63 03 115 13 Green Gain 0 1 48 65 48 69 48 65 02 48 48 49 56 48 48 48 48 03 125 13 Green Gain100 1 48 65 48 69 48 65 02 48 48 49 56 48 48 54 52 03 127 13 Green Gain255 1 48 65 48 69 48 65 02 48 48 49 56 48 48 63 63 03 125 13 Blue Gain 0 1 48 65 48 69 48 65 02 48 48 49 65 48 48 48 48 03 4 15 Blue Gain 100 1 48 65 48 69 48 65 02 48 48 49 65 48 48 54 52 03 6 13 Blue Gain 255 1 48 65 48 69 48 65 02 48 48 49 65 48 48 63 63 03 4 13 1 48 65 48 69 48 65 02 48 48 48 69 48 48 48 48 03 1 13 d 1 48 65 48 69 48 65 02 48 48 48 69 48 48 54 52 03 3 13 1 48 65 48 69 48 65 02 48 48 51 69 48 48 48 48 03 2 13 e 1 48 65 48 69 48 65 02 48 48 51 69 48 48 54 52 03 0 13 1 ON 1 48 65 48 69 48 65 02 48 48 56 68 48 48 48 49 03 9 13 O OFF 1 48 65 48 69 48 65 02 48 48 56 68 48 48 48 48 03 8 13 O full screen 1 48 65 48 69 48 65 02 48 48 50 49 48 48 48 48 03 119 13 1 Original screen 1 48 65 48 69 48 65 02 48 48 50 49 48 48 48 49 03 118 13 AUTO 1 48 65 48 69 48 65 02 48 48 50 52 48 48 48 49 03 115 13 RESET 1 48 65 48 69 48 65 02 48 48 50 53 48 48 48 49 03 114 13 1 48 65 48 69 48 65 02 48 48 50 50 48 48 48 48 03 116 13 d 1 48 65 48 69 48 65 02 48 48 50 50 48 48 49 52 03 113 13 100 1 48 65 48 69 48 65 02 48 48 50 50 48 48 54 52 03 118 13 1 48 65 48 69
18. GS Sending Data There are many ways of sending commands including the Send Command Pane Frequently Used Commands Programmable Buttons Programmable Auto Response and Programmable Macros The program allows you to send data in different notation Hexadecimal decimal octal binary or character string As illustrated below when the Send button is pressed the program will repeatedly send out the command string 41 54 49 31 D A with a 1000ms delay 1x repetition and at 500ms intervals Send commands Data fcemat TX Append sitet each byte of command code fe o 65 65 41 5445 91 DA Hex Dec f Oct Be Ascll sameeren pancake gege gt Deisy 11000 me Repeat 1 Irterval em mz Frequertly usad commands e 00h 0Fh C 10h ER Programmable buttons hex iomat e 116 C 17 32 NUL SOH STX ETX EOT ENQ acK eeL AT1 AT2 AT3 AT4 AtS aTe AT7 ATE es HT uF vt FF cA soj s s1 s2 3 se s5 sej s7 se ch D Sending Signal There are also numerous ways of sending signals From Programmable Buttons Programmable Auto Response Programmable Macros or simply by using the virtual LEDs When you click on DTR or RTS LEDs it will turn ON OFF the signal respectively The BRK LED allows you to stop the communication temporarily for 500ms RX TX DSR CTS CD Al DIR ATS BRK G Virtual LEDs Receiving Data and Signal Data and any signal received wil
19. Sg port 4 3 Baud rate 19200bps Parit Communication mode Monitonng Full duplex RAX data format Hex ee ee de ee eee aR aRKR KAR AAR EA gt 8 E Oper ed 00 02 00 140 COM 9 10 02 00 375 CC M d 4 02 00 922 COM 9 00 02 01 187 COM 4 00 02 01 750 E J pre UU OU 14 515 COM 3 wl OM 4 4 Shs 4 d Ur 02 D Ufk f CO a a a ga ol Ga G e Data Logging Debugging Simulating mode This mode allows you to control serial devices directly from your PC For example you can control a projector using this software it is useful for programmers in developing debugging their control software Frequently used command buttons programmable buttons and auto response are highly useful and convenient tools for sending or responding to the commands sent from the controlled device By using these features together even a highly complicated serial device can be easily controlled Communication mode Debugging Simulating Send commands Das formal mi Inps Ascii jeg ATIT and contici code Hex tomat e g D to be sent f ow wer ges He Dec Oct C Bn Asci Ss Zeg GIS Frequently uted coeamand e O0h OFh C 1 17 2 NUL SOH STX ETX EOT ENG AC cz c es HT uF wt fF cA s LS se Data foomat FX Search sting Bin ft AN E AE Formatted vew Descnption RX timer Cex Date sent Data recervec RX TX DSA CTS DCD Al DIRG RTS BAK
20. adecimal and decimal Some other commands 00 to 33 2 How to calculate the checksum byte by using 232Analyzer Suppose you are controlling camera 1 address 1 to pan left at high speed the command string of the first 6 bytes would be FF 01 00 04 3F 00 Step 1 Go to Checksum Calculator pane choose Hex as Operands format and as Operator Then take out the first byte FF and key in all other bytes in the Input operands box Remember to add after each byte of data You will then get the result of 44 Checksum Calculator Operands format fe Hex Dec C Oct C Bin Asell Operator C And Or C vir Not C Rev bit order f x Mod C CRC 16 Modbus Input operands e g 10 11 Result 44 Calculate Step 2 Change Operator to Mod and key in the previous result 44 and modulo parameter 100 in the Input operands box remember to add after each byte of data You will then get the result of 44 in Remainder Mod box 44 would be the result of checksum now the full string of pan left at high speed command would be FF 01 00 04 3F 00 44 Checksum Calculator Operands format fe Hex Dec C Oct C Bn Asell Operator And Or wt Not Rev bit order C C Cg O Mod C CRC 16 Modbus Input operands Teo 10 11 Ka BS ech Result 0 44 Calculate Quotient D Remainder Mod 3 Pelco D command string examples Camera Address 1 Pan Left at high speed
21. er software can capture not only the data and signals flowing between the RS232 devices but also the data direction See the screenshot here List of hardware accessories required 1 1x CBL Full 1A Full duplex RS232 monitor control cable 2 1x USB 232A 1 USB to dual RS232 converter 2 Without direction indication oma if SN bk l COM 1 we gt A fe CBL Half 1 Passive Cable RS 232 Monitoring without direction indication Together with a Half Duplex monitor cable CBL Half 1 the 232Analyzer software can capture the data flowing between the RS232 devices Note No data direction will be indicated in the 232Analyzer software List of hardware accessories required 1 1x CBL Half 1 Half duplex RS232 monitor control cable 2 1x USB 232 1 USB to single RS232 converter Serial Port Monitor RS485 Monitor RS485 Sniffer RS485 Tester 1 With direction indication CBL Full 1A gt N ul Modem bn Converter D D Li dch et a EN CVT 485 1 OR X 1 L CVT 485 10R CVT 485 422 1 a Ys d CVT 485_422 1 COM1 COM2 External 5VOC Power Supply External 5VOC Power Supply Note 2x 9 pin Male Male gender changers are required RS 485 Monitoring with direction indication By using two units of RS 232 RS 485 converters CVT 485 1 or CVT 485 422 1 and a Full Duplex monitor cable CBL Full 1A the 232Analyzer software can capture not only the data
22. l be logged into the Logging Window as shown below Data refers to the command strings that are sent to from external devices and signal refers to the line state changes The program allows you to view the incoming data in different notations Hexadecimal decimal octal binary or character string Virtual LEDs provide an easy way of Knowing the current line state Dats format RX C Hex C Dec C Ot C Bey e Ascll Search string Formatted view Description FX timer Clear 4 5 2006 7 58 02 PM COM port 3 Baud rate 19200bps Panty Even Date bit 8 Stop bit 1 Handshaking None Communication mode Debugging Simulating TX data format Hex RX data format Hex AA AA RA HR GW C 0 bd Po rt 0 p Data sent Data sent Date received Data sent D ata rece red Deta sent Data receved Programmable Buttons Programmable Buttons provide an easy way to control external devices This allows you to store command strings and signal controls into a single button with delay repeat and interval options You can also chain different buttons together so that when the first button s commands are completed it will continue to send commands that are stored in the following buttons Programmable buttons are a very useful feature as some devices need to receive a series of commands in order to perform certain tasks such as moving a camera s pan tilt head There are a total of 32 possible programmable buttons Progra
23. ls with the options of Delay Repeat and Interval There are total 8x Steps in each macro Sub Routine allows you to check the incoming data and or line state or signal then respond accordingly Three conditions are checked IF ELSE IF and ELSE There are a total of 8 Sub Routines in each macro Running Macros gt Play Shortcut key F5 l Pause Shortcut key F6 Note Macro will stop the current Step and resume on next Step if Play button is click later on Si Stop Shortcut key F7 Single Play currently selected Macro only Shortcut key F8 Continuous Play start from currently selected Macro and run until Macro 8 Shortcut key F8 a 232Analyzer Registered Device 2372 File Modes Comms Yew Controis Took Heb Helo sat d ser za rabz sl Steof a n St Communication mode Debugging Simulating Send commands Data format TX Append after each byte of command code e g 55 56 CEET DEE Send Frequently used commands e O0h O0Fh C 10h 1Fh Programmable buttons hex format e 116 C 17 32 NUL SOH STX ETX EOT ENG ACK BEL ATI AT2 Ata Ata ATS ATE AT7 ATS Bs HT LF vt fF CR soj si si s2 s3 sa s5 sef sz se Data format FX Seach sting a e Hex Dec vV Formatted view V Descaption AX timer Macro 1 rs now running Step 1 SteplA Macros Sending signals and commands Signal None Command 41 54 49 31 0 A Delay 500 ms
24. mmable buttons hex format e 1 16 17 32 Ars ota sti st2 st3 _6 7 8 E a ae Se ea EA Programmable Auto Response Programmable Auto Response provides an easy way to control external devices it allows the program to respond to certain incoming data For example when the program receives an Enquiry Code 5 it can respond with Acknowledgement Code 6 In addition to code response the program can also respond to line changes For example when the line state changes to DSR ON external device is ready for receiving data the program can send out the preset commands Programmable Auto Response is a useful feature that allows the user to communicate with the controlled device more effectively and precisely especially since some controlled devices require a response within a certain timeframe e g 500ms There are total 16 options with Auto Response Auto Response can be toggled by using the toolbar buttons below a Auto Response is currently ON click to turn OFF Auto Response is currently OFF click to turn ON Programmable Macros Programmable Macros is an advanced feature which provides an easy way for simulation and automation There are a total of 8 Macros each one consists of 8 steps and 8 sub routines Steps are the running sequence of each Macro There are two options in the Step Send Commands and or Signals or running Sub Routines Send commands and or Signals allows you to send out commands and or signa
25. s an advanced serial port analyzer which allows programmers engineers and others to control and monitor serial port RS232 RS485 RS422 TTL activities 232Analyzer supports data input and monitoring in Hexadecimal Decimal Octal Binary and ASCII formats It also allows you to change monitor RS 232 s line state RTS DTR CTS DSR DCD and RI All data and signal flows are logged in the Communication Logging Window which can be saved as txt doc or rtf files for further analysis 232Analyzer not only allows you to control monitor RS 232 s activities but with the right type of converters e g CommEront CVT 485 1 CVT 485 422 1 and TTL 232 1 you can also control monitor other serial devices such as RS 485 RS 422 and TTL Supported Operating Systems Microsoft Windows 7 Vista XP 2000 98 Possible problems and solutions e 232Analyzer requires Microsoft Windows Installer which comes as a default with Windows 7 Vista XP and 2000 However previous Operating Systems such as Windows 98 Windows ME and some Windows XP Home Edition Symptom This installation package could not be opened Contact the application vendor to verify that this is a valid Windows Installer package do not come with Windows Installer by default please download and install the Microsoft Windows Installer e For Windows 98 or ME if you encounter the problem of Error Code 430 Class does not support Automation or does not support expected interface
26. th Parity Bit Stop Bit ee DI Now you are ready to send the control command sets from your PC via Rs232 port D The LCD operates adjustments according to the received command and sends a response message to PC DI Copy the desired command and paste them into the yellow open field located on the top right side of the screen then Press SEND You will see a Data Sent message in green when you send the commands and if the specific function is working properly it will respond with a message Data Received in red as confirmation Connection Established when CIRCLE closed please see RED ARROW ZS 232 Analyzer RS232 485 422 Terminal Monitor FREE Yersion Devicel 232 File Modes Comms View Controls Tools Help be ert od D 18 macof gt Chec Calculator Communication mode Debugging Simulating Send commands z nds Oa E 3 S Data format TX Append after each byte of command code e g 65 66 fe Hex f Dec Oct f Bin ASCII Sak 1 48 65 48 69 48 65 2 48 48 53 52 49 49 54 65 3 2 13 wl Serd d Ge Dec Oct Dm ASCII Operator E Delay 10 ms Repeat 0 C And Or C xOr Not Rev bit order Frequently used commands Ze Dh DER 10h 1Fh Programmable buttons hex format f 1 16 17 32 C x Mod fe CRC 16 Modbus NUL SOH STX ETX EOT ENQ ACK BEL AT1 AT2 AT3 AT4 ATS ATG AT7 ATSB Input operands e g 10 11 BS HOW T fe al ASU SI Si sya SE S4 sia
Download Pdf Manuals
Related Search
Related Contents
Hypertec N17148NHY User's Manual CALYPSO - Handicare Bedienungsanleitung SPS24 SENCOM® PC-Software manuel complet du BLU-T - WC Japonais WC Japonais AIR-O-SWISS U7146 Istruzioni d`uso rilevatore di presenza RC Pantech G700 User's Manual Operators Guía del usuario 3 Entendendo o Software Livre Copyright © All rights reserved.
Failed to retrieve file