PAC Control Commands Quick Reference, Legacy Edition - Opto 22

1y ago
10 Views
2 Downloads
1.57 MB
12 Pages
Last View : 25d ago
Last Download : 3m ago
Upload by : Lilly Andre
Transcription

RELEASE NOTES Form 1713-221111 PAGE 1 COMMANDS QUICK REFERENCE, LEGACY EDITION Key 1Available only in PAC Control Professional 2 Ethernet I/O , Ultimate I/O , and Simple I/O units 3 Original High-Density Digital (HDD) modules 4 mistic I/O units The Type column shows whether the OptoScript command is a function command (f) or a procedure command (p). Function commands return a value from their action; procedure commands do not. To enable commands for Ethernet I/O, Ultimate I/O, Simple I/O, High-Density Digital modules, and mistic I/O units: 1. On PAC Control’s menu bar, click File Strategy Options. 2. On the Legacy tab, click the option you want to enable, and then click Yes. 3. To enable more than one option, repeat step 2. 4. When finished, click OK. Analog Point PAC Control Command Calculate & Set Analog Gain Calculate & Set Analog Offset Get & Clear Analog Filtered Value1, 4 Get & Clear Analog Maximum Value Get & Clear Analog Minimum Value Get & Clear Analog Totalizer Value Get Analog Filtered Value1, 4 Get Analog Maximum Value Get Analog Minimum Value Get Analog Square Root Filtered Value1, 4 Get Analog Square Root Value1, 4 Get Analog Totalizer Value Get HART Unique Address Ramp Analog Output Receive HART Response Receive HART Burst Response Send/Receive HART Command Set Analog Filter Weight Set Analog Gain Set Analog Load Cell Fast Settle Level Set Analog Load Cell Filter Weight Set Analog Offset Set Analog Totalizer Rate Set Analog TPO Period OptoScript Equivalent (Arguments) Type CalcSetAnalogGain(On Point) f CalcSetAnalogOffset(On Point) f GetClearAnalogFilteredValue(From) f GetClearAnalogMaxValue(From) f GetClearAnalogMinValue(From) f GetClearAnalogTotalizerValue(From) f GetAnalogFilteredValue(From) f GetAnalogMaxValue(From) f GetAnalogMinValue(From) f GetAnalogSquareRootFilteredValue(From) f GetAnalogSquareRootValue(From) f GetAnalogTotalizerValue(From) f GetHARTUniqueAddress (Point, Polling Address, Unique Address, Timeout) f RampAnalogOutput(Ramp Endpoint, Units/Sec, Point to Ramp) p ReceiveHARTResponse(Point, Unique Address, Response, Timeout) f ReceiveHARTBurstResponse(Point, Unique Address, Response, Timeout) f SendReceiveHARTCommand (Point, Unique Address, Command, Parameters, f Response, Timeout) SetAnalogFilterWeight(To, On Point) p SetAnalogGain(To, On Point) p SetAnalogLoadCellFastSettleLevel(To, On Point) p SetAnalogLoadCellFilterWeight(To, On Point) p SetAnalogOffset(To, On Point) p SetAnalogTotalizerRate(To Seconds, On Point) p SetAnalogTpoPeriod(To, On Point) p Chart PAC Control Command Call Chart Calling Chart Running? Calling Chart Stopped? Calling Chart Suspended? Chart Running? Chart Stopped? Chart Suspended? Continue Calling Chart Continue Chart Get Chart Status Start Chart Stop Chart Suspend Chart OptoScript Equivalent (Arguments) CallChart(Chart) IsCallingChartRunning() IsCallingChartStopped() IsCallingChartSuspended() IsChartRunning(Chart) IsChartStopped(Chart) IsChartSuspended(Chart) ContinueCallingChart() ContinueChart(Chart) GetChartStatus(Chart) StartChart(Chart) StopChart(Chart) SuspendChart(Chart) Type f f f f f f f f f f f f f OPTO 22 800-321-6786 1-951-695-3000 www.opto22.com sales@opto22.com 2012-2022 Opto 22. All rights reserved. Dimensions and specifications are subject to change. Brand or product names used herein are trademarks or registered trademarks of their respective companies or organizations.

