西門子 6ES7138-4CA50-1AB0 西門子 6ES7138-4CA50-1AB0 西門子 6ES7138-4CA50-1AB0
SIMATIC DP,5 電源模塊 PM-E 用于 ET 200S;24V-48V DC 含診斷 5 件/包裝單位
長沙玥勵自動化設(shè)備有限公司(西門子系統(tǒng)集成商)長期銷售西門子S7-200/300/400/1200PLC、數(shù)控系統(tǒng)、變頻器、人機界面、觸摸屏、伺服、電機、西門子電纜等,并可提供西門子維修服務(wù),歡迎來電垂詢
聯(lián)系人:姚善雷 (銷售經(jīng)理)
手機 :13874941405
QQ : 3464463681
地址:長沙市岳麓區(qū)雷鋒大道468號金科世界城16-3303室
產(chǎn)品 | ||||||||||||||||||||||||||||||||||||||||
商品編號(市售編號) | 6ES7138-4CA50-1AB0 | |||||||||||||||||||||||||||||||||||||||
產(chǎn)品說明 | SIMATIC DP,5 電源模塊 PM-E 用于 ET 200S;24V-48V DC 含診斷 5 件/包裝單位 | |||||||||||||||||||||||||||||||||||||||
產(chǎn)品家族 | 電子模塊的 PM-E 電源模塊 | |||||||||||||||||||||||||||||||||||||||
產(chǎn)品生命周期 (PLM) | PM300:有效產(chǎn)品 | |||||||||||||||||||||||||||||||||||||||
價格數(shù)據(jù) | ||||||||||||||||||||||||||||||||||||||||
價格組 / 總部價格組 | AL / 250 | |||||||||||||||||||||||||||||||||||||||
列表價(不含增值稅) | 顯示價格 | |||||||||||||||||||||||||||||||||||||||
您的單價(不含增值稅) | 顯示價格 | |||||||||||||||||||||||||||||||||||||||
金屬系數(shù) | 無 | |||||||||||||||||||||||||||||||||||||||
交付信息 | ||||||||||||||||||||||||||||||||||||||||
出口管制規(guī)定 | AL : N / ECCN : N | |||||||||||||||||||||||||||||||||||||||
工廠生產(chǎn)時間 | 10 天 | |||||||||||||||||||||||||||||||||||||||
凈重 (Kg) | 0.181 Kg | |||||||||||||||||||||||||||||||||||||||
產(chǎn)品尺寸 (W x L X H) | 未提供 | |||||||||||||||||||||||||||||||||||||||
包裝尺寸 | 8.10 x 9.10 x 6.30 | |||||||||||||||||||||||||||||||||||||||
包裝尺寸單位的測量 | CM | |||||||||||||||||||||||||||||||||||||||
數(shù)量單位 | 1 包裝 | |||||||||||||||||||||||||||||||||||||||
包裝數(shù)量 | 5 | |||||||||||||||||||||||||||||||||||||||
其他產(chǎn)品信息 | ||||||||||||||||||||||||||||||||||||||||
EAN | 4025515078227 | |||||||||||||||||||||||||||||||||||||||
UPC | 662643789140 | |||||||||||||||||||||||||||||||||||||||
商品代碼 | 85389091 | |||||||||||||||||||||||||||||||||||||||
LKZ_FDB/ CatalogID | ST76 | |||||||||||||||||||||||||||||||||||||||
產(chǎn)品組 | 4056 | |||||||||||||||||||||||||||||||||||||||
原產(chǎn)國 | 中國 | |||||||||||||||||||||||||||||||||||||||
Compliance with the substance restrictions according to RoHS directive | RoHS 合規(guī)開始日期: 2008.12.31 | |||||||||||||||||||||||||||||||||||||||
產(chǎn)品類別 | A: 問題無關(guān),即刻重復(fù)使用 | |||||||||||||||||||||||||||||||||||||||
電氣和電子設(shè)備使用后的收回義務(wù)類別 | 沒有電氣和電子設(shè)備使用后回收的義務(wù) | |||||||||||||||||||||||||||||||||||||||
分類 | ||||||||||||||||||||||||||||||||||||||||
|
TM Count 2x24V,訂貨號: 6ES7550-1AA00-0AB0 是一個能夠提供雙通道計數(shù)、測量以及位置反饋功能的工藝模塊。
圖01. TM Count 2x24V 模塊視圖
計數(shù)是指對事件進行記錄和統(tǒng)計,工藝模塊的計數(shù)器 捕獲編碼器信號和脈沖,并對其進行相應(yīng)的評估??梢允褂镁幋a器或脈沖信號或通過用戶程序指定計數(shù)的方向。也可以通過數(shù)字量輸入控制計數(shù)過程。模塊內(nèi)置的比 較值功能可在定義的計數(shù)值處準確切換數(shù)字量輸出(不受用戶程序及 CPU 掃描周期的影響)。
名稱 | 訂貨號 | 版本 |
CPU 1511 | 6ES7511-1AK00-0AB0 | FW V1.5 |
TM 2x24V | 6ES7550-1AA00-0AB0 | FW V1.0 |
STEP7 TIA Portal | 6ES7822-1AA03-0YA5 | V13 |
圖例 | 名稱 | 信號類型 |
![]() |
增量編碼器(A、B 相差) |
帶有 A 和 B 相位差信號的增量編碼器。 |
![]() |
增量編碼器(A、B、N) | 帶有 A 和 B 相位差信號以及零信號 N 的增量編碼器。 |
![]() |
脈沖 (A) 和方向 (B) | 帶有方向信號(信號 B)的脈沖編碼器(信號 A)。 |
![]() |
單相脈沖 (A) | 不帶方向信號的脈沖編碼器(信號 A)。可以通過控制接口指定計數(shù)方向。 |
![]() |
向上計數(shù) (A),向下計數(shù) (B) | 向上計數(shù)(信號 A)和向下計數(shù)(信號 B)的信號。 |
表01. 計數(shù)器工藝對象支持的信號類型
在計數(shù)器特性里面可以配置計數(shù)器的起始值,上下極限值和計數(shù)值到達極限時的狀態(tài),以及門啟動時計數(shù)值的狀態(tài)。在本例中設(shè)置起始值為0,上下極限為+/-10000,設(shè)置當計數(shù)值到達極限時計數(shù)器將停止,并且將計數(shù)值重置為起始值,將門功能設(shè)置為繼續(xù)計數(shù)(圖11)。
圖11. 設(shè)置計數(shù)器的上下限及門功能
序號 | 名稱 | 功能 |
1 | SwGate | 軟件門:通過該控制位來控制計數(shù)器啟動和停止; |
2 | ErrorACK | 錯誤應(yīng)答:出現(xiàn)錯誤并處理錯誤后通過此控制位來復(fù)位故障狀態(tài); |
3 | EventACK | 事件應(yīng)答:確認計數(shù)器事件狀態(tài),如:計數(shù)值超限等; |
4 | SetCountValue | 設(shè)置計數(shù)值:通過該控制位可以將當前計數(shù)值更改為其他值,注意:修改值需要寫到工藝對象靜態(tài)變量“NewCountValue”中; |
5 | StatusHW | 工藝模塊狀態(tài)位: 模塊已組態(tài)并準備好運行, 模塊數(shù)據(jù)有效; |
6 | StatusGate | 門狀態(tài)位:該狀態(tài)位反映了內(nèi)部門的實際狀態(tài),只有改狀態(tài)為為"True"時,計數(shù)器才會工作; |
7 | StatusUp | 增計數(shù)狀態(tài)位:表示當前計數(shù)方向為增計數(shù); |
8 | StatusDown | 減計數(shù)狀態(tài)位:表示當前計數(shù)方向為減計數(shù); |
9 | PosOverflow | 超上限狀態(tài)位:表示當前計數(shù)值已經(jīng)超過設(shè)定的計數(shù)值上限; |
10 | NegOverflow | 超下限狀態(tài)位:表示當前計數(shù)值已經(jīng)超過設(shè)定的計數(shù)值下限; |
11 | Error | 錯誤狀態(tài)位:表示當前計數(shù)工藝對象有錯誤; |
12 | ErrorID | 錯誤代碼:顯示當前工藝對象錯誤的故障代碼; |
13 | CounterValue | 計數(shù)值:計數(shù)器工藝對象的實際計數(shù)值; |
. 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.
Because we use DB30 and DB31 in the program FC30 and FC 31, we must insert these two data block and download it to the CPU.
4. Physical connection
TDC side: CP51M1 supply RJ45 interface
S7 side: CP443-1 supply RJ45 interface
Between the double sides we need a Switch to connect.
西門子 6ES7138-4CA50-1AB0 西門子 6ES7138-4CA50-1AB0 西門子 6ES7138-4CA50-1AB0