我们今天能为您提供什么帮助?

How to Automatically Reset a Control Bit in a SCADAPack Using TelePACE Studio.

An HMI, SCADA Host, or master PLC may want to write to a SCADAPack coil via ModBUS to request some specific operation.

A SCADAPack running with TelePACE does not have a standard Set/Reset bit ability that might be seen in other controllers and programming environments but there is a way to implement this functionality using the PUTB function.

The PUTB function operates on 16-bit words. This can either be 4nnnn holding registers or 0nnnn coil registers. If using  0nnnn coil registers, the PUTB must reference the start of a 16-bit word within the controller memory. Suitable registers are 00001, 00017, 00033, etc...
The index corresponds to the position within the 16-bit word. A bit index of 0 is the most significant bit of the destination block. A bit index of 15 corresponds to the least significant bit (the lowest coil number).

input and output pins for PUTB function block in TelePACE

In the example below, an HMI will do a ModBUS write to either coil 00161 or 00162 to initiate some sort of operation.

Logic example showing how a write to a coil (SET) can be cleared (RESET) after a set amount of time using the PUTB function
For either 00161 or 00162, their respective timer will reset after ten seconds and trigger a PUTB function. In this example, the PUTB functions are operating on the coil block of registers 00161-00176 (but only specifically targeting 00161 and 00162). The PUTB function will then put a zero (the middle input is not energized) into the bit being indexed.
In this example, coil 00161 is the least significant bit within the coil block and will require the index value of 15. Coil 00162 corresponds to an index value of 14.

For complete details about the PUTB function, please see the TelePACE Studio User and Reference Manual.

施耐德電機Taiwan

探索更多

需要協助?

產品選型工具

快速輕鬆地為您的應用找到合適的產品和附件。

取得報價

立即線上提交您的銷售需求,專業團隊將主動聯繫您。

購買地點

輕鬆在您所在地區找到最近的施耐德電機經銷商。

支援中心

在同一位置找到滿足您所有需求的支援資源。