Commands Quick Reference, Legacy Edition Form 1713-221111 PAGE 2 Communication PAC Control Command Accept Incoming Communication Clear Communication Receive Buffer Close Communication Communication Open? Get Active Interrupt Mask1, 4 Get Communication Handle Value Get End-Of-Message Terminator Get Number of Characters Waiting HTTP Get HTTP Post from String Table HTTP Post Calculate Content Length Listen for Incoming Communication Open Outgoing Communication Receive Character Receive N Characters Receive Numeric Table Receive Numeric Table Ex Receive Numeric Variable Receive Pointer Table Receive String Receive String Table Send Communication Handle Command Send Email Send Email with Attachments Set Communication Handle Value Set End-Of-Message Terminator Transfer N Characters Transmit Character Transmit NewLine Transmit Numeric Table Transmit Pointer Table Transmit/Receive Mistic I/O Hex String1, 4 Transmit/Receive String Transmit String Transmit String Table OptoScript Equivalent (Arguments) Type AcceptIncomingCommunication(Communication Handle) f ClearCommunicationReceiveBuffer(Communication Handle) p CloseCommunication(Communication Handle) f IsCommunicationOpen(Communication Handle) f GetActiveInterruptMask() f GetCommunicationHandleValue(From, To) f GetEndOfMessageTerminator (Communication Handle) f GetNumCharsWaiting(On Communication Handle) f HttpGet(Response Content, Response Header, Get Header, Security Mode, f URL Path, Put HTTP Status In, Port, Hostname) HttpPostFromStringTable(Response Content, Response Header, f Post Content, Post Header, Security Mode, URL Path, Put HTTP Status In, Port, Hostname) HttpPostCalcContentLength(Post Content, Post Header, Length Index) f ListenForIncomingCommunication(Communication Handle) f OpenOutgoingCommunication(Communication Handle) f ReceiveChar(Communication Handle) f ReceiveNChars(Put In, Number of Characters, Communication Handle) f ReceiveNumTable(Length, Start at Index, Of Table, Communication Handle) f ReceiveNumTableEx(Length, Start at Index, Endian Mode, f Bytes per Value, Of Table, Communication Handle) ReceiveNumVariable(Endian mode, Number of Bytes, Put in, f Communication Handle) ReceivePtrTable(Length, Start at Index, Of Table, Communication Handle) f ReceiveString(Put In, Communication Handle) f ReceiveStrTable(Length, Start at Index, Of Table, Communication Handle) f SendCommunicationHandleCommand(Communication Handle, Command) f SendEmail(Server Information, Recipients, Message Body) f SendEmailWithAttachments (Server Information, Recipients, Message Body, f Attachment File Names) SetCommunicationHandleValue(Value, Communication Handle) p SetEndOfMessageTerminator(Communication Handle, To Character) p TransferNChars(Destination Handle, Source Handle, Num Chars) f TransmitChar(Character, Communication Handle) f TransmitNewLine(Communication Handle) f TransmitNumTable(Length, Start at Index, Of Table, Communication Handle) f TransmitPtrTable(Length, Start at Index, Of Table, Communication Handle) f TransReceMisticIoHexStringWithCrc(Hex String, On Port, Put Result in) f TransmitReceiveString(String, Communication Handle, Put Result in) f TransmitString(String, Communication Handle) f TransmitStrTable(Length, Start at Index, Of Table, Communication Handle) f Control Engine PAC Control Command Calculate Strategy CRC Erase Files in Permanent Storage Get Available File Space Get Available File Space Ex Get Control Engine Address Get Control Engine Type Get Firmware Version Get Number of Charts Running Get Redundant Controller State1 Get Redundant Controller Status1 Get Strategy Name Load Files From Permanent Storage Retrieve Strategy CRC Save Files To Permanent Storage Start Alternate Host Task OptoScript Equivalent (Arguments) CalcStrategyCrc() EraseFilesInPermanentStorage() GetAvailableFileSpace(File System Type) GetAvailableFileSpaceEx(File System Type) GetControlEngineAddress() GetEngineType() GetFirmwareVersion(Put in) GetNumChartsRunning(Put in) GetRedundantControllerState(State) GetRedundantControllerState(Status) GetStrategyName(Put in) LoadFilesFromPermanentStorage() RetrieveStrategyCrc() SaveFilesToPermanentStorage() StartAlternateHostTask() Type f f f f f f p f f f p f f f f OPTO 22 800-321-6786 1-951-695-3000 www.opto22.com sales@opto22.com 2012-2022 Opto 22. All rights reserved. Dimensions and specifications are subject to change. Brand or product names used herein are trademarks or registered trademarks of their respective companies or organizations.

