SCADAPack x70 Extensions Library for RemoteConnect
Additional function blocks for RemoteConnect
Published by
Schneider Electric
SCADAPack x70 Extensions Library for RemoteConnect
Published by
Schneider Electric
Features
Datalogging
DFBs relating to datalogging.
Data log to file
-
DLOG_F: Logs the current values of up to 8 objects to a CSV file located on the controller’s internal flash file system or on an external USB drive.
String data type conversion
DFBs related to converting different data types to STRING.
Convert UDINT to STRING
-
UdintToStr: Converts a UDINT data type to a STRING data type.
Convert DINT to STRING
-
DintToStr: Converts a DINT data type to a STRING data type.
Convert REAL to STRING
-
RealToStr: Converts a REAL data type to a STRING data type.
Counters
DFBs related to Counters.
Non-Volatile Downwards Counter
-
CTD_Retained: Counts downwards from a preloaded value and sets an output ON when the counter reaches zero. This DFB operates similarly to the CTD EFB except the counter value is retained over program initialization.
Non-Volatile Upwards Counter
-
CTU_Retained: Counts upwards from zero and sets an output ON when the counter reaches a specified limit. This DFB operates similarly to the CTU EFB except the counter value is retained over program initialization.
Flow accumulators
DFBs related to flow accumulation.
Non-Volatile Flow Accumulator – 3 periods
-
FLOW_3Periods: Accumulates flow volume from pulse type devices such as turbine flow meters and provides a flow rate calculation. Flow volume, flow time and a time stamp are logged to object arrays for the last 3 accumulation periods.
Non-Volatile Flow Accumulator – 35 periods
-
FLOW_35Periods: Accumulates flow volume from pulse type devices such as turbine flow meters and provides a flow rate calculation. Flow volume, flow time and a time stamp are logged to object arrays for the last 35 accumulation periods.
Non-Volatile Hourly Flow Accumulator
-
FLOW_Hourly: Accumulates flow volume from pulse type devices such as turbine flow meters and logs data hourly for the last 3 hours. Flow volume, flow time and a time stamp are logged hourly to object arrays for the last 3 hours.
Non-Volatile Daily Flow Accumulator
-
FLOW_Daily: Accumulates flow volume from pulse type devices such as turbine flow meters and logs data daily for the last 3 days. Flow volume, flow time and a time stamp are logged daily to object arrays for the last 3 days.
Non-Volatile Monthly Flow Accumulator
-
FLOW_Monthly: Accumulates flow volume from pulse type devices such as turbine flow meters and logs data monthly for the last 3 months. Flow volume, flow time and a time stamp are logged monthly to object arrays for the last 3 months.
Totalizers
DFBs relating to analog input totalization (integration).
Non-Volatile Totalizer – 3 periods
-
TOTAL_3Periods: Integrates a rate analog input over time and provides a record of total, accumulation time, and time stamp at the end of each accumulation period for up to 3 periods.
Non-Volatile Totalizer – 35 periods
-
TOTAL_35Periods: Integrates a rate analog input over time and provides a record of total, accumulation time, and time stamp at the end of each accumulation period for up to 35 periods.
Non-Volatile Daily Totalizer
-
TOTAL_Daily: Integrates a rate analog input over time and provides a record of total, accumulation time, and time stamp at the end of each day for up to 3 days.
Non-Volatile Hourly Totalizer
-
TOTAL_Hourly: Integrates a rate analog input over time and provides a record of total, accumulation time, and time stamp at the end of each hour for up to 3 hours.
Non-Volatile Monthly Totalizer
-
TOTAL_Monthly: Integrates a rate analog input over time and provides a record of total, accumulation time, and time stamp at the end of each month for up to 3 months.
Timers
DFBs related to time functions.
Non-Volatile Timer
-
TON_Retained: Accumulates time in milliseconds and saves the current timer value over program initialization. This DFB operates similarly to the TON EFB except the timer value may be paused by setting the accumulate input to OFF and then resumed when this input is set again to ON.
Time Measurement in milliseconds
-
UpTimeMs: Provides the RTU up-time in milliseconds. The uptime value is provided as an unsigned 32-bit integer (UDINT) and as such the value rolls over at 4,294,967,295 milliseconds, (approximately 49.7 days).
Datalogging
DFBs relating to datalogging.
Data log to file
- DLOG_F: Logs the current values of up to 8 objects to a CSV file located on the controller’s internal flash file system or on an external USB drive.
String data type conversion
DFBs related to converting different data types to STRING.
Convert UDINT to STRING
-
UdintToStr: Converts a UDINT data type to a STRING data type.
Convert DINT to STRING
-
DintToStr: Converts a DINT data type to a STRING data type.
Convert REAL to STRING
-
RealToStr: Converts a REAL data type to a STRING data type.
Counters
DFBs related to Counters.
Non-Volatile Downwards Counter
-
CTD_Retained: Counts downwards from a preloaded value and sets an output ON when the counter reaches zero. This DFB operates similarly to the CTD EFB except the counter value is retained over program initialization.
Non-Volatile Upwards Counter
- CTU_Retained: Counts upwards from zero and sets an output ON when the counter reaches a specified limit. This DFB operates similarly to the CTU EFB except the counter value is retained over program initialization.
Flow accumulators
DFBs related to flow accumulation.
Non-Volatile Flow Accumulator – 3 periods
-
FLOW_3Periods: Accumulates flow volume from pulse type devices such as turbine flow meters and provides a flow rate calculation. Flow volume, flow time and a time stamp are logged to object arrays for the last 3 accumulation periods.
Non-Volatile Flow Accumulator – 35 periods
-
FLOW_35Periods: Accumulates flow volume from pulse type devices such as turbine flow meters and provides a flow rate calculation. Flow volume, flow time and a time stamp are logged to object arrays for the last 35 accumulation periods.
Non-Volatile Hourly Flow Accumulator
-
FLOW_Hourly: Accumulates flow volume from pulse type devices such as turbine flow meters and logs data hourly for the last 3 hours. Flow volume, flow time and a time stamp are logged hourly to object arrays for the last 3 hours.
Non-Volatile Daily Flow Accumulator
-
FLOW_Daily: Accumulates flow volume from pulse type devices such as turbine flow meters and logs data daily for the last 3 days. Flow volume, flow time and a time stamp are logged daily to object arrays for the last 3 days.
Non-Volatile Monthly Flow Accumulator
- FLOW_Monthly: Accumulates flow volume from pulse type devices such as turbine flow meters and logs data monthly for the last 3 months. Flow volume, flow time and a time stamp are logged monthly to object arrays for the last 3 months.
Totalizers
DFBs relating to analog input totalization (integration).
Non-Volatile Totalizer – 3 periods
-
TOTAL_3Periods: Integrates a rate analog input over time and provides a record of total, accumulation time, and time stamp at the end of each accumulation period for up to 3 periods.
Non-Volatile Totalizer – 35 periods
-
TOTAL_35Periods: Integrates a rate analog input over time and provides a record of total, accumulation time, and time stamp at the end of each accumulation period for up to 35 periods.
Non-Volatile Daily Totalizer
-
TOTAL_Daily: Integrates a rate analog input over time and provides a record of total, accumulation time, and time stamp at the end of each day for up to 3 days.
Non-Volatile Hourly Totalizer
-
TOTAL_Hourly: Integrates a rate analog input over time and provides a record of total, accumulation time, and time stamp at the end of each hour for up to 3 hours.
Non-Volatile Monthly Totalizer
- TOTAL_Monthly: Integrates a rate analog input over time and provides a record of total, accumulation time, and time stamp at the end of each month for up to 3 months.
Timers
DFBs related to time functions.
Non-Volatile Timer
-
TON_Retained: Accumulates time in milliseconds and saves the current timer value over program initialization. This DFB operates similarly to the TON EFB except the timer value may be paused by setting the accumulate input to OFF and then resumed when this input is set again to ON.
Time Measurement in milliseconds
- UpTimeMs: Provides the RTU up-time in milliseconds. The uptime value is provided as an unsigned 32-bit integer (UDINT) and as such the value rolls over at 4,294,967,295 milliseconds, (approximately 49.7 days).