|
jiabin_liang
級別: 正式會員
|
圖片:
威綸通宏指令:我想批量復(fù)位PLC M370到M382 13個點 ,用威綸通的 bool OFF=false SetDataEx(OFF, "Mitsubishi FX5U - Binary Mode (Ethernet)", M, 370, 13) 我寫1的時候是正常。我寫13的時候就出錯了,難道不是這個指令嘛 |
|---|---|
|
|
|
不小心遇見你
自動項目、PLC、視覺、通訊等工控軟件開發(fā)QQ3515716
級別: 工控俠客
|
你要對應(yīng)上啊 一個bool對應(yīng)13個M |
|
|---|---|---|
|
|
yizhimei
凌寒獨自開,為有暗香來!
級別: 工控俠客
|
大神QQ號7位 牛 現(xiàn)在這個應(yīng)該值不少錢吧 我也只有QQ群 7位 |
|
|---|---|---|
|
|
jiabin_liang
級別: 正式會員
|
可以告知下嘛。我這樣不是一個bool對應(yīng)13個M嗎?
|
|---|---|
|
|
|
夢雨天涯
微信hui530527 &
級別: 網(wǎng)絡(luò)英雄
|
bool OFF=false SetDataEx(OFF, "Mitsubishi FX5U - Binary Mode (Ethernet)", M, 370, 1) SetDataEx(OFF, "Mitsubishi FX5U - Binary Mode (Ethernet)", M, 371, 1) SetDataEx(OFF, "Mitsubishi FX5U - Binary Mode (Ethernet)", M, 372, 1) 這樣才對,OFF只是占用一個地址 |
|
|---|---|---|
|
|
jiabin_liang
級別: 正式會員
|
那有沒有批量復(fù)位的。不需要一條條寫的
|
|---|---|
|
|
|
hlq_0815
人生的成功不在于拿到一副好牌,而是怎樣將壞牌打好。
級別: 論壇版主
|
bool OFF[13]={false, false, false, false, false, false, false, false, false, false, false, false, false} SetDataEx(OFF[0], "Mitsubishi FX5U - Binary Mode (Ethernet)", M, 370, 13) |
|
|---|---|---|
|
本帖最近評分記錄:
|