{}

Our Brands

Impact-Company-Logo-English Black-01-177x54

Welcome to the Schneider Electric Website

Welcome to our website.
How can we help you today?
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.

Schneider Electric Thailand

Related products for Schneider Electric Thailand
Range:
Articles that might be helpful Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Related products for Schneider Electric Thailand
Range: