串口服务器参数应该怎么设置

串口服务器参数应该怎么设置,第1张

串口服务器 在工业领域应用越来越广泛,在某些应用环境中需要对其参数进行设置,下面介绍串口服务器参数设置的几种方法。

一般串口服务的参数设置有网页和AT指令两种方法。

第一,网页设置方法。 通过网页来设置的方法是最常用的一种方法,在家庭路由器设置上也是用的网页,所以大多数人都不会陌生。

打开电脑浏览器,在地址栏中输入串口服务器的ip地址,其ip地址一般在服务器机身上带有。打开登陆界面后,输入登陆账号和密码进入界面后,即可修改参数。

网页设置的优点是使用 *** 作简单,利用电脑浏览器 *** 作即可完成,无须其它配套设备。但须要值得注意的是,串口服务器的IP地址必须和本机处在同一个网段上。

第二,AT指令设置方法。 AT 指令是指,在命令模式下用户通过 UART与模块进行命令传递的指令集,上电启动成功后,可以通过 UART对模块进行设置。

以有人的单串口服务器 USR-N510 为例,其模块的UART口参数为:波特率 115200、无校验、8 位数据位、1 位停止位。不同的模块去对应相应的参数即可。最后用户MCU可以随时发送串口命令来配置参数。

不同厂家的串口服务器不同,但其原理大同小异,以上就是两种设置串口服务器参数的方法。

以上讲述了串口服务器参数设置的方法,那么串口服务器参数设置的步骤是什么呢?

在购买 串口服务器 以后,想要实现联网需求,首先要对串口服务器进行设置。对于经验尚浅的从业者来说,真的是很丈二和尚摸不着头脑。等着技术支持远程一步步 *** 作是最容易的,缺点是下一次自己依然不会 *** 作。与其直接要果实,不如要耕种的方法,这样也可以迅速提高自己的专业水平,早日成为行业大牛。

以有人串口服务器USR-TCP232-304为例,讲述串口服务器的设置流程。

首先将串口服务器的网口连接到电脑,用485转USB转接线连接串口服务器和电脑,并接通电源。

按照串口服务器的电子说明书中的默认参数设置本地电脑的IP,如图所示
再登陆串口服务器背面的设置页面地址19216807进行设置。

打开串口服务器的设置软件,搜索设备,搜索设备成功后,设置该串口服务器的静态IP地址、波特率,本地端口以及工作方式。如果将串口服务器进行一对一传输,需要将这款串口服务器设置为TCP Serever的工作模式,点击“保存参数”(很多人忘了最简单也是最重要的这步)。

将第二款串口服务器换上,如上述方法设置第二款串口服务器的参数。目标IP地址为需要连接的串口服务器静态IP,即作为Server的串口服务器静态IP地址。本地端口和串口波特率与Server串口服务器保持一致。静态IP地址为同IP端的不同IP地址,,点击“保存参数”。

打开测试软件,将两个串口服务器链接的COM端口对应起来(“我的电脑——属性——设备管理器——端口”)。进行互发信息。

咳咳 转载的 爱看不看吧
----------------------以下为转载--------------------
管理类:
/op [ID]
给予某个玩家OP(这是真·OP,拥有所有的最高,所有的,包括去掉别人的OP和给别人OP)/deop [ID]
消除某个玩家的OP
/gamemode [0/1]
给予自己生存/创造模式,有人说给予别人也可以//gm [ID] 1,但是我试过是不行
/whitelist add [ID]
给予某个玩家白名单/whitelist remove [ID]
接触某个玩家的白名单
/ban [ID]
封禁某个玩家
/ban [IP]
封禁这个地址的所有号
/tempban [ID/IP] [time]
封禁某个ID或者IP一段时间,time里面这样写:1s就是一秒,1m,一分钟,1h,一小时,1d就是1天,1w,一个星期,mo,月,y,年
比如,封禁Littlebear这个玩家2个星期 (挨挨挨~~~!!不要啊~~~)
输入/tempban Littlebear 2w
/mute [ID] [time]
禁言某个玩家一段时间
/unban [ID/IP]
解封 ID或者IP
/setworth [物品名字/物品id] [数量]
设定一个东西的系统价格,这个物品名字或者ID都行
/worth [ID]
查看系统价格
不写物品id默认为查看手上的物品价格
/itemdb
查询你物品的名称和ID
手上拿着的这个
/mail [read/clear/send] [ID] [语句]
读取,清除,发送,某个离线玩家的留言
/msg [语句]
私聊
/near
查看附近的玩家
/reply [语句]
回复最后一个私聊你的玩家
/whois [nickname/ID]
查看某个玩家的用户信息,ID,akf信息,nick名,如果他给自己加了nick的话/seen
查看玩家最后一次下线前所在的坐标
/sudo [ID] [指令]
让某个玩家执行一段命令,比如/sudo Littlebear /suicide
让这个玩家自杀。。。但是OP不能强制OP执行命令
/tp [ID]
强制飞到某个玩家的身边
/tphere [ID]
让某个玩家强制飞到你身边
/tpall [ID]
让所有玩家飞到你身边,包括OP
/tppos [x] [y] [z]
传送到x,y,z
/spawner [怪物的英文名]
改变刷怪笼的刷新物,反正小熊试过是无用的- -/manuadd 名字 1-0
给某人创造或者生存/money give [钱数]
给与全部人xxx钱
代表全部人,相反的,/give xx xx也可以用
/tppos X Y Z 传送到某个坐标
服务器类:
/say [语句]
让服务器发一段所有人可见的话,并且是紫色字体的
/ping
测试你的服务器的ping值
/gc
查看服务器信息
/rules [数量]
查看服务器第几页的规矩
/essentials [reload/debug]
显示插件版本或者重读
/backup
备份服务器。需要配置备份脚本
/setspawn
在你站着的这个地方设置重生点
/setwarp [名字]
标注一块地区,以后你可以用/warp [名字] 来飞到这个你标注过的地方,相当于tp到领地
/baltop
查看财富排行榜
/compass
显示你当前的方位
/depth [ID]
显示你当前的高度,z轴高度
/getpos [ID]
显示当前的坐标x,y
/help [数量]
查看第几页的帮助
/helpop [语句]
Op留言求助
/world
切换世界为nether、normal。地狱,END等等,具体的我也不知道- -我不敢这么玩,我只试过一次,然后人飞到了地狱
/remove drops 99999 清空掉落物品
/killall mobs 杀光怪物
服务器没事执行下面指令不会卡服
/remove drops 999999
/killall mobs
作弊技能类:
/vanish
隐身(人家最~~~~喜欢用的了~~)
/fireball
释放地狱轰炸机的火球,从OP的口里吐出来
/shock [玩家ID]
雷击某个玩家,如果直接/shock 就在你的准心对着的地方给予雷击
/nuke [ID]
在某个玩家上方放核d,其实就是一堆被激活的TNT从天上飞下来
/antioch
在准心所指的地方放一颗炸d
/butcher
杀死附近的全部怪物
/killall
杀死附近的全部生物,包括人类
/kill [ID]
杀死某个玩家,= =这个我没用过。。我只喜欢隐身背后放苦力怕娘~(≥▽≤)/(炸飞)
咳咳咳。。。。
/suicide
自杀。。。
/burn [ID]
让某个玩家起火
/ext [ID]
给某个玩家灭火
/jump
直接跳跃到准心所指地方,长途旅行很实用
/fly [ID]
给予某个玩家飞行的权限
/up [数量]
把自己提升到某个高度,最大256,脚下会生成一块玻璃垫着你
/seen [ID]
查看某人最后退出的时间
/weather [storm/sun]
改变天气
/rain off
停雨,这个更简单
/time set [xx:xx]
设置时间,比如/time set 06:00就是设置时间为早上6点
/eco [give/take/reset] [ID] [数量]
给予/拿走/重设,某个玩家的钱
/heal [ID]
回复某个玩家的生命
/ptime [reset/list/day/night/dawn/xxxx/5am/xxxxticks] [ID/]
更改一个玩家的时间,是指所有玩家,这样他们所看到的时间和你所看到的时间是不一样的。
在时间前加上@,比如@day,就变成锁定这个玩家看到的世界永远是白天,但是实际时间到了晚上,玩家就会看到白天的骷髅怪不会烧着,他就会很纳闷
/unlimited [list/item/clear] [ID]
查看,给予,清楚,某个玩家的无限物品
/nick [称号]
给自己换称号。如果你换成:Bigbear,就会显示你的名字是“~Bigbear”但是你的ID还是Littlebear(切~)
/powertool [语句]
快速在聊天框里输入一行语句比如:
手拿一个马鞍,然后输入/powertool jump
以后你拿着马鞍左键一下就会直接使用这个命令"/jump"
你想快速说话,/powertool 小熊万岁
只要左键一下就能马上在聊天里出现,小熊万岁
/powertooltoggle
清除所有的powertoll
/forestgen
在自己身旁形成森林
/pumpkins
在自己身旁形成南瓜林
/snow
在自己的身旁成为雪后的样子
/thaw
融雪、冰
/tree [树的形状]
big 大树 ewquoia
红木
Tall sequoia 高大的红木
Birch 衫树
Random 随机
/enchant [附魔属性] [等级]
用这个命令能给你手里的工具增加一个附魔属性。如果不写附魔名称则会列出附魔列表。
怒杀小学生类:
/setjail [名字]
设置一个监狱
/togglejail [名字]
把玩家送进xxx监狱,永久封存
/tjail [ID] [监狱名字] [时间]
把玩家扔到指定的监狱多少时间1d, 1h ,1w 等等
/unjail [ID] [监狱名字] [时间]
多久后把玩家解放出来
/deljail [ID]
使某玩家从监狱中释放出来
/invsee
查看某个玩家的背包,并且可以移动
/clearinventory [ID]
清空某个玩家的背包/socialspy [ID]
查看他人隐私,包括锁东西的信息,邮件,私聊等等