Commands Quick Reference, Legacy Edition Form 1713-221111 PAGE 3 Digital Point PAC Control Command Clear All Latches Clear Counter Clear Off-Latch Clear On-Latch Generate N Pulses Get & Clear Counter Get & Clear Off-Latch Get & Clear On-Latch Get & Restart Off-Pulse Measurement Get & Restart Off-Time Totalizer Get & Restart On-Pulse Measurement Get & Restart On-Time Totalizer Get & Restart Period Get Counter Get Frequency Get Off-Latch Get Off-Pulse Measurement Get Off-Pulse Measurement Complete Status Get Off-Time Totalizer Get On-Latch Get On-Pulse Measurement Get On-Pulse Measurement Complete Status Get On-Time Totalizer Get Period Get Period Measurement Complete Status Get TPO Percent Get TPO Period Off? Off-Latch Set? On? On-Latch Set? Set TPO Percent Set TPO Period Start Continuous Square Wave Start Counter Start Off-Pulse Start On-Pulse Stop Counter Turn Off Turn On OptoScript Equivalent (Arguments) Type ClearAllLatches(On I/O Unit) p ClearCounter(On Point) p ClearOffLatch(On Point) p ClearOnLatch(On Point) p GenerateNPulses(On Time (Seconds), Off Time (Seconds), p Number of Pulses, On Point) GetClearCounter(From Point) f GetClearOffLatch(From Point) f GetClearOnLatch(From Point) f GetRestartOffPulseMeasurement(From Point) f GetRestartOffTimeTotalizer(From Point) f GetRestartOnPulseMeasurement(From Point) f GetRestartOnTimeTotalizer(From Point) f GetRestartPeriod(From Point) f GetCounter(From Point) f GetFrequency(From Point) f GetOffLatch(From Point) f GetOffPulseMeasurement(From Point) f GetOffPulseMeasurementCompleteStatus(From Point) f GetOffTimeTotalizer(From Point) f GetOnLatch(From Point) f GetOnPulseMeasurement(From Point) f GetOnPulseMeasurementCompleteStatus(From Point) f GetOnTimeTotalizer(From Point) f GetPeriod(From Point) f GetPeriodMeasurementCompleteStatus(From Point) f GetTpoPercent(From Point, Put in) f GetTpoPeriod(From Point, Put in) f IsOff(Point) f IsOffLatchSet(On Point) f IsOn(Point) f IsOnLatchSet(On Point) f SetTpoPercent(To Percent, On Point) p SetTpoPeriod(To Seconds, On Point) p StartContinuousSquareWave(On Time (Seconds), Off Time (Seconds), On Point) p StartCounter(On Point) p StartOffPulse(Off Time (Seconds), On Point) p StartOnPulse(On Time (Seconds), On Point) p StopCounter(On Point) p TurnOff(Output) p TurnOn(Output) p Error Handling PAC Control Command Add Message to Queue Add User Error to Queue Add User I/O Unit Error to Queue Caused a Chart Error? Caused an I/O Unit Error? Clear All Errors Copy Current Error to String Disable I/O Unit Causing Current Error Enable I/O Unit Causing Current Error Error? Error on I/O Unit? Get Error Code of Current Error Get Error Count Get ID of Block Causing Current Error Get Line Causing Current Error Get Name of Chart Causing Current Error Get Name of I/O Unit Causing Current Error OptoScript Equivalent (Arguments) AddMessageToQueue(Severity, Message) AddUserErrorToQueue(Error Number) AddUserIoUnitErrorToQueue(Error Number, I/O Unit) HasChartCausedError(Chart) HasIoUnitCausedError(I/O Unit) ClearAllErrors() CurrentErrorToString(Delimiter, String) DisableIoUnitCausingCurrentError() EnableIoUnitCausingCurrentError() IsErrorPresent() IsErrorOnIoUnit() GetErrorCodeOfCurrentError() GetErrorCount() GetIdOfBlockCausingCurrentError() GetLineCausingCurrentError() GetNameOfChartCausingCurrentError(Put in) GetNameOfIoUnitCausingCurrentError(Put in) Type p p p f f p p p p f f f f f f p p OPTO 22 800-321-6786 1-951-695-3000 www.opto22.com sales@opto22.com 2012-2022 Opto 22. All rights reserved. Dimensions and specifications are subject to change. Brand or product names used herein are trademarks or registered trademarks of their respective companies or organizations.

