µ±Ç°Î»ÖãºÊ×Ò³ > P400¼Ä´æÆ÷·Òë
S101
The Operating mode defines the role in the network a unit plays. A P400 modem may be configured for any role required within a radio network.
Master: Only one per network. In PP/PMP network types (see S133) data either originates at, is destined to, or passes through the Master.
Repeater: May act simply as a ?Repeater¡® to store and forward data to/from an upstream unit to/from a downstream unit (e.g. when there is a long distance between units), or, may act as a Repeater/Slave in which case the above function is performed AND the unit may also exchange data as a Slave within the network.
Slave: Interfaces with remote devices and communicates with Master either directly or via Repeater(s).
²Ù×÷ģʽ£º¶¨ÒåÒ»¸ö½ÚµãÔÚÍøÂçµ¥ÔªÖеĽÇÉ«¡£P400µ÷ÖÆ½âµ÷Æ÷ÄÜÔÚÒ»¸öÎÞÏßÍøÂçÀïÃæ±»ÅäÖóÉÈÎÒâ½ÇÉ«¡£ Ö÷Õ¾:ÿ¸öÍøÂçÖ»ÓÐÒ»¸ö¡£ÔÚPP / PMPÍøÂçÖÐ(¼ûS133)Êý¾Ý»òÕßÊÇÓÉÖ÷Õ¾Éú³É´«ÏòÄ¿µÄµØÖ·,»òÕßͨ¹ýÖ÷Õ¾¡£ ÖÐ¼ÌÆ÷:½ö½ö×÷Ϊ¨DÖÐ¼ÌÆ÷¡¬¿ÉÒÔ´æ´¢ºÍת·¢µ½/´ÓÉÏÐÐÁ´Â·ºÍµ½/´ÓÏÂÐÐÁ´Â·(ÀýÈç,µ±½ÚµãÖ®¼äÓнϳ¤¾àÀëʱ)»òÕߣ¬×÷Ϊһ¸öÓëÖ÷»ú½»»»Êý¾ÝµÄ´ÓÕ¾¡£ ´ÓÕ¾:Á¬½ÓÔ¶³ÌÉ豸²¢Ö±½Ó»òͨ¹ýͨÐÅÖÐ¼ÌÆ÷ͨÐÅ
S102
The serial baud rate is the rate at which the modem is to communicate with the attached local
asynchronous device. This value must match the PC or serial device that is connected to data port on the P400.
When forcing a module to Command Mode the data port will temporarily communicate at the default value. When the P400 is retuned to Data Mode, the serial port settings are returned to those specified in S102 and S110.
´®¿Ú²¨ÌØÂÊÊǵ÷ÖÆ½âµ÷Æ÷ÓëÁ¬½ÓÔÚ±¾µØÒ첽ͨÐÅÉ豸֮¼äͨѶµÄËÙÂÊ¡£Õâ¸öÖµ±ØÐëÓëÁ¬½Óµ½P400Êý¾Ý¶Ë¿ÚµÄ´®ÐÐÉ豸»òÕßPCÏàÆ¥Åä¡£
µ±Ç¿ÖƽøÈëÒ»¸öÄ£¿éÃüÁîģʽʱ£¬Êý¾Ý¶Ë¿Ú½«ÔÝʱ°´ÕÕĬÈÏֵͨÐÅ¡£P400»Øµ½Êý¾Ýģʽʱ,´®¿ÚÉèÖý«°´ÕÕS102ºÍS110µÄÖµ¡£
S103
This register determines the rate at which RF communications will occur over a given network. All modems within a particular network must be configured with the same wireless link rate. Faster link rates result in greater throughput, however, for each ¡®step¡® increase in link rate, there is an approximately 1dB reduction in sensitivity.
Õâ¸ö¼Ä´æÆ÷¾ö¶¨ÁËÔÚÒ»¸ö¸ø¶¨µÄÍøÂçÖеÄÉäÆµÍ¨ÐÅËÙÂÊ¡£ËùÓÐÔÚÌØ¶¨µÄÒ»¸öÍøÂçÀïµÄµ÷ÖÆ½âµ÷Æ÷±ØÐëÅäÖÃÏàͬµÄÎÞÏßËÙÂÊ¡£¸ü¿ìµÄÁ´½ÓËÙÂʵ¼Ö¸ü´óµÄÍÌÍÂÁ¿,µ«ÊÇ,¶ÔÓÚÿһ¼¶µÄµÄÁ´½ÓËÙ¶ÈÔöÁ¿,ÁéÃô¶ÈÓÐÒ»¸ö´óÔ¼1·Ö±´µÄ½µµÍ¡£
S104 (FH Modems)
All modems in a given network must have the same Network Address. This unique network address is not only a security feature for a particular network, but also allows other networks - with their own unique network address - to operate in the same area without the
possibility of undesired data exchange between networks.All modems in a given network must have the same Network Address.
ËùÓÐͬһ¸öÍøÂçÖеĵ÷ÖÆ½âµ÷Æ÷±ØÐë¾ßÓÐÏàͬµÄÍøÂçµØÖ·¡£ ÕâÖÖΨһµÄµÄÍøÂçµØÖ·²»½öÊÇÒ»¸öÌØ¶¨ÍøÂçµÄ°²È«ÌØÕ÷
,Ò²ÊDZÜÃâÓëÔÚÍ¬Ò»ÇøÓò¹¤×÷µÄÇÒÓµÓÐ×Ô¼ºµÄΨһµÄÍøÂçµØÖ·µÄÆäËûÍøÂçÖ®¼äµÄÊý¾Ý½»»»µÄ¿ÉÄÜÐÔ¡£
S105
The unit address is, and must be, a unique identifier of each modem in a network. The address value is 16-bits in length. The Master (FH) has by default, and must retain, a unit address of 1; 65535 is the broadcast address. Refer to the specific modem type for more information in regards to unit addressing. µ¥Î»µØÖ·ÊÇ,ÇÒ±ØÐëÊÇÒ»¸öÍøÂçÀïÿ¸öµ÷ÖÆ½âµ÷Æ÷µÄΩһ±êʶ·û£¬ÊÇ16λµÄ×Ö½Ú³¤¶ÈµÄÖµ¡£
ÔÚĬÈÏÇé¿öÏÂ,Ö÷Õ¾(ÌøÆµ)µÄµ¥ÔªµØÖ·±ØÐëÊÇ1;65535Êǹ㲥µØÖ·¡£²Î¿¼×¨Ãŵĵ÷ÖÆ½âµ÷Æ÷×ÊÁÏ»ñÈ¡µØÖ·½éÉÜ·½ÃæµÄÐÅÏ¢¡£
S107¾²Ì¬ÑÚÂë
This mask is applied to the transmitted data, and removed from the received data. It is an added form of security for a network.
¾²Ì¬ÑÚÂëÊÇÓ¦ÓÃÓÚ´«ÊäÊý¾Ý,È»ºó´Ó½ÓÊÕÊý¾ÝÖÐɾ³ý¡£ÕâÊÇÒ»¸öÍøÂçµÄ¸½¼ÓµÄ°²È«ÐÎʽ¡£
S108
This setting establishes the transmit power level which will bepresented to the antenna connector at the rear of the modem.Unless required S108 should be set not for maximum, but rather forthe minimum value required to maintain an adequate system fademargin.
Õâ¸öÉèÖý«½¨Á¢ÔÚµ÷ÖÆ½âµ÷Æ÷±³ÃæÌìÏßÁ¬½ÓÏß´¦µÄ·¢Ë͹¦ÂÊµÄµçÆ½¡£³ý·ÇÌØ±ð˵Ã÷S108²»Ó¦ÉèÖÃΪ×î´óÖµ,¶øÊÇÉèÖÃΪ±£³ÖÒ»¸ö×ã¹»µÄϵͳԤ˥¼õËùÐèµÄ×îСֵ¡£
S109 (FH Modems) Hop IntervalÌøÆµ¼ä¸ô
This register is effective only on the Master and is responsible for establishing the rate at which all modems within a particular network change frequency (hop - from frequency to frequency). Long hop intervals typically result in the greatest data throughput, however shorter hop intervals may decrease latency, particularly of smaller packets of data.
The default setting of 20ms is satisfactory for most applications. If adjustment of S109 is being considered, also consider the serial baud rate, wireless link rate, and maximum packet size (S102, S103, and S112).
Õâ¸ö¼Ä´æÆ÷Ö»ÓÐÔÚÖ÷Õ¾ÉϲÅÓÐЧ,¸ºÔðÉèÖÃÔÚÒ»¸öÌØ¶¨µÄÍøÂçÖеĵ÷ÖÆ½âµ÷Æ÷µÄ±äƵËÙÂÊ(hop¡ª¡ª´ÓÒ»¸öƵÂÊÌø±äµ½ÁíÒ»¸öƵÂÊ)¡£³¤Ìø¼ä¸ôͨ³£µ¼ÖÂ×î´óµÄÊý¾ÝÍÌÍÂÁ¿,È»¶ø¶ÌÌø¼ä¸ô¼õÉÙÑÓ³Ù,ÓÈÆäÊǽÏСµÄÊý¾Ý°ü¡£
20 msµÄĬÈÏÉèÖöÔÓÚ´ó¶àÊýÓ¦ÓóÌÐòÊÇÂú×ãÒªÇóµÄ¡£Èç¹ûS109ÕýÔÚµ÷Õû£¬Í¬Ê±Ò²Ó¦¸Ã¿¼ÂÇ´®Ðв¨ÌØÂÊ,ÎÞÏßÁ¬½ÓËÙÂʺÍ×î´óÊý¾Ý°ü´óС(S102,S103¡¢S112)¡£
S110 Data FormatÊý¾Ý¸ñʽ
This register determines the format of the data on the serial port. The default is 8 data bits, No parity, and 1 Stop bit. The value must match the PC or Serial Based device that is connected to the data port. When forcing a module to Command Mode the data port will temporarily communicate at the default value. When the P400 is retuned to Data Mode, the serial port settings are returned to those specified in
S102 and S110.
Õâ¸ö¼Ä´æÆ÷¾ö¶¨´®Ðж˿ÚÉϵÄÊý¾ÝµÄ¸ñʽ¡£Ä¬ÈÏÊÇ8λÊý¾Ýλ,ûÓÐÆæÅ¼Ð£Ñéλ,1λֹͣλ¡£Õâ¸öÖµ±ØÐëÓëÁ¬½Óµ½´®Ðж˿ڵĴ®ÐÐÉ豸»òÕßPCÏàÆ¥Åä¡£
µ±Ç¿ÖƽøÈëÒ»¸öÄ£¿éÃüÁîģʽʱ£¬Êý¾Ý¶Ë¿Ú½«ÔÝʱ°´ÕÕĬÈÏֵͨÐÅ¡£P400»Øµ½Êý¾Ýģʽʱ,´®¿ÚÉèÖý«°´ÕÕS102ºÍS110µÄÖµ¡£
S111 Packet Min Size·Ö×é´óСµÄ×îСֵ
This is the minimum number of collected bytes in one buffer before the buffer can be closed by the character timeout timer controlled by S116. Typically should not be modified.
ÕâÊÇ»º³åÇø¿ÉÒԹرÕǰÔÚÒ»¸ö»º³åÇøÀïÃæ¿ÉÒÔÊÕ¼¯µ½µÄ×îСÊýÁ¿µÄ×Ö½ÚÊý£¬Õâ¸öʱ¼äÊÇÓÉS116¿ØÖƵÄ×Ö·û³¬Ê±¶¨Ê±Æ÷¾ö¶¨µÄ¡£Í¨³£²»Ó¦¸Ã±»Ð޸ġ£
S112 Packet Max Size·Ö×é´óС×î´óÖµ
Determines that maximum number of bytes from the connected device that should be encapsulated into a packet. Large packet sizes may produce the best data throughput; however, a smaller packet is less likely to become corrupted and, if it does, is retransmitted with a lesser impact on network traffic. The default setting of 256 bytes is suited to most applications.
È·¶¨À´×ÔÓÚÁ¬½ÓÉ豸µÄ×î´ó×Ö½ÚÊý,Ó¦·â×°³É°ü¡£´óÊý¾Ý°ü´óС¿ÉÄܲúÉú×îºÃµÄÊý¾ÝÍÌÍÂÁ¿,È»¶ø,Ò»¸ö¸üСµÄ°ü²»Ì«¿ÉÄÜ»áËð»µ,²¢ÇÒ£¬ÖØ´«Ê±¶ÔÍøÂçÁ÷Á¿µÄÓ°Ïì¸üС¡£256×Ö½ÚµÄĬÈÏÉèÖÃÊÇÊʺϴó¶àÊýÓ¦ÓóÌÐò¡£
S113 Packet Retransmissions·Ö×éÖØ´«
This register determines the maximum number of times that a packet will be retransmitted (in addition to the initial transmission). Retransmissions can be used to provide system robustness and to ensure data delivery due to noisy environments or weak signal levels. Retransmissions should not be used as the only means to correct for data collisions. Retransmissions create additional traffic and can have a significant impact on overall throughput of a system.
Õâ¸ö¼Ä´æÆ÷¾ö¶¨Êý¾Ý°üµÄ×î´óÖØ´«´ÎÊý(³ýÁË×î³õµÄ·¢ËÍ)¡£ÖØ·¢¿ÉÒÔÓÃÓÚÌṩϵͳµÄǿ׳ÐÔºÍÈ·±£ÔÚàÐÔӵĻ·¾³Öлò΢ÈõÐźŵĻ·¾³ÖеÄÊý¾Ý½»¸¶¡£ÖØ´«²»Ó¦×÷Ϊ¾ÀÕýÊý¾ÝÅöײµÄΨһÊֶΡ£ÖØ·¢Ôì³É¶îÍâµÄÁ÷Á¿,¶ÔϵͳµÄÕûÌåÍÌÍÂÁ¿²úÉúÖØ´óÓ°Ïì¡£
S115 (FH Modems) Repeat Interval
In PP/PMP S115 determines the number of slots which are available within a window of opportunity for Remote units to submit channel requests to the Master modem. For a large number of remotes, the value of S115 should be set relatively high:
Remotes will randomly contend for the ability to access the channel request slots. For a small number of Remotes, it is advisable to keep S115 closer to the default value so as to not ?waste bandwidth¡® by maintaining a relatively large window housing a greater-than-necessary number of channel reservation request slots.
In a TDMA-type system, S115 may be set to 1 as the Remotes are not able to request a transmission channel: the Master polls each Remote for data.
ÔÚµã¶Ôµã/µã¶Ô¶àµãÍøÂçÖУ¬S115¾ö¶¨¿ÉÓòå²ÛµÄÊýÁ¿£¬ÔÚÔ¶¶ËÌύͨµÀÇëÇóµ½Ö÷µ÷ÖÆ½âµ÷Æ÷µÄÒ»¸ö´°¿ÚµÄ»ú»áÖ®ÄÚ¡£¶ÔÓÚÔ¶¶ËÊýÁ¿½Ï´ó£¬S115Ó¦ÉèÖõÄÖµÏà¶Ô½Ï¸ß¡£Ô¶¶Ë½«Ëæ»úÕùÓ÷ÃÎÊͨµÀ²å²ÛµÄÇëÇó¡£¶ÔÓÚÉÙÁ¿µÄÔ¶¶Ë,½¨Òé±£³ÖS115½Ó½üĬÈÏÖµ,²»ÀË·Ñ´ø¿íµÄά³ÖÒ»¸öÏà¶Ô½Ï´óµÄ´°¿Ú¡£
ÔÚTDMA-typeϵͳÖÐ,µ±Ô¶¶Ë²»ÄÜÇëÇó´«ÊäͨµÀʱ£¬S115¿ÉÒÔÉèÖÃΪ1£¬Ö÷Õ¾ÂÖѲÿ¸öÔ¶¶ËÊý¾Ý¡£
S116 Character Timeout×Ö·û³¬Ê±
Character Timeout in 1/4 of character time (0-255). Default = 10 (2.5 character time). This ?timer¡® looks for gaps in the data being received from the local attached device. The timer is activated after the Minimum Packet Size (S111, default 1 Byte) has been accumulated in the modem. If the timer detects a gap in the data exceeding the Character Timeout value, the modem will transmit the data.
The Pico will accumulate data in its buffers until either (a) Maximum Packet size (S112) has been accumulated, or (b) Minimum Packet Size (S111) has been accumulated AND the Character timeout has expired¡ªwhichever occurs first. If S116 is set to 0, the modem will buffer exactly the Minimum Packet size and then transmit that data.
ʱ¼ä³¬Ê±1/4µÄ×Ö·û(0 - 255)¡£Ä¬ÈÏ= 10(2.5¸ö×Ö·ûʱ¼ä)¡£Õâ¨D¶¨Ê±Æ÷¡¬Ñ°ÕÒÀ´×Ô±¾µØµÄ¸½¼ÓÉ豸µÄÊý¾Ý¼ä϶¡£¼ÆÊ±Æ÷±»¼¤»îºóµÄ×îµÍÊý¾Ý°ü´óС(S111¡¢Ä¬ÈÏ1×Ö½Ú)»ýÀ۵ĵ÷ÖÆ½âµ÷Æ÷¡£Èç¹û¶¨Ê±Æ÷ÔÚÊý¾ÝÖмì²âµ½Ò»¸ö³¬¹ý×Ö·ûÖµµÄ¼ä϶ʱ,µ÷ÖÆ½âµ÷Æ÷½«´«ÊäÊý¾Ý¡£
¨DPico΢ϵÁС¬½«»ýÀÛÊý¾Ýµ½»º³åÇø,Ö±µ½(a)»ýÀÛµÄ×î´óÊý¾Ý°ü´óС(S112),»ò(b)×îСÊý¾Ý°ü´óС(S111)ÒѾ»ýÀÛ»òÕß×Ö·û³¬Ê±ÏÈ·¢Éú¡£Èç¹ûS116ÉèÖÃΪ0,µ÷ÖÆ½âµ÷Æ÷½«»º³åÍêÈ«×îµÍ°üµÄ´óС,È»ºó´«ËÍÕâЩÊý¾Ý¡£
S118 (FH Modems) Roaming
This feature allows a Remote unit to synchronize with a specified ?upstream¡® unit (either Master or Repeater). The options are as follows:
S118=65535: A Remote will synchronize with an upstream unit which has the same network address (S104) and static mask (S107) as the Remote. Should that upstream unit fail, this Remote will attempt to synchronize with another ¡®upstream¡® unit within the same network. This ability is particularly well-suited to mobile applications.
Õâ¸öÌØÐÔÔÊÐíÔ¶³Ìµ¥ÔªÓëÖ¸¶¨µÄ¨DÉÏÐÐÁ´Â·¡¬µ¥Ôª(Ö÷»òÖÐ¼ÌÆ÷)ͬ²½¡£µÄÑ¡ÏîÈçÏÂ:
S118 = 65535:Ô¶³Ìµ¥Ôª»áÓë¾ßÓÐÏàͬµÄÍøÂçµØÖ·(S104)ºÍ¾²Ì¬ÑÚÂë(S107)µÄÉÏÐÐÁ´Â·µ¥ÔªÍ¬²½£¬×÷ΪԶ³Ì¡£Èç¹ûÉÏÐе¥ÔªÊ§°Ü,Õâ¸öÔ¶¶Ë½«³¢ÊÔͬ²½ÓëͬÒâÍøÂçÖÐÁíÒ»¸ö¨DÉÏÐÐÁ´Â·¡¬µ¥ÔªÍ¬²½¡£ÕâÖÖÄÜÁ¦ÊÇÌØ±ðÊʺÏÓÚÒÆ¶¯Ó¦Óá£
S118=1-254: In most static (fixed) networks, where there are no Repeaters, the default value of 1 is maintained: All Slaves synchronize to the Master (whose unit address is 1).
In networks where Repeaters are present, the value of a Remote¡®s S118 corresponds to the particular upstream modem with which a particular Remote is intended to communicate, e.g. Slave UA (S105)=3 may have an S118=2, where the modem with UA 2 is a Repeater between the Slave and the Master; the Repeater will have an S118=1.
S118 = 1 - 254:ÔÚ´ó¶àÊý¾²Ì¬(¹Ì¶¨µÄ)ÍøÂç,ûÓÐÖÐ¼ÌÆ÷,±£³ÖĬÈÏÖµ1:ËùÓдÓվͬ²½µ½Ö÷Õ¾(Ö÷Õ¾µ¥Î»µØÖ·ÊÇ1)¡£
ÔÚÓÐÖÐ¼ÌÆ÷µÄÍøÂç,Ò»¸öÉÏÓÎÔ¶¶Ë´ÓÕ¾µÄS118¶ÔÓ¦ÓÚËûÒªÓë֮ͨѶµÄµ÷ÖÆ½âµ÷Æ÷¡£ÀýÈçµ¥ÔªµØÖ·=3µÄS118 =2,ÔÚÕâÖÖÇé¿öÏ£¬µ¥ÔªµØÖ·=2µÄµ÷ÖÆ½âµ÷Æ÷ÊÇÖ÷Õ¾ºÍ´ÓÕ¾Ö®¼äµÄÖÐ¼ÌÆ÷£¬¶øµ¥ÔªµØÖ·=2µÄÖÐ¼ÌÆ÷S118 = 1¡£
¹²·ÖÏí92ƪÏà¹ØÎĵµ