oOperatingSystem Object

Back to top of page Description:
 A System Object that controls several functions of the ooPIC. 
 The following table lists the size and availability of the ooPIC Object.
 ObjectSizeDescriptionA1A2B1B2C1
oOperatingSystem

NA

An Object that provides operational control of the ooPIC.xxxxx
Back to top of page Operation:
 The ooPIC Object maintains and controls the internal operations of the ooPIC Chip. Several of the internal operations can be controlled and watched from the properties provided by the ooPIC Object. Refer to the property's descriptions for more detailed information on each function.
Back to top of page Properties:

The following table lists the properties of the Operating System:

Property

Description

CPU
System functions
Object Class: ooPIC_CPU
Data Type: Numeric
A2D
A2D functions
Object Class: ooPIC_A2D
Data Type: Numeric
Cmd
User Program Interpreter
Object Class: oCommand
Data Type: Numeric

Back to top of page Sub Properties:

The following table lists the sub-properties of the Operating System:

Property

Description

CPU.Operate
A value that selects whether the ooPIC is on or off.
Object Class: oOperate Value Range: 0 - 1
Data Type: Numeric Default Value: 0
OperateConstantDescription
0cvOffThe ooPIC is on.
1cvOnThe comparison function is performed.
CPU.Reset
A value that resets the ooPIC when set to 1.
Object Class: oLogic Value Range: 0 - 1
Data Type: Numeric Default Value: 0
ValueConstantDescription
0cvFalseThe value of the input object has not changed since the last Object List Loop
1cvTrueThe value of the input object has changed since the last Object List Loop
CPU.HZ60
A value that cycles 60 times per second.
Object Class: oLogic Value Range: 0 - 1
Data Type: Numeric Default Value: n/a
CPU.HZ1
A value that cycles once every second.
Object Class: oLogic Value Range: 0 - 1
Data Type: Numeric Default Value: n/a
CPU.StartStat
A value that indicates the cause of the last OOPic reset.
Object Class: oSelect0to3 Value Range: 0 - 3
Data Type: Numeric Default Value: 0
ValueDescription
0
Standard power on; the ooPIC just turned on.
1
Reset by the hardware reset line.
2
Reset caused by a power brown-out (low voltage on Vdd).
3
Reset caused by the watchdog timer or the Reset property being set.
CPU.Node
A value that specifies the I2C Node number.
Object Class: oProperty Value Range: 0 - 127
Data Type: Numeric Default Value: n/a
CPU.SNode
A value that specifies the Serial Node number.
Object Class: oProperty Value Range: 0 - 7
Data Type: Numeric Default Value: n/a
A2D.ExtVRef
A value that select which source voltage is used as the reference for the A2D module.
Object Class: oSelect0to1 Value Range: 0 - 1
Data Type: Numeric Default Value: 0
ValueDescription
0

+Source = +5 volts

1

+Source = Voltage applied to I/O Line 4

CMD.Pause
A value that selects if the program flow is suspended.
Object Class: oSelect0to1 Value Range: 0 - 1
Data Type: Numeric Default Value: 0
ValueDescription
0Program flow is normal.
1Program flow is suspended.
CMD.Delay
A value that causes the OOPic program to delay for a specified time.
Object Class: oProperty Value Range: 0 - 65535
Data Type: Numeric Default Value: n/a

Back to top of page Version History and Bug List:
 Firmware Ver A1: Introduced.

Bugs: Reset does not properly reset.  Fixed in Ver C.1.1