The user program receives current values and status information from the X142 interface technology I/Os over the feedback interface.
The following table shows the feedback interface assignment:
列表: Assignment of the feedback interface
Offset from start address | Parameter | Meaning | ||
---|---|---|---|---|
Byte 0 | STS_DI (DI0 to DI7) | State DI (DI0 to DI7) | ||
Byte 1 to 3 | Reserved | Must not be used | ||
Byte 4 to 7 | TEC_IN (DI0) | Timer DI: Byte 0, 1: 2nd TIME/OFF TIME (second input time stamp) Byte 2, 3: 1st TIME/ON TIME (first input time stamp) | ||
Oversampling DI: Byte 0 to 3: Oversampling value | ||||
Event/period duration measurement | Event measurement: Byte 0, 1: Reserved Byte 2, 3: Counter value | |||
Byte 8 to 11 | TEC_IN_EXT (DI0) | Time period measurement: Byte 0 to 3: Measured time period | ||
Byte 12 to 15 | TEC_IN (DI1) | See byte 4 to 11 | ||
Byte 16 to 19 | TEC_IN_EXT (DI1) | |||
Byte 20 to 23 | TEC_IN (DI2) | |||
Byte 24 to 27 | TEC_IN_EXT (DI2) | |||
Byte 28 to 31 | TEC_IN (DI3) | |||
Byte 32 to 35 | TEC_IN_EXT (DI3) | |||
Byte 36 to 39 | TEC_IN (DI4) | |||
Byte 40 to 43 | TEC_IN_EXT (DI4) | |||
Byte 44 to 47 | TEC_IN (DI5) | |||
Byte 48 to 51 | TEC_IN_EXT (DI5) | |||
Byte 52 to 55 | TEC_IN (DI6) | |||
Byte 56 to 59 | TEC_IN_EXT (DI6) | |||
Byte 60 to 63 | TEC_IN (DI7) | |||
Byte 64 to 67 | TEC_IN_EXT (DI7) | |||
Byte 68 | LEC (DI0, DI1) | Bit 4 to 6: Lost Edge Counter for DI1 Bit 0 to 2: Lost Edge Counter for DI0 Bit 3, 7: Reserved (must not be used) | ||
Byte 69 | LEC (DI2, DI3) | Bit 4 to 6: Lost Edge Counter for DI3 Bit 0 to 2: Lost Edge Counter for DI2 Bit 3, 7: Reserved (must not be used) | ||
Byte 70 | LEC (DI4, DI5) | Bit 4 to 6: Lost Edge Counter for DI5 Bit 0 to 2: Lost Edge Counter for DI4 Bit 3, 7: Reserved (must not be used) | ||
Byte 71 | LEC (DI6, DI6) | Bit 4 to 6: Lost Edge Counter for DI7 Bit 0 to 2: Lost Edge Counter for DI6 Bit 3, 7: Reserved (must not be used) | ||
Byte 72 | Reserved | Must not be used | ||
Byte 73 | Layout property | Specific value | ||
Byte 74, 75 | ZSW | SSL | Bit 12 to 15: Sign of life counter (slave sign of life) | |
--- | Bit 10, 11: Reserved (must not be used) | |||
SYNC | Bit 8: X142 interface is synchronized with user program | |||
Channel address | Bit 4 to 7 and 9: Number of the respective DI or DQ | |||
Channel mode | Bit 0 to 3: Operating mode of the respective DI or DQ |
If the CPU is in STOP, the digital outputs (irrespective of any inversion set) return "0" (LOW level) as a substitute value.
STS_DI (offset byte 0 of the feedback interface) represents the logical channel status, taking account of any inversion configured.
With digital inputs (DI, Timer DI, oversampling DI, event/period measurement), the value corresponds to the logical state of the digital input.
With digital outputs (DQ, Timer DQ, oversampling DQ, pulse width modulation PWM), the value corresponds to the actual terminal state of the digital output. If the terminal state deviates from the controlled state, there may be an output driver short-circuit or defect.
提示 STS_DISignals are only reliably acquired over STS_DI if the level is significantly longer than the input delay + acquisition cycle of the digital inputs/outputs (X142). Example: If you operate the digital inputs/outputs (X142) as isochronous to the MC Servo in a cycle of 2 ms and a set input delay of 125 μs, the level duration must be > 2.125 ms. |
詞條
詞條說(shuō)明
組態(tài) SCALANCE M IPv4 地址的結(jié)構(gòu)
IPv4 地址的結(jié)構(gòu)地址類(lèi)別IP 地址范圍較大網(wǎng)絡(luò)數(shù)較大主機(jī)/網(wǎng)絡(luò)數(shù)類(lèi)別CIDR1.x.x.x 至 126.x.x.x12616777214A/8128.0.x.x.x 至 191.255.x.x.x1638365534B/16192.0.0.x 至 223.255.255.x2097151254C/24224.0.0.0 - 239.255.255.255組播應(yīng)用D?240.0.0.0
S7-1200 與 S7-300 CP343-1 S7 通信例程
本文為S7-1200 與 S7-300 CP343之間 S7 通信的幾種可能情況分別提供了例程:1. 同一項(xiàng)目中S7-1200 與 S7-300 CP343-1之間 S7 通信,S7-1200 作為 S7 客戶端,S7-300 作為服務(wù)器;2. 同一項(xiàng)目中S7-1200 與 S7-300 CP343-1之間 S7 通信,S7-1200 作為 S7 服務(wù)器,S7-300 作為客戶端;3. 不同項(xiàng)目中
TFTP通過(guò) TFTP 服務(wù)器加載和保存數(shù)據(jù)在該頁(yè)面上,可以組態(tài) TFTP 服務(wù)器和文件名。用戶也可以將設(shè)備數(shù)據(jù)存儲(chǔ)在 TFTP 服務(wù)器上的外部文件中,或?qū)⒋祟?lèi)數(shù)據(jù)從 TFTP 服務(wù)器的外部文件加載至設(shè)備。也就是說(shuō),用戶也可以通過(guò) TFTP 服務(wù)器上的文件加載新固件等。固件固件已簽名且加密。這可確保只能將 Siemens 創(chuàng)建的固件下載到設(shè)備。提示插入/未插入 PLUG 時(shí)與先前固件版本的不兼容性
PtP - 傳輸 (3964(R))說(shuō)明在“屬性> 常規(guī) > PtP > 中斷選擇”(Properties > General > PtP > Interrupt selection) 中,設(shè)置中斷、CPU STOP 的特性以及協(xié)議。 選擇“3964(R)”作為協(xié)議。根據(jù)所選的協(xié)議類(lèi)型,區(qū)域?qū)Ш街械倪M(jìn)一步細(xì)分會(huì)有所不同。對(duì)于“3964(R)”,有 3 個(gè) PtP
公司名: 上海騰希電氣技術(shù)有限公司
聯(lián)系人: 田禮科
電 話: 021-37660026
手 機(jī): 13681875601
微 信: 13681875601
地 址: 上海松江上海市松江區(qū)廣富林路4855弄星月大業(yè)**88號(hào)4樓
郵 編:
網(wǎng) 址: shtxjd.cn.b2b168.com
公司名: 上海騰希電氣技術(shù)有限公司
聯(lián)系人: 田禮科
手 機(jī): 13681875601
電 話: 021-37660026
地 址: 上海松江上海市松江區(qū)廣富林路4855弄星月大業(yè)**88號(hào)4樓
郵 編:
網(wǎng) 址: shtxjd.cn.b2b168.com
¥6300.00
網(wǎng)課專享 教學(xué)一體機(jī) 21.5寸
¥1980.00