南樺 電子報 079 | 出刊日期 | 2005.10.30 |
|
N:N Network (用 485 通訊方式連接多台 PLC ) FX 系列 |
目標: |
觀念介紹: |
參數介紹: |
輔助電驛
or 暫存器 |
功能說明 |
使用類型 |
|
FX0N、FX1S |
FX1N、FX2NS、FX2N |
||
M8138 |
通訊參數設定旗標 |
主站、副站 |
|
M504 |
M8183 |
主站通訊錯誤時 "ON" |
副站 |
M505 ~ M511 |
M8184 ~ M8190 |
副站通訊錯誤時 "ON"; |
主站、副站 |
M503 |
M8191 |
通訊之正常時 "ON" |
主站、副站 |
D8173 |
目前站別 |
主站、副站 |
|
D8174 |
目前副站總數 |
主站、副站 |
|
D8175 |
目前設定範圍 |
主站、副站 |
|
D201 |
D8201 |
現在掃描時間 |
主站、副站 |
D202 |
D8202 |
此網路中最大掃描時間 |
主站、副站 |
D203 |
D8203 |
主站通訊錯誤的號碼 |
副站 |
D204 ~ D210 |
D8204 ~ D8210 |
副站通訊錯誤的號碼 |
主站、副站 |
D211 |
D8211 |
主站的 ERROR CODE |
副站 |
D212 ~ D218 |
D8212 ~ D8218 |
副站的 ERROR CODE |
主站、副站 |
D219 ~ D255 |
- |
不使用 |
主站、副站 |
所需設定的參數: |
暫存器 |
功能說明 |
使用類型 |
|
FX0N、FX1S |
FX1N、FX2NS、FX2NC |
||
D8176 | 設定站號(每台 PLC 一訂要設定)
(0 ~ 7) |
主站、副站 |
|
D8177 |
所連副站數(主站不算) (1 ~ 7) |
主站 |
|
D8178 |
設定範圍(0、1、2) (預設為
0) |
主站 |
|
D8179 |
失敗時重傳次數(0 ~ 10) (預設為
3) |
主站 |
|
D8180 |
Time out 時間設定(5
~ 255)單位 0.01 秒 (預設 0.1 秒) |
主站 |
ERROR CODE 表示意義: |
Error code |
Meaning |
Error station |
Check station |
Description |
Checking
points |
01H |
Comms |
L |
M |
After master station send request to save station, no answer passing comms time-out. |
Check wiring, power of programmable controller, RUN/STOP state (RUN is OK) |
02H |
Station No. error |
L |
M |
Station No. is not agreement between the master station and the slave station. |
Check wiring |
03H |
Comms counter error |
L |
M |
Communication counter is not agreement between the masterstation and the slave station. |
Check wiring |
04H |
Comms format error |
L |
M, L |
Communication format is not right from slave station. |
Check wiring, power of programmable controller, RUN/STOP state (RUN is OK), station No. setting |
11H |
Comms time-out error |
M |
L |
After slave station send answer to master station, master station do not send request to next slave staion. |
Check wiring, power of programmable mable controller, RUN/STOP state (RUN is OK) |
14H |
Comms format error |
M |
L |
Communication format is not right from master station. |
Check wiring, power of programmable controller, RUN/STOP state (RUN is OK), station No. setting |
21H |
No slave erro |
L |
L *1 |
The station No. is not in this network. |
Check station No. setting. |
22H |
Station No. error |
L |
L *1 |
Station No. is not agreement between the master station and the slave station. |
Check wiring |
23H |
Comms counter error |
L |
L *1 |
Communication counter is not agreement between the master station and the slave station. |
Check wiring |
31H |
Not receive comms parameter error |
L |
L *2 |
When slave station receive request from master station before communication parameter. |
Check wiring, power of programmable controller, RUN/STOP state (RUN is OK) |
範圍表示方式: |
範圍 0 | 範圍 1 | 範圍 2 | |||
站號 | Word(4點) | Bit(32點) | Word(4點) | Bit(64點) | Word(8點) |
No.0 | D0 ~ D3 | M1000 ~ M1031 | D0 ~ D3 | M1000~M1063 | D0~D7 |
No.1 | D10 ~ D13 | M1064 ~ M1095 | D10 ~ D13 | M1064~M1127 | D10~D17 |
No.2 | D20 ~ D23 | M1128 ~ M1159 | D20 ~ D23 | M1128~M1191 |
D20~D27 |
No.3 | D30 ~ D33 | M1192 ~ M1223 | D30 ~ D33 | M1192~M1255 | D30~D37 |
No.4 | D40 ~ D43 | M1256 ~ M1287 | D40 ~ D43 | M1256~M1319 | D40~D47 |
No.5 | D50 ~ D53 | M1320 ~ M1351 | D50 ~ D53 | M1320~M1383 | D50~D57 |
No.6 | D60 ~ D63 | M1384 ~ M1415 | D60 ~ D63 | M1384~M1447 | D60~D67 |
No.7 | D70 ~ D73 | M1448 ~ M1479 | D70 ~ D73 | M1448~M1511 | D70~D77 |
主站程式: |
程式下載 |
副站 1 程式: |
程式下載 |
副站 2 程式: |
程式下載 |
|