ASK S系列 RS232 SPEC
- 格式:doc
- 大小:195.50 KB
- 文档页数:3
干燥箱上装的通讯接口RS232与RS485的功能和区别RS232接口是1970年由电子工业协会(EIA)联合贝尔系统、调制解调器及计算机终端生产共同制定的用于串行通讯的标准。
它的全名是"数据终端设备(DTE)和数据通讯设备(DCE)之间串行二进制数据交换接口技术标准'该标准规定采纳一个25个脚的 DB25连接器,对连接器的每个引脚的信号内容加以规定,还对各种信号的电平加以规定。
DB25的串口一般只用到的管脚只有2(RXD)、3(TXD)、7(GND)这三个,随着设备的不断改进,现在DB25针很少看到了,他的是DB9的接口,DB9所用到的管脚比DB25有所变化,是2(RXD)、3(TXD)、5(GND)这三个。
因此现在都把RS232接口叫做DB9。
元器件常识:市场上把公头的接插件叫做DRXX,母头的叫DBXX,比如我们电脑上的串口,在市场上叫做DR9,不是DB9,许多人都误叫做DB9,实际上的DB9是两个把两个DR9相互连接在一起的接口。
在文章中,我把全部的串口设备接口都统一叫做RS232接口。
RS-485接口由于RS232接口标准消失较早,难免有不足之处,主要有以下四点:(1) 接口的信号电平值较高,易损坏接口电路的芯片,又由于与TTL 电平不兼容故需使用电平转换电路方能与TTL电路连接。
(2) 传输速率较低,在异步传输时,波特率为20Kbps;因此在"南方的老树51CPLD开发板'中,综合程序波特率只能采纳19200,也是这个缘由。
(3) 接口使用一根信号线和一根信号返回线而构成共地的传输形式,这种共地传输简单产生共模干扰,所以抗噪声干扰性弱。
(4) 传输距离有限,大传输距离标准值为50英尺,实际上也只能用在50米左右。
针对RS232接口的不足,于是就不断消失了一些新的接口标准,RS-485就是其中之一,它具有以下特点:1. RS-485的电气特性:规律"1'以两线间的电压差为+(26)V表示;规律"0'以两线间的电压差为-(26)V表示。
山特UPS RS232通讯协议山特电子(深圳)有限公司Hardware :BAUD RATE . . . . . . . . . . . . : 2400 bpsDATA LENGTH . . . . . . . . . : 8 bitsSTOP BIT . . . . . . . . . . . . . . : 1 bitsPARITY . . . . . . . . . . . . . . . : NONEA. COMMUNICATION PROTOCOL:(1) S tatus Inquiry :Computer : Q<cr>UPS: UPS status data stream ,such as MMM.MNNN.NPPP.PQQQRR.RS.SSTT.TU<cr> UPS status data stream :(a) Start byte : ((b) I/P voltage : MMM.MM is an integer number ranging from 0 to 9.The unit is Volt.(c) I/P fault voltage : NNN.NN is an integer number ranging from 0 to 9.The unit is Volt.** For ON LINE UPS **Its purpose is to identify a short duration utility fail which cause ON line UPS to go toBattery mode. If this occurs input voltage will appear normal at query prior to fail and will stillappear normal at next query. The I/P fault voltage will hold utility fail voltage till next query.After query, the I/P voltage will be same as I/P voltage until next utility fail occurs.(d) O/P voltage : PPP.PP is an integer number ranging from 0 to 9.The unit is Volt.(e) O/P load : QQQFor Off-line UPS:QQQ is a percent of maximum VA, not an absolute value.For On-line UPS:QQQ is maximum of W% or VA%.VA% is a percent of maximum V A.W% is a percent of maximum real power.(f) I/P frequency : RR.RR is an integer number ranging from 0 to 9.The unit is HZ.(g) Battery voltage: SS.S or S.SSS is an integer number ranging from 0 to 9.For on-line units battery voltage/cell is provided in the form S.SS .For standby units actualbattery voltage is provided in the form SS.S .UPS type in UPS status will determine whichreading was obtained.(h) Temperature : TT.TT is an integer number ranging from 0 to 9.The unit is degree of centigrade.(i) UPS Status : <U><U> is one byte of binary information such as<b7b6b5b4b3b2b1b0>.Where <bn> is a binary number "0" or "1".UPS status :Bit Remarks7 1 : Utility Fail ( Immediate )6 1 : Battery Low5 1 : Bypass/Boost Active4 1 : UPS Failed3 1 : UPS Type is Standby (0 is On-line)2 1 : Test in Progress1 1 : Shutdown Active0 Reserved (always 0)(j) Stop Byte: <cr>Example : Computer : Q<cr>UPS: (208.4140.0208.403459.92.0535.0U<cr> Let U is 00110000Means : I/P voltage is 208.4V.I/P fault voltage is 140.0V.O/P voltage is 208.4V.O/P load is 34 %.I/P frequency is 59.9 HZ.Battery voltage is 2.05V.Temperature is 35.0 degrees of centigrade.UPS type is on-line , UPS failed, Bypass active , and Shutdown not active .(2) Status Inquiry :Computer : Q1<cr>UPS: UPS status data stream ,such as (MMM.M NNN.N PPP.P QQQ RR.R S.SS TT.T b7b6b5b4b3b2b1b0<cr>The binary code is modified to 8 bytes ASCII code for avoiding the binary code confused with ASCII control code. Between each data stream add one space for the data separation.Example :Computer : Q1<cr>UPS: (208.4 140.0 208.4 034 59.9 2.05 35.0 00110000<cr>Means : I/P voltage is 208.4V.I/P fault voltage is 140.0V.O/P voltage is 208.4V.O/P load is 34 % .I/P frequency is 59.9 HZ.Battery voltage is 2.05V.Temperature is 35.0 degrees of centigrade.UPS type is on-line , UPS failed, Bypass active , and Shutdown not active .Shut Down Command :Computer : S<n><cr>UPS: Shut UPS output off in <n> minutes.(a) The UPS output will be off in <n> minutes, evenif the utility is present.(b) But if the battery under occur before <n> minutes, the output is turned off immediately.(c) After UPS shut down, the controller of UPS monitors the utility. If the utility is there, the UPSwill waiting for 10 seconds and connect the utility to output.(d) <n> is a number ranging from .2,.3,...,01,02,.., to 10.For example : S.3<cr> --- shut output off in (.3) minutes。
AppliTopic: V Installatio First, inclu controllerTo Include• Plug • Pres • Sele • Onc The RS23network. O Z-wave deFrom the1. Select2. Select3. Select t 5. Place a from the s Note : Pre associatio 6. Select s a. YouOnce ass module.Associatio you have you will no associate save the aRepeat thNote: Becas reverse dimmer/sw Connecti UART Se HyperTer P Message Must use Message Input strinication izia RF + RS on: ude the serial will assign a e: g RS232 mod ss and hold L ect “Include N ce included yo 32 Module be Once your de evices you wo Primary cont Network (VRC RS232 Setup the serial inte a check mark serial interface essing 4ON fro on list. set associatio r remote will ociation has b on to the RS2finished asso ot see any ch d (report its s associations. his step any ti cause the ass e association)witch in order vity:ettings: 9600 rminal: No Fl roperties -> A format:uppercase le start: “>” ng is limited to Note232 Serial In interface into node ID to yo ule into powe ED button un ode” in your p ou will be aske comes a seco evice has bee ould like to co roller:CPG) or Diag perface from th in the box ne erom the VRCP ons (Press [C begin to proc been complet 232 module is ociation to the heck marks ne status) to the Once finishe me you add n sociation infor ) if you are un r to resume as Baud rate, 8 ow ControlASCII Setup->etters o 80 characte nterface ASC o your Vizia R our Serial Inte er outlet.ntil it begins to primary contr ed to name y ondary contro n included yo ontrol from the gnostics (RF I e list (Press [ext to all devic PG will select CENTER] butto ess these ass ted your devic s different tha e RS232 mod ext to the nod RS232 modu d your RS232new devices t rmation is sen nable to reach ssociation, no Data bits, No >”Send line e rs CII Programm RF + Network erface.o flash Amber roller to begin our RS232 M oller in your V ou will have to e serial interfa Installer Tool)[CENTER] bu ces you would all devices in on in VRCPG sociations ces and contr n association ule if you acc des. This is no le, select RS22 module will to your netwo nt to the devic h a device yo ot the RS232 o Parity, 1 Sto nds with line ming. Your primar r.inclusion.Module. Vizia RF + o associate al ace.) utton in VRCP d like controlle n yourG) roller will be a ns to 4-button cess the contr ormal. If you a 232 Setup an be ready to u ork. ces and not th ou will need to module. op bitfeeds” and “E ry llPG)edable commun or 1 button c roller associa add a node a nd check each use. he RS232 mo o move closer Echo typed chH P RS23P V icate to the R controllers. On tion menu ag nd want it to b h node again odule (referre r to the haracters loca HANA0412111 2.0Date: 04/12/2011 Author: N. AronovVizia RF + Product: 32 Serial InterAffected:VRC0P-1LW RS232 nce gain be and ed to ally”e ID:1 er: :rface sCommands: The following is the list of commands understood by the VRC0P serial interface: CLASS COMMAND NOMENCLATUREDESCRIPTIONControl CommandsN NODEUse "N" followed by device number(s) whencontrolling a single or group of nodes.(Example: >N2,3ON)ON ONThe ON command turns ON a single or group ofdevices associated to the RS232 module.OFF OFFThe OFF command turns OFF a single or groupof devices associated to the RS232 module.L LEVELSets the light level of a dimmer (0-100%)(Example: >N2L50)GR GROUP RECALLControl 1 or more stored nodes at the same time.The group must first be stored using the GroupStore command(Example: >GR1>ON )(The control command must be entered on aseparate line)S SCENEUse the Scene command to call a scene that wasprogrammed with the Program Scene command.(Example >N2,3S2)DI DIMDim your light using the DIM command(Example: >N2DI)BR BRIGHTBrighten your light using the Bright command(Example: >N2BR)ST STOPThe stop command stops dim/bright light levelchanges. This command needs 1-2 millisecondsbetween DI and BR commands.(Example: >N2ST)SE SENDThe SEND will send any Z-Wave message. Thiscommand is generally used for thermostatcontrol, and other non lighting control commands.(Example: >N10SE70,2)SS SECURE SENDThe SECURE SEND will send any Z-Wavemessage with a secure encryption. Thiscommand is used for security devices such asdoor locks.(Note: Must have a Vizia RF + VRC0P with a +3on the back label and use the RF Installer tool asprimary)(Example: >N10SS98,1,255)Feedback CommandsREQUESTRequest information for various commands(Example: >?N2)UP UPDATEThe Update command gives you the status of asingle or multiple devices activated in yournetwork.(Example: >N2UP)FI FINDFind an unknown Node ID of a device.(Example: >FI4,17,0,1)SPCOMMUNICATIONSPEEDChanges the communication speed/baud rate.(Note: Must have a Vizia RF + VRC0P with a +3on the back label)(Example: >SP1)Program Commands GS GROUP STOREProgram a group of devices using the group storecommand (Note: this is like an Area in ourhandheld remote)(Example: >N2,3,4GS1)PS PROGRAM SCENEProgramming scenes easily allows a user to sendscene commands within a Vizia RF network.(Example: >N2,3,4PS(2-255)AP APPENDWhen you exceed the max of 80 characters to aline, use the AP (append) command to extendyour RS232 Command.(Example: >N2,3,4…..>AP,25,26,ON)NN NODE NAMENode name command allows you to Name yourdevice up to 16 Characters.(Example: >N4NN1BEDROOM DIMMER)NL NODE LOCATIONNode Location commands will allow you to nameyour device location up to 16 characters.(Example: >N4NL1MASTER BEDROOM)DE DEFAULTSending the default command will reset thedevice to factory default. Send DE commandwhile pressing and holding the LED button on theRS232 module.IN INCLUDE/EXCLUDEPuts RS232 module into include or excludemode.AB ABORTAbort command will cancel any previoustransmissions sent from serial interface.RO ROUTESAssigns and deletes routes for the routing slaves(Example: >RO2,4)Control Commands:o Start Association (N): Associate single or group of nodes (not stored in memory) >N2; Associate Node 2 to the Serial interface>N2,5,10; Associate Nodes 2, 5 and 10 to the Serial interface>N; Removes current association (no nodes assigned)o On/Off (ON/OFF): Turn node or group of nodes ON or OFF>N2ON; Turn node 2 ON>N2,5,10OFF; Turn nodes 2, 5 and 10 OFF>N,ON; Broadcasts to all nearby nodes to turn ONo Set Level (L): Assign a light level for a dimming node or group>N2L50; Set light level to 50% for node 2>N2,5,10L50; Set light level to 50% for nodes 2, 5 and 10o Group Recall (GR): Control a group of nodes that was stored to non-volatile memory with the “GS” command>GR1>ON; Turn ON all nodes in group 1>GR1>L50; Set the light level of all nodes in group 1 to 50%o Scene (S): Activate a scene stored with the “PS” command. Requires Scene #(1-255) and Fade rate (1-255) parameters>N2,3S2; Activate scene 2 (default fade rate is assumed)>GR1>S2,255; Activate scene 2 with default fade rates for group 1o Dim/Bright (DI/BR): Dims/Brightens the light from current level for node or a group >N2DI; Dims the light level for node 2 to 0%>N2,5,10BR; Brightens the light level for nodes 2, 5, and 10 to 99%>GR1>BR; Brightens the light level for group 1 to 99%o Stop (ST): Stops the light from changing the level for the node or group (used to stop the DI/BR command operation)>N2,5,10ST; Stops light from changing level for nodes 2, 5 and 10>GR1>ST; Stops light from changing level for group 1o Send (SE): To provide control to nodes different from lighting control nodes the send command can be used. This command sends any Z-wave command over RF. The first parameter is the command class, the second is the command and the rest of the command is the parameters of the appropriate command class. Refer to the Zensys command class specification for theinformation on the command classes available for Z-Wave system. (See Appendix A-C) >N5SE69,2; Requests thermostat fan state from thermostat node 5>N5SE68,1,1; Set thermostat node 5 fan mode to 1: Will turn the manual fan operation on.>N6SE49,4; Requests the level of a multi-level sensor node 6 (i.e. temperature sensor)o Secure Send (SS): To provide control to secure encrypted nodes such as door locks the Secure Send command is used. This command sends any Z-wave command with the security key over RF. The first parameter is the command class, the second is the command and the rest of thecommand is the parameters of the appropriate command class. Refer to the Zensys command class specification for the information on the command classes available for Z-Wave system.(See Appendix H-I)Note: Must have a Vizia RF + VRC0P with a +3 on the back label and RF Installer Tool asprimary to use this command.>N6SS98,1,0; Unlocks the door lock node 6>N6SS98,1,255; Locks the door lock node 6>N6SS128,2; Requests the battery level for door lock node 6Feedback Commands:o Request (?): Provides status information for a node or group of nodes>?N2; Request light level information from node 2Note: Update command is preferred>N2?Syyy; Request scene #yyy information from node 2If yyy=0; current scene information will be returned.Reports back with:<N002:044,003,###,lll,fff### = scene numberlll = light levelfff = fade rate>N2?NN or >N2?NL; Requests node name or location for node 2>?FIbbb,ggg,sss,iii; Request node ID<Fxxx - Reports back with the node ID, where xxx is a node ID for the device.o Update (UP): After each control command is sent, the sending node is responsible for updating information to all other controllers associated to the same nodes. To keep the system up-to-date, the update command should be appended to all control commands. It is recommended to wait a few seconds between the end of a control command and the start of the update command.>N1,10,13ON>UPo Find (FI): This command is used to find the network node ID for a Z-wave node with certain basic, generic and specific classes. It may be used during the installation procedure as well as to check if a node is in the routing table.>FIbbb,ggg,sss,iiibbb = basic class number (mandatory field)ggg = generic class number (mandatory field) (switch = 16, dimmer = 17, thermostat = 8)sss = specific class number (assumed ‘0’ if field is missing)iii = instance number for the device (assumed ‘1’ if field is missing)If any of the class numbers (bbb,ggg,sss) is 0, the command will search for any device.The instance # (1-232) will reference the instance in the routing table for certain devices.Zensys specifies only 4 valid basic classes:1 = Controller2 = Static Controller3 = Slave4 = Routing SlaveFor generic and specific classes refer to the Zensys device class specification.After searching, the device found will be added to the current association.Afterward, you can store the current group or send any message using this group.o Communication Speed (SP): This command allows to switch between specific baud rates for the serial communication.Note: Must have a Vizia RF + VRC0P with a +3 on the back label to use this command>SPxwhere x can range from 0 to 4 corresponding to the specified baud rate;0 = 9600 (default)1 = 192002 = 384003 = 576004 = 115200Note: After exclusion, reset to default, or changing the speed over RF, the Serial interface will continue to communicate with the speed it had before, but after cycling power it will return to the default, 9600.Program Commands:o Group Store (GS): Store current association list in non-volatile memory>N2,5,10GS1; Stored node 2, 5 and 10 to group 1o Program Scene (PS): Store current association light levels to a scene>N2,5,10PS2, 255; Programs current levels as scene 2 with default fade rate for nodes 2, 5and 10o Node Name/Location (NN/NL): provides access to programming node name and location (allowed up to 16 characters)>NxxxNNdyyy..yyy; Assigns the network name for the node>NxxxNLdyyy..yyy; Assigns the network location for the nodexxx = node #d = character set;0 = standard ASCII1 = extended ASCII (recommended)2 = Unicode UTFIGyyy..yyy = ASCII string up to 16 characterso Append (AP): Extends the ASCII command when it is over 80 characters>N2,3,4,…xxx,; Association list is full for this line>APyyy,zzzON; The append command allows you to continue with the command on the nextlineo Default (DE): Defaults the Serial Interface when user is holding the button downo Include/Exclude (IN): Places the Serial Interface in Programming mode for inclusion or exclusion from the networko Abort (AB): Cancels any previous transmission sent from the Serial Interfaceo Routes (RO): To provide routing slaves with valid routes (when nodes can’t reach each other directly) “RO” command is used. Routing slave can have up to 5 nodes assign return routes.When adding new routes, it is recommended to delete all existing routes first.>RO2,0; delete all routes for the routing slave node 2.>RO2,10; setup up to 4 valid routes for node 2 to node 10.Serial interface replies:A Serial interface replies back every command sent over the serial port. It also replies back after finishing every RF transmission and when adding/removing itself to a Z-wave network. The serial interface receives messages addressed to it and forwards the messages that are not processed by the controller itself to the serial output.Receive command replies:After receiving commands over the serial port, the serial interface will check for any commands and then process them. If the sent command was correct and the device has enough resources to implement the command, the interface responds with : <E000. – No error message.If any error has been detected or some of the resources requested are unavailable, the node responds with <Exxx, where xxx is the error number. Possible errors are listed below:0 – No error1 – Wrong start of the string symbol2 – Input buffer overflow3 – Cannot start RF transmission. All buffers are taken4 – Cannot start RF transmission because previous one has not finished5 – Unrecognized command6 – Attempt to send the new buffer over RS232 before previous one had been processed7 – The send Message does not have data fields specified8 – Cannot stop SUC mode. Node is SUC9 – EEPROM is busy, can’t store group information10 – No devices with specified properties have been foundReplies after implementing RF transmission commands:After implementing the requested transmission, the serial interface will reply with the string: <Xyyy;where yyy is the error codeyyy = 000 if transmission was successfulyyy = 002 if an error was detected during transmissionAfter receiving <Xyyy; the next command can be sent.APPENDIXA. Multilevel Sensor: Below is an example of getting information from a Multilevel Sensor (i.e. a temperature sensor used by thermostats). Assume that sensor node ID is 5>N5SE49,4 <- Send multilevel sensor GET<E000 <- RS interface processed the input<X000 <- Appropriate message has been sent correctly<N005:049,005,001,009,075 <- REPORT from the sensor:049 – Command class005 – Command report001 – The value sent is temperature009 – The value represented by 1 byte and in deg. F075 – Temperature 75FB. Control Thermostat Fan: Assume that thermostat node is 5>N5SE68,1,1 <- Set thermostat fan mode 1: turns the manual fan operation on.<E000 <- RS interface processed the input<X000 <- Appropriate message has been sent correctly>N5SE68,2 <- Request thermostat fan mode<E000 <- RS interface processed the input<X000 <- Appropriate message has been sent correctly<N005:068,003,001 <- Thermostat report indicate mode 1>N5SE68,1,0 <- Set thermostat fan mode 0: The manual fan operation goes off<E000 <- RS interface processed the input<X000 <- Appropriate message has been sent correctly>N5SE68,2 <- Request thermostat fan mode<E000 <- RS interface processed the input<X000 <- Appropriate message has been sent correctly<N005:068,003,000 <- Thermostat report indicate mode 1C. Set Thermostat Set Point: Assume that thermostat node is 5>N4SE67,1,2,9,80 <- Set thermostat cooling set point to 80F<E000<X000>N4SE67,2,2 <- Request thermostat set point information<E000<X000<N004:067,003,002,009,080 <- Thermostat report with set point 80F.Page 10 of 11 Application NoteD. Dimmer control: Assume dimmer node is node 2.>N2L50UP <- Set light level at 50% and request update<E000 <- Request processed<X000 <- Request has been sent<N002:044,003,000,050 <- Node 2 sends back current level as result of update.>N2OFF,UP <- Turn dimmer OFF sequence.<E000 <- Request processed<X000 <- Request has been sent<N002:044,003,000,000 <- Response shows light level of 0% or OFFE. Updates with Few Nodes: Assume node 8 is the dimmer and node 4 is the thermostat>N8,4UP <- Instead of performing Request use Update<E000 <- Request processed<N008:044,003,000,050 <- Response from dimmer<N004:064,003,003 <- Response from thermostatF. If node ID is unknown the find node ID command can be used.Emptygroupcurrent<->N,>FI0,8 SE67,1,2,9,80 <- Set the first thermostat cooling set point to 80FprocessedRequest<E000<-<X000 <- Request has been sent>GS100 <- Store the thermostat as a group 100>?FI0,8 <- Find out what thermostat node ID:that the thermostat has node ID=4reported<F004 <-InterfaceG. Setup Association Tables for Node: To setup an association table for the node use association class. Use the Send command to send the association table. (Use Secure Send for security devices) >SE133,1, Group#, xxx,yyy… <- Add nodes to association listGroup # = 1 for dimmers/switches, 1 – 4 for the Controller buttonsxxx,yyy = nodes added to the node association list for the switch/dimmer or controller button> SE133,4, Group#, node1, node2…<- Remove nodes from association list>N2SE133,1,1,7 <- Add node 7 to the association table for the dimmer node 2Page 11 of 11 Application Note H. Control a Door Lock: Assume door lock is node 5.Note: You must have a Vizia RF + VRC0P with a +3 on the back label to perform securitycommands.>N5SS98,1,255 <- Lock the doorRequestProcessed<-<E000ProcessedRequest<E000<-<N005:152,128,029,161,157,021,204,149,024,057 <- Security nonce messagebeensenthas<E000Request<-thedoorUnlock>N5SS98,1,0 <-RequestProcessed<-<E000RequestProcessed <E000<-<N005:152,128,176,098,227,056,039,001,095,155 <- Security nonce messagesentbeenhas<-Request<X000I. Request Door Lock Battery Level: Assume door lock is node 5.Note: You must have a Vizia RF + VRC0P with a +3 on the back label to perform securitycommands.>N5SS128,2 <- Request door lock DC battery levelRequestProcessed<-<E000ProcessedRequest<-<E000<N005:152,128,158,087,040,031,223,110,171,002 <- Security nonce messagebeenhassent<-Request<X000<N005:152,064 <- Security command class<n005:000,128,003,070 <- Door Lock DC battery level is at 70%(Security responses have a lowercase “n” when displayed)Leviton disclaims liability for any damages, including but not limited to personal injury, property damageor theft, sustained in connection with the locking and/or unlocking of, or control of doors.。
rs232、rs422与rs485接口标准及应用技术RS232、RS422和RS485是常用的串行通信接口标准,它们在工控领域非常常见。
本文将对RS232、RS422和RS485的接口标准及应用技术进行详细阐述。
一、RS232接口标准及应用技术:RS232是一种传统的串行通信接口标准,最初用于连接计算机和外部设备,它采用了一对差分信号线(TXD和RXD)实现全双工通信。
RS232使用的电平范围是:逻辑“0”为-3V至-15V之间的电压,逻辑“1”为+3V至+15V之间的电压。
RS232接口标准适用于短距离通信,典型的应用包括计算机串口通信、调制解调器、打印机等。
RS232接口的优点是简单易用,缺点是距离短、速率低、抗干扰能力较差。
二、RS422接口标准及应用技术:RS422是一种差分信号传输技术,采用了两对差分信号线(TXD+/-和RXD+/-)实现全双工通信。
RS422使用的电平范围是:逻辑“0”为-6V至-15V之间的电压,逻辑“1”为+6V至+15V之间的电压。
RS422接口标准适用于中距离通信,典型的应用包括长距离数字通信、工控现场总线、远程监控等。
RS422接口的优点是支持多节点通信、抗干扰能力较强,缺点是速率较低。
三、RS485接口标准及应用技术:RS485也是一种差分信号传输技术,采用了半双工通信方式,可以支持多个节点进行通信。
RS485使用的电平范围与RS422相同。
RS485接口标准适用于长距离通信,典型的应用包括监控系统、楼宇自控系统、安防系统等。
它可以支持多个节点串联,最大传输距离可达1200米。
RS485接口的优点是速率比RS422更高、支持多节点通信,缺点是抗干扰能力较差。
RS232、RS422和RS485的选择应根据具体应用场景来决定。
如果通信距离短、速率低,并且抗干扰要求不高,可以选择RS232接口。
如果通信距离中等、需要全双工通信,并且抗干扰能力较强,可以选择RS422接口。
ÎÍóîíî ر-¬ ̧°»-To select an RS-232 host type, scan one of the following bar codes.*Standard RS-232ICL RS-232Wincor-Nixdorf RS-232 Mode AWincor-Nixdorf RS-232 Mode BOlivetti ORS4500OmronÎÍóîíî ر-¬ ̧°»- ø½±²¬·²«»¼÷OPOS/JPOSFujitsu RS-232Þ¿«¼ כּBaud rate is the number of bits of data transmitted per second. Set the scanner’s baud rate to match the baud rate setting of the host device. Otherwise, data may not reach the host device or may reach it in distorted form.Baud Rate 600Baud Rate 1200Baud Rate 2400Þ¿«¼ כּ ø½±²¬·²«»¼÷Baud Rate 4800*Baud Rate 9600Baud Rate 19,200Baud Rate 38,400п®·¬§A parity check bit is the most significant bit of each ASCII coded character. Select the parity type according to hostdevice requirements.Select Odd parity to set the parity bit value to 0 or 1, based on data, to ensure that an odd number of 1 bits are contained in the coded character.OddSelect Even parity to set the parity bit value to 0 or 1, based on data, to ensure that an even number of 1 bits are contained in the coded character.EvenSelect Mark parity and the parity bit is always 1.Markп®·¬§ ø½±²¬·²«»¼÷Select Space parity and the parity bit is always 0.SpaceSelect None when no parity bit is required.*Noneݸ»½µ λ½»·ª» Û®®±®-Select whether or not to check the parity, framing, and overrun of received characters. The parity value of received characters is verified against the parity parameter selected above.*Check For Received Errors (Enable)Do Not Check For Received Errors (Disable)ͬ±° Þ·¬ Í»´»½¬The stop bit(s) at the end of each transmitted character marks the end of transmission of one character and prepares the receiving device for the next character in the serial data stream. The number of stop bits selected (one or two) depends on the number the receiving terminal is programmed to accommodate. Set the number of stop bits to match host device requirements.*1 Stop Bit2 Stop BitsÜ¿¬¿ Þ·¬-This parameter allows the scanner to interface with devices requiring a 7-bit or 8-bit ASCII protocol.7-Bit*8-BitØ¿®¼©¿®» Ø¿²¼-¸¿µ·²¹The data interface consists of an RS-232 port designed to operate either with or without the hardware handshaking lines,Request to Send (RTS), and Clear to Send (CTS).If Standard RTS/CTS handshaking is not selected, scan data is transmitted as it becomes available. If Standard RTS/CTS handshaking is selected, scan data is transmitted according to the following sequence: •The scanner reads the CTS line for activity. If CTS is asserted, the scanner waits up to the Host Serial Response Time-out for the host to de-assert the CTS line. If, after Host Serial Response Time-out (default), the CTS line is still asserted, the scanner sounds a transmit error, and any scanned data is lost.•When the CTS line is de-asserted, the scanner asserts the RTS line and waits up to the Host Serial Response Time-out for the host to assert CTS. When the host asserts CTS, data is transmitted. If, after Host Serial Response Time-out (default), the CTS line is still de-asserted, the scanner sounds a transmit error,and discards the data.•When data transmission is complete, the scanner de-asserts RTS 10 msec after sending the last character.•The host should respond by de-asserting CTS. The scanner checks for a de-asserted CTS upon the next transmission of data.During the transmission of data, the CTS line should be asserted. If CTS is de-asserted for more than 50 ms between characters, the transmission is aborted, the scanner sounds a transmission error, and the data isdiscarded.If this communications sequence fails, the scanner issues an error indication. In this case, the data is lost and must be rescanned.If Hardware Handshaking and Software Handshaking are both enabled, Hardware Handshaking takesprecedence.ÒÑÌÛThe DTR signal is jumpered (set) to the active state.Ò±²»Scan the bar code below if no Hardware Handshaking is desired.*Noneͬ¿²¼¿®¼ ÎÌÍñÝÌÍScan the bar code below to select Standard RTS/CTS Hardware Handshaking.Standard RTS/CTSØ¿®¼©¿®» Ø¿²¼-¸¿µ·²¹ ø½±²¬·²«»¼÷ÎÌÍñÝÌÍ Ñ°¬·±² ïWhen RTS/CTS Option 1 is selected, the scanner asserts RTS before transmitting and ignores the state of CTS.The scanner de-asserts RTS when the transmission is complete.RTS/CTS Option 1ÎÌÍñÝÌÍ Ñ°¬·±² îWhen Option 2 is selected, RTS is always high or low (user-programmed logic level). However, the scanner waits for CTS to be asserted before transmitting data. If CTS is not asserted within Host Serial Response Time-out (default), the scanner issues an error indication and discards the data.RTS/CTS Option 2ÎÌÍñÝÌÍ Ñ°¬·±² íWhen Option 3 is selected, the scanner asserts RTS prior to any data transmission, regardless of the state of CTS.The scanner waits up to Host Serial Response Time-out (default) for CTS to be asserted. If CTS is not asserted during this time, the scanner issues an error indication and discards the data. The scanner de-asserts RTS when transmission is complete.RTS/CTS Option 3。
9针串口(DB9) 25 针串口(DB25)针号功能说明缩写针号功能说明缩写1 数据载波检测 DCD 8 数据载波检测 DCD2 接收数据 RXD3 接收数据 RXD3 发送数据 TXD 2 发送数据 TXD4 数据终端准备 DTR 20 数据终端准备 DTR5 信号地 GND 7 信号地 GND6 数据设备准备好 DSR 6 数据准备好 DSR7 请求发送 RTS 4 请求发送 RTS8 清除发送 CTS 5 清除发送 CTS9 振铃指示 DELL 22 振铃指示 DELL2.RS232C串口通信接线方法(三线制)9针-9针 25针-25针 9针-25针2 3 3 2 2 23 2 2 3 3 35 5 7 7 5 7关于串口连接线的制作方法在电脑的使用中往往会遇到各种各样的连接线。
这些连接线外观上好像都差不多,但内部结构完全不同并且不能混用。
如果在使用中这些连接线坏了,往往很多使用者都不知道应该怎么办,下面就给出这些常见的连接线的连线方法以便于修理或查找故障。
在介绍之前先对一些市场常用名词做出解释。
现在所有的接头都可以分为公头和母头两大类。
公头:泛指所有针式的接头。
母头:泛指所有插槽式的接头。
所有接头的针脚有统一规定,在接头上都印好了的,连接时要注意查看。
在接线时没有提及的针脚都悬空不管。
下面给出串口,并口各针脚功能表以供高级用户维护电缆或接头时使用。
25针串口功能一览针脚功能2 发送数据(TXD)3 接收数据(RXD)4 发送请求(RTS)5 发送清除(CTS)6 数据准备好(DSR)7 信号地 (GND )8 载波检测 (DCD )20 数据终端准备好 (DTR )22 振铃指示 (RI )9针串口功能一览表针脚 功能1 载波检测 (DCD )2 接收数据 (RXD )3 发送数据(TXD )4 数据终端准备好 (DTR )5 信号地 (GND )6 数据准备好 (DSR )7 发送请求 (RTS )8 发送清除 (CTS )9 振铃指示 (RI )串口联机线的连接方法串口联机线主要用于直接把两台 电脑的com 口连接。
Scout ®RS232 Interface INSTRUCTION MANUALRS232 InterfaceEN-1INTRODUCTIONThis Interface Kit is for use with OHAUS Scout STX, SPX, SKX and SJX series products.INTERFACE INSTALLATIONInstall the Interface module on the mini DIN port (round connector) located at the rear side of the balance as shown. During this process, please make sure the balance is powered off. Notes:∙ Please make sure the small triangle mark (▲) on the round connector isat the bottom and then plug in.∙ The appearance of your model may be different.SETUPA) The OHAUS Interface is preset to communicate using the following settings:9600 baud, 8 bit, no parity, no handshake . Determine the RS232parameters required for the printer or computer that is to be connected. See computer or printer documentation if assistance is required. If the parameters do not match, it will be necessary to change either the balance settings, or the computer / printer settings.B) Upon installation of the interface, the balance will recognize the RS232Interface and add relevant items to the menu. Configure the balance to the desired RS232 and printing parameters; refer to the balance Instruction Manual for assistance in using the menus.EN-2 RS232 Interface For SPX, SKX and SJX Balances:SETUP DEFINITIONSRS232 Interface EN-3 For STX Balances:Upon installation, the STX balance will show RS232 icon () in the upper right corner.Set the data bits, stop bit, and parity.Set the flow control method.For more info, please refer to the STX instructionmanual.EN-4 RS232 InterfaceCONNECTIONThe RS232 Interface Kit cable terminates with a 9 pin Sub-D female connector. Active pins: Pin 2 = TXD, Pin 3 = RXD, Pin 5 = Ground.The Interface connector can connect directly to a computer, an OHAUS printer and other printers.RS232 OUTPUTWith the interface installed the balance will operate in several ways according to the settings.Output String:[weight] 11 characters (right justified)[space] 1 character[unit] 5 characters (right justified)[space] 1 character[stability indicator] 1 character; "?" when unstable, blank when stable[space] 1 character[G,N,T,PT] 2 character (right justified)[CR] 1 character[LF] 1 characterNote: The termination characters field contains CRLF, four CRLF, depending on the FEED menu settingOutput examples: (Note: * and _ indicate spaces)A.Print: off; Stable: offSable readingunstable readingA.Print: off; Stable: onContent / Result -> onContent / Gross -> onContent / Net -> onContent / Tare -> onRS232 Interface EN-5 RS232 INPUTThe following interface commands will be acknowledged by the Balance. They areEN-6 RS232 Interface ACCESSORIESFor a complete listing of OHAUS printers and other accessories, contact OHAUS Corporation or visit .COMPLIANCEThis device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:- Reorient or relocate the receiving antenna.- Increase the separation between the equipment and receiver.- Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.- Consult the dealer or an experienced radio/TV technician for help.Please note that changes or modifications not expressly approved by the party responsible for compliance could void the user’s authori ty to operate the equipment. DISPOSALIn conformance with the European Directive 2002/96/EC on Waste Electrical and Electronic Equipment (WEEE) this device may not be disposed of in domestic waste. This also applies to countries outside the EU, per their specific requirements.Please dispose of this product in accordance with local regulations at the collecting point specified for electrical and electronic equipment. If you have any questions, please contact the responsible authority or the distributor from which you purchased this device.Should this device be passed on to other parties (for private or professional use), the content of this regulation must also be related. For disposal instructions in Europe, refer to /weee. Thank you for your contribution to environmental protection.OHAUS Corporation7 Campus DriveSuite 310Parsippany, NJ 07054 USATel: +1 973 377 9000Fax: +1 973 944 7177With offices worldwide*30269073*P/N 30269073 A © 2015 OHAUS Corporation, all rights reserved Printed in China。
rs232接口信号分析时间: 2012-05-03 16:07:23 来源: 深圳市宇泰科技有限公司——全球领先智能通讯解决方案提供商!RS-232 的功能特性定义了25芯标准连接器中的20根信号线,其中2条地线、4条数据线、11条控制线、3条定时信号线,剩下的5根线作备用或未定义。
常用的只有10根,它们是:(1)联络控制信号线:数据发送准备好(Data set ready-DSR)——有效时(ON)状态,表明MODEM处于可以使用的状态。
数据终端准备好(Data terminal ready-DTR)——有效时(ON)状态,表明数据终端可以使用。
这两个信号有时连到电源上,一上电就立即有效。
这两个设备状态信号有效,只表示设备本身可用,并不说明通信链路可以开始进行通信了,能否开始进行通信要由下面的控制信号决定。
请求发送(Request to send-RTS)——用来表示DTE请求DCE发送数据,即当终端准备要接收MODEM传来的数据时,使该信号有效(ON状态),请求MODEM发送数据。
它用来控制MODEM是否要进入发送状态。
允许发送(Clear to send-CTS)——用来表示DCE准备好接收DTE发来的数据,是与请求发送信号RTS相应的信号。
当MODEM准备好接收终端传来的数据,并向前发送时,使该信号有效,通知终端开始沿发送数据线TxD发送数据。
这对RTS/CTS请求应答联络信号是用于半双工MODEM系统中发送方式和接收方式之间的切换。
在全双工系统中,因配置双向通道,故不需要RTS/CTS联络信号,使其变高。
接收线信号检出(Received Line detection-RLSD)——用来表示DCE已接通通信链路,告知DTE 准备接收数据。
当本地的MODEM收到由通信链路另一端(远地)的MODEM送来的载波信号时,使RLSD 信号有效,通知终端准备接收,并且由MODEM将接收下来的载波信号解调成数字两数据后,沿接收数据线RxD送到终端。
RS-232RS-232是美国电子工业联盟(EIA)制定的串行数据通信的接口标准,全称是EIA-RS-232(简称232,RS232)。
它被广泛用于计算机串行接口外设连接。
RS-232C标准(协议),其中EIA(Electronic Industry Association)代表美国电子工业联盟RS(Recommeded standard)代表推荐标准,232是标识号,C代表RS232的最新一次修改(1969年),在这之前,还有RS232B、RS232A。
它规定连接电缆和机械、电气特性、信号功能及传送过程。
其他常用物理标准还有EIA-RS-422-A、EIA-RS-423A、EIA-RS-485。
目前在IBM PC机上的COM1、COM2接口,就是RS-232C接口。
RS-232对电器特性、逻辑电平和各种信号线功能都作了规定。
标准的细节在RS-232标准中,字符是以一序列的位元串来一个接一个的串行(serial)方式传输,优点是传输线少,配线简单,传送距离可以较远。
最常用的编码格式是异步起停asynchronous start-stop格式,它使用一个起始位元后面紧跟7或8 个数据位元(bit),这个可能是奇偶位元,然后是两个停止位元。
所以发送一个字符至少需要10位元,带来的一个好的效果是使全部的传输速率,发送信号的速率以10划分。
一个最平常的代替异步起停方式的是使用高级数据链路控制协议(HDLC)。
在RS-232标准中定义了逻辑一和逻辑零电压级数,以及标准的传输速率和连接器类型。
信号大小在正的和负的3-15v之间。
RS-232规定接近零的电平是无效的,逻辑一规定为负电平,有效负电平的信号状态称为传号marking,它的功能意义为OFF,逻辑零规定为正电平,有效正电平的信号状态称为空号spacing,它的功能意义为ON。
根据设备供电电源的不同,±5、±10、±12和±15这样的电平都是可能的。
摘要越来越多的企业把产品质量控制放在企业发展的重要位置,产品质量形成的加工过程成为企业关注的重点。
对于军工企业而言,产品质量要求更高,军工产品的质量水平已经成为决定国家军队战斗能力高低和战争胜负的重要因素。
由于其产品的特殊性与高质量要求,对产品设计进行鉴定和校正修改,再根据批生产和大量生产的要求,编制工艺规程,指派制造全部工艺装备,采用小批量进行试生产。
但是目前企业急需解决的是小批量试制过程中关键工序的质量控制问题,主要是识别试制过程中的关键工序,在小批量试制过程中产品特征数据量不足的情况下实现对关键重点控制。
对小批量试制过程进行重点监控,才能提高试制效率,减少不必要的损失。
因此,小批量试制过程中关键工序控制点的选择问题成为企业研究的重点问题。
本论文的理论模型是建立在小批量试制过程分析的基础上,通过引入有向图理论对小批量试制过程进行建模,在模型的基础上计算试制过程中各工序节点的关键度,识别出关键工序进行重点控制。
关键工序的选择可以缩小试制过程质量控制的范围,节约大量的成本,重点控制可提高质量控制的效率,从而提升小批量试制的效率。
在实际的研究过程中分析了某军工企业的小批量试制过程,对企业的试制过程进行现场分析和调研,在有向图理论的基础上建立了小批量试制过程的有向图模型。
分析了小批量试制过程中工序对其他工序的影响程度和工序本身的稳定性,结合企业现有试制过程中所发现的质量问题分析和企业的现有技术条件进行工序关键度计算。
最后,在关键工序识别的基础上,按照影响关键工序加工过程的“5M1E”因素的相似性对关键工序上采集的质量特征数据进行转换,增大样本容量,绘制移动极差图和累积和控制图,实现了对关键工序的质量控制。
多图联合控制方法提高了对加工过程波动的敏感性,保证了加工过程质量控制的有效性。
更多还原关键词:小批量试制; 关键工序; 有向图; 质量控制;一、绪论1.1研究背景及意义在传感器产品制造的流程中,一般进口工艺设备的自动化和控制精度高,而国产的工艺设备却较低,这就造成了整个生产线的自动化水平参差不齐。
三菱系统RS-232-C使用说明用特定电缆联接电脑的9针串口(COM口)与机床RS232接口,通过安装到电脑上支持RS232协议的软件,就可以进行数据传输。
常见的软件有V24、PCIN、AIC等等。
成功数据传输,需要电脑侧与机床侧的参数要匹配,需要正确的传输电缆联接等,经常有用户在使用RS-232-C 接口时出现“P460”报警,其主要原因就是参数没有设定好,或者电缆没有连接好。
另外电脑作为传输设备的一端,在传输稳定性等方面也发挥了重要的作用,尤其是在检查电缆联接与参数设置的时候,都是正确的,这时出现传输“中断”等故障,经验是先检查或更换电脑。
下边以V24软件为例:传送软件安装:在C:\ 下建立V24目录,将文件拷贝到此目录下,运行即可。
如不能运行则,需要修改Config.sys,如果需要用RS232做DNC加工,强烈建议使用WIN98操作系统,如果使用Win2000、Win—NT、Win—XP,在DNC传输过程中偶会出现传输中断情况。
修改Config.sys时,将以下代码增加到文件最后,代码如下:dos=high, umbdevice=%SystemRoot%\system32\himem.sysdevice=%SystemRoot%\system32\emm386.exe ramdevice=%SystemRoot%\system32\ansi.sysFiles=50Buffers=30注:V24软件是DOS 环境下的软件,在Windows环境下一般也可以运行,但有时运行不了,可以通过修改Config.sys文件来达到目的,上述的Config.sys修改方法只是一种。
使用方法:步骤1、用传输电缆将机床、电脑在均已经断电情况下,联接牢靠(电缆焊接图,如图1)。
(图1)步骤2、正确设置系统参数(如表1、表2、表3),系统参数在出厂时已经设定,运行传输软件(如图2)。
(表1)(表2)(表3)(图2)步骤3、用光标移动键移动光标,在Link-file selection处,按ENTER,选择传送配置(如图3)。
F e at u r e s• 4 Port RS232•Universal PCI•64 Byte FIFOs with user definable trigger level •Up to 115,200 baud • Standard Profile• 9 Pin and 25 Pin Connector Options •Drivers for all popular operating systems •Sample Programs, Test &Terminal software - all with source code •Lifetime Support and Lifetime Warranty Click on each feature to find similar productsO p t i o n sUNIVERSAL QUAD RS232D e s c r i p t i o nUniversal PCI card provides 4 industry standard RS232 serialCOM ports in a single PCI slot, 9 pin or 25 pin cable options. Universal PCI is fully compatible with both 3.3Volt and 5Volt PCI slots; protecting your investment into the future.Now with Brainboxes Lifetime Warranty and Lifetime Support!S o f t w a r eMicrosoft signed drivers (easy installation & robust operation) for:o Windows Server 2003 x32 bit & x64 bit Editions o Windows XP x32 bit & x64 bit Editions o Windows 2000.Fully tested drivers also included for:oWindows Me, Windows 98 & 95, Windows NT .As well as: full product documentation, a thorough troubleshooting guide and terminal software. Detailed sample source code for all popular programming languages.Need support for other operating systems? Please telephone or email.Find out about Brainboxes excellent driver configurability: Click HereORDER DescriptionCode UNIVERSAL QUAD RS232 (4X9PIN)UC-268UNIVERSAL QUAD RS232 (4X25PIN)UC-265‘UC-268 & UC-265SERIAL CARDS ENGINEERED TO EXCEED EXPECTATIONS ‘4x9 Pin Connector:UC-2684x25 Pin Connector: UC-265Brainboxes has a solution for every niche of the 4 port market:For Low Profile see: UC-260, UC-271For alternative connector: UC-701 & UC-746For STREAMLINE connector see: UC-420 & UC-836Product of the Year WINNERManufa c t u re r of t h e Yea rWINNERUNIVERSAL QUAD RS232Product Code UC -2268, UC -2265Serial PortPorts4 Port RS232Connector*37 WAY D TO: 4 x DB9 (9 Pin Male) UC-26837 WAY D TO: 4 x DB25 (25 Pin Male) UC-265UART type 16950 UART inside Brainboxes LYNX BB16PCI958FIFO size64 Byte with user definable trigger levelPowered OutputNo (for powered output see Universal Powered range (UP))Transmitted Signal Strength +/- 12 Volts open circuit RS232 Standard Operating Distance 100ft (30metres) RS232 StandardSerial Port SettingsBaud Rate (bits per second)up to 115,200Data Bits 5,6,7 or 8Parity Odd, Even, None, Mark or Space Stop Bits 1, 1.5 or 2Flow Control CTS/RTS DTR/DSRIRQsPlug and Play - Shared interrupts for all ports Connection SchemesPoint to Point GeneralBracket Profile*Standard PCB Layers 4Power 210mA @ 5V 60mA @ 12V Weight 0.150KgSize120 x 80 mmInterfaceBUS Compatibility 32/64 bit Universal (3.3V or 5V) PCI or PCI-X OS Compatibility Windows 98/ NT4/ 2000/ XP/ Server 2003Windows XP x64 bit Edition / Windows Server 2003 x64 bit LinuxPCI ComplianceVersion 3.0Full SpecificationApprovals & Accreditations UL, EMC: CE, FCC, PCI Power Management 1.1 Compliant, PCI 3.0 CompliantBox ContentsInstallation CD including manual, Microsoft signed drivers, utilities and sample programs with source code UNIVERSAL QUAD RS232Installation GuideQUAD CABLE: 37 WAY D TO: 4 xDB9 (9 Pin Male) UC-268 or 37 WAY D TO: 4 x DB25 (25 Pin Male) UC-265OEM option Available for bulk buy OEMProduct Support Lifetime Email and Phone Supportfrom Fully qualified, friendly staff 40 hours a week Warranty LifetimeMade InManufactured in the UK by BrainboxesWinner 2005 European Electronics Industry Awards “Manufacturer of the Year”CustomisableBrainboxes operate a "Perfect Fit Custom Design" Product of the Year WINNERManufa c t u re r of t h e Yea rWINNER 123 4 56789RS232 Pinout (9 pin Male)UNIVERSAL QUAD RS232Glossary:Product Features ExplainedU n i v e r s a l P C IUniversal products allow compatibility with both 3.3 Volt and 5 Volt PCI systems. This ensures that Brainboxes universal card range is backward compatible with older systems and works with all new PCI systems.More info on'Universal'products:Click HereP C I C o m p l i a n tAll Brainboxes Universal PCI cards are fully PCI version 3.0 compliant, in accordance with the PCI-Special Interest Group (PCI-SIG).L a r g e F I F OFIFO means First In First Out, a FIFO is memory space on the Brainboxes card. A larger FIFO allows more memory space for buffering data, so calls to the computer processor are less frequent. This significantly increases data throughput and improves CPU availability for other applications.More info:Click Here4L a y e r P C BPrinted Circuit Board with 4 layers of circuitry complies with the PCI SIG best practice guideline and ensures a more reliable card. 1 layer is for power and 1 for ground which leads to greater EMC shielding for the signals. This ultimately gives greater signal integrity.S u r f a c e M o u n t C o m p o n e n t sMost components on a Brainboxes card are placed by a surface mount machine. The surface mount machine allows for highly accurate and fast production of Brainboxes cards. Orders can be met quickly, reliably and with outstanding quality.C a p a c i t o r sAs required by the PCI-SIG all Brainboxes cards have capacitors connected to all the power pins on the PCI connector, near to the connector. This ensures that the electrical power rails on the Brainboxes card stay at the right voltage, regardless of the power demands placed on them. This helps data signals keep their integrity.UNIVERSAL QUAD RS232B r a i n b o x e s ' K a i z e n"Brainboxes constantly strives to achieve higher standards for the benefit of customers."‘Kaizen’ is a Japanese term meaning ‘continuous improvement’. Kaizen has been implemented throughout Brainboxes, resulting in significant improvements to our products and our customer service,as illustrated by the development of our own custom ASIC “LYNX” and our new lifetime warranty. As part of this ongoing process, in 2004 we embarked on ‘Lean’ and ‘6 Sigma’ programs which are successfully increasing productivity and efficiency in all areas of the company.More Info:Click HereB r a i n b o x e s ' S e r v i c e“Brainboxes offers free lifetime support for ALL customers.”We aim to provide industry leading support for our customers. Our highly trained and helpful support engineers sit and work closely with the product designers, developers, and testers to ensure an in-depth knowledge of the products. Support can be found by emailing **********************or calling: +44 (0)151 220 2500 during UK office hours. Support website: /support/index.asp“Brainboxes’ passionately believes in the quality of its manufacturing process and will reflect this byoffering a Lifetime Warranty on ALL of its universal serial card range.”Brainboxes is pleased to be able to extend a new Lifetime Warranty for all universal serial cards products. We have introduced this based on our exceptional manufacturing and design quality and the company ethos of kaizen.R S 232 S t a n d a r dRS232 is the best known industry standard providing asynchronous serial communication using ± 12 Volt logic levels over distances up to 100 feet (30 metres). RS232can be configured to suit all needs from 3 wirecommunication (using transmit, receive and ground lines only), to more complex hardware and software handshaking. More info:Click HereRS232 [25 Pin] Pinout1 1314 25RS232 [9 Pin] PinoutB r a i n b o x e s ' L Y N XWe developed the Brainboxes LYNX (BB16PCI958) to enable us to drive product performance, and supply customer needs for Universal PCI products (3.3V and 5V compatible). By reducing the part count and incorporating several components into one chip (FIFO, UARTs, PCI interface), we have also increased board reliability. The LYNX also features thorough backwards compatibility with legacy systems, tested beyond the databook for compatibility with standard TL16C550, 750 UARTs. The chip is designed so that Brainboxes products will work with all applications designed for TI UARTs. More Info:Click Here。
RS232串⼝通信基本知识与实例1,RS232串⼝通信基本知识(1)⽬前较为常⽤的串⼝是9针串⼝(DB9。
通信距离较近时(<12m),可以⽤电缆线直接连接标准RS232端⼝;若距离较远,需附加调制解调器(MOD EM)。
(2)RS232C串⼝通信接线⽅法(三线制)接收数据针脚(或线)与发送数据针脚(或线)相连,彼些交叉,信号地对应相接(3)DB9接⼝三线引脚定义2 ---- RXD 接收数据3 ---- TXD 发送数据5 ---- GND 信号地(4)串⾏通信⽅式1)单⼯:信息只能单向传送2)半双⼯:信息可双向传送但不能同时进⾏3)全双⼯:信息可同时进⾏双向传送(5)RS232逻辑电平逻辑0电平规定为+5 ~ +15V之间;逻辑1是电平为-5 ~ -15V之间,因此在与单⽚机进⾏通信时需要进⾏电平转换(6)RS232串⾏通信接⼝电路设计(7)51单⽚机串⾏通信接⼝软件设计1)两个重要指标:可靠性和速度,可靠性是第⼀位。
2)与串⼝通信相关的⼏个寄存器和控制位TMOD:可以⽤它来设置定时器⼯作⽅式(如果在MCU中使⽤的是定时器来产⽣波特率,就需要对这个寄存器进⾏设置,通常设为0x20,即设置定时器1为8位⾃动重装定时器,即⼯作⽅式1)TH1和TL1:定时器1初始值(可通过波特率计算软件获得)TR1:开启定时器1SCON:串⼝控制寄存器,通常设为0x50,即10位异步传输,由定时器1产⽣波特率,⽆奇偶校验位,允许接收PCON:这个寄存器主要⽤到它的最⾼位SMON,当最⾼位设为1时,原波特率加倍ES:串⼝中断使能位EA:全局中断使能位3)波特率计算⽅法(使⽤⼀个名为“51波特率初值计算.exe”的⼩软件)第1步:选择定时器⼯作⽅式(⽅式2)第2步:输⼊晶振值(11.0592)第3步:选择波特率(9600)第4步:设置SMOD值(0)第5步:点击确定第6步:将软件上显⽰值赋给TH1和TL14)串⼝初始化程序void Initial_RS232(unsigned char rate){ //默认晶振值为11.0592MHzunsigned char Reload1;switch(rate) //根据拨码器设置波特率{case 0:Reload1 = 0xE8; //2400bpsbreak;case 1:Reload1 = 0xF4; //4800bpsbreak;case 2:Reload1 = 0xFA; //9600bpsbreak;case 3:Reload1 = 0xFD; //19200bpsbreak;default:Reload1 = 0x00;break;}PCON = PCON|0x80; //SMOD = 1 ;波特率加倍TMOD = 0x20; //0011,00010设置定时器1为8位⾃动重装计数器SCON = 0x50; //0101,0000 8位可变波特率,⽆奇偶校验位TH1 = Reload1; //设置定时器1⾃动重装数TL1 = Reload1;TR1 = 1; //开定时器1ES = 1; //允许串⼝中断EA = 1; //开总中断}5)串⼝发送程序void Send_RS232(unsigned char i){ES = 0; //关串⼝中断TI = 0; //清零串⼝发送完成中断请求标志 SBUF = i;while(TI ==0); //等待发送完成TI = 0; //清零串⼝发送完成中断请求标志 ES = 1; //允许串⼝中断}6)串⼝接收程序void Receive_RS232(void) interrupt 4{unsigned char temp= 0;ES = 0;if(RI==1){RI = 0;temp = SBUF;}ES = 1;}。
RS232 Modbus Gateway SMG-5410 用户说明书Version 1.2Sollae Systemshttps://disposed of correctly, you will help prevent potential negative consequences to the environment and human health, which could otherwise be caused by inappropriate disposal1Modbus目录.................................................................................................... - 4 -1.1Modbus ................................................................................................................................................ - 4 -1.2Modbus Gateway ............................................................................................................................. - 5 -2产品概要........................................................................................................... - 6 -2.1介绍........................................................................................................................................................ - 6 -2.2主要特征............................................................................................................................................... - 6 -2.3产品规格............................................................................................................................................... - 6 -2.4接口........................................................................................................................................................ - 8 -2.4.1 电源................................................................................................................................................................. - 9 - 2.4.2 以太网.......................................................................................................................................................... - 10 - 2.4.3 串口端口..................................................................................................................................................... - 10 - 2.4.4 LED ............................................................................................................................................................... - 12 - 2.4.5 功能按钮..................................................................................................................................................... - 12 - 2.4.6 Setup端口.................................................................................................................................................. - 12 -3准备................................................................................................................. - 13 -3.1安装设定程序.................................................................................................................................. - 13 -3.2产品连接............................................................................................................................................ - 13 -3.3搜索产品............................................................................................................................................ - 13 -3.4登录..................................................................................................................................................... - 13 -4设定................................................................................................................. - 14 -4.1网络..................................................................................................................................................... - 14 -4.1.1 自动设定IP地址........................................................................................................................................ - 14 - 4.1.2 设定固定IP ................................................................................................................................................. - 15 - 4.2一般..................................................................................................................................................... - 16 -4.2.1 说明.............................................................................................................................................................. - 16 - 4.2.2 Transmission 模式................................................................................................................................. - 16 - 4.2.3 Baudrate (unit: bps) .............................................................................................................................. - 16 - 4.2.4 Serial ............................................................................................................................................................ - 17 - 4.2.5 Modbus ...................................................................................................................................................... - 18 - 4.2.6 TCP ................................................................................................................................................................ - 19 - 4.3安保..................................................................................................................................................... - 20 -4.3.1 密码.............................................................................................................................................................. - 20 - 4.3.2 认证书.......................................................................................................................................................... - 21 -4.3.3 spFinder ...................................................................................................................................................... - 21 - 4.3.4 Client ID ..................................................................................................................................................... - 21 -5管理................................................................................................................. - 22 -5.1查看状态............................................................................................................................................ - 22 -5.1.1 产品信息..................................................................................................................................................... - 22 - 5.1.2 通信状态..................................................................................................................................................... - 23 - 5.1.3 超时.............................................................................................................................................................. - 24 - 5.1.4 复制信息..................................................................................................................................................... - 24 - 5.2固件升级............................................................................................................................................ - 24 -5.2.1 在线升级..................................................................................................................................................... - 24 - 5.2.2 手动升级..................................................................................................................................................... - 25 - 5.3控制台................................................................................................................................................ - 26 -5.3.1 Output栏.................................................................................................................................................... - 26 - 5.3.2 FW Log 栏................................................................................................................................................ - 27 - 5.3.3 Timeout ...................................................................................................................................................... - 27 - 5.4设定值发送/读取.......................................................................................................................... - 27 -5.5工厂初始化....................................................................................................................................... - 28 -6技术支持及质保期.......................................................................................... - 29 -6.1技术支持............................................................................................................................................ - 29 -6.2保证..................................................................................................................................................... - 29 -6.2.1 无偿A/S .................................................................................................................................................... - 29 - 6.2.2 有偿A/S .................................................................................................................................................... - 29 -7注意事项及免责声明...................................................................................... - 30 -7.1注意事项............................................................................................................................................ - 30 -7.2免责声明............................................................................................................................................ - 31 -8变更文献履历 ................................................................................................. - 32 -11.1 ModbusModbus 是为了与PLC(Programmable Logic Controller)一起使用,在1979年由Modicon(现 Schneider Electric)公司发行的串口通信协议。
投影机串口码3M (1)ASK (2)BARCO (4)BO*LIGHT (4)CHRISTIE (5)DIGITEL (6)E I K I (7)INFOCUS (10)LENOVO (14)LG (15)LIESEGANG (15)LUMENS (15)MITSUBISHI (16)NEC (17)OPTOMA (18)PLUS (19)POLAROID (19)PROJECTIONDESIGN (19)PRO*IMA (20)VIEWSONIC (23)爱普生 (23)奥视 (27)东芝 (28)飞浰普 (30)富士通 (31)惠普 (31)佳能 (32)明基 (33)日立 (35)三洋 (36)胜利 (40)松下 (41)索尼 (42)夏普 (43)JVC (44)3M型号:7640/7650/7740/7750/8649/8746/8747/8749/8795/8640; S10/S40/*40/S50 /*50波特率:19200数据位:8停止位:1奇偶校验:0投影机开:BEEF030600BAD00投影机关:BEEF0306002AD00电脑:BEEF030600FED00视频:BEEF0306006ED00S 视频:BEEF0306009ED00D V I:型号:8625/8725/8730/8740波特率:9600数据位:8停止位:1奇偶校验:0投影机开:31111F投影机关:31111E电脑:312121视频:312111S 视频:312112D V I:型号:8635/8670/8745/8770波特率:9600数据位:8停止位:1奇偶校验:0投影机开:31113F投影机关:31113E电脑:312121视频:312111S 视频:312111D V I:型号:8660/8780.波特率:19200数据位:8停止位:1奇偶校验:0投影机开:00D投影机关:10D电脑:10D视频:10DS 视频:20DD V I:型号:8765/8790; *65波特率:19200数据位:8停止位:1奇偶校验:0投影机开:BEEF030600BAD00投影机关:BEEF0306002AD00电脑:BEEF030600FED00视频:BEEF0306006ED00S 视频:BEEF0306009ED00D V I:BEEF0306000ED00ASK 型号:C160/C180波特率:19200数据位:8停止位:1奇偶校验:0投影机开:9投影机关:9电脑:9视频:9S 视频:9D V I:9型号:1280; A8+/A9+/A10+波特率:1200数据位:7停止位:1奇偶校验:0投影机开:5057523B310D投影机关:5057523B300D电脑:5352433B300D视频:5352433B320DS 视频:5352433B310DD V I:型号:C85/C95/C105/C90/C100波特率:9600数据位:8停止位:1奇偶校验:0投影机开:BEEF00100投影机关:BEEF00000电脑:BEEF00000视频:BEEF00300S 视频:BEEF00200D V I:BEEF00500型号:C300波特率:9600数据位:8停止位:1奇偶校验:0投影机开:5057523B310D投影机关:5057523B300D电脑:5352433B300D视频:5352433B310DS 视频:5352433B310DD V I:BARCO 型号:ALL BUT NOT IQ SERIES波特率:9600数据位:8停止位:1奇偶校验:0投影机开:FE016566FF投影机关:FE016667FF电脑:FE01310536FF视频:FE01310133FFS 视频:FE01310234FFD V I:FE01310738FF型号:IQ SERIES波特率:9600数据位:8停止位:1奇偶校验:0投影机开:FE016566FF投影机关:FE016667FF电脑:FE0138023BFF视频:FE0138033CFFS 视频:FE0138043DFFD V I:FE0138053EFFRGB:BO*LIGHT 型号:CP322I/CP731I波特率:19200数据位:8停止位:1奇偶校验:0投影机开:BEEF030600BAD00投影机关:BEEF0306002AD00电脑:BEEF030600FED00视频:BEEF0306006ED00S 视频:BEEF0306009ED00D V I:型号:MP650I/MP86I/MP93I波特率:19200数据位:8停止位:1奇偶校验:0投影机开:31113F投影机关:31113E电脑:312121视频:312111S 视频:312111D V I:型号:MP83I波特率:19200数据位:8停止位:1奇偶校验:0投影机开:31111F投影机关:31111E电脑:312121视频:312111S 视频:312111D V I:CHRISTIE型号:DS-30波特率:19200数据位:8停止位:1奇偶校验:0投影机开:BEEF03190012D5019C000投影机关:BEEF19C000电脑:BEEF031900EAE00视频:BEEF031900B92A0S 视频:BEEF03190029EB0D V I:BEEF0319008B000型号:EPS 1024波特率:4800数据位:8停止位:1奇偶校验:0投影机开:2150524D30310D投影机关:2150524D30320D电脑:2150524D30380D视频:2150524D30350DS 视频:2150524D30440DD V I:型号:Mirage&Vista&Roadster *&S series, Roadie (not S12 or *10) 波特率:9600数据位:8停止位:1奇偶校验:0投影机开:129投影机关:029电脑:2853494E2030203129 (SIN 0 1)视频:2853494E2030203329S 视频:2853494E2030203329D V I:DIGITEL型号:ALL波特率:9600数据位:8停止位:1奇偶校验:0投影机开:BEEF0306002AD005057524F4E投影机关:BEEF030600BAD005057524F4646电脑:BEEF020600D3C0EA0000000000视频:BEEF020600E0C0ES 视频:BEEF0306009ED00D V I:BEEF0306000ED00EIKI型号:SD10波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D0A投影机关:4330310D0A电脑:4330350D0A视频:4333330D0AS 视频:4333340D0AD V I:型号:LC-*999/984/990/983/980U/980E/982U/870U/970U/970E/860/ 波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D0A投影机关:4330320D0A电脑:4330350D0A视频:4330370D0AS 视频:4330370D0AD V I:型号:*C1/*M2/SM3/NB1/NB2/*NB1/*NB2 波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D0A投影机关:4330320D0A电脑:4330350D0A视频:4330370D0AS 视频:4330370D0AD V I:型号:LC-SM2/1, *M1波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D0A投影机关:4330320D0A电脑:4330350D0A视频:4330370D0AS 视频:4330370D0AD V I:型号:*G200/*G100/*G110/*G210波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D0A投影机关:4330320D0A电脑:434620494ED0A视频:434620494ED0AS 视频:434620494ED0AD V I:434620494ED0A型号:LC-*NB4M&S, LC-*NB4&S, LC-NB4&S波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D0A投影机关:4330320D0A电脑:4330350D0A视频:4330360D0AS 视频:4330360D0AD V I:型号:LC-S*3/2/1* & LC-*3/21A* LC-*1*/*50波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D0A投影机关:4330320D0A电脑:4330350D0A视频:4330370D0AS 视频:4330380D0AD V I:型号:LC-*4&L & LC-S*4L; B SERIES L*-*B25/*B20/SB20 波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D0A投影机关:4330310D0A电脑:4330360D0A视频:4330370D0AS 视频:4330370D0AD V I:4330350D0A型号:LC-*NB3&W&S & NB3W&E&E波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D0A投影机关:4330320D0A电脑:4330350D0A视频:4330360D0AS 视频:4330360D0AD V I:4330380D0A型号:*T1/*T2/*T3/U*T1/U*T3/*4/*5/S*4 波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D0A投影机关:4330320D0A电脑:4330380D0A视频:4330360D0AS 视频:4330370D0AD V I:4330350D0AINFOCUS 型号:1200波特率:9600数据位:8停止位:1奇偶校验:0投影机开:3030210D投影机关:3030220D电脑:30305F72310D视频:30305F76310DS 视频:30305F76310DD V I:型号:770波特率:9600数据位:7停止位:1奇偶校验:0投影机开:3030210D投影机关:3030220D电脑:30305F72310D视频:30305F76320DS 视频:30305F76310DD V I:型号:640/540波特率:19200数据位:8停止位:1奇偶校验:0投影机开:9投影机关:9电脑:9视频:9S 视频:9D V I:9型号:225/350/340/435z/425z/425/420/400 波特率:19200数据位:8停止位:1奇偶校验:0投影机开:9投影机关:9电脑:9视频:9S 视频:9D V I:型号:530/500波特率:19200数据位:8停止位:1奇偶校验:0投影机开:90D投影机关:90D电脑:90D视频:90DS 视频:90DD V I:90D型号:630波特率:19200数据位:8停止位:1奇偶校验:0投影机开:9投影机关:9电脑:9视频:9S 视频:9D V I:9型号:740波特率:19200数据位:8停止位:1奇偶校验:0投影机开:9投影机关:9电脑:9视频:9S 视频:9D V I:型号:800波特率:19200数据位:8停止位:1奇偶校验:0投影机开:BEEF030600BAD00 投影机关:BEEF0306002AD00 电脑:BEEF030600FED00视频:BEEF0306006ED00 S 视频:BEEF0306009ED00 D V I:BEEF0306000ED00 型号:810波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D投影机关:4330320D电脑:4330350D视频:4330360DS 视频:4330370DD V I:4330350D型号:790波特率:9600数据位:8停止位:1奇偶校验:0投影机开:5057523B310D投影机关:5057523B300D电脑:5352433B300D视频:5352433B320DS 视频:5352433B310DD V I:5352433B360D型号:110波特率:19200数据位:8停止位:1奇偶校验:0投影机开:9投影机关:9电脑:9视频:9S 视频:9D V I:9型号:RP10S/RP10*/2800/2900波特率:9600数据位:8停止位:1奇偶校验:0投影机开:BEEF00100投影机关:BEEF00000电脑:BEEF00100视频:BEEF00300S 视频:BEEF00200D V I:型号:820/840/850/1000波特率:19200数据位:8停止位:1奇偶校验:0投影机开:9投影机关:9电脑:9视频:9S 视频:9D V I:9LENOVO 型号:TL500/TL510波特率:9600数据位:8停止位:1奇偶校验:0投影机开:504F10D投影机关:504F00D电脑:D视频:DS 视频:DD V I:LG型号:RL-JA20波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4BD投影机关:4BD电脑:4BD视频:4BDS 视频:4BDD V I:LIESEGANG 型号:ALL波特率:2400数据位:8停止位:1奇偶校验:0投影机开:2E50573221投影机关:2E50573021电脑:2E5650313121视频:2E5650323121S 视频:2E5650323321D V I:LUMENS型号:95 and 136 Series波特率:9600数据位:8停止位:1奇偶校验:0投影机开:552050204E投影机关:5520502046电脑:5520532054视频:5520532043S 视频:5520532053D V I:MITSUBISHI 型号:50/70/SA51/*120/S120波特率:9600数据位:8停止位:1奇偶校验:0投影机开:3030210D投影机关:3030220D电脑:30305F72310D视频:30305F76310DS 视频:30305F76310DD V I:型号:SL1U/*D200/*300U/*400BU/*D350/*L30/*L25/SL25/*390U/SD200/*D300/*L1U波特率:9600数据位:8停止位:1奇偶校验:0投影机开:3030210D投影机关:3030220D电脑:30305F72310D视频:30305F76310DS 视频:30305F76320DD V I:型号:*500U波特率:9600数据位:8停止位:1奇偶校验:0投影机开:3030210D投影机关:3030220D电脑:30305F72320D视频:30305F76310DS 视频:30305F76320DD V I:30305F72210DNEC型号:1055/155/850/220/240/260/150/154/156/157/158/440/540/840/1040/1045/850/1050/1055波特率:38400数据位:8停止位:1奇偶校验:0投影机开:2投影机关:3电脑:10109视频:1060ES 视频:10B13D V I:USB阅读器:11F27型号:820/1020/100/80/81/1035/830/1030/600/ 波特率:9600数据位:8停止位:1奇偶校验:0投影机开:08投影机关:14电脑:04视频:03S 视频:C6D V I:型号:84/140波特率:9600数据位:8停止位:1奇偶校验:投影机开:2投影机关:3电脑:10109视频:1060ES 视频:10B13D V I:OPTOMA型号:755/753/750/H55波特率:57600数据位:8停止位:1奇偶校验:0投影机开:504F5745523D310D投影机关:504F5745523D300D电脑:494E5055543D310D.视频:494E5055543D340DS 视频:494E5055543D320DD V I:494E5055543D31310D型号:757波特率:96008数据位:8停止位:1奇偶校验:0投影机开:2A10D投影机关:2A20D电脑:2A30D视频:2A90DS 视频:2A80DD V I:2A60D型号:OTHERS波特率:57600数据位:8停止位:1奇偶校验:0投影机开:2A10D投影机关:2A20D电脑:2A30D视频:2A90DS 视频:2A80DD V I:2A60DPLUS 型号:All波特率:19200数据位:8停止位:1奇偶校验:0投影机开:BEEF02060079C0E投影机关:BEEF020600A8C1E电脑:BEEF0206000DC4D视频:BEEF020600DCC5DS 视频:D V I:POLAROID型号:360波特率:19200数据位:8停止位:1奇偶校验:0投影机开:31113F投影机关:31113E电脑:312121视频:312111S 视频:312111D V I:PROJECTIONDESIGN 型号:ALL波特率:19200数据位:8停止位:1奇偶校验:0投影机开:BEEF03190012D5019C000投影机关:BEEF19C000电脑:BEEF031900EAE00视频:BEEF031900B92A0S 视频:BEEF03190029EB0D V I:BEEF0319008B000PRO*IMA型号:DP8200*/8400*/8500*波特率:19200数据位:8停止位:1奇偶校验:0投影机开:9投影机关:9电脑:9视频:9S 视频:9D V I:9型号:6800/6810波特率:1200数据位:7停止位:1奇偶校验:0投影机开:31111F投影机关:31111E电脑:312121视频:312111S 视频:312112D V I:型号:6860/6870波特率:192008数据位:1停止位:0奇偶校验:BEEF030600BAD00投影机开:BEEF0306002AD00投影机关:BEEF030600FED00电脑:BEEF0306006ED00视频:BEEF0306009ED00S 视频:BEEF0306000ED00D V I:型号:8000/6500波特率:9600数据位:8停止位:1奇偶校验:0投影机开:5057523B310D投影机关:5057523B300D电脑:5352433B300D视频:5352433B320DS 视频:5352433B310DD V I:5352433B360D型号:9240/9260/9260+/9280/9400/9400+/941 波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D0A投影机关:4330320D0A电脑:4330350D0A视频:4332330D0AS 视频:4332340D0AD V I:型号:9350波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D0A投影机关:4330320D0A电脑:4330350D0A视频:4330380D0AS 视频:4330370D0AD V I:型号:9500/9550/9295 波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D投影机关:4330320D电脑:4330350D视频:4330370DS 视频:4330370DD V I:型号:6155/S540/*540 波特率:9600数据位:8停止位:1奇偶校验:0投影机开:BEEF00100投影机关:BEEF00000电脑:BEEF00000视频:BEEF00300S 视频:BEEF00200D V I:BEEF00100型号:9270/9290波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D投影机关:4330320D电脑:4330360D视频:4330370DS 视频:4332340DD V I:4332320DVIEWSONIC型号:All波特率:19200数据位:8停止位:1奇偶校验:0投影机开:BEEF0306002AD00投影机关:BEEF030600BAD00电脑:BEEF030600FED00视频:BEEF0306006ED00S 视频:BEEF0306009ED00D V I:BEEF0306000ED00爱普生型号:810/800/600/TS10波特率:9600数据位:8停止位:1奇偶校验:0投影机开:505752204F4E0D投影机关:505752204F46460D电脑:534F2310D视频:534F4310DS 视频:534F4320DD V I:534F1320D新增ESC/VP21型HDMI 1:534F3300DHDMI 2:SOURCE A0,$0D (534F1300D) 型号:720/730/520/30/52/73/53/S1 波特率:9600数据位:8停止位:1奇偶校验:0投影机开:505752204F4E0D投影机关:505752204F46460D电脑:534F1310D视频:534F4310DS 视频:534F4320DD V I:型号:735波特率:9600数据位:8停止位:1奇偶校验:0投影机开:505752204F4E0D投影机关:505752204F46460D电脑:534F1310D视频:534F4310DS 视频:534F4320DD V I:型号:8300/7800波特率:9600数据位:8停止位:1奇偶校验:0投影机开:505752204F4E0D投影机关:505752204F46460D电脑:534F2300D视频:534F4310DS 视频:534F4320DD V I:534F3300D型号:EMP/ELP-3500波特率:9600数据位:8停止位:1奇偶校验:0投影机开:1B0701000301F4投影机关:1B0701000300F5电脑:1B0701010010E7视频:1B0701010020D7S 视频:1B0701010020D7D V I:型号:EMP/ELP-5000/5100波特率:9600数据位:停止位:1奇偶校验:0投影机开:1B0701000301F4投影机关:1B0701000300F5电脑:1B0701010010E7视频:1B0701010020D7S 视频:1B0701010020D7D V I:型号:EMP-7000/ 7100波特率:9600数据位:8停止位:1奇偶校验:0投影机开:1B0701000301F4投影机关:1B0701000300F5电脑:1B0701010010E7视频:1B0701010020D7S 视频:1B0701010020D7D V I:型号:EMP/ELP-5300/7300/7350/7250/5350波特率:9600数据位:8停止位:1奇偶校验:0投影机开:1B0701000301F4投影机关:1B0701000300F5电脑:1B0701010010E7视频:1B0701010021D6S 视频:1B0701010022D5D V I:型号:EMP/ELP-5500/7500/8000/9000 波特率:9600数据位:8停止位:1奇偶校验:0投影机开:1B0701000301F4投影机关:1B0701000300F5电脑:1B0701010010E7视频:1B0701010021D6S 视频:1B0701010022D5D V I:型号:EMP-8100/9100波特率:9600数据位:8停止位:1奇偶校验:0投影机开:1D301F1投影机关:1D300F2电脑:1D010E4视频:1D021D3S 视频:1D022D2D V I:1D050A4型号:EMP-8150波特率:9600数据位:8停止位:1奇偶校验:0投影机开:1D301F1投影机关:1D300F2电脑:1D010E4视频:1D021D3S 视频:1D022D2D V I:1D050A4型号:EMP-7700/7600/5600波特率:9600数据位:8停止位:1奇偶校验:0投影机开:1D301F1投影机关:1D300F2电脑:1D010E4视频:1D021D3S 视频:1D022D2D V I:1D050A4奥视型号:2800/2900/2950/3300/3350/3600波特率:19200数据位:8停止位:1奇偶校验:0投影机开:BEEF02060001CA0投影机关:BEEF02060001CA0电脑:BEEF13902CCCC00000CCCCCCCCCCCCCCCCCCCCCCCC视频:BEEF03190004E2013902CCCC00000CCCCCCCCCCCCCCCCCCCCCCCC S 视频:BEEF03190004E2013902CCCC00000CCCCCCCCCCCCCCCCCCCCCCCC D V I:型号:3650/3800/3850/3880波特率:19200数据位:8停止位:1奇偶校验:0投影机开:BEEF100500388B2500010008投影机关:BEEF100500388B2500010008电脑:BEEF100500FECE2600010000视频:BEEF100500C2CE2600010050S 视频:BEEF1005000ECF2600010040D V I:BEEF10050032CF2600010010型号:500/550/600/700波特率:19200数据位:8停止位:1奇偶校验:0投影机开:BEEF100500388B2500010008投影机关:BEEF100500388B2500010008电脑:BEEF100500FECE2600010000视频:BEEF100500C2CE2600010050S 视频:BEEF100500C2CE6D V I:东芝型号:250/251/440/551/D1/D2波特率:9600数据位:8停止位:1奇偶校验:0投影机开:02504F4E03投影机关:02504F4603电脑:02494E3103视频:02494E3303S 视频:02494E3403D V I:型号:380/381/780/781/*10U/*11U/*20U/*21U/790/791 波特率:9600数据位:8停止位:1奇偶校验:0投影机开:02504F4E03投影机关:02504F4603视频:02494E3303S 视频:02494E3403D V I:02494E3203型号:680/681/450U/451U/650U/651U/650A/651A/470U/471U/670U/671U 波特率:9600数据位:8停止位:1奇偶校验:0投影机开:02504F4E03投影机关:02504F4603电脑:02494E3103视频:02494E3203S 视频:02494E3203D V I:型号:B2 ultra S U波特率:9600数据位:8停止位:1奇偶校验:0投影机开:02504F4E03投影机关:02504F4603电脑:02494E3103视频:02494E3003S 视频:02494E3003D V I:型号:S30/T50/T50M/T700/T701/T600/T601/T500/T501/T400/T401/S200/S201波特率:9600数据位:8停止位:1奇偶校验:0投影机开:02504F4E03投影机关:02504F4603电脑:02494E3103S 视频:02494E3603D V I:型号:T720/T721/T620/T621/T520/T521/T520E/T521E/S220/S221 波特率:9600数据位:8停止位:1奇偶校验:0投影机开:02504F4E03投影机关:02504F4603电脑:02494E3103视频:02494E3503S 视频:02494E3603D V I:型号:T3/S3波特率:19200数据位:8停止位:1奇偶校验:0投影机开:90D投影机关:90D电脑:90D视频:90DS 视频:90DD V I:90D型号:TDP-TW420波特率:9600数据位:8停止位:1奇偶校验:N投影机开:02504F4E03投影机关:02504F4603电脑:02494E3103视频:02494E3903S 视频:02494E3603飞浰普型号:All波特率:9600数据位:8停止位:1奇偶校验:0投影机开:504F10D投影机关:504F00D电脑:D视频:DS 视频:DD V I:富士通型号:7000SERIES波特率:19200数据位:8停止位:1奇偶校验:0投影机开:2150524D30300D投影机关:2150524D30300D电脑:2150524D37380D视频:2150524D30350DS 视频:2150524D30440DD V I:2150524D30360D型号:7500SERIES,C211SERIES波特率:19200数据位:8停止位:1奇偶校验:0投影机开:2150524D30310D投影机关:2150524D30320D电脑:2150524D37380D视频:2150524D30350DS 视频:2150524D30440DD V I:2150524D30360D惠普型号:ALL波特率:600数据位:8停止位:1奇偶校验:0投影机开:2A570D投影机关:2A5348444E0D电脑:2A5352433D310D视频:2A5352433D330DS 视频:2A5352433D340DD V I:佳能型号:LV-5100/5110/7105/7325/7320/7525,S1,*1,S2,*2,S3;LV5210/7210/7215波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D投影机关:4330310D电脑:4330350D视频:4330370DS 视频:4330370DD V I:型号:LV-7345/7350/7355波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D投影机关:4330310D电脑:4330350D视频:4330360DS 视频:4330360DD V I:4330380D型号:LV-7545波特率:9600数据位:8停止位:1奇偶校验:0投影机开:4330300D投影机关:4330310D电脑:4330360D视频:4330380DS 视频:4332340DD V I:4332320D型号:7555波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D投影机关:4330310D电脑:4335300D视频:4333330DS 视频:4333340DD V I:4335320D明基型号:PB7 SERIES波特率:19200数据位:8停止位:1奇偶校验:0投影机开:BEEF02060083CCBA0000000000投影机关:BEEF02060031C1E电脑:BEEF031900C84B01DA02CCCC00000CCCCCCCCCCCCCCCCCCCCCCCC 视频:BEEF0319009B8801DA02CCCC00000CCCCCCCCCCCCCCCCCCCCCCCC S 视频:BEEF0319009B8801DA02CCCC00000CCCCCCCCCCCCCCCCCCCCCCCC D V I:型号:8225/8235/8125波特率:19200数据位:8停止位:1奇偶校验:0投影机开:BEEF02060013CEAA0000000000投影机关:BEEF0206003EC4D电脑:BEEF020600AEC6C视频:BEEF02060051C6CS 视频:BEEF02060080C7CD V I:型号:D*550波特率:19200数据位:8停止位:1奇偶校验:0投影机开:BEEF0投影机关:BEEF0电脑:BEEF03060040D00视频:BEEF030600D0D00S 视频:BEEF03060020D00D V I:型号:D*660波特率:19200数据位:8停止位:1奇偶校验:0投影机开:BEEF02060013CEAA0000000000投影机关:BEEF02060013CEAA0000000000电脑:BEEF031900C84B01DA02CCCC00000CCCCCCCCCCCCCCCCCCCCCCCC 视频:BEEF0319000B4901DA02CCCC00000CCCCCCCCCCCCCCCCCCCCCCCC S 视频:BEEF031900390B01DA02CCCC00000CCCCCCCCCCCCCCCCCCCCCCCC D V I:型号:VP150*波特率:115200数据位:8停止位:1奇偶校验:0投影机开:BEEF0投影机关:BEEF0电脑:BEEF03060040D0视频:BEEF030600D0D0S 视频:BEEF03060020D00D V I:型号:D*655波特率:19200数据位:8停止位:1奇偶校验:0投影机开:BEEF02060013CEAA0000000000投影机关:BEEF02060013CEAA0000000000电脑:BEEF020600C4C88D0000000000视频:BEEF020600C4C88D0000000000S 视频:BEEF020600C4C88D0000000000D V I:日立型号:S845W/*940W/*940E波特率:9600数据位:8停止位:1奇偶校验:0投影机开:31113F投影机关:31113E电脑:312121视频:312111S 视频:312111D V I:型号:*950W/*955W/*955E波特率:9600数据位:8停止位:1奇偶校验:0投影机开:31111F投影机关:31111E电脑:312121视频:312111S 视频:312112D V I:型号:S310W/S370W/S225/*275/*380W/*430/H*300/H*4090波特率:19200数据位:8停止位:1奇偶校验:0投影机开:BEEF030600BAD00投影机关:BEEF0306002AD00电脑:BEEF030600FED00视频:BEEF0306006ED00S 视频:BEEF0306009ED00D V I:型号:S*5500W/*985W/*980W/*990W波特率:19200数据位:8停止位:1奇偶校验:0投影机开:BEEF030600BAD00投影机关:BEEF0306002AD00电脑:BEEF030600FED00视频:BEEF0306006ED00S 视频:BEEF0306009ED00D V I:BEEF0306000ED00三洋型号:SU35波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D投影机关:4330320D电脑:4330350D视频:4330360DS 视频:4330360DD V I:型号:SU07/SU10/*U10/SU15/SU20/SU22/*U20/*U21/*U22/SU30/*U30/*U35 波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D投影机关:4330310D电脑:4330350D视频:4330370DS 视频:4330370DD V I:型号:SW10/SW15/*W10/*W15/SW20/*W20波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D投影机关:4330310D电脑:4330350D视频:4330370DS 视频:4330370DD V I:型号:8800/8810/5600/*P10/*P07/SP10/SP20/*P20/*P21/*P17/*P18 波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D投影机关:4330310D电脑:4330350D视频:4330370DS 视频:4330370DD V I:型号:PLV-60波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D投影机关:4330310D电脑:4330350D视频:4330380DS 视频:4332330DD V I:型号:PLC-*P40; PLC-*P45 波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D投影机关:4330310D电脑:4330350D视频:4330380DS 视频:4332340DD V I:4332320D型号:9000/9005波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D投影机关:4330310D电脑:330360D视频:4330370DS 视频:4330380DD V I:型号:EF10/EF12/*F10/*F12 波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D投影机关:4330310D电脑:4330350D视频:4330370DS 视频:4330380DD V I:4330350D型号:*F20/UF10波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D投影机关:4330310D电脑:4330380D视频:4330370DS 视频:4330370DD V I:4330350D型号:*F30/EF30波特率:19200数据位:8停止位:1奇偶校验:0投影机开:4330300D投影机关:4330310D电脑:4330360D视频:4330370DS 视频:4332370DD V I:4330350D胜利型号:G200/M4000/G1000/Q*1G/M2000 波特率:9600数据位:8停止位:1奇偶校验:0投影机开:D投影机关:D电脑:D视频:DS 视频:DD V I:型号:G150波特率:9600数据位:8停止位:1奇偶校验:0投影机开:D投影机关:D电脑:D视频:DS 视频:DD V I:D型号:S*21波特率:19200数据位:8停止位:1奇偶校验:0投影机开:D投影机关:D电脑:D视频:DS 视频:DD V I:D松下型号:7500U/7600U/595U/592U/390U/U1*90/U1S90 波特率:9600数据位:8停止位:1奇偶校验:0投影机开:02504F4E03投影机关:02504F4603电脑:024949533A52473103视频:024949533A56494403S 视频:024949533A53564403D V I:型号:76U/56U/75U/55U/797U/797P*U/797V*U/797PWU/797VU/597U/795U/730NTU波特率:9600数据位:8停止位:1奇偶校验:0投影机开:02504F4E03投影机关:02504F4603电脑:024949533A52473103视频:024949533A56494403S 视频:024949533A53564403D V I:型号:711/701/511/501/711U/701U/501U/520/720/7500/7600波特率:9600数据位:8停止位:1奇偶校验:0投影机开:02504F4E03投影机关:02504F4603电脑:024949533A52473103视频:024949533A56494403S 视频:024949533A53564403D V I:型号:780NTU/750U/759VU/759*U/6500U/6600U/*100波特率:9600数据位:8停止位:1奇偶校验:0投影机开:02504F4E03投影机关:02504F4603电脑:024949533A52473103视频:024949533A56494403S 视频:024949533A53564403D V I:024949533A44564903型号:*100/*200/F1*510/U1*92/U1*91/U1S91/U1*86/U1S86/E1AW10/165 波特率:9600数据位:8停止位:1投影机开:02504F4E03投影机关:02504F4603电脑:024949533A52473103视频:024949533A56494403S 视频:024949533A53564403D V I:024949533A44564903自动:024F415303型号:PT-SLZ67C/PT-SLW73C…波特率:19200数据位:8停止位:1奇偶校验:0投影机开:02504F4E03投影机关:02504F4603电脑:024949533A52473103视频:024949533A56494403S 视频:024949533A53564403D V I:024949533A44564903HDMI :024949533A48443103索尼型号:P*32波特率:38400数据位:停止位:1奇偶校验:2投影机开:A0542E000000A15A投影机关:A0542F000000A05A电脑:A0542B000000A45A视频:A0542A000000A55AS 视频:D V I:型号:P*11波特率:38400数据位:8停止位:1投影机开:A9172E0000003F9A投影机关:A9172F0000003F9A电脑:A9172B0000003F9A视频:A9172A0000003F9AS 视频:D V I:型号:P*35/P*40/F*51波特率:38400数据位:8停止位:1奇偶校验:2投影机开:A039A投影机关:A039A电脑:A039A视频:A019AS 视频:A019AD V I:Vpl-c*130夏普型号:C30*U/NV4SU/D100U/D120U/E1200U/NV5*U/NV6*U/P10*U 波特率:9600数据位:8停止位:1奇偶校验:0投影机开:504F10D 〔〞POWR 1,$0D〞〕投影机关:504F00D电脑:D视频:DS 视频:DHDMI 1 : D (‘IRGB 3,$0D’)HDMI 2 : D (‘IRGB 4,$0D’)D V I:型号:NV2SB/NV2U/NV3*U/C40*U/C45S/C50*/C55*波特率:9600数据位:8停止位:1奇偶校验:0投影机开:504F10D投影机关:504F00D电脑:D视频:DS 视频:DD V I:型号:A10*/A10S/C20*U/E3000U/E3500U/A20*/B10S 波特率:9600数据位:8停止位:1奇偶校验:0投影机开:504F10D投影机关:504F00D电脑:D视频:DS 视频:DD V I:型号:M15*/M15S波特率:9600数据位:8停止位:1奇偶校验:0投影机开:504F10D投影机关:504F00D电脑:D视频:DS 视频:DD V I:D型号:P20*U/V10WU/V10*U/P25*波特率:9600数据位:8停止位:1奇偶校验:0.投影机开:504F10D投影机关:504F00D电脑:D视频:DS 视频:DD V I:D型号:NV7*U波特率:9600数据位:8停止位:1奇偶校验:0投影机开:504F10D投影机关:504F00D电脑:D视频:DS 视频:DD V I:D*G-PH80WA/80WG波特率:115200,N,8,1504F10DD49,52,47,42,20,20,20,33,JVC 型号:DLA-*C988/788/388波特率:19200数据位:8停止位:1奇偶校验:0投影机开:10A投影机关:00A电脑:30AP :20AHDMI 1 :60AHDMI 2 :70A。
RS232转PN协议网关模块连接PLC和霍尼韦尔条码扫描器通信为了更快地输入信息,许多设备都配备了条码扫描器,但条码扫描器不能直接与CPU通信。
最直接和方便的方法是加RS232转PN协议网关模块(BT-PNR20)。
本文将深入研究如何利用巴图自动化的RS232转PN协议网关模块,在PLC和条码扫描器之间搭建通信桥梁,从而提高生产效率,降低人工干预成本。
一、设备准备1.RS232转PN协议网关模块:请使用支持RS232转PN协议的网关模块,如BT-PNR202.PLC:准备一台PLC,如西门子1200系列PLC,作为Profinet网络的主站。
3.扫描枪:选择支持RS232接口的扫描枪,读取和传输条码信息。
4.连接线缆:准备必要的连接线缆,包括RS232线缆和Profinet线缆。
二、硬件连接:将RS232转Profinet协议网关的RS232端口连接转条码扫描器,将Profinet端口连接转1200PLC,并确保设备正常供电。
在连接过程中,注意信号线的正确连接,避免因接线错误导致通信失败。
三、配置步骤1.打开博途,添加1200PLC2.配置PLC的IP地址为192.168.0.23.安装GSD文件4.安装GSD文件后,在设备目录下生成网关驱动程序5.添加网关驱动连接Profinet接口,IP地址配置为192.168.0.56.搜索和分配设备名称,分配和下载配置转PLC7.打开巴图自动化提供的网关软件,在Profinet选项中添加GSD文件8.该网关支持通过多个串口独立通信,因此可以看转每个串口都是预先设置的。
本案例是条码扫描器和单个串行端口网关之间的空闲端口通信的案例。
因此,串口连接modbus3预设接口,条码扫描器的默认通信参数为9600、N、8、19.本地IP配置里只需要设置主从模式为自由口模式备注:本地IP地址、子网掩码和默认网关端口在该模式下没有意义10.在数据映射中添加Modbus读写指令:第一条指令为网关默认的状态字指令CH1,必须位于第一个槽位。
S1系列 RS232 Commands SPEC
1. Connection
1.1. Port Setting
Item
Vaule
Methord
Asynchronous communication
Bits per seconds 19200 Data bits 8 Parity none Stop bits 1 Flow control
none
1.2.
Wiring
RS232 cross cable is used.
PC Projector COM Control Port 123456789
123456789
CD SG RXD TXD DTR DSR RTS CTS RING
RXD TXD SG RTS CTS N.C.
N.C.N.C.N.C.
(D-Sub 9 Pin ) (D-Sub 9 Pin )
mands:
Case sensitive,each command end by[CR](Carriage).
Command Item Command Item A00POWER ON A06VGA2
A01POWER OFF (Power OFF immediately)A07Component
A02POWER OFF A33Video
A05VGA1 A34S-Video
2.1POWER ON
Command“A00”[CR] (Hex:Ox41 0x30 0x30 0x0d)
Details Power ON when projector standby
OK[ACK][CR]
Return
NG“?”[CR]
2.2POWER OFF(Power OFF immediately)
Command“A01”[CR] (Hex:Ox41 0x30 0x31 0x0d)
Details Power OFF immediately
OK[ACK][CR]
Return
NG“?”[CR]
2.3POWER OFF
Command“A02”[CR] (Hex:Ox41 0x30 0x32 0x0d)
Details"Power off?" displays while send the command, just like press the "POWER"key.
OK[ACK][CR]
Return
NG“?”[CR]
2.4VGA 1
Command“A05”[CR] (Hex:Ox41 0x30 0x35 0x0d)
Details Change the input to "Computer1".
OK [ACK][CR]
Return
NG“?”[CR]
2.5VGA 2
Command“A06”[CR] (Hex:Ox41 0x30 0x36 0x0d) Details Change the input to "Computer2".
OK[ACK][CR]
Return
NG“?”[CR]
2.6component
Command“A07”[CR] (Hex:Ox41 0x30 0x37 0x0d) Details Change the input to "Component".
OK[ACK][CR]
Return
NG“?”[CR]
2.7Video
Command “A33”[CR] (Hex:Ox41 0x33 0x33 0x0d) Details Change the input to "Video".
OK [ACK][CR]
Return
NG “?”[CR]
2.8S-Video
Command“A34”[CR] (Hex:Ox41 0x33 0x34 0x0d) Details Change the input to "S-Video".
OK[ACK][CR]
Return
NG“?”[CR]。