Commands Quick Reference, Legacy Edition Form 1713-221111 PAGE 4 PAC Control Command Get Severity of Current Error Remove Current Error and Point to Next Error Stop Chart on Error Suspend Chart on Error OptoScript Equivalent (Arguments) GetSeverityOfCurrentError() RemoveCurrentError() StopChartOnError() SuspendChartOnError() Type f p p f OptoScript Equivalent (Arguments) ClearAllEventLatches(On I/O Unit) ClearEventLatch(On Event/Reaction) ClearIoUnitInterrupt(On I/O Unit) DisableInterruptOnEvent(Event/Reaction) DisableScanningForAllEvents(On I/O Unit) DisableScanningForEvent(Event/Reaction) DisableScanningOfEventReactionGroup(E/R Group) EnableInterruptOnEvent(Event/Reaction) EnableScanningForAllEvents(On I/O Unit) EnableScanningForEvent(Event/Reaction) EnableScanningOfEventReactionGroup() HasEventOccurred(Event/Reaction) IsEventOccurring(Event/Reaction) IsEventScanningDisabled(Event/Reaction) IsEventScanningEnabled(Event/Reaction) GetClearEventLatches(E/R Group) GetEventLatches(E/R Group) IsGeneratingInterrupt(I/O Unit) IsInterruptDisabledForEvent(Event/Reaction) IsInterruptEnabledForEvent(Event/Reaction) ReadEventReactionHoldBuffer(Event/Reaction) Type p p p p p p p p p p p f f f f f f f f f f Event/Reaction PAC Control Command Clear All Event Latches1,4 Clear Event Latch1,4 Clear I/O Unit Interrupt1,4 Disable Interrupt on Event1,4 Disable Scanning for All Events1,4 Disable Scanning for Event1,4 Disable Scanning of Event/Reaction Group1,4 Enable Interrupt on Event1,4 Enable Scanning for All Events1,4 Enable Scanning for Event1,4 Enable Scanning of Event/Reaction Group1,4 Event Occurred?1,4 Event Occurring?1,4 Event Scanning Disabled?1,4 Event Scanning Enabled?1,4 Get & Clear Event Latches1,4 Get Event Latches1,4 Generating Interrupt?1,4 Interrupt Disabled for Event?1,4 Interrupt Enabled for Event?1,4 Read Event/Reaction Hold Buffer1,4 Digital Module PAC Control Command Get & Clear Module Counters Get & Clear Module Off-Latches Get & Clear Module On-Latches Get All Module States Get Module Counters Get Module Off-Latches Get Module On-Latches Get Module States Set Module States from MOMO Masks IVAL Get All Module States OptoScript Equivalent (Arguments) GetClearModuleCounters(I/O Unit, Module Number, Of Table, Starting Index) GetClearModuleOffLatches(I/O Unit, Module Number) GetClearModuleOnLatches(I/O Unit, Module Number, Put Result In) GetAllModuleStates(From I/O Unit, Starting Index, Of Table) GetModuleCounters(I/O Unit, Module Number, Of Table, Starting Index) GetModuleOffLatches(I/O Unit, Module Number, Put Result In) GetModuleOnLatches(I/O Unit, Module Number, Put Result In) GetModuleStates(I/O Unit, Module Number, Put Result In) SetModuleStatesfromMOMOMasks(Must-Off Mask, Must-On Mask, I/O Unit, Module Number) IvalGetAllModuleStates(From I/O Unit, Starting Index, Of Table) Type OptoScript Equivalent (Arguments) ClearHddModuleOffLatches(I/O Unit, Module Number, Clear Mask) ClearHddModuleOnLatches(I/O Unit, Module Number, Clear Mask) GetClearAllHddModuleOffLatches(I/O Unit, Start Index, Put Result In) GetClearAllHddModuleOnLatches(I/O Unit, Start Index, Put Result In) GetClearHddModuleCounter(I/O Unit, Module Number, Point Number, Put Result In) GetClearHddModuleCounters(I/O Unit, Module Number, Start Table Index, Put Result In) GetClearHddModuleOffLatches(I/O Unit, Module Number, Put Result In) GetClearHddModuleOnLatches(I/O Unit, Module Number, Put Result In) GetAllHddModuleOffLatches(I/O Unit, Start Index, Put Result In) GetAllHddModuleOnLatches(I/O Unit, Start Index, Put Result In) Type f f f f p p f p f f f f p p High Density Digital Module PAC Control Command Clear HDD Module Off-Latches3 Clear HDD Module On-Latches3 Get & Clear All HDD Module Off-Latches3 Get & Clear All HDD Module On-Latches3 Get & Clear HDD Module Counter3 Get & Clear HDD Module Counters 3 Get & Clear HDD Module Off-Latches3 Get & Clear HDD Module On-Latches3 Get All HDD Module Off-Latches3 Get All HDD Module On-Latches3 f f f f f f OPTO 22 800-321-6786 1-951-695-3000 www.opto22.com sales@opto22.com 2012-2022 Opto 22. All rights reserved. Dimensions and specifications are subject to change. Brand or product names used herein are trademarks or registered trademarks of their respective companies or organizations.

Commands Quick Reference, Legacy Edition Form 1713-221111 PAGE 5 PAC Control Command Get All HDD Module States3 OptoScript Equivalent (Arguments) GetAllHddModuleStates(I/O Unit, Start Index, Put Result In) GetHddModuleCounters(I/O Unit, Module Number, Start Table Index, Put Result In) GetHddModuleOffLatches(I/O Unit, Module Number, Put Result In) GetHddModuleOnLatches(I/O Unit, Module Number, Put Result In) GetHddModuleStates(I/O Unit, Module Number, Put Result In) SetHddModulefromMOMOMasks(I/O Unit, Module Number, Must-On Mask, Must-Off Mask) TurnOffHDDModulePoint(I/O Unit, Module Number, Point Number) TurnOnHddModulePoint(I/O Unit, Module Number, Point Number) Get HDD Module Counters3 Get HDD Module Off-Latches3 Get HDD Module On-Latches3 Get HDD Module States3 Set HDD Module from MOMO Masks3 Turn Off HDD Module Point3 Turn On HDD Module Point3 Type f f f f f f f f I/O Quality PAC Control Command Get I/O Channel Quality Get I/O Unit Quality OptoScript Equivalent (Arguments) GetChannelQuality(From Channel, Put in) GetIoUnitQuality(From I/O Unit, Put in) Type f f I/O Unit PAC Control Command Clear I/O Unit Configured Flag Get I/O Unit as Binary Value Get I/O Unit as Binary Value 64 Get I/O Unit Module States Get Target Address State1 I/O Unit Ready? IVAL Move Numeric Table to I/O Unit IVAL Move Numeric Table to I/O Unit Ex Move I/O Unit to Numeric Table Move I/O Unit to Numeric Table Ex Move Numeric Table to I/O Unit Move Numeric Table to I/O Unit Ex Set All Target Address States1 Set I/O Unit Configured Flag Set I/O Unit from MOMO Masks Set Target Address State1 Write I/O Unit Configuration to EEPROM OptoScript Equivalent (Arguments) Type ClearIoUnitConfiguredFlag(I/O Unit) p GetIoUnitAsBinaryValue(I/O Unit) f GetIoUnitAsBinaryValue64(I/O Unit) f GetIoUnitModuleStates (From I/O Unit, To Table, With Starting Index) p GetTargetAddressState(Enable Mask, Active Mask, I/O Unit) p IsIoUnitReady(I/O Unit) f IvalMoveNumTableToIoUnit(Start at Index, Of Table, Move to) p IvalMoveNumTableToIoUnitEx(From Table, With Starting Index, To I/O Unit) p MoveIoUnitToNumTable(I/O Unit, Starting Index, Of Table) p MoveIoUnitToNumTableEx(From I/O Unit, To Table, With Starting Index) p MoveNumTableToIoUnit(Start at Index, Of Table, Move to) p MoveNumTableToIoUnitEx(From Table, With Starting Index, To I/O Unit) p SetAllTargetAddressStates(Must-On Mask, Must-Off Mask, Active Mask) p SetIoUnitConfiguredFlag(For I/O Unit) p SetIoUnitFromMomo(Must-On Mask, Must-Off Mask, Digital I/O Unit) p SetTargetAddressState(Must-On Mask, Must-Off Mask, Active Mask, I/O Unit) p WriteIoUnitConfigToEeprom(On I/O Unit) p I/O Unit—Event Message PAC Control Command Get I/O Unit Event Message State Get I/O Unit Event Message Text Set I/O Unit Event Message State Set I/O Unit Event Message Text OptoScript Equivalent (Arguments) GetIoUnitEventMsgState(I/O Unit, Event Message #, Put Result in) GetIoUnitEventMsgText(I/O Unit, Event Message #, Put Result in) SetIoUnitEventMsgState(I/O Unit, Event Message #, State) SetIoUnitEventMsgText(I/O Unit, Event Message #, Message Text) Type f f f f I/O Unit—Memory Map PAC Control Command Read Number from I/O Unit Memory Map Read Numeric Table from I/O Unit Memory Map Read String from I/O Unit Memory Map Read String Table from I/O Unit Memory Map Write Number to I/O Unit Memory Map Write Numeric Table to I/O Unit Memory Map Write String Table to I/O Unit Memory Map Write String to I/O Unit Memory Map OptoScript Equivalent (Arguments) ReadNumFromIoUnitMemMap(I/O Unit, Mem address, To) ReadNumTableFromIoUnitMemMap(Length, Start Index, I/O Unit, Mem address, To) ReadStrFromIoUnitMemMap(Length, I/O Unit, Mem address, To) ReadStrTableFromIoUnitMemMap(Length, Start Index, I/O Unit, Mem address, To) WriteNumToIoUnitMemMap(I/O Unit, Mem address, Variable) WriteNumTableToIoUnitMemMap(Length, Start Index, I/O Unit, Mem address, Table) WriteStrTableToIoUnitMemMap(Length, Start Index, I/O Unit, Mem address, Table) WriteStrToIoUnitMemMap(I/O Unit, Mem address, Variable) Type f f f f f f f f OPTO 22 800-321-6786 1-951-695-3000 www.opto22.com sales@opto22.com 2012-2022 Opto 22. All rights reserved. Dimensions and specifications are subject to change. Brand or product names used herein are trademarks or registered trademarks of their respective companies or organizations.

Commands Quick Reference, Legacy Edition Form 1713-221111 PAGE 6 I/O Unit—Scratch Pad PAC Control Command Get I/O Unit Scratch Pad Bits Get I/O Unit Scratch Pad Float Element Get I/O Unit Scratch Pad Float Table Get I/O Unit Scratch Pad Integer 32 Element Get I/O Unit Scratch Pad Integer 32 Table Get I/O Unit Scratch Pad Integer 64 Element Get I/O Unit Scratch Pad Integer 64 Table Get I/O Unit Scratch Pad String Element Get I/O Unit Scratch Pad String Table Set I/O Unit Scratch Pad Bits from MOMO Mask Set I/O Unit Scratch Pad Float Element Set I/O Unit Scratch Pad Float Table Set I/O Unit Scratch Pad Integer 32 Element Set I/O Unit Scratch Pad Integer 32 Table Set I/O Unit Scratch Pad Integer 64 Element Set I/O Unit Scratch Pad Integer 64 Table Set I/O Unit Scratch Pad String Element Set I/O Unit Scratch Pad String Table OptoScript Equivalent (Arguments) Type GetIoUnitScratchPadBits(I/O Unit, Put Result in) f GetIoUnitScratchPadFloatElement(I/O Unit, Index, Put Result in) f GetIoUnitScratchPadFloatTable(I/O Unit, Length, From Index, f To Index, To Table) GetIoUnitScratchPadInt32Element(I/O Unit, Index, Put Result in) f GetIoUnitScratchPadInt32Table(I/O Unit, Length, From Index, f To Index, To Table) GetIoUnitScratchPadInt64Element(I/O Unit, Index, Put Result in) f GetIoUnitScratchPadInt64Table(I/O Unit, Length, From Index, f To Index, To Table) GetIoUnitScratchPadStringElement(I/O Unit, Index, Put Result in) f GetIoUnitScratchPadStringTable(I/O Unit, Length, From Index, f To Index, To Table) SetIoUnitScratchPadBitsFromMomo(I/O Unit, Must-On Mask, Must-Off Mask) f SetIoUnitScratchPadFloatElement(I/O Unit, Index, From) f SetIoUnitScratchPadFloatTable(I/O Unit, Length, To Index, f From Index, From Table) SetIoUnitScratchPadInt32Element(I/O Unit, Index, From) f SetIoUnitScratchPadInt32Table(I/O Unit, Length, To Index, f From Index, From Table) SetIoUnitScratchPadInt64Element(I/O Unit, Index, From) f SetIoUnitScratchPadInt64Table(I/O Unit, Length, To Index, f From Index, From Table) SetIoUnitScratchPadStringElement(I/O Unit, Index, From) f SetIoUnitScratchPadStringTable(I/O Unit, Length, To Index, f From Index, From Table) Logical PAC Control Command AND AND? Bit AND Bit AND? Bit Change Bit Clear Bit Copy Bit NOT Bit NOT? Bit Off in Numeric Table Element? Bit Off? Bit On in Numeric Table Element? Bit On? Bit OR Bit OR? Bit Rotate Bit Set Bit Shift Bit Test Bit XOR Bit XOR? Equal to Numeric Table Element? Equal? Flip Flop JK Float to Int32 Bits Get High Bits of Integer 64 Get Low Bits of Integer 64 Greater Than Numeric Table Element? Greater Than or Equal to Numeric Table Element? Greater Than or Equal? Greater? Int32 to Float Bits Less Than Numeric Table Element? Less Than or Equal to Numeric Table Element? OptoScript Equivalent (Arguments) x and y See AND x bitand y See Bit AND BitChange(Set flag, Bit to Change, Output) BitClear(Item, Bit to Clear) BitCopy(Server Bit to Set, Destination, Destination Index, Bit to Read, Source, Source Index) bitnot x See Bit NOT IsBitOffInNumTableElement(At Index, Of Table, Bit) IsBitOff(In, Bit) IsBitOnInNumTableElement(At Index, Of Table, Bit) IsBitOn(In, Bit) x bitor y See Bit OR BitRotate(Item, Count) BitSet(Item, Bit to Set) x nBitsToShift BitTest(Item, Bit to Test) x bitxor y See Bit XOR n nt[0] x y FlipFlopJK(Set [J], Reset [K], Output [Q]) FloatToInt32Bits(Server URL) GetHighBitsOfInt64(High Bits From) GetLowBitsOfInt64(Integer 64) x nt[0] x t[0] x y x y Int32ToFloatBits(nInt32) x nt[0] x nt[0] Type f f f f p f f f f f f f f f f f f f f f f f f p f f f f f f f f f f OPTO 22 800-321-6786 1-951-695-3000 www.opto22.com sales@opto22.com 2012-2022 Opto 22. All rights reserved. Dimensions and specifications are subject to change. Brand or product names used herein are trademarks or registered trademarks of their respective companies or organizations.

Commands Quick Reference, Legacy Edition Form 1713-221111 PAGE 7 PAC Control Command Less Than or Equal? Less? Make Integer 64 Move 32 Bits NOT Not Equal to Numeric Table Element? Not Equal? NOT? Numeric Table Element Bit Clear Numeric Table Element Bit Set Numeric Table Element Bit Test OR OR? Set Variable False Set Variable True Test Equal Test Greater Test Greater or Equal Test Less Test Less or Equal Test Not Equal Test Within Limits Variable False? Variable True? Within Limits? XOR XOR? OptoScript Equivalent (Arguments) Type x y f x y f MakeInt64(High Integer, Low Integer) f Move32Bits(From, To) p not x f n nt[0] f x y f not x f NumTableElementBitClear(Element Index, Of Integer Table, p Bit to Clear) NumTableElementBitSet(Element Index, Of Integer Table, Bit to Set) p NumTableElementBitTest(Element Index, Of Integer Table, f Bit to Test) x or y f See OR f SetVariableFalse(Variable) p SetVariableTrue(Variable) p See Equal? f See Greater? f See Greater Than or Equal? f See Less? f See Less Than or Equal? f See Not Equal? f See Within Limits? f IsVariableFalse(Variable) f IsVariableTrue(Variable) f IsWithinLimits(Value, Low Limit, High Limit) f x xor y f See XOR f Mathematical PAC Control Command Absolute Value Add Arccosine Arcsine Arctangent Clamp Float Table Element Clamp Float Variable Clamp Integer 32 Table Element Clamp Integer 32 Variable Complement Cosine Decrement Variable Divide Generate Random Number Hyperbolic Cosine Hyperbolic Sine Hyperbolic Tangent Increment Variable Maximum Minimum Modulo Multiply Natural Log Raise e to Power Raise to Power Round Seed Random Number Sine Square Root Subtract Tangent Truncate OptoScript Equivalent (Arguments) Type AbsoluteValue(Of) f x y f Arccosine(Of) f Arcsine(Of) f Arctangent(Of) f ClampFloatTableElement(High Limit, Low Limit, Element Index, Of Float Table) p ClampFloatVariable(High Limit, Low Limit, Float Variable) p ClampInt32TableElement(High Limit, Low Limit, Element Index, Of Integer 32 Table) p ClampInt32Variable(High Limit, Low Limit, Integer 32 Variable) p -x p Cosine(Of) f DecrementVariable(Variable) p x / y f GenerateRandomNumber() f HyperbolicCosine(Of) f HyperbolicSine(Of) f HyperbolicTangent(Of) f IncrementVariable(Variable) p Max(Compare, With) f Min(Compare, With) f x % y f x * y f NaturalLog(Of) f RaiseEToPower(Exponent) f Power(Raise, To the) f Round(Value) f SeedRandomNumber() p Sine(Of) f SquareRoot(Of) f x - y f Tangent(Of) f Truncate(Value) f OPTO 22 800-321-6786 1-951-695-3000 www.opto22.com sales@opto22.com 2012-2022 Opto 22. All rights reserved. Dimensions and specifications are subject to change. Brand or product names used herein are trademarks or registered trademarks of their respective companies or organizations.

Commands Quick Reference, Legacy Edition Form 1713-221111 PAGE 8 Miscellaneous PAC Control Command Comment (Block) Comment (Single Line) Flag Lock Flag Unlock Float Valid? Generate Reverse CRC-16 on Table (32 bit) Get Length of Table Get Type From Name Get Value From Name Move Move from Numeric Table Element Move Numeric Table Element to Numeric Table Move Numeric Table to Numeric Table Move to Numeric Table Element Move to Numeric Table Elements Shift Numeric Table Elements Shift String Table Elements OptoScript Equivalent (Arguments) Type /* block comment */ p // single line comment f FlagLock(Flag, Timeout) f FlagUnlock(Flag, Force unlock) f IsFloatValid(Float) f GenerateReverseCrc16OnTable32(Start Value, Table, Starting Element, f Number of Elements) GetLengthOfTable(Table) f GetTypeFromName(Name) f GetValueFromName(Name, Put Result In) f x y; p x nt[0]; f nt1[0] nt2[5]; p MoveNumTableToNumTable(From Table, From Index, To Table, To Index, p Length) nt[0] x; p MoveToNumTableElements(From, Start Index, End Index, Of Table) p ShiftNumTableElements(Shift Count, Table) p ShiftStringTableElements(Shift Count, Table) p PID—Ethernet PAC Control Command Get PID Configuration Flags Get PID Current Input Get PID Current Setpoint Get PID Feed Forward Get PID Feed Forward Gain Get PID Forced Output When Input Over Range Get PID Forced Output When Input Under Range Get PID Gain Get PID Input Get PID Input High Range Get PID Input Low Range Get PID Max Output Change Get PID Min Output Change Get PID Mode Get PID Output Get PID Output High Clamp Get PID Output Low Clamp Get PID Scan Time Get PID Setpoint Get PID Status Flags Get PID Tune Derivative Get PID Tune Integral Set PID Configuration Flags Set PID Feed Forward Set PID Feed Forward Gain Set PID Forced Output When Input Over Range Set PID Forced Output When Input Under Range Set PID Gain Set PID Input Set PID Input High Range Set PID Input Low Range Set PID Max Output Change Set PID Min Output Change Set PID Mode Set PID Output Set PID Output High Clamp Set PID Output Low Clamp Set PID Scan Time Set PID Setpoint OptoScript Equivalent (Arguments) GetPidConfigFlags(PID Loop) GetPidCurrentInput(PID Loop) GetPidCurrentSetpoint(PID Loop) GetPidFeedForward(PID Loop) GetPidFeedForwardGain(PID Loop) GetPidForcedOutputWhenInputOverRange(PID Loop) GetPidForcedOutputWhenInputUnderRange(PID Loop) GetPidGain(PID Loop) GetPidInput(PID Loop) GetPidInputHighRange(PID Loop) GetPidInputLowRange(PID Loop) GetPidMaxOutputChange(PID Loop) GetPidMinOutputChange(PID Loop) GetPidMode(PID Loop) GetPidOutput(PID Loop) GetPidOutputHighClamp(PID Loop) GetPidOutputLowClamp(PID Loop) GetPidScanTime(PID Loop) GetPidSetpoint(PID Loop) GetPidStatusFlags(PID Loop) GetPidTuneDerivative(PID Loop) GetPidTuneIntegral(PID Loop) SetPidConfigFlags(PID Loop, Configuration Flags) SetPidFeedForward(PID Loop, Feed Forward) SetPidFeedForwardGain(PID Loop, Feed Fwd Gain) SetPidForcedOutputWhenInputOverRange(PID Loop, Forced Output) SetPidForcedOutputWhenInputUnderRange(PID Loop, Forced

Get Chart Status GetChartStatus(Chart) f Start Chart StartChart(Chart) f Stop Chart StopChart(Chart) f Suspend Chart SuspendChart(Chart) f The Type column shows whether the OptoScript command is a function command (f) or a procedure command (p). Function commands return a value from their action;

Related Documents:

pac-mk51bc pac-mk51bcb pac-mk31bc pac-mk31bcb [model name] branch box pac-mk51bc pac-mk51bcb pac-mk31bc pac-mk31bcb pac-mk51bc. ocb589d 2 3 1-1. branch box functional parts . 7 t7w e55 401lev assy mka50bc 1 includes coils 8 t7w e77 242coil(lev)/xap-5p grn 1 gr

pt-600 36–37 pac 120/125t max 40cs/max 42/max 43 38–39 pac 140/m max 40 40 pac 140/m ht 40 41 pac 130/m max 70/max 80/max 100 42 pac 110 powermax 350 43 pac 123t/m powermax 600 44–45 pac 121t/m / pac 125t/m powermax 800 46–47 thermacut re

MIG-brazing wires 440 lbs (200 kg) Marathon Pac is the most advanced bulk wire packaging system available to fabricators. The complete Marathon Pac family consists of: Standard Marathon Pac Jumbo Marathon Pac Mini Marathon Pac Endless Marathon Pac Mini Marathon Pacwas introduced as the perfect solution for fabricators with

Aug 07, 2007 · OCTA-PAC’s are designed around high frequency, low loss MPP core material ECONO-PAC’s are a lower cost version of OCTA-PAC’s offering high saturation flux density, Powder Iron core material OCTA-PAC PLUS’s offer higher current ratings and higher saturation flux densities than OCTA

4 Lecture 3: PAC Learning 1.1 PAC Learnability Given the above general formulation of a learning model, we are now ready to de ne PAC learnability. De nition 1.1 (PAC Learnability) A hypothesis class His PAC (Probably Approximately Correct) learnable if there exist a function n H: (0;1)

Fri., March 13 PAC-12 TOURNAMENT SEMIFINALS CANCELED Sat., March 14 PAC-12 TOURNAMENT CHAMPIONSHIP GAME CANCELED For Immediate Release \\ Tuesday, April 7, 2020 Contacts \\ Jesse Hooker (jhooker@pac-12.org, 607-329-3925), Nicole Mitchell (nmitchell@pac-12.org) 2019-20

PAC-12 GYMNASTICS WEEKLY RELEASE // January 13, 2015 3 WOMEN’S GYMNASTICS ON PAC-12 NETWORKS Pac-12 gymnastics teams will see an unprec-edented amount of television coverage this season. In the third year of Pac-12 Networks, 21 women’s gymnastics

Front Wind Baffle WB-PA4 Side Advanced Wind Baffle WB-SD4 Rear Advanced Wind Baffle WB-RE4 Drain Socket PAC-SJ08DS-E Centralized Drain Pan PAC-SG63DP-E M-NET Converter PAC-SJ19MA-E M-NET Converter PAC-SJ96MA-E Control/Service Tool PAC-SK52ST Hail Guard HG-