西門子 6ES7134-4GB52-0AB0 西門子 6ES7134-4GB52-0AB0 西門子 6ES7134-4GB52-0AB0
SIMATIC DP,電子模塊 ET200S:2AI High Speed I-2 線 0-20mA;4.. 20mA, 15 位,15mm 結構寬度, 用于 2 線測量變換器 模塊的循環(huán)時間:0.1ms, 利用 LED 集中報錯(集中報錯)
長沙玥勵自動化設備有限公司(西門子系統(tǒng)集成商)長期銷售西門子S7-200/300/400/1200PLC、數(shù)控系統(tǒng)、變頻器、人機界面、觸摸屏、伺服、電機、西門子電纜等,并可提供西門子維修服務,歡迎來電垂詢
聯(lián)系人:姚善雷 (銷售經(jīng)理)
手機 :13874941405
QQ : 3464463681
地址:長沙市岳麓區(qū)雷鋒大道468號金科世界城16-3303室
產(chǎn)品 | ||||||||||||||||||||||||||||||||||||||||
商品編號(市售編號) | 6ES7134-4GB52-0AB0 | |||||||||||||||||||||||||||||||||||||||
產(chǎn)品說明 | SIMATIC DP,電子模塊 ET200S:2AI High Speed I-2 線 0-20mA;4.. 20mA, 15 位,15mm 結構寬度, 用于 2 線測量變換器 模塊的循環(huán)時間:0.1ms, 利用 LED 集中報錯(集中報錯) | |||||||||||||||||||||||||||||||||||||||
產(chǎn)品家族 | 模擬量電子模塊 | |||||||||||||||||||||||||||||||||||||||
產(chǎn)品生命周期 (PLM) | PM300:有效產(chǎn)品 | |||||||||||||||||||||||||||||||||||||||
價格數(shù)據(jù) | ||||||||||||||||||||||||||||||||||||||||
價格組 / 總部價格組 | AL / 250 | |||||||||||||||||||||||||||||||||||||||
列表價(不含增值稅) | 顯示價格 | |||||||||||||||||||||||||||||||||||||||
您的單價(不含增值稅) | 顯示價格 | |||||||||||||||||||||||||||||||||||||||
金屬系數(shù) | 無 | |||||||||||||||||||||||||||||||||||||||
交付信息 | ||||||||||||||||||||||||||||||||||||||||
出口管制規(guī)定 | AL : N / ECCN : EAR99H | |||||||||||||||||||||||||||||||||||||||
工廠生產(chǎn)時間 | 10 天 | |||||||||||||||||||||||||||||||||||||||
凈重 (Kg) | 0.056 Kg | |||||||||||||||||||||||||||||||||||||||
產(chǎn)品尺寸 (W x L X H) | 未提供 | |||||||||||||||||||||||||||||||||||||||
包裝尺寸 | 6.30 x 9.00 x 2.30 | |||||||||||||||||||||||||||||||||||||||
包裝尺寸單位的測量 | CM | |||||||||||||||||||||||||||||||||||||||
數(shù)量單位 | 1 件 | |||||||||||||||||||||||||||||||||||||||
包裝數(shù)量 | 1 | |||||||||||||||||||||||||||||||||||||||
其他產(chǎn)品信息 | ||||||||||||||||||||||||||||||||||||||||
EAN | 4025515074984 | |||||||||||||||||||||||||||||||||||||||
UPC | 662643400663 | |||||||||||||||||||||||||||||||||||||||
商品代碼 | 85389091 | |||||||||||||||||||||||||||||||||||||||
LKZ_FDB/ CatalogID | ST76 | |||||||||||||||||||||||||||||||||||||||
產(chǎn)品組 | 4056 | |||||||||||||||||||||||||||||||||||||||
原產(chǎn)國 | 德國 | |||||||||||||||||||||||||||||||||||||||
Compliance with the substance restrictions according to RoHS directive | RoHS 合規(guī)開始日期: 2009.11.25 | |||||||||||||||||||||||||||||||||||||||
產(chǎn)品類別 | A: 問題無關,即刻重復使用 | |||||||||||||||||||||||||||||||||||||||
電氣和電子設備使用后的收回義務類別 | 沒有電氣和電子設備使用后回收的義務 | |||||||||||||||||||||||||||||||||||||||
分類 | ||||||||||||||||||||||||||||||||||||||||
|
ET200S 1 步進模板使用入門
ET200S 1 5V/204KHz 步進模板入門
1. 模板介紹
1.1 總覽
ET200S 1 步進模板輸出脈沖來控制步進電機 ,輸出脈沖的數(shù)量決定步進電機的運動距離,輸出脈沖的頻率決定步進電機的速度。
模板訂貨號: 6ES7138-4DC00-0AB0
1.2 模板參數(shù)
圖. 1: 步進電機模板
2. 模板接線
圖. 2: 步進模板接線圖
3. 硬件配置
步進模板可以安裝在ET 200S接口模板或者 ET200S CPU后面。
本文使用 IM151-7 CPU 為例。
表 1: 軟件和硬件配置
圖. 3: ET200S 站的配置圖
4. 硬件和參數(shù)設置
4.1 硬件配置
1) 根據(jù)圖. 2 和圖. 3完成ET200S的接線
2) 打開STEP7,創(chuàng)建一個新項目,并插入一個S7-300站
3) 從硬件目錄中選擇IM151-7 CPU直接拖拽到站配置窗口
圖. 4: 插入IM151-7 CPU
4) 依次在4槽和5槽插入電源模板 PM-E DC24 和步進模塊
圖. 5: 硬件配置
4.2 模板參數(shù)配置
圖. 6: 步進模塊參數(shù)接口
4.2.1 模板參數(shù)說明
1) 組診斷:組診斷
2) 基準頻率:基準頻率,以Hz為單位,標識Fb
3) 增益 n: 增益系數(shù) n,值范圍 1-255. 此增益系數(shù)決定啟動/停止頻率 Fss,并且計算公式為: Fss=Fb×n
4) 時間 i: 時間系數(shù) i, 值范圍 1-255. 該時間系數(shù)以Hz/ms決定加速和減速,計算公式為: a = Fb ×R / (i×0.128 ms)
5)功能 DI: 數(shù)字量輸入DI 功能可選,可以被組態(tài)為外部脈沖輸入或者外部停止信號,缺省是外部脈沖且已使能。
6) 外部 Stop, 限位 Stop: 外部 stop, 信號類型停止開關. 接觸器觸點是常閉信號,以確保該接觸器信號,缺省是讀取常閉信號。
4.2.2 本文所例參數(shù)設置如下
本例參數(shù)配置見圖. 6.
1) 沒有激活組診斷
2) 基準頻率 4Hz
3) 乘法系數(shù) 1, 啟動/停止頻率 4Hz
4) 時間系數(shù) 1, 加速/ 減速 31.25 Hz/ms
5) 使能外部輸入脈沖
6) 外部輸入停止和限位信號為常閉類型
5. 編程
5.1 模板輸入/輸出地址分配
與其它ET200S功能塊類似,1STEP步進模板也通過直接讀寫I/O地址來對模板進行控制和訪問的。
反饋信號 (輸入), 占用 8 字節(jié). 如表 2 輸入地址分配所示。
控制信號 (輸出), 占用 8 字節(jié). 如表 3 輸出地址分配所示。
有關輸入和輸出變量分配的詳細信息請參閱 ET200S 位置控制和操作手冊。鏈接如下:
/cs/document/9260790?caller=view&lc=en-WW
表 2: 輸入地址分配
表 3: 輸出地址分配
5.2 項目例程
為了更好的實現(xiàn)按位,字節(jié)或字對模板進行讀寫,在梯形圖中使用MOVE指令接收輸入數(shù)據(jù)PIB272-PIB279 到MB10-MB17發(fā)送MB20-MB27到PQB272-PQB279,對1STEP模板的讀寫訪問均通過MB地址來進行。
1STEP模板地址分配見圖. 5
圖. 7: 例程編程
6. 模式描述和舉例
6.1 Search-for-reference-point 模式
通過執(zhí)行search-for-reference-point 模式來同步軸, 即.在機械零位和電氣零位之間創(chuàng)建連接關系。
6.1.1 Search-for-reference-point 模式
Mode=1
參考點按照常開信號訪問
搜尋參考點輸出頻率 Fss 和 Fa。
Fss 啟動停止頻率,見章節(jié) 4.2.1相關描述。
Fa 輸出頻率: Fa = Fb ×G × R
Fb: 基準頻率. 在1STEP 模板參數(shù)中設置。 見章節(jié) 4.2.1相關描述。
增益 G: 增益系數(shù) G. 值范圍: 1-255, 參見模板輸出地址字節(jié): 0。
減少 R:減少系數(shù) R. 模板輸出地址字節(jié)4的第7位信號,參見表 3.模板輸出地址4.7=0, R=1. 模板輸出地址 4.7=0, R=0.1.
圖. 8: 搜尋參考點
6.1.2 search-for-reference-point模式例程
本例模式見圖. 8, viz. 搜尋 CW 方向.
6.2 增量模式
增量模式是 1STEP 的主要操作模式. 該操作模式可控制步進電機移動按照設定速度移動到一個指定位置。
6.2.1 增量模式描述
Mode=0
輸出脈沖的數(shù)量決定步進電機的移動距離,最大值脈沖值為 1048575.
輸出脈沖頻率決定步進電機速度。
在增量模式下輸出頻率: Fss, Fa
方向信號作為啟動信號。
注意: 步進電機實際位移取決于脈沖數(shù)實際速度取決于脈沖頻率,這不是在1STEP模板中設置的。
6.2.2 增量模式例程
1. TDC IE communication introduction
TDC system is the newest digital control system of SIMADYN D family and it has the highest quality in the SIMATIC control system family.
As one part of TIA family it has powerful communication function. The system provides the MPI communication protocol, Profibus communication protocol, Ethernet communication protocol. It is easy to communicate with other simatic product, for example S7-300, S7-400, HMI and drives product.
For Ethernet communication, the hardware platform is CP51M1 which supply a standard RJ45 Ethernet interface; the old interface CP5100 is discontinued as per Aug. 1 2005.
For communication task, system can exchange process data with other TDC system or PLC S7 system through CP51M1 module.
For communication protocol, TDC system supplies TCP/IP protocol and/or UDP protocol.
For transfer modes, refresh mode, handshake mode, multiple mode and select mode are available for selection.
For net speed it can work with 10Mbit and 100Mbit network, the module can automatically sense the net speed.
2. TDC configuration steps
2.1 Hardware configuration in SIMATIC Manager
2.1.1 Create a new S7 project
2.1.2 Insert a TDC station
2.1.3 Select hardware configuration in SIMATIC Manager, double click to open it
2.1.4 Insert the subrack, CPU, communication board CP51M1 and other module from the hardware catalog
Keep the same type with which is used in the sub rack.
2.1.5 Define the CPU module and communication module properties
For CP51M1, we need to define the module name firstly
For Ethernet property we need to define the IP address and subnet mask
2.1.6 Save and compiled the hardware configuration
2.2 CFC programming
2.2.1 Insert a CFC program in SIMATIC Manager, double click it to open it
2.2.2 Insert the TCPIP communication block into the chart, define the connection address which is set in the hardware configuration and select the proper cycle time
2.2.3 Insert the send function block CTV_P, define the connection:
CTS | P51M1 hardware address which is set in hardware configuration | |||||||
AT |
channel name.protocol type–CP51M1 port number.partner IP address–partner port number, for example: 'TRAN.T-02004.192168000003-02002’ |
|||||||
MOD | normally we select handshake mode | |||||||
EN | set to 1 to enable the FB | |||||||
NBY | define the telegram length in bytes |
2.2.4 Insert the DWR_D block to write the communication content to the communication buffer
Here we can define the offset in the communication buffer by set connector1/2. The final result is the sum of offset1 and offset2.
For connector SWP we set it to 1 if it communicates with a PLC.
The data we try to send is set in connector X, here is 44 as an example.
For receive part, we can do it in the same way.
For connector AR of CRV_P, we do not need to define the partner IP address–partner port number.
2.2.5 Compiled the program and download it to the memory card and restart the system
3. S7-400 configuration steps
3.1 S7 hardware configuration
First insert the S7-400 station, and then open the hardware configuration to insert the modules which are available on the sub rack.
For CP443-1 module we need to define the IP address and subnet mask.
The IP address will be used in the CFC program.
3.2 network configuration in the Netpro software
Open Netpro under hardware configuration menu
Select the CPU in the SIMATIC station and insert a new connection,
Select unspecified station and
TCP connection, press apply button.
Select the ID number, record the address LADDR.
Both of them will be used in the S7 program.
Under address menu we need to set the local port number, partner address and port number, press OK button to confirm the setting.
For other connection you need, you can do it in the same way.
Then we need to save and compile the configuration.
We need to download not only the hardware configuration, but also the Netpro configuration to the CPU.
3.3 Programming in the S7 CPU
For the industrial Ethernet communication we use the FC5 AG_SEND, FC6 AG_RECV block.
These blocks transfer and receive the data on the configured TCP connection to and from the Ethernet CP.
Here we made two FC separately for send and receive function, one is FC 30 for FC5, and another is FC31 for FC6.
For FC5, we need to define:
ACT: | set it to one to trigger FC | ||||||
ID: | connection ID number which is set in Netpro | ||||||
LADDR: | CP module start address which is set in hardware configuration, also | ||||||
available in Netpro. The address is in HEX mode, for example 3FF8H | |||||||
SEND: | set the transfer data address and buffer length | ||||||
keep the format for example P#DB31.DBX100.0 BYTE 8 | |||||||
LEN: | numbers of bytes to be send from the transport data area with this job | ||||||
DONE: | bit signal for executed status |
For error evaluate we can check the connector Error and Status. For the status code we can get detail information in the FC5 description documentation.
For FC6, we can do it in the same way.
西門子 6ES7134-4GB52-0AB0 西門子 6ES7134-4GB52-0AB0 西門子 6ES7134-4GB52-0AB0