; C:\Users\scottm\Documents\ISaGRAF\MultiSmart.tdb ; Version = 2.1.0 ; Description = ; 27/02/2009 - 11:02 ; [target] MultiSmart Code=TIC code Code=Structured C source code Model=Large IsIsagraf3=No ByteOrder=LH MaxBlockSize=0 AlignNumber=4 StrictAlign=No Quantum=1 UCHARSize=1 UINT16Size=2 UINT32Size=4 PointerSize=4 EolChar=10 MaxPara=128 UserData=Yes OKReal=Yes OKString=Yes FirstVa=1024 SM=4096 SysVarResName=4 SysVarCycleDate=264 SysVarCycycTime=268 SysVarCyCurrent=272 SysVarCyMaximum=276 SysVarCyOverFlow=280 SysVarScanCnt=284 SysVarCycleCnt=288 SysVarResMode=292 SysVarCCExec=293 SysVarKVBPerr=294 SysVarKVBCErr=295 SysVarWNGNum=296 SysVarWNGarg=300 SysVarWNGCMPTNM=304 SysVarWNGCMD=315 FeatureLReal=Yes FeatureLInt=Yes FeatureUnsigned=Yes FeaturePassword=Yes Feature6_1499=Yes [end] [array] RESERVED_AE_CONTEXT SingleTextLine=Reserved AE context Type=SINT Dimension=[1..88] [end] [structure] GAIN_PID [end] [display] 0 [field] DirectActing Type=BOOL SingleTextLine='' [end] [field] ProportionalGain Type=REAL SingleTextLine='' [end] [field] TimeIntegral Type=REAL SingleTextLine='' [end] [field] TimeDerivative Type=REAL SingleTextLine='' [end] [field] DerivativeGain Type=REAL SingleTextLine='' [end] [structure] TIMESPEC SingleTextLine=structured type representing the time the process value of an I/O channel was last updated [end] [display] 0 [field] Sec Type=DINT SingleTextLine=Number of seconds; elapsed since 1970/01/01 00:00:00:000; in the timestamp of the process value (TIME) [end] [field] Nsec Type=DINT SingleTextLine=Number of nanoseconds in the timestamp of the process value; from the beginning of the second indicated by Sec (TIME) [end] [structure] QUALITY SingleTextLine=Structured type indicating how good the process value of an I/O channel is [end] [display] 0 [field] Value Type=SINT SingleTextLine=Number of the quality (SINT) [end] [structure] ERROR SingleTextLine=structured type indicating if an error occurred regarding the I/O channel [end] [display] 1 [field] Layer Type=DINT SingleTextLine=layer of the error (DINT) [end] [field] Number Type=DINT SingleTextLine=number of the error (DINT) [end] [structure] COND_P_BOOL SingleTextLine=Alarm condition input parameters [end] [display] 0 [field] state Type=DINT SingleTextLine=bit 0=active/inactive; bit 1=enable/disable; bit 2=ack/no ack [end] [field] activeTime Type=TIMESPEC SingleTextLine=Condition active start time [end] [field] inactiveTime Type=TIMESPEC SingleTextLine=Condition inactive start time [end] [field] ackTime Type=TIMESPEC SingleTextLine=Acknowledge time [end] [field] timeout Type=DINT SingleTextLine=Timeout value [end] [field] enable Type=BOOL SingleTextLine=Condition enable [end] [field] acknowledge Type=BOOL SingleTextLine=Acknowledgement [end] [field] mode Type=SINT SingleTextLine=0=0->1 active; 2=1->0 active; 3=0->1 or 1->0 active [end] [field] reserved Type=RESERVED_AE_CONTEXT SingleTextLine=Context [end] [structure] COND_P_DINT SingleTextLine=Alarm condition input parameters [end] [display] 0 [field] state Type=DINT SingleTextLine=bit 0=active/inactive; bit 1=enable/disable; bit 2=ack/no ack [end] [field] activeTime Type=TIMESPEC SingleTextLine=Condition active start time [end] [field] inactiveTime Type=TIMESPEC SingleTextLine=Condition inactive start time [end] [field] ackTime Type=TIMESPEC SingleTextLine=Acknowledge time [end] [field] timeout Type=DINT SingleTextLine=Timeout value [end] [field] enable Type=BOOL SingleTextLine=Condition enable [end] [field] acknowledge Type=BOOL SingleTextLine=Acknowledgement [end] [field] level Type=DINT SingleTextLine=Level comparaison (limits) SetPoint (deviation) Value comparaison (Rate of Change) [end] [field] hysteresis Type=DINT SingleTextLine=Hysteresis value [end] [field] deadband Type=DINT SingleTextLine=Deadband value [end] [field] period Type=DINT SingleTextLine=Rate of Change period value [end] [field] deviation Type=DINT SingleTextLine=Deviation value [end] [field] reserved Type=RESERVED_AE_CONTEXT SingleTextLine=Context [end] [structure] EVENT_P_BOOL SingleTextLine=Alarm condition input parameters [end] [display] 0 [field] enable Type=BOOL SingleTextLine=Condition enable [end] [field] mode Type=SINT SingleTextLine=Deadband value [end] [field] reserved Type=RESERVED_AE_CONTEXT SingleTextLine=Context [end] [structure] EVENT_P_DINT SingleTextLine=Alarm condition input parameters [end] [display] 0 [field] enable Type=BOOL SingleTextLine=Condition enable [end] [field] deadband Type=DINT SingleTextLine=deadband value [end] [field] reserved Type=RESERVED_AE_CONTEXT SingleTextLine=Context [end] [structure] AT_PARAM [end] [display] 0 [field] Load Type=REAL [end] [field] Deviation Type=REAL [end] [field] Step Type=REAL [end] [field] ATDynaSet Type=REAL [end] [field] ATReset Type=BOOL [end] [structure] COND_P_REAL SingleTextLine=Alarm condition input parameters [end] [display] 0 [field] state Type=DINT SingleTextLine=bit 0=active/inactive; bit 1=enable/disable; bit 2=ack/no ack [end] [field] activeTime Type=TIMESPEC SingleTextLine=Condition active start time [end] [field] inactiveTime Type=TIMESPEC SingleTextLine=Condition inactive start time [end] [field] ackTime Type=TIMESPEC SingleTextLine=Acknowledge time [end] [field] timeout Type=DINT SingleTextLine=Timeout value [end] [field] enable Type=BOOL SingleTextLine=Condition enable [end] [field] acknowledge Type=BOOL SingleTextLine=Acknowledgement [end] [field] level Type=REAL SingleTextLine=Level comparaison (limits) SetPoint (deviation) Value comparaison (Rate of Change) [end] [field] hysteresis Type=REAL SingleTextLine=Hysteresis value [end] [field] deadband Type=REAL SingleTextLine=Deadband value [end] [field] period Type=DINT SingleTextLine=Rate of Change period value [end] [field] deviation Type=REAL SingleTextLine=Deviation value [end] [field] reserved Type=RESERVED_AE_CONTEXT SingleTextLine=Context [end] [structure] EVENT_P_REAL SingleTextLine=Alarm condition input parameters [end] [display] 0 [field] enable Type=BOOL SingleTextLine=Condition enable [end] [field] deadband Type=REAL SingleTextLine=deadband value [end] [field] reserved Type=RESERVED_AE_CONTEXT SingleTextLine=Context [end] [structure] ALARM_SETTING [end] [display] 1 [field] HighLimit Type=REAL [end] [field] HighAlarm Type=REAL [end] [field] HighWarning Type=REAL [end] [field] LowWarning Type=REAL [end] [field] LowAlarm Type=REAL [end] [field] LowLimit Type=REAL [end] [field] DeadBand Type=REAL [end] [field] HighDeviation Type=REAL [end] [field] LowDeviation Type=REAL [end] [field] RateOfChangePeriod Type=REAL [end] [field] RateOfChangeUp Type=REAL [end] [field] RateOfChangeDown Type=REAL [end] [field] DelayInTime Type=REAL [end] [field] DelayOutTime Type=REAL [end] [field] HighLimitEnable Type=BOOL [end] [field] HighAlarmEnable Type=BOOL [end] [field] HighWarningEnable Type=BOOL [end] [field] LowWarningEnable Type=BOOL [end] [field] LowAlarmEnable Type=BOOL [end] [field] LowLimitEnable Type=BOOL [end] [field] HighDeviationEnable Type=BOOL [end] [field] LowDeviationEnable Type=BOOL [end] [field] RateOfChangeUpEnable Type=BOOL [end] [field] RateOfChangeDownEnable Type=BOOL [end] [field] RingBack Type=BOOL [end] [function] DailyTimer GroupName=MultiSmart Operations Type=BOOL ShortName=ON [end] [pOUParam] StartTime Direction=Input Type=TIME ShortName=TIME SingleTextLine=Time at which timer will become active [end] [pOUParam] Duration Direction=Input Type=TIME ShortName=DUR SingleTextLine=Duration for which timer will remain active [end] [function] IsPumpStarting GroupName=MultiSmart Operations Type=BOOL ShortName=ST? [end] [pOUParam] pump Direction=Input Type=INT ShortName=PUMP SingleTextLine=Pump Number (1 - number of pumps) [end] [function] GET_TIME_STRING SingleTextLine=Get time in string format YYYY/MM/DD HH:MM:SS MMM Help=[Context]4013 GroupName=String manipulation Type=STRING StringLength=255 ShortName=OUT [end] [pOUParam] SEC Direction=Input Type=DINT ShortName=SEC SingleTextLine=Number of second since 1970/01/01 [end] [pOUParam] NSEC Direction=Input Type=DINT ShortName=NSEC SingleTextLine=Number of nano second in current second [end] [function] IsPumpAvailable GroupName=MultiSmart Operations Type=BOOL ShortName=AVL [end] [pOUParam] pump Direction=Input Type=INT ShortName=PUMP SingleTextLine=Pump Number (1 - number of pumps) [end] [function] IsSetPointPending GroupName=MultiSmart Tags Type=BOOL ShortName=PNDG [end] [pOUParam] tagName Direction=Input Type=STRING StringLength=255 ShortName=TAG SingleTextLine=Name of tag to check for pending set point [end] [function] WeeklyTimer GroupName=MultiSmart Operations Type=BOOL ShortName=ON [end] [pOUParam] Day Direction=Input Type=UINT ShortName=DAY SingleTextLine=Day of the week for which timer will become active (0 = Sunday, 6 = Saturday) [end] [pOUParam] StartTime Direction=Input Type=TIME ShortName=TIME SingleTextLine=Time at which timer will become active [end] [pOUParam] Duration Direction=Input Type=TIME ShortName=DUR SingleTextLine=Duration for which timer will remain active [end] [function] CurrentTime GroupName=MultiSmart Operations Type=UDINT ShortName=SEC [end] [function] CurrentTimeOfDay GroupName=MultiSmart Operations Type=TIME ShortName=TIME [end] [function] HourlyTimer GroupName=MultiSmart Operations Type=BOOL ShortName=ON [end] [pOUParam] Minute Direction=Input Type=UINT ShortName=MIN SingleTextLine=Minute at which timer will become active [end] [pOUParam] Seconds Direction=Input Type=UINT ShortName=SEC SingleTextLine=Seconds at which timer will become active [end] [pOUParam] Duration Direction=Input Type=TIME ShortName=DUR SingleTextLine=Duration for which timer will remain active [end] [function] IsPumpRunning GroupName=MultiSmart Operations Type=BOOL ShortName=RUN? [end] [pOUParam] pump Direction=Input Type=INT ShortName=PUMP SingleTextLine=Pump Number (1 - number of pumps) [end] [function] SET_PRIORITY Help=[Context]4037 GroupName=Target Control Type=SINT ShortName=Q [end] [pOUParam] INPUT Direction=Input Type=SINT ShortName=IN SingleTextLine=New priority for the virtual machine. [end] [function] CurrentLevelScaled GroupName=MultiSmart Operations Type=REAL ShortName=LVL [end] [function] NumRunningPumps GroupName=MultiSmart Operations Type=DINT ShortName=NUM [end] [function] MonthlyTimer GroupName=MultiSmart Operations Type=BOOL ShortName=ON [end] [pOUParam] DayOfMonth Direction=Input Type=UINT ShortName=DAY SingleTextLine=Day of month (1-31) [end] [pOUParam] StartTime Direction=Input Type=TIME ShortName=TIME SingleTextLine=Time at which timer will become active [end] [pOUParam] Duration Direction=Input Type=TIME ShortName=DUR SingleTextLine=Duration for which timer will remain active [end] [function] CurrentLevelPercent GroupName=MultiSmart Operations Type=REAL ShortName=LVL% [end] [function] NextPumpToRun GroupName=MultiSmart Operations Type=INT ShortName=PUMP [end] [functionBlock] ReadIntegerValue GroupName=MultiSmart Tags InitInstance=Yes Is1499=No [end] [pOUParam] tagName Direction=Input Type=STRING StringLength=255 ShortName=TAG SingleTextLine=Name of Integer, Integer Attribute, or Digital tag to read [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [pOUParam] value Direction=Output Type=DINT ShortName=VAL SingleTextLine=Value of integer tag [end] [functionBlock] NOW SingleTextLine=Get current system time Help=[Context]5015 GroupName=Time InitInstance=No Is1499=No [end] [pOUParam] SEC Direction=Output Type=DINT ShortName=SEC SingleTextLine=Number of second since 1970/01/01 [end] [pOUParam] NSEC Direction=Output Type=DINT ShortName=NSEC SingleTextLine=Number of nano second in current second [end] [functionBlock] MATRIX SingleTextLine=Matrix functions package Help=[Context]5049 GroupName=Arithmetic InitInstance=No Is1499=No [end] [pOUParam] OPERATION Direction=Input Type=DINT ShortName=OP SingleTextLine=Operation selector [end] [pOUParam] MATRIX_1 Direction=Input Type=DINT ShortName=MAT1 SingleTextLine=General purpose input matrix #1 [end] [pOUParam] MATRIX_2 Direction=Input Type=DINT ShortName=MAT2 SingleTextLine=General purpose input matrix #2 [end] [pOUParam] MATRIX_3 Direction=Input Type=DINT ShortName=MAT3 SingleTextLine=General purpose input matrix #3 [end] [pOUParam] INDEX_1 Direction=Input Type=DINT ShortName=IDX1 SingleTextLine=General purpose input index #1 [end] [pOUParam] INDEX_2 Direction=Input Type=DINT ShortName=IDX2 SingleTextLine=General purpose input index #2 [end] [pOUParam] IN_INTEGER_VALUE Direction=Input Type=DINT ShortName=INT SingleTextLine=General purpose INTEGER input container [end] [pOUParam] IN_FLOAT_VALUE Direction=Input Type=REAL ShortName=FLT SingleTextLine=General purpose FLOAT input container [end] [pOUParam] ERROR_CODE Direction=Output Type=DINT ShortName=ERR SingleTextLine=Last operation's error code [end] [pOUParam] MATRIX_RESULT Direction=Output Type=DINT ShortName=RES SingleTextLine=Resulting matrix [end] [pOUParam] MATRIX_TYPE Direction=Output Type=DINT ShortName=TYPE SingleTextLine=Matrix type [end] [pOUParam] MATRIX_ROWS Direction=Output Type=DINT ShortName=ROWS SingleTextLine=Matrix rows count [end] [pOUParam] MATRIX_COLS Direction=Output Type=DINT ShortName=COLS SingleTextLine=matrix cols count [end] [pOUParam] OUT_INTEGER_VALUE Direction=Output Type=DINT ShortName=INTG SingleTextLine=General purpose INTEGER output container [end] [pOUParam] OUT_FLOAT_VALUE Direction=Output Type=REAL ShortName=FLT SingleTextLine=General purpose FLOAT output container [end] [functionBlock] Ramp GroupName=MultiSmart Operations InitInstance=Yes Is1499=No [end] [pOUParam] StartValue Direction=Input Type=DINT ShortName=SVAL SingleTextLine=Value at Start Time [end] [pOUParam] EndValue Direction=Input Type=DINT ShortName=EVAL SingleTextLine=Value at End Time [end] [pOUParam] StartTime Direction=Input Type=TIME ShortName=STIM SingleTextLine=Start Time for Ramp function [end] [pOUParam] EndTime Direction=Input Type=TIME ShortName=ETIM SingleTextLine=End Time for Ramp function [end] [pOUParam] Result Direction=Output Type=DINT ShortName=RES SingleTextLine=Current value of ramp function [end] [pOUParam] Active Direction=Output Type=BOOL ShortName=ACT SingleTextLine=Whether the ramp function is currently active [end] [functionBlock] WriteFlag GroupName=MultiSmart Tags InitInstance=Yes Is1499=No [end] [pOUParam] run Direction=Input Type=BOOL ShortName=RUNT SingleTextLine=TRUE=run, FALSE=do nothing [end] [pOUParam] tagName Direction=Input Type=STRING StringLength=255 ShortName=TAG SingleTextLine=Name of tag to write to [end] [pOUParam] setFlags Direction=Input Type=INT ShortName=SET SingleTextLine=The flags to set [end] [pOUParam] clearFlags Direction=Input Type=INT ShortName=CLR SingleTextLine=The flags to clear [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [functionBlock] ReadBoolValue GroupName=MultiSmart Tags InitInstance=Yes Is1499=No [end] [pOUParam] tagName Direction=Input Type=STRING StringLength=255 ShortName=TAG SingleTextLine=Name of Digital, Digital Control, or Boolean Attribute tag to read [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [pOUParam] value Direction=Output Type=BOOL ShortName=VAL SingleTextLine=Value of tag [end] [functionBlock] IPIDCONTROLLER Help=[Context]5036 GroupName=Process Control InitInstance=Yes Is1499=No [end] [pOUParam] Process Direction=Input Type=REAL ShortName=P SingleTextLine=Process Value [end] [pOUParam] SetPoint Direction=Input Type=REAL ShortName=SP SingleTextLine=Set Point [end] [pOUParam] FeedBack Direction=Input Type=REAL ShortName=FB SingleTextLine=FeedBack [end] [pOUParam] Auto Direction=Input Type=BOOL ShortName=AUTO SingleTextLine= [end] [pOUParam] Initialize Direction=Input Type=BOOL ShortName=INIT SingleTextLine= [end] [pOUParam] Gains Direction=Input Type=GAIN_PID ShortName=GNS SingleTextLine= [end] [pOUParam] AutoTune Direction=Input Type=BOOL ShortName=ATUN SingleTextLine= [end] [pOUParam] ATParameters Direction=Input Type=AT_PARAM ShortName=ATPA SingleTextLine= [end] [pOUParam] ErrorMode Direction=Input Type=DINT ShortName=ERR SingleTextLine= [end] [pOUParam] Output Direction=Output Type=REAL ShortName=OUT SingleTextLine= [end] [pOUParam] AbsoluteError Direction=Output Type=REAL ShortName=AERR SingleTextLine= [end] [pOUParam] ATWarning Direction=Output Type=DINT ShortName=ATW SingleTextLine= [end] [pOUParam] OutGains Direction=Output Type=GAIN_PID ShortName=OGNS SingleTextLine= [end] [pOUParam] RESERVED_IPIDCONTROLLER Direction=Local Type=SINT Dimension=[1..184] ShortName=RDIC SingleTextLine=Reserved parameter for IPIDCONTROLLER [end] [functionBlock] DateTime GroupName=MultiSmart Operations InitInstance=Yes Is1499=No [end] [pOUParam] TimeStamp Direction=Input Type=UDINT ShortName=SEC SingleTextLine=Number of seconds since 1970, in UTC [end] [pOUParam] Year Direction=Output Type=UINT ShortName=YEAR SingleTextLine=Year of time stamp [end] [pOUParam] Month Direction=Output Type=UINT ShortName=MON SingleTextLine=Month of time stamp (0 to 11) [end] [pOUParam] Day Direction=Output Type=UINT ShortName=DAY SingleTextLine=Day of month of time stamp [end] [pOUParam] WeekDay Direction=Output Type=UINT ShortName=WDAY SingleTextLine=Day of week of time stamp (0 = Sunday) [end] [pOUParam] Hour Direction=Output Type=UINT ShortName=HOUR SingleTextLine=Hour of time stamp [end] [pOUParam] Minute Direction=Output Type=UINT ShortName=MIN SingleTextLine=Minute of time stamp [end] [pOUParam] Seconds Direction=Output Type=UINT ShortName=SEC SingleTextLine=Seconds of time stamp [end] [functionBlock] WriteFloat GroupName=MultiSmart Tags InitInstance=Yes Is1499=No [end] [pOUParam] run Direction=Input Type=BOOL ShortName=RUN SingleTextLine=TRUE=run, FALSE=do nothing [end] [pOUParam] tagName Direction=Input Type=STRING StringLength=255 ShortName=TAG SingleTextLine=Name of Analog, Analog Control, Fixed Point, or FP Attribute tag to write to [end] [pOUParam] value Direction=Input Type=REAL ShortName=VAL SingleTextLine=Value to write to tag [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [functionBlock] WriteInteger GroupName=MultiSmart Tags InitInstance=Yes Is1499=No [end] [pOUParam] run Direction=Input Type=BOOL ShortName=RUN SingleTextLine=TRUE=run, FALSE=do nothing [end] [pOUParam] tagName Direction=Input Type=STRING StringLength=255 ShortName=TAG SingleTextLine=Name of Integer or Integer Attribute tag to write to [end] [pOUParam] value Direction=Input Type=DINT ShortName=VAL SingleTextLine=Value to write to tag [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [functionBlock] ReadStringSetPoint GroupName=MultiSmart Tags InitInstance=Yes Is1499=No [end] [pOUParam] tagName Direction=Input Type=STRING StringLength=255 ShortName=TAG SingleTextLine=Name of String Attribute tag to read [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [pOUParam] value Direction=Output Type=STRING StringLength=255 ShortName=VAL SingleTextLine=Set point of tag [end] [functionBlock] SETPOINT Help=[Context]5045 GroupName=Process Control InitInstance=Yes Is1499=No [end] [pOUParam] TrackVariable Direction=Input Type=REAL ShortName=TV SingleTextLine= [end] [pOUParam] TargetSetpoint Direction=Input Type=REAL ShortName=TS SingleTextLine= [end] [pOUParam] RampRate Direction=Input Type=REAL ShortName=RR SingleTextLine= [end] [pOUParam] RampTime Direction=Input Type=REAL ShortName=RT SingleTextLine= [end] [pOUParam] Command Direction=Input Type=DINT ShortName=CMD SingleTextLine= [end] [pOUParam] PulseUp Direction=Input Type=BOOL ShortName=PU SingleTextLine= [end] [pOUParam] PulseDown Direction=Input Type=BOOL ShortName=PD SingleTextLine= [end] [pOUParam] PulseRate Direction=Input Type=DINT ShortName=PR SingleTextLine= [end] [pOUParam] ErrorMode Direction=Input Type=DINT ShortName=ERR SingleTextLine= [end] [pOUParam] Output Direction=Output Type=REAL ShortName=OUT SingleTextLine= [end] [pOUParam] RESERVED_SETPOINT Direction=Local Type=SINT Dimension=[1..40] ShortName=RDSP SingleTextLine=Reserved parameter for SETPOINT [end] [functionBlock] ReadFlag GroupName=MultiSmart Tags InitInstance=Yes Is1499=No [end] [pOUParam] tagName Direction=Input Type=STRING StringLength=255 ShortName=TAG SingleTextLine=The name of the tag to read [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [pOUParam] flag Direction=Output Type=INT ShortName=FLAG SingleTextLine=The quality flag of the tag [end] [functionBlock] RATIO Help=[Context]5041 GroupName=Process Control InitInstance=Yes Is1499=No [end] [pOUParam] InputA Direction=Input Type=REAL ShortName=INA SingleTextLine= [end] [pOUParam] InputE Direction=Input Type=REAL ShortName=INE SingleTextLine= [end] [pOUParam] Ratio Direction=Input Type=REAL ShortName=RAT SingleTextLine= [end] [pOUParam] Output Direction=Output Type=REAL ShortName=OUT SingleTextLine= [end] [functionBlock] GET_TIME_STRUCT SingleTextLine=Get time structure Help=[Context]5011 GroupName=Time InitInstance=No Is1499=No [end] [pOUParam] SEC Direction=Input Type=DINT ShortName=SEC SingleTextLine=Number of second since 1970/01/01 [end] [pOUParam] NSEC Direction=Input Type=DINT ShortName=NSEC SingleTextLine=Number of nano second in current second [end] [pOUParam] YEAR Direction=Output Type=DINT ShortName=YEAR SingleTextLine=Year [end] [pOUParam] MONTH Direction=Output Type=DINT ShortName=MON. SingleTextLine=Month [end] [pOUParam] DAY Direction=Output Type=DINT ShortName=DAY SingleTextLine=Day [end] [pOUParam] HOUR Direction=Output Type=DINT ShortName=HOUR SingleTextLine=Hour [end] [pOUParam] MINUTE Direction=Output Type=DINT ShortName=MIN SingleTextLine=Minute [end] [pOUParam] SECOND Direction=Output Type=DINT ShortName=SEC SingleTextLine=Second [end] [pOUParam] MSEC Direction=Output Type=DINT ShortName=MSEC SingleTextLine=Millisecond [end] [functionBlock] TouchTimeStamp GroupName=MultiSmart Tags InitInstance=Yes Is1499=No [end] [pOUParam] run Direction=Input Type=BOOL ShortName=RUN SingleTextLine=TRUE=run, FALSE=do nothing [end] [pOUParam] tagName Direction=Input Type=STRING StringLength=255 ShortName=TAG SingleTextLine=Name of tag to touch [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [functionBlock] ReadStringValue GroupName=MultiSmart Tags InitInstance=Yes Is1499=No [end] [pOUParam] tagName Direction=Input Type=STRING StringLength=255 ShortName=TAG SingleTextLine=Name of String or String Attribute tag to read [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [pOUParam] value Direction=Output Type=STRING StringLength=255 ShortName=VAL SingleTextLine=Value of string tag [end] [functionBlock] PumpAuto GroupName=MultiSmart Operations InitInstance=Yes Is1499=No [end] [pOUParam] run Direction=Input Type=BOOL ShortName=RUN SingleTextLine=TRUE=run, FALSE=do nothing [end] [pOUParam] pump Direction=Input Type=INT ShortName=PUMP SingleTextLine=Pump Number (1 - number of pumps) [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [functionBlock] ReadFloatSetPoint GroupName=MultiSmart Tags InitInstance=Yes Is1499=No [end] [pOUParam] tagName Direction=Input Type=STRING StringLength=255 ShortName=TAG SingleTextLine=Name of Analog Control or Fixed Point Attribute tag to read [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [pOUParam] value Direction=Output Type=REAL ShortName=VAL SingleTextLine=Set point of tag [end] [functionBlock] ReadIntegerSetPoint GroupName=MultiSmart Tags InitInstance=Yes Is1499=No [end] [pOUParam] tagName Direction=Input Type=STRING StringLength=255 ShortName=TAG SingleTextLine=Name of Integer Attribute tag to read [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [pOUParam] value Direction=Output Type=DINT ShortName=VAL SingleTextLine=Set point of tag [end] [functionBlock] LogMessage GroupName=MultiSmart Operations InitInstance=No Is1499=No [end] [pOUParam] run Direction=Input Type=BOOL ShortName=RUN SingleTextLine=TRUE=run, FALSE=do nothing [end] [pOUParam] message Direction=Input Type=STRING StringLength=255 ShortName=MSG SingleTextLine=Message to write to the system log [end] [functionBlock] TRACKANDHOLD Help=[Context]5047 GroupName=Process Control InitInstance=Yes Is1499=No [end] [pOUParam] Initial Direction=Input Type=REAL ShortName=INIT SingleTextLine= [end] [pOUParam] TrackVariable Direction=Input Type=REAL ShortName=TV SingleTextLine= [end] [pOUParam] TrackCommand Direction=Input Type=BOOL ShortName=TC SingleTextLine= [end] [pOUParam] Output Direction=Output Type=REAL ShortName=OUT SingleTextLine= [end] [pOUParam] RESERVED_TRACKANDHOLD Direction=Local Type=SINT Dimension=[1..4] ShortName=RDTH SingleTextLine=Reserved parameter for TRACKANDHOLD [end] [functionBlock] LEADLAGCONTROLLER Help=[Context]5037 GroupName=Process Control InitInstance=Yes Is1499=No [end] [pOUParam] Input Direction=Input Type=REAL ShortName=IN SingleTextLine= [end] [pOUParam] TimeLead Direction=Input Type=REAL ShortName=Lead SingleTextLine= [end] [pOUParam] A Direction=Input Type=REAL ShortName=A SingleTextLine= [end] [pOUParam] TimeLag Direction=Input Type=REAL ShortName=Lag SingleTextLine= [end] [pOUParam] B Direction=Input Type=REAL ShortName=B SingleTextLine= [end] [pOUParam] Enable Direction=Input Type=BOOL ShortName=ENB SingleTextLine= [end] [pOUParam] ErrorMode Direction=Input Type=DINT ShortName=ERR SingleTextLine= [end] [pOUParam] Output Direction=Output Type=REAL ShortName=OUT SingleTextLine= [end] [pOUParam] Status Direction=Output Type=DINT ShortName=STAT SingleTextLine= [end] [pOUParam] RESERVED_LEADLAGCONTROLLER Direction=Local Type=SINT Dimension=[1..36] ShortName=RDLL SingleTextLine=Reserved parameter for LEADLAGCONTROLLER [end] [functionBlock] CHARACTERIZER Help=[Context]5032 GroupName=Process Control InitInstance=Yes Is1499=No [end] [pOUParam] Input Direction=Input Type=REAL ShortName=IN SingleTextLine= [end] [pOUParam] X0_10 Direction=Input Type=REAL Dimension=[0..10] ShortName=X SingleTextLine= [end] [pOUParam] Y0_10 Direction=Input Type=REAL Dimension=[0..10] ShortName=Y SingleTextLine= [end] [pOUParam] Output Direction=Output Type=REAL ShortName=OUT SingleTextLine= [end] [functionBlock] WriteString GroupName=MultiSmart Tags InitInstance=Yes Is1499=No [end] [pOUParam] run Direction=Input Type=BOOL ShortName=RUN SingleTextLine=TRUE=run, FALSE=do nothing [end] [pOUParam] tagName Direction=Input Type=STRING StringLength=255 ShortName=TAG SingleTextLine=Name of String or String Attribute tag to write to [end] [pOUParam] value Direction=Input Type=STRING StringLength=255 ShortName=VAL SingleTextLine=Value to write to tag [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [functionBlock] SCALER Help=[Context]5044 GroupName=Process Control InitInstance=Yes Is1499=No [end] [pOUParam] Input Direction=Input Type=REAL ShortName=IN SingleTextLine= [end] [pOUParam] InputMin Direction=Input Type=REAL ShortName=IMIN SingleTextLine= [end] [pOUParam] InputMax Direction=Input Type=REAL ShortName=IMAX SingleTextLine= [end] [pOUParam] OutputMin Direction=Input Type=REAL ShortName=OMIN SingleTextLine= [end] [pOUParam] OutputMax Direction=Input Type=REAL ShortName=OMAX SingleTextLine= [end] [pOUParam] Output Direction=Output Type=REAL ShortName=OUT SingleTextLine= [end] [functionBlock] BIAS Help=[Context]5030 GroupName=Process Control InitInstance=Yes Is1499=No [end] [pOUParam] InputA Direction=Input Type=REAL ShortName=INA SingleTextLine= [end] [pOUParam] InputE Direction=Input Type=REAL ShortName=INE SingleTextLine= [end] [pOUParam] Bias Direction=Input Type=REAL ShortName=BIAS SingleTextLine= [end] [pOUParam] Output Direction=Output Type=REAL ShortName=OUT SingleTextLine= [end] [functionBlock] PumpManual GroupName=MultiSmart Operations InitInstance=Yes Is1499=No [end] [pOUParam] run Direction=Input Type=BOOL ShortName=RUN SingleTextLine=TRUE=run, FALSE=do nothing [end] [pOUParam] pump Direction=Input Type=INT ShortName=PUMP SingleTextLine=Pump Number (1 - number of pumps) [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [functionBlock] ReadBoolSetPoint GroupName=MultiSmart Tags InitInstance=Yes Is1499=No [end] [pOUParam] tagName Direction=Input Type=STRING StringLength=255 ShortName=TAG SingleTextLine=Name of Digital Control or Boolean Attribute tag to read [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [pOUParam] value Direction=Output Type=BOOL ShortName=VAL SingleTextLine=Set point of tag [end] [functionBlock] CommitSetPoint GroupName=MultiSmart Tags InitInstance=Yes Is1499=No [end] [pOUParam] run Direction=Input Type=BOOL ShortName=RUN SingleTextLine=TRUE=run, FALSE=do nothing [end] [pOUParam] tagName Direction=Input Type=STRING StringLength=255 ShortName=TAG SingleTextLine=Name of tag to commit [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [functionBlock] RATIOCALIBRATION Help=[Context]5042 GroupName=Process Control InitInstance=Yes Is1499=No [end] [pOUParam] InputA Direction=Input Type=REAL ShortName=INA SingleTextLine= [end] [pOUParam] InputE Direction=Input Type=REAL ShortName=INE SingleTextLine= [end] [pOUParam] Initial Direction=Input Type=REAL ShortName=INIT SingleTextLine= [end] [pOUParam] HighLimit Direction=Input Type=REAL ShortName=HLIM SingleTextLine= [end] [pOUParam] LowLimit Direction=Input Type=REAL ShortName=LLIM SingleTextLine= [end] [pOUParam] TrackVariable Direction=Input Type=REAL ShortName=TV SingleTextLine= [end] [pOUParam] TrackCommand Direction=Input Type=BOOL ShortName=TC SingleTextLine= [end] [pOUParam] Ratio Direction=Output Type=REAL ShortName=RAT SingleTextLine= [end] [pOUParam] TrackOutput Direction=Output Type=REAL ShortName=TO SingleTextLine= [end] [pOUParam] RESERVED_RATIOCALIBRATION Direction=Local Type=SINT Dimension=[1..8] ShortName=RDRC SingleTextLine=Reserved parameter for RATIOCALIBRATION [end] [functionBlock] PumpHoldout GroupName=MultiSmart Operations InitInstance=Yes Is1499=No [end] [pOUParam] value Direction=Input Type=BOOL ShortName=VAL SingleTextLine=Whether to set or clear the holdout fault [end] [pOUParam] pump Direction=Input Type=INT ShortName=PUMP SingleTextLine=Pump Number (1 - number of pumps) [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [functionBlock] TRANSFERSWITCH Help=[Context]5048 GroupName=Process Control InitInstance=Yes Is1499=No [end] [pOUParam] InputA Direction=Input Type=REAL ShortName=INA SingleTextLine= [end] [pOUParam] InputB Direction=Input Type=REAL ShortName=INB SingleTextLine= [end] [pOUParam] Command Direction=Input Type=BOOL ShortName=CMD SingleTextLine= [end] [pOUParam] Output Direction=Output Type=REAL ShortName=OUT SingleTextLine= [end] [functionBlock] DIGITALALARM Help=[Context]5034 GroupName=Alarms InitInstance=Yes Is1499=No [end] [pOUParam] InputA Direction=Input Type=BOOL ShortName=INA SingleTextLine= [end] [pOUParam] OutputEnable Direction=Input Type=BOOL ShortName=ENB SingleTextLine= [end] [pOUParam] Acknowledge Direction=Input Type=BOOL ShortName=ACK SingleTextLine= [end] [pOUParam] Mode Direction=Input Type=DINT ShortName=MODE SingleTextLine= [end] [pOUParam] RingBack Direction=Input Type=BOOL ShortName=RB SingleTextLine= [end] [pOUParam] Period Direction=Input Type=REAL ShortName=PER SingleTextLine= [end] [pOUParam] ErrorMode Direction=Input Type=DINT ShortName=ERR SingleTextLine= [end] [pOUParam] Output Direction=Output Type=DINT ShortName=OUT SingleTextLine= [end] [pOUParam] RESERVED_DIGITALALARM Direction=Local Type=SINT Dimension=[1..32] ShortName=RDDA SingleTextLine=Reserved parameter for DIGITALALARM [end] [functionBlock] GetPumpMode GroupName=MultiSmart Operations InitInstance=Yes Is1499=No [end] [pOUParam] pump Direction=Input Type=INT ShortName=PUMP SingleTextLine=Pump Number (1 - number of pumps) [end] [pOUParam] autoMode Direction=Output Type=BOOL ShortName=AUTO SingleTextLine=True if the pump is in AUTO mode [end] [pOUParam] manualMode Direction=Output Type=BOOL ShortName=MAN SingleTextLine=True if the pump is in MANUAL mode [end] [pOUParam] offMode Direction=Output Type=BOOL ShortName=OFF SingleTextLine=True if the pump is in OFF mode [end] [pOUParam] semiAutoMode Direction=Output Type=BOOL ShortName=S-A SingleTextLine=True if the pump is in SEMI-AUTO mode [end] [pOUParam] decommissioned Direction=Output Type=BOOL ShortName=DEC SingleTextLine=True if the pump is DECOMMISSIONED [end] [functionBlock] BATCHSWITCH Help=[Context]5028 GroupName=Process Control InitInstance=Yes Is1499=No [end] [pOUParam] Input Direction=Input Type=REAL ShortName=IN SingleTextLine= [end] [pOUParam] HighLimit Direction=Input Type=REAL ShortName=HLIM SingleTextLine= [end] [pOUParam] LowLimit Direction=Input Type=REAL ShortName=LLIM SingleTextLine= [end] [pOUParam] PreLoad Direction=Input Type=REAL ShortName=PREL SingleTextLine= [end] [pOUParam] Gain Direction=Input Type=REAL ShortName=GAIN SingleTextLine= [end] [pOUParam] Output Direction=Output Type=REAL ShortName=OUT SingleTextLine= [end] [functionBlock] ANALOGALARM Help=[Context]5027 GroupName=Alarms InitInstance=Yes Is1499=No [end] [pOUParam] InputA Direction=Input Type=REAL ShortName=INA SingleTextLine= [end] [pOUParam] InputB Direction=Input Type=REAL ShortName=INB SingleTextLine= [end] [pOUParam] OutputEnable Direction=Input Type=BOOL Dimension=[0..2] ShortName=ENB SingleTextLine= [end] [pOUParam] Acknowledge Direction=Input Type=BOOL Dimension=[0..2] ShortName=ACK SingleTextLine= [end] [pOUParam] AlarmSetting Direction=Input Type=ALARM_SETTING ShortName=SET SingleTextLine= [end] [pOUParam] ErrorMode Direction=Input Type=DINT ShortName=ERR SingleTextLine= [end] [pOUParam] OutputA Direction=Output Type=DINT ShortName=OUTA SingleTextLine= [end] [pOUParam] OutputB Direction=Output Type=DINT ShortName=OUTB SingleTextLine= [end] [pOUParam] OutputC Direction=Output Type=DINT ShortName=OUTC SingleTextLine= [end] [pOUParam] RESERVED_ANALOGALARM Direction=Local Type=SINT Dimension=[1..252] ShortName=RDAA SingleTextLine=Reserved parameter for ANALOGALARM [end] [functionBlock] ReadFloatValue GroupName=MultiSmart Tags InitInstance=Yes Is1499=No [end] [pOUParam] tagName Direction=Input Type=STRING StringLength=255 ShortName=TAG SingleTextLine=Name of Fixed Point, FP Attribute, Analog, or Analog Control tag to read [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [pOUParam] value Direction=Output Type=REAL ShortName=VAL SingleTextLine=Value of tag [end] [functionBlock] COMPARATOR Help=[Context]5033 GroupName=Comparators InitInstance=Yes Is1499=No [end] [pOUParam] Input Direction=Input Type=REAL ShortName=IN SingleTextLine= [end] [pOUParam] LimitValue Direction=Input Type=REAL ShortName=LIM SingleTextLine= [end] [pOUParam] DeadBand Direction=Input Type=REAL ShortName=DB SingleTextLine= [end] [pOUParam] DirectActing Direction=Input Type=BOOL ShortName=DIR SingleTextLine= [end] [pOUParam] Output Direction=Output Type=BOOL ShortName=OUT SingleTextLine= [end] [pOUParam] RESERVED_COMPARATOR Direction=Local Type=SINT Dimension=[1..4] ShortName=RDCP SingleTextLine=Reserved parameter for COMPARATOR [end] [functionBlock] RATELIMITER Help=[Context]5040 GroupName=Process Control InitInstance=Yes Is1499=No [end] [pOUParam] Input Direction=Input Type=REAL ShortName=IN SingleTextLine= [end] [pOUParam] UpRate Direction=Input Type=REAL ShortName=UP SingleTextLine= [end] [pOUParam] DownRate Direction=Input Type=REAL ShortName=DOWN SingleTextLine= [end] [pOUParam] Enable Direction=Input Type=BOOL ShortName=ENB SingleTextLine= [end] [pOUParam] Output Direction=Output Type=REAL ShortName=OUT SingleTextLine= [end] [pOUParam] RaisingLimit Direction=Output Type=BOOL ShortName=RL SingleTextLine= [end] [pOUParam] FallingLimit Direction=Output Type=BOOL ShortName=FL SingleTextLine= [end] [pOUParam] RESERVED_RATELIMITER Direction=Local Type=SINT Dimension=[1..12] ShortName=RDRL SingleTextLine=Reserved parameter for RATELIMITER [end] [functionBlock] LIMITER Help=[Context]5038 GroupName=Process Control InitInstance=Yes Is1499=No [end] [pOUParam] Input Direction=Input Type=REAL ShortName=IN SingleTextLine= [end] [pOUParam] HighLimit Direction=Input Type=REAL ShortName=HLIM SingleTextLine= [end] [pOUParam] LowLimit Direction=Input Type=REAL ShortName=LLIM SingleTextLine= [end] [pOUParam] ErrorMode Direction=Input Type=DINT ShortName=ERR SingleTextLine= [end] [pOUParam] Output Direction=Output Type=REAL ShortName=OUT SingleTextLine= [end] [pOUParam] HighStatus Direction=Output Type=BOOL ShortName=HSTS SingleTextLine= [end] [pOUParam] LowStatus Direction=Output Type=BOOL ShortName=LSTS SingleTextLine= [end] [functionBlock] ReadTimeStamp GroupName=MultiSmart Tags InitInstance=Yes Is1499=No [end] [pOUParam] tagName Direction=Input Type=STRING StringLength=255 ShortName=TAG SingleTextLine=Name of tag to read [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [pOUParam] timeStamp Direction=Output Type=UDINT ShortName=SEC SingleTextLine=The tag's time stamp [end] [functionBlock] SIGNALSELECTOR Help=[Context]5046 GroupName=Process Control InitInstance=Yes Is1499=No [end] [pOUParam] InputA Direction=Input Type=REAL ShortName=INA SingleTextLine= [end] [pOUParam] InputB Direction=Input Type=REAL ShortName=INB SingleTextLine= [end] [pOUParam] InputC Direction=Input Type=REAL ShortName=INC SingleTextLine= [end] [pOUParam] Selector Direction=Input Type=BOOL ShortName=SEL SingleTextLine= [end] [pOUParam] Output Direction=Output Type=REAL ShortName=OUT SingleTextLine= [end] [functionBlock] PumpOff GroupName=MultiSmart Operations InitInstance=Yes Is1499=No [end] [pOUParam] run Direction=Input Type=BOOL ShortName=RUN SingleTextLine=TRUE=run, FALSE=do nothing [end] [pOUParam] pump Direction=Input Type=INT ShortName=PUMP SingleTextLine=Pump Number (1 - number of pumps) [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [functionBlock] RETENTIVEONTIMER Help=[Context]5043 GroupName=Process Control InitInstance=Yes Is1499=No [end] [pOUParam] InputOn Direction=Input Type=BOOL ShortName=INO SingleTextLine= [end] [pOUParam] InputEnable Direction=Input Type=BOOL ShortName=INE SingleTextLine= [end] [pOUParam] DelayTime Direction=Input Type=REAL ShortName=DTIM SingleTextLine= [end] [pOUParam] ErrorMode Direction=Input Type=DINT ShortName=ERR SingleTextLine= [end] [pOUParam] Output Direction=Output Type=BOOL ShortName=OUT SingleTextLine= [end] [pOUParam] OutputNot Direction=Output Type=BOOL ShortName=ONOT SingleTextLine= [end] [pOUParam] ElapseTime Direction=Output Type=REAL ShortName=ETIM SingleTextLine= [end] [pOUParam] RemainingTime Direction=Output Type=REAL ShortName=RTIM SingleTextLine= [end] [pOUParam] RESERVED_RETENTIVEONTIMER Direction=Local Type=SINT Dimension=[1..8] ShortName=RDRT SingleTextLine=Reserved parameter for RETENTIVEONTIMER [end] [functionBlock] BATCHTOTALIZER Help=[Context]5029 GroupName=Process Control InitInstance=Yes Is1499=No [end] [pOUParam] Input Direction=Input Type=REAL ShortName=IN SingleTextLine= [end] [pOUParam] InitialValue Direction=Input Type=REAL ShortName=INIT SingleTextLine= [end] [pOUParam] Preset1 Direction=Input Type=REAL ShortName=PRE1 SingleTextLine= [end] [pOUParam] Preset2 Direction=Input Type=REAL ShortName=PRE2 SingleTextLine= [end] [pOUParam] ZeroDropOut Direction=Input Type=REAL ShortName=ZERO SingleTextLine= [end] [pOUParam] PulseScaling Direction=Input Type=REAL ShortName=PSCL SingleTextLine= [end] [pOUParam] TimeBase Direction=Input Type=DINT ShortName=TBAS SingleTextLine= [end] [pOUParam] Stop Direction=Input Type=BOOL ShortName=STOP SingleTextLine= [end] [pOUParam] Reset Direction=Input Type=BOOL ShortName=RST SingleTextLine= [end] [pOUParam] DirectActing Direction=Input Type=BOOL ShortName=DA SingleTextLine= [end] [pOUParam] ErrorMode Direction=Input Type=DINT ShortName=ERR SingleTextLine= [end] [pOUParam] Total Direction=Output Type=REAL ShortName=TOT SingleTextLine= [end] [pOUParam] Alarm1 Direction=Output Type=BOOL ShortName=ALM1 SingleTextLine= [end] [pOUParam] Alarm2 Direction=Output Type=BOOL ShortName=ALM2 SingleTextLine= [end] [pOUParam] Pulse Direction=Output Type=BOOL ShortName=PULS SingleTextLine= [end] [pOUParam] RESERVED_BATCHTOTALIZER Direction=Local Type=SINT Dimension=[1..16] ShortName=RDBT SingleTextLine=Reserved parameter for BATCHTOTALIZER [end] [functionBlock] RollbackSetPoint GroupName=MultiSmart Tags InitInstance=Yes Is1499=No [end] [pOUParam] run Direction=Input Type=BOOL ShortName=RUN SingleTextLine=TRUE=run, FALSE=do nothing [end] [pOUParam] tagName Direction=Input Type=STRING StringLength=255 ShortName=TAG SingleTextLine=Name of tag to roll back [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [functionBlock] FLIPFLOP Help=[Context]5035 GroupName=Boolean operations InitInstance=Yes Is1499=No [end] [pOUParam] Set Direction=Input Type=BOOL ShortName=SET SingleTextLine= [end] [pOUParam] Reset Direction=Input Type=BOOL ShortName=RES SingleTextLine= [end] [pOUParam] Output Direction=Output Type=BOOL ShortName=OUT SingleTextLine= [end] [pOUParam] RESERVED_FLIPFLOP Direction=Local Type=SINT Dimension=[1..8] ShortName=RDFF SingleTextLine=Reserved parameter for FLIPFLOP [end] [functionBlock] BIASCALIBRATION Help=[Context]5031 GroupName=Process Control InitInstance=Yes Is1499=No [end] [pOUParam] InputA Direction=Input Type=REAL ShortName=INA SingleTextLine= [end] [pOUParam] InputE Direction=Input Type=REAL ShortName=INE SingleTextLine= [end] [pOUParam] Initial Direction=Input Type=REAL ShortName=INIT SingleTextLine= [end] [pOUParam] HighLimit Direction=Input Type=REAL ShortName=HLIM SingleTextLine= [end] [pOUParam] LowLimit Direction=Input Type=REAL ShortName=LLIM SingleTextLine= [end] [pOUParam] TrackVariable Direction=Input Type=REAL ShortName=TV SingleTextLine= [end] [pOUParam] TrackCommand Direction=Input Type=BOOL ShortName=TC SingleTextLine= [end] [pOUParam] Bias Direction=Output Type=REAL ShortName=BIAS SingleTextLine= [end] [pOUParam] TrackOutput Direction=Output Type=REAL ShortName=TO SingleTextLine= [end] [pOUParam] RESERVED_BIASCALIBRATION Direction=Local Type=SINT Dimension=[1..8] ShortName=RDBC SingleTextLine=Reserved parameter for BIASCALIBRATION [end] [functionBlock] WriteBool GroupName=MultiSmart Tags InitInstance=Yes Is1499=No [end] [pOUParam] run Direction=Input Type=BOOL ShortName=RUN SingleTextLine=TRUE=run, FALSE=do nothing [end] [pOUParam] tagName Direction=Input Type=STRING StringLength=255 ShortName=TAG SingleTextLine=Name of Digital, Digital Control, or Boolean Attribute tag to write to [end] [pOUParam] value Direction=Input Type=BOOL ShortName=VAL SingleTextLine=Value to write to tag [end] [pOUParam] success Direction=Output Type=BOOL ShortName=RET SingleTextLine=Whether the operation was successful [end] [device] MSMPDouts PackageName=multismart DriverName=mp Type=BOOL Direction=Output LowerChannel=5 UpperChannel=5 HiddenMemberOfComplexDevice=1 [end] [deviceParam] unit Format=LONG Access=USER DEFINED Default=1 SingleTextLine=MultiSmart unit number [end] [deviceParam] topBoard Format=BOOLEAN Access=USER DEFINED Default=0 SingleTextLine=1 = Top Board, 0 = Bottom Board [end] [device] ADAM6017Douts PackageName=multismart DriverName=adam6017 Type=BOOL Direction=Output LowerChannel=0 UpperChannel=2 HiddenMemberOfComplexDevice=1 [end] [device] MSPCAouts PackageName=multismart DriverName=pc Type=REAL Direction=Output LowerChannel=1 UpperChannel=1 HiddenMemberOfComplexDevice=1 [end] [deviceParam] unit Format=LONG Access=USER DEFINED Default=1 SingleTextLine=MultiSmart unit number [end] [deviceParam] topBoard Format=BOOLEAN Access=USER DEFINED Default=1 SingleTextLine=1 = Top Board, 0 = Bottom Board [end] [device] ADAM6050Douts PackageName=multismart DriverName=adam6050 Type=BOOL Direction=Output LowerChannel=0 UpperChannel=6 HiddenMemberOfComplexDevice=1 [end] [device] MSMPAouts PackageName=multismart DriverName=mp Type=REAL Direction=Output LowerChannel=3 UpperChannel=3 HiddenMemberOfComplexDevice=1 [end] [deviceParam] unit Format=LONG Access=USER DEFINED Default=1 SingleTextLine=MultiSmart unit number [end] [deviceParam] topBoard Format=BOOLEAN Access=USER DEFINED Default=0 SingleTextLine=1 = Top Board, 0 = Bottom Board [end] [device] MSPCDouts PackageName=multismart DriverName=pc Type=BOOL Direction=Output LowerChannel=7 UpperChannel=7 HiddenMemberOfComplexDevice=1 [end] [deviceParam] unit Format=LONG Access=USER DEFINED Default=1 SingleTextLine=MultiSmart unit number [end] [deviceParam] topBoard Format=BOOLEAN Access=USER DEFINED Default=1 SingleTextLine=1 = Top Board, 0 = Bottom Board [end] [device] ACROMAG961 PackageName=multismart DriverName=acromag961 Type=REAL Direction=Input LowerChannel=0 UpperChannel=6 HiddenMemberOfComplexDevice=0 [end] [device] ADAM6050Dins PackageName=multismart DriverName=adam6050 Type=BOOL Direction=Input LowerChannel=0 UpperChannel=12 HiddenMemberOfComplexDevice=1 [end] [device] ADAM6017Ains PackageName=multismart DriverName=adam6017 Type=REAL Direction=Input LowerChannel=0 UpperChannel=8 HiddenMemberOfComplexDevice=1 [end] [device] ACROMAG983 PackageName=multismart DriverName=acromag983 Type=BOOL Direction=Input LowerChannel=0 UpperChannel=12 HiddenMemberOfComplexDevice=0 [end] [device] MSPCAins PackageName=multismart DriverName=pc Type=REAL Direction=Input LowerChannel=2 UpperChannel=2 HiddenMemberOfComplexDevice=1 [end] [deviceParam] unit Format=LONG Access=USER DEFINED Default=1 SingleTextLine=MultiSmart unit number [end] [deviceParam] topBoard Format=BOOLEAN Access=USER DEFINED Default=1 SingleTextLine=1 = Top Board, 0 = Bottom Board [end] [device] MSPCDins PackageName=multismart DriverName=pc Type=BOOL Direction=Input LowerChannel=20 UpperChannel=20 HiddenMemberOfComplexDevice=1 [end] [deviceParam] unit Format=LONG Access=USER DEFINED Default=1 SingleTextLine=MultiSmart unit number [end] [deviceParam] topBoard Format=BOOLEAN Access=USER DEFINED Default=1 SingleTextLine=1 = Top Board, 0 = Bottom Board [end] [complex] ADAM6050 PackageName=multismart DriverName=adam6050 Devices=ADAM6050Dins,ADAM6050Douts ComplexOption=2 [end] [complex] MultiSmartMPboard PackageName=multismart DriverName=mp Devices=MSMPAouts,MSMPDouts ComplexOption=1 [end] [deviceParam] unit Format=LONG Access=USER DEFINED Default=1 SingleTextLine=MultiSmart unit number [end] [deviceParam] topBoard Format=BOOLEAN Access=USER DEFINED Default=0 SingleTextLine=1 = Top Board, 0 = Bottom Board [end] [complex] ADAM6017 PackageName=multismart DriverName=adam6017 Devices=ADAM6017Ains,ADAM6017Douts ComplexOption=2 [end] [complex] MultiSmartPCboard PackageName=multismart DriverName=pc Devices=MSPCAins,MSPCAouts,MSPCDins,MSPCDouts ComplexOption=1 [end] [deviceParam] unit Format=LONG Access=USER DEFINED Default=1 SingleTextLine=MultiSmart unit number [end] [deviceParam] topBoard Format=BOOLEAN Access=USER DEFINED Default=1 SingleTextLine=1 = Top Board, 0 = Bottom Board [end] [network] ETCP DistributedNet=Yes LocalNet=No [end] [connectParam] IPAddress Format=STRING Access=USER DEFINED Default= SingleTextLine=IPAddress or Computer name [end]