腐蚀 RUST游戏指令和服务器指令一览,在服务器中,管理员也可以利用指令来管理游戏中不正当行为。下面就给大家带来腐蚀RUST基本指令及服务器指令大全,以供玩家们参考。

基本指令

(以下在聊天框内输入)

/msgmessage a specified player(私信一个玩家)

/mePuts your text into a purple color(你的 文字 将以紫色发出)

(以下在控制台内输入,按F1)

grasson true/false Enables or disables grass; Improves FPS for some(打开/关闭草地,可提高FPS)

grassdisplacement true/false Enables or disables grass displacements(打开关闭草地 移动 )

terrainidleinterval 0-100 Sets how often to draw unseen terrain; setting to 0 will disable(远景更新平率,0为不允许)

guishow Turns the UI on(显示用户界面)

guihide Turns the UI off(关闭用户界面)

guishow_branding Turns the branding UI in top-right corner on(显示右上角的标识)

guihide_branding Turns the branding UI in top-right corner off(隐藏右上角的标识)

netconnect "Server IP" Connect to a direct server IP(连接服务器IP,Server IP出填写服务器的IP)

netdisconnect Disconnects from a server(断开服务器连接)

netreconnect Reconnect to the last server you were on(重新连接上一个服务器)

censornudity false Disabled censorship(关闭裸体)

suicide Kills your character allowing for a respawn(自杀)

quit Quits the game(退出游戏)

服务器指令

rconlogin "password" Use your 'Password' to login into Rcon via ingame console (F1)。(使用控制台登录服务器)

status See how many players are online on server(查看在线玩家数量)

noticepopupall "message" Pops up a message for all players(发送服务器公告,在每个玩家屏幕上d出)

find Lists available console commands(列出控制台指令)

kick "player" Kicks player from the server(踢出某个玩家)

ban "player" or "steamid" Bans player Doesn't kick him though(封掉一个玩家)

banid "steamid" "reason" Bans a steamid from the server(封掉一个玩家的steamID,reason处可写理由,挂狗和无(B)素(I)质(U)狗去死吧)

unbanall Unbans all players(解封所有玩家)

truthenforce true/false Server kicks people automatically when they are doing "weird" things(服务器自动踢出做奇怪事情的人,如卡BUG)

saveall Saves world map and player inventory(服务器保存当前地图和玩家信息)。

say [message] Sends a message to the person/s in-game globally(以服务器身份说话)

invgiveplayer "player" "item" "amount" Gives 'Player' the 'Item' Full name and Item name required List of Items(给玩家东西,“玩家”“物品”“数量”)

invgiveall "item" "amount" Gives all players 'Item' Full Item name required List of Items(给所有人东西,“玩家”“物品”“数量”,比如节日的时候,可以作为惊喜,没人给一把q什么的)

dmggodmode true/false Gives all logged in admins godmode(开启/关闭所有人 创造 模式)

craftingcancel Cancels every single crafting job in progress for everyone(取消制作任何东西)

craftinginstant true/false Sets crafting to be instant for everyone(开启/关闭瞬间制作)

craftinginstant_admins true/false Sets crafting to be instant for logged in admins only(开启/关闭管理员瞬间制作)

craftingtimescale "amount" Sets the timescale of crafting to 'amount' (1 = default, 05 = half time)。(设置制作物品时间的速度,1为默认,05为一半时间)

airdropdrop Starts an airdrop(进行一次物品空降)

airdropmin_players "amount" Starts airdrops only when minimum X players are online(开始物品空降,当在线人数至少“X”人的时候)

vehiclespawn Spawns a car at your current position( 放置 一辆车,在你当前位置,管理装B专用)

serverhostname Sets a hostname(设置服务器名称)

serverclienttimeout "time"Sets the time until someone times out Good to fight item glitchers (Default 2 minutes)(设置超时时长,默认为2分钟)

serverpvp true/false Sets PVP on or off(开启PVP)

servermaxplayers "amount" Sets maximum amount of server slots(设置最大玩家数量)

sleeperson true/false Sets sleepers on or off(是否允许睡眠模式)

envtime "amount" Sets the time of day to a specified value(设置天的时间)

falldamageenabled true/false Turns fall damage on or off(开启/关闭掉落伤害)

RUST++ MOD

(以下在聊天框内输入)

基本命令

/share playername shares your doors with a player(共享你的门给一个玩家)

/unshare playername unshares your doors with a player(解除对一个玩家的门共享)

/help Shows commands(显示所有指令)

/pm "playername" "message" private messages a player(私聊一个玩家,名字必须写全)

/r message here quick reply to last PM(快速回复上一个私聊你的玩家)

/history Shows chat history, last 6 messages by default(显示前6个聊天内容)

/players Shows online players(显示当前在线玩家)

/location Shows the coordinates of the player(显示玩家的当前坐标)

/ping shows latency between client and server(显示服务器的延迟)

/starter gives a configurable starter kit(给予初始装备)

/friends shows your friends list(显示朋友列表)

/addfriend playername adds a player to your friends list(添加一个玩家为好友)

/unfriend playername removes a friend(移除一个好友)

/about shows server mod version(显示服务器版本)

管理员命令

/announce message here ADMIN ONLY - announces a message to the server(发送服务器公告)

/loadout ADMIN ONLY - spawns you an admin loadout set in the config file(生成一个管理 *** 作记录在设置文件夹下)

RustEssentials MOD

(以下在聊天框内输入)

/access {on} (Gives the sender access to all doors,给予你打开所有门的权限)

/access {off} (Revokes access to all doors from the sender,移除你打开所有门的权限)

/airdrop (Spawns an airdrop with a random drop location,设置一次随地地点的空降)

/airdrop(Spawns an airdrop with a drop location at the specified player,设置一次空降给某个玩家)

/ban(Bans player with reason: "Banned by a(n)",封掉一个玩家)

/ban[reason] (Bans player with reason,封掉一个玩家和愿意)

/chan {g} (Joins the global chat,加入全球聊天屏道)

/chan {global} (Joins the global chat,同上)

/chan {d} (Joins the direct chat,加入一个特定聊天屏道)

/chan {direct} (Joins the direct chat,同上)

/give(Gives the item to that player,给一个玩家指定物品)

/give[amount] (Gives the amount of the item to that player,给一个玩家指定物品和数量)

/give[item id] (Gives 1 of the item with the corresponding id to that player,给一个玩家指定的物品,这里用的是物品ID)

/give[item id] [amount] (Gives the amount of the item with the corresponding id to that player,给一个玩家指定的物品和数量,这里用的是物品ID)

/god(Gives the specified player god mode,给指定玩家上帝模式)

/heal player name (Heals the designated player,恢复指定玩家的血)

/help (Returns available commands for your current rank,显示指令)

/help [command without /] (Returns the documentation and syntax for the specified command,显示已经排除外的指令,without/后面填上你不想显示的指令)

/history {1-50} (Returns the the last # lines of the chat history,查看聊天记录,1-50里面填你想查看前面多少条记录)

/i(Gives the item to you,给自己指定物品)

/i[amount] (Gives the amount of the item to you,给自己指定物品和数量)

/i [item id] (Gives 1 of the item with the corresponding id to you,给自己指定物品,这里用的是物品ID)

/i [item id] [amount] (Gives the amount of the item with the corresponding id to you,给自己指定物品和数量,这里用的是物品ID)

/join (Emulates the joining of yourself, 模拟 自己加入游戏)

/join(Emulates the joining of a fake player,加入一个机器人到游戏中)

/kick(Kick player with reason: "Kicked by a(n)",踢出一个玩家)

/kick[reason] (Kick player with reason,踢出一个玩家和愿意)

/kickall (Kicks all users, except for the command executor, out of the server踢出所有玩家,除了输入这条指令者)

/kill(Kills the specified player,杀死一个指定玩家)

/kit [kit name] (Gives the user the specified kit if the user has the correct authority level,给一个用户指定套装,当这个玩家有指定的权限的时候)

/kits (Lists the kits available to you,列出自己所有能用的套装)

/leave (Emulates the leaving of yourself,模拟自己离开游戏)

/leave(Emulates the leaving of a fake player,模拟一个机器人离开游戏)

/mute(Mutes the player on global chat,禁言一个玩家)

/online (Returns the amount of players currently connected,显示所有服务器在线玩家)

/pmmessage (Sends a private message to that player,私聊某个玩家)

/pos (Returns the player's position,显示玩家所在的坐标)

/reload {config/whitelist/ranks/commands/kits/motd/bans/all} (Reloads the specified file,重新加载指定的文件)

/save (Saves all world data,保存世界数据)

/say message (Says a message through the plugin,以服务器身份说话,在公屏上)

/saypop message (Says a (!) dropdown message to all clients,d出一段话,在玩家屏幕上)

/saypop [icon] message (Says a dropdown message to all clients with designated icon),以icon的什么d出一段话,在玩家屏幕上

/share player name (Shares ownership of your doors with the designated user,共享门给指定玩家)

/stop (Saves, deactivates, and effectively stops the server,停止服务器并保存)

/time (Returns current time of day,显示当前世界时间)

/time {0-24} (Sets time to a number between 0 and 24,设置当前世界时间)

/time {day} (Sets time to day,设置为白天)

/time {freeze} (Freezes time,冻住当前时间)

/time {night} (Sets time to night,设置为晚上)

/time {unfreeze} (Unfreezes time,解冻当前时间)

/timescale (Returns the speed at which time passes,显示当前时间流逝速度)

/timescale [#] (Sets the speed at which time passes Recommended between 0 and 1 WARNING: THIS AFFECTS AIRDROPS,设置时间流逝速度,在0和1之间,警告!这个将影响到空降时间)

/uid (Returns your steam UID,显示你的steamID)

/uid player name (Returns that user's steam UID,显示指定玩家的steamID)

/unban(Unbans the specified player,解封指定玩家)

/ungod(Revokes god mode from the specified player,解除指定玩家的上帝模式)

/unmute(Unmutes the player on global chat,解除指定玩家的禁言)

/unshare {all} (Revokes ownership of your doors from everyone,解除对所有玩家的门共享)

/unshare player name(Revokes ownership of your doors from the designated user,解除对指定玩家的门共享)

/version (Returns the current running version of Rust Essentials,重置Rust Essentials模组的版本)

/whitelist {add} [UID] (Adds the specified Steam UID to the whitelist,把指定steamID添加至白名单)

/whitelist {check} (Checks if you're currently on the whitelist,查询白名单)

/whitelist {kick} (Kicks all players that are not whitelisted This only work if whitelist is enabled,踢出所有在白名单的人,如果白名单已经启动)

/whitelist {off} (Turns whitelist off,关掉白名单)

/whitelist {on} (Turns whitelist on,打开白名单)

/whitelist {rem} [UID] (Removes the specified Steam UID to the whitelist,移除指定steamID从白名单)

1、首先进入游戏,点击正上角的这个语言框图标,进入输入指令的界面。

2、点击输入框,出现QQ输入法。

3、点击左上角的QQ图标,打开QQ输入法的工具栏界面。

4、在输入法工具栏界面,找到剪贴板选项,然后点击。

5、然后在剪贴板里,点击已经复制好的指令。然后指令就被复制到输入栏里了。

6、最后点击右下角的发送,指令就使用成功了。

1、/mw help - 查看帮助列表传送去别的世界[帮助之源~]

2、/mw spawn [世界名] - 回到这一个世界的出生点

3、/mw create [世界名] [世界类型] [世界种子] - 创造一个新世界

4、世界类型包括:normal一般|nether地狱|planets行星|flatland平原|pixelartroompixel平面图世界|the_end 末界|solarsystem太阳系|plugin插件|ocean海洋|desert沙漠|epiccaves洞穴|

5、/mw delete [世界名] - 删除一个世界

6、/mw save - 保存插件信息

7、/mw reload - 重载插件


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zz/13300428.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-07-10
下一篇 2023-07-10

发表评论

登录后才能评论

评论列表(0条)

保存