|
|
EK18xx 系列耦合器結合了 EK1100 EtherCAT 耦合器的功能和標準型數字量 I/O。這種緊湊型設計特別特別適合用于具有少量 I/O 的應用。與 EK1100 一樣,EK18xx 系列耦合器也可以通過所有 EL/ES 端子模塊擴展。數字量 I/O 采用的是單線制連接技術。接線采用直插式連接技術,無需工具。
EK1828 有 4 個數字量輸入和 4 個數字量輸出。DXGRP : UDINT; IDXOFFS : UDINT; LEN : UDINT; (*寫數據長度,單位 Byte, 通常以 SizeOf( )函數獲取*) SRCADDR : DWORD; (*寫數據源地址,通常以 ADR( )函數獲取*) WRITE : BOOL; (*觸發條件,上升沿有效*) TMOUT : TIME; (*超時時間*) END_VAR VAR_OUTPUT BUSY : BOOL; ERR : BOOL; ERRID : UDINT; END_VAR 使用時按照 5.1.2 中 4 要素的描述填寫輸入變量即可。
6.1.4
從高級語言調用 ADS 通訊
供應倍福耦合器ek1828 倍福模塊ek1828 全新現貨模塊
各種語言:參考 Beckhoff Information System,其中不僅有函數的描述,也有相關的程序代 碼,并且可以解壓示例程序。
在此,以 VB 函數 AdsSyncReadReq 為例。 AdsSyncReadReq:用于從一個 ADS 設備同步讀取數據。 object.AdsSyncReadReq( nIndexGroup As Long, nIndexOffset As Long, cbLength As Long, pData As YY)
第 123 頁 共 141 頁 本文純屬個人經驗,非 Beckhoff 公司正式發行,如有疑問,請直接聯系作者。 2016-5-19
69725610.doc
As Long 參數: nIndexGroup [in] ADS 變量的 Index group nIndexOffset [in] ADS 變量的 Index offset cbLength [in] 讀取數據長度,單位:字節。 pData [in] 從 ADS 讀取的數據賦給指定的變量 返回值:見 ADS 故障代碼 注意: 發生錯誤時,pData 變量會置為"0". NetID 和 Port 實際上定義了一個設備,是在 OCX 對象的屬性 AdsAmsServerNetId 和 AdsAmsServerPort 里設置的。
供應倍福耦合器ek1828 倍福模塊ek1828 全新現貨模塊
說明: 使用同步讀寫指令時,ADS 讀寫完成或超時報錯之前,VB 應用程序一直掛起等待。 Visual Basic 變量必須聲明為一個數組。不支持字符串變量。 Example Dim VBVarInteger(0) As Integer Dim VBVarLong(0) As Long Dim VBVarSingle(0) As Single Dim VBVarDouble(0) As Double Dim VBVarByte(0) As Byte Dim VBVarBool(0) As Boolean
技術參數 | EK1828 |
---|---|
EtherCAT 系統內的任務 | 連接 EtherCAT 端子模塊(Elxxxx)與 100BASE-TX EtherCAT 網絡 |
數據傳輸介質 | Ethernet/EtherCAT 電纜(最低 CAT 5),屏蔽型 |
站點之間的距離 | 最長 100 米(100BASE-TX) |
EtherCAT 端子模塊數量 | 最多 65,534 個 |
協議 | EtherCAT |
延遲 | 約 1 μs |
數據傳輸率 | 100 Mbaud |
總線接口 | 2 x RJ45 |
額定電壓 | 24 V DC(-15 %/+20 %) |
E-bus 電流負載 | 1000 mA |
Up 電流消耗 | 40 mA + 負載 |
Us 電流消耗 | 100 mA +(Σ E-bus 電流/4) |
輸入點數 | 4 |
規范 | EN 61131-2,type 1/3 |
“0” 信號電壓 | -3…+5 V(EN 61131-2,type 1/3) |
“1“ 信號電壓 | 15…30 V(EN 61131-2,type 3) |
輸入濾波 | 3.0 ms |
輸入電流 | 通常為 3 mA (EN 61131-2, type 3) |
輸出點數 | 8 |
負載類型 | 電阻式負載、電感式負載、電燈負載 |
最大輸出電流 | 每通道 0.5 A(短路保護) |
短路電流 | 典型值 < 2 A |
反向電壓保護 | 有 |
斷裂能 | < 150 mJ/通道 |
開關時間 | 通常為 TON:60 μs, TOFF:300 μs |
電氣隔離 |
500 V(電源觸點/電源電壓/Ethernet), 500 V(E-bus/場電位) |
導線類型 | 實心線、絞線和線鼻子 |
導線連接 | 實心線:直插式連接技術;絞線和線鼻子:用螺絲刀驅動彈簧 |
額定截面積 | 實心線:0.08…1.5 mm2;絞線:0.25…1.5 mm2;線鼻子:0.14…0.75 mm2 |
工作/儲藏溫度 | -25…+60 °C/-40…+85 °C |
相對濕度 | 95 %,無冷凝 |
抗振/抗沖擊性能 | 符合 EN 60068-2-6/EN 60068-2-27 標準 |
抗電磁干擾/抗電磁輻射性能 | 符合 EN 61000-6-2/EN 61000-6-4 標準 |
防護等級/安裝位置 | IP 20/可變 |
認證 | CE,UL |
The EtherCAT Couplers from the EK18xx series combine the functionalities of the EK1100 EtherCAT Coupler with standard digital I/Os in one housing. This results in a compact design that is especially suitable for applications with a low number of I/Os. Like the EK1100, the EK18xx coupler can be extended by all EL/ES terminals. The digital I/Os are implemented with a 1-wire technique. The wiring can be implemented without tools using a direct plug-in technique with solid wire conductors or ferrules.
The EK1828 has four digital inputs and eight digital outputs.
Technical data | EK1828 |
---|---|
Task within EtherCAT system | coupling of EtherCAT Terminals (ELxxxx) to 100BASE-TX EtherCAT networks |
Data transfer medium | Ethernet/EtherCAT cable (min. Cat.5), shielded |
Distance between stations | max. 100 m (100BASE-TX) |
Number of EtherCAT Terminals | up to 65,534 |
Protocol | EtherCAT |
Delay | approx. 1 μs |
Data transfer rates | 100 Mbaud |
Bus interface | 2 x RJ45 |
Nominal voltage | 24 V DC (-15 %/+20 %) |
Current supply E-bus | 1000 mA |
Current consumption from UP | 40 mA + load |
Current consumption from US | 100 mA + (∑ E-bus current/4) |
Number of inputs | 4 |
Specification | EN 61131-2, type 1/3 |
“0“ signal voltage | -3…+5 V (EN 61131-2, type 1/3) |
“1“ signal voltage | 11…30 V (EN 61131-2, type 3) |
Input filter | 3.0 ms |
Input current | typ. 3 mA (EN 61131-2, type 3) |
Number of outputs | 8 |
Load type | ohmic, inductive, lamp load |
Max. output current | 0.5 A (short-circuit-proof) per channel |
Short circuit current | typ. < 2 A |
Reverse voltage protection | yes |
Breaking energy | < 150 mJ/channel |
Switching times | typ. TON: 60 μs, TOFF: 300 μs |
Electrical isolation |
500 V (power contact/supply voltage/Ethernet), 500 V (E-bus/field potential) |
Conductor types | solid wire, stranded wire and ferrule |
Conductor connection | solid wire conductors: direct plug-in technique; stranded wire conductors and ferrules: spring actuation by screwdriver |
Rated cross-section | solid wire: 0.08…1.5 mm2; stranded wire: 0.25…1.5 mm2; ferrule: 0.14…0.75 mm2 |
Operating/storage temperature | -25…+60 °C/-40…+85 °C |
Relative humidity | 95 %, no condensation |
Vibration/shock resistance | conforms to EN 60068-2-6/EN 60068-2-27 |
EMC immunity/emission | conforms to EN 61000-6-2/EN 61000-6-4 |
Protect. class/installation pos. | IP 20/variable |
Approvals | CE, UL |