{Enterprise Dynamics startup information} if(StartingED, SoftStartED([])); {Model information} AddLayer([Main], 1, 1, 0); {Load required atoms} int011; int035([Sink], pDir([Atoms\BASIC MODELING\Sink.atm])); int035([Queue], pDir([Atoms\BASIC MODELING\Queue.atm])); int035([Server], pDir([Atoms\BASIC MODELING\Server.atm])); int035([Source], pDir([Atoms\BASIC MODELING\Source.atm])); int035([Product], pDir([Atoms\BASIC MODELING\Product.atm])); int035([Advanced Scara Robot], WorkDir([Atoms\TRANSPORT\ROBOTS\Advanced Scara Robot.atm])); int012; {Atom: Source1} sets; AtomByName([Source], Main); if(not(AtomExists), Error([Cannot find mother atom 'Source'. Inheriting from BaseClass.])); CreateAtom(a, s, [], 1, false); int023([Source1], 7168771, 240); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\source.bmp]), [source])); AddModel3D( RegisterModel3D(Model3DDir([source.wrl]), [source.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([source_Resized.wrl]), [Source_Resized.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Source.ico])); SetChannels(1, 1); SetChannelRanges(1, 1, 1, 255); int001(196); int013(1, 0, true, false, 0, 0, [], []); SetLoc(1, 6, 0); SetSize(5, 2, 2); LockPosition(false); LockSize(false); DisableIconRotation(false); SetProductCode([]); SetExprAtt(1, [1]); SetExprAtt(2, [10]); SetExprAtt(3, [{.0|10. Do Nothing .}0]); SetAtt(4, 0); SetAtt(5, 10); SetExprAtt(6, [{. -1 |1. Unlimited .} -1 ]); SetAtt(7, 4); int024; SetStatus(2); int018; {Atom: Queue2} sets; AtomByName([Queue], Main); if(not(AtomExists), Error([Cannot find mother atom 'Queue'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [], 1, false); int023([Queue2], 12615680, 1264); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\queue.bmp]), [queue])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Queue.ico])); SetChannels(1, 1); SetChannelRanges(1, 255, 1, 255); int001(197); int013(1, 0, true, false, 0, 0, [], []); SetLoc(7, 6, 0); SetSize(5, 2, 0); LockPosition(false); LockSize(false); DisableIconRotation(false); SetProductCode([]); SetExprAtt(1, [1]); SetAtt(2, 10); SetAtt(3, 0); SetAtt(4, 0); SetExprAtt(5, [{.content(c)|Fifo (First In First Out) .}content(c)]); SetAtt(6, -0.5); SetExprAtt(7, [{.openallic(c)|Any inputchannel .}openallic(c)]); SetAtt(8, 2); int024; SetStatus(13); int018; {Atom: Server3} sets; AtomByName([Server], Main); if(not(AtomExists), Error([Cannot find mother atom 'Server'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [], 1, false); int023([Server3], 292315, 263408); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\server.bmp]), [server])); AddModel3D( RegisterModel3D(Model3DDir([Server.wrl]), [Server.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([server2.wrl]), [server2.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([Server_Resized.wrl]), [Server_Resized.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([Server2_Resized.wrl]), [Server2_Resized.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Server.ico])); SetChannels(1, 1); SetChannelRanges(1, 255, 1, 255); int001(198); int013(1, 0, true, false, 0, 0, [], []); SetLoc(13, 6, 0); SetSize(5, 2, 2); LockPosition(false); LockSize(false); DisableIconRotation(false); SetProductCode([]); SetExprAtt(1, [negexp(9)]); SetExprAtt(2, [1]); SetExprAtt(3, [1]); SetAtt(4, 1); SetAtt(5, 1); SetAtt(6, 1); SetExprAtt(7, [{.~1|~0~ .}0]); SetAtt(8, 0); SetAtt(9, 0); SetAtt(10, 0); SetAtt(11, 0); SetAtt(12, 0); SetExprAtt(13, [If( Time > 0, Concat( [Util: ], String ( *( 100, /( statustime(c,2), Time)), 0, 1), [ %]), [Util: 0 %] )]); SetAtt(14, 0.226352270389007); SetAtt(15, 0); SetAtt(16, 1E40); SetAtt(17, 0); SetExprAtt(18, [{.openallic(c)|Any inputchannel .}openallic(c)]); SetAtt(19, 7); SetAtt(20, 0); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 0); SetAtt(24, 0); SetAtt(25, 0); SetAtt(26, 0); SetAtt(27, 0); SetAtt(28, 0); SetAtt(29, 677797); SetExprAtt(30, [mttf]); SetAtt(31, 184.696712555748); SetAtt(32, 0); SetAtt(33, 0); SetAtt(34, 0); int024; SetStatus(1); int018; {Atom: Source4} sets; AtomByName([Source], Main); if(not(AtomExists), Error([Cannot find mother atom 'Source'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [], 1, false); int023([Source4], 7168771, 240); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\source.bmp]), [source])); AddModel3D( RegisterModel3D(Model3DDir([source.wrl]), [source.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([source_Resized.wrl]), [Source_Resized.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Source.ico])); SetChannels(1, 1); SetChannelRanges(1, 1, 1, 255); int001(199); int013(1, 0, true, false, 0, 0, [], []); SetLoc(1, 14, 0); SetSize(5, 2, 2); LockPosition(false); LockSize(false); DisableIconRotation(false); SetProductCode([]); SetExprAtt(1, [1]); SetExprAtt(2, [10]); SetExprAtt(3, [{.0|10. Do Nothing .}0]); SetAtt(4, 0); SetAtt(5, 10); SetExprAtt(6, [{. -1 |1. Unlimited .} -1 ]); SetAtt(7, 4); int024; SetStatus(2); int018; {Atom: Queue5} sets; AtomByName([Queue], Main); if(not(AtomExists), Error([Cannot find mother atom 'Queue'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [], 1, false); int023([Queue5], 12615680, 1264); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\queue.bmp]), [queue])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Queue.ico])); SetChannels(1, 1); SetChannelRanges(1, 255, 1, 255); int001(200); int013(1, 0, true, false, 0, 0, [], []); SetLoc(7, 14, 0); SetSize(5, 2, 0); LockPosition(false); LockSize(false); DisableIconRotation(false); SetProductCode([]); SetExprAtt(1, [1]); SetAtt(2, 10); SetAtt(3, 0); SetAtt(4, 0); SetExprAtt(5, [{.content(c)|Fifo (First In First Out) .}content(c)]); SetAtt(6, -0.5); SetExprAtt(7, [{.openallic(c)|Any inputchannel .}openallic(c)]); SetAtt(8, 2); int024; SetStatus(13); int018; {Atom: Server6} sets; AtomByName([Server], Main); if(not(AtomExists), Error([Cannot find mother atom 'Server'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [], 1, false); int023([Server6], 292315, 263408); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\server.bmp]), [server])); AddModel3D( RegisterModel3D(Model3DDir([Server.wrl]), [Server.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([server2.wrl]), [server2.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([Server_Resized.wrl]), [Server_Resized.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([Server2_Resized.wrl]), [Server2_Resized.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Server.ico])); SetChannels(1, 1); SetChannelRanges(1, 255, 1, 255); int001(201); int013(1, 0, true, false, 0, 0, [], []); SetLoc(13, 14, 0); SetSize(5, 2, 2); LockPosition(false); LockSize(false); DisableIconRotation(false); SetProductCode([]); SetExprAtt(1, [negexp(9)]); SetExprAtt(2, [1]); SetExprAtt(3, [1]); SetAtt(4, 1); SetAtt(5, 1); SetAtt(6, 1); SetExprAtt(7, [{.~1|~0~ .}0]); SetAtt(8, 0); SetAtt(9, 0); SetAtt(10, 0); SetAtt(11, 0); SetAtt(12, 0); SetExprAtt(13, [If( Time > 0, Concat( [Util: ], String ( *( 100, /( statustime(c,2), Time)), 0, 1), [ %]), [Util: 0 %] )]); SetAtt(14, 21.4177879431697); SetAtt(15, 0); SetAtt(16, 1E40); SetAtt(17, 0); SetExprAtt(18, [{.openallic(c)|Any inputchannel .}openallic(c)]); SetAtt(19, 7); SetAtt(20, 0); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 0); SetAtt(24, 0); SetAtt(25, 0); SetAtt(26, 0); SetAtt(27, 0); SetAtt(28, 0); SetAtt(29, 677797); SetExprAtt(30, [mttf]); SetAtt(31, 204.696712555748); SetAtt(32, 0); SetAtt(33, 0); SetAtt(34, 0); int024; SetStatus(1); int018; {Atom: Advanced Scara Robot7} sets; AtomByName([Advanced Scara Robot], Main); if(not(AtomExists), Error([Cannot find mother atom 'Advanced Scara Robot'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [], 1, false); int023([Advanced Scara Robot7], 33023, 1072); Set(Icon(a), RegisterIcon(IconsDir([bmp\buffers\warehouse.bmp]), [warehouse])); AddModel3D( RegisterModel3D(Model3DDir([Industrial\Robots\Advanced Scara Robot.wrl]), [Advanced Scara Robot.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Advanced Scara Robot.ico])); Set(DdbRec, [>grabberloops:47.>movementflag:1.>rotationflag:1.>openfrequence:0.0666666666666667.]); int001(202); SetLoc(21, 11, 0); SetSize(2, 2, 1); LockPosition(false); LockSize(true); DisableIconRotation(false); SetProductCode([]); SetAtt(1, 0); SetAtt(2, 0); SetAtt(3, 0); SetAtt(4, -5); SetAtt(5, 0); SetAtt(6, 1); SetAtt(7, 8); SetAtt(8, 8); SetAtt(9, 8); SetAtt(10, 1); SetAtt(11, 1); SetAtt(12, 162450124); SetAtt(13, 1); SetAtt(14, 0); SetAtt(15, 0); SetAtt(16, 0); SetAtt(17, 0); SetAtt(18, 1); SetAtt(19, 1); SetAtt(20, 1); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 1); SetTextAtt(24, [continue routine]); SetAtt(25, 0); SetAtt(26, 0); SetAtt(27, 0); SetAtt(28, 10); SetAtt(29, 0); SetAtt(30, 10); SetAtt(31, 1); SetAtt(32, 1); SetExprAtt(33, [1]); SetExprAtt(34, [1]); SetExprAtt(35, [1]); SetExprAtt(36, [0]); SetExprAtt(37, [3]); SetExprAtt(38, [3]); SetTextAtt(39, [continue routine]); SetAtt(40, 0); SetAtt(41, 10); SetAtt(42, 0); SetAtt(43, 10); SetExprAtt(44, [0]); SetAtt(45, 2); SetAtt(46, 0); SetExprAtt(47, [{.[no sort required]|1. FIFO --> first in first out..}[no sort required]]); SetExprAtt(48, [{.Advanced_Scara_Robot_t-sortby( >( entrytime(next(cs)), entrytime(cs) ), Rank(3,Up(Up(c))) )|2. LIFO --> last in first out..}Advanced_Scara_Robot_t-sortby( >( entrytime(next(cs)), entrytime(cs) ), Rank(3,Up(Up(c))) )]); SetAtt(49, 10); SetAtt(50, 1); SetAtt(51, 0); SetAtt(52, 0); SetAtt(53, 0); SetAtt(54, 0); SetAtt(55, 1); SetAtt(56, 0); int024; SetStatus(1); int018; {Atom: GrabBase} sets; AtomByName([GrabBase], Main); if(not(AtomExists), Error([Cannot find mother atom 'GrabBase'. Inheriting from BaseClass.])); CreateAtom(a, s, [], 1, false); int023([GrabBase], 0, 3120); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Prohibited.ico])); SetChannels(1, 0); SetChannelRanges(0, 1, 0, 0); int001(203); int013(1, 0, true, true, 0, 0, [], []); SetLoc(-5, 0, 1); SetSize(1, 1, 1); LockPosition(false); LockSize(true); DisableIconRotation(false); SetProductCode([]); SetAtt(1, 0); SetAtt(2, 0); SetAtt(3, 0); SetAtt(4, 45); SetAtt(5, 0); SetAtt(6, 1); int024; SetStatus(0); int018; {Atom: Grab} sets; AtomByName([Grab], Main); if(not(AtomExists), Error([Cannot find mother atom 'Grab'. Inheriting from BaseClass.])); CreateAtom(a, s, [], 1, false); int023([Grab], 255, 8240); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Prohibited.ico])); SetChannels(2, 1); SetChannelRanges(1, 255, 1, 255); int001(204); int013(1, 0, true, false, 0, 0, [], []); int013(2, 0, true, true, 0, 0, [], []); LockPosition(true); LockSize(true); DisableIconRotation(false); SetProductCode([]); SetExprAtt(1, [0]); SetExprAtt(2, [0]); SetExprAtt(3, [0]); SetExprAtt(4, [0]); SetExprAtt(5, [0 - zSize(i)]); SetExprAtt(6, [0]); SetExprAtt(7, [0]); SetExprAtt(8, [0]); int024; SetStatus(1); int018; Up; {Atom: Routineslist} sets; AtomByName([Routineslist], Main); if(not(AtomExists), Error([Cannot find mother atom 'Routineslist'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [], 1, false); int023([Routineslist], 0, 6144); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Prohibited.ico])); int001(205); LockPosition(true); LockSize(true); DisableIconRotation(false); SetProductCode([]); int024; SetStatus(0); int018; {Atom: Routine_pick_1} sets; BaseClass; CreateAtom(a, s, [], 1, false); Set(OnInit, [Do( RegisterFunction( [Routine_pick_1], [Basic], 0, 0, Concat([vtp(], String(ptv),[)]), [Reference to the routine with an alias], [No example], True, [Various] ) )]); int023([Routine_pick_1], 0, 1226); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); int001(210); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetProductCode([]); CreateAttributes(7); SetAttributeName(r(1), [currow]); SetAttributeName(r(2), [PickSelectionRule]); SetAttributeName(r(3), [PlaceSelectionRule]); SetAttributeName(r(4), [Routine_relative_dest_x]); SetAttributeName(r(5), [Routine_relative_dest_y]); SetAttributeName(r(6), [Routine_relative_dest_z]); SetAttributeName(r(7), [Routine_relative_tool_rotation]); SetAtt(r(1), 12); SetExprAtt(r(2), [{.~1|~Att([gr_pickic],p(2)) = 1~.}Att([gr_pickic],p(2)) = 1]); SetExprAtt(r(3), [{.And( ICOpen(OcICNo(~1, First(First(p(1))) ), Out(~1, First(First(p(1))) )), IsInputOpen(Out(~1, First(First(p(1))) )) )|2. By output channel: Destination atom connected to output channel ~1~ is ready to receive..}And( ICOpen(OcICNo(1, First(First(p(1))) ), Out(1, First(First(p(1))) )), IsInputOpen(Out(1, First(First(p(1))) )) )]); SetExprAtt(r(4), [{.~1|~0~.}0]); SetExprAtt(r(5), [{.~1|~0~.}0]); SetExprAtt(r(6), [{.~1|~0~.}0]); SetExprAtt(r(7), [{.~1|~0~.}0]); int024; SetTable(14, 19); int015(0, 64, [`0_RowIndex` 1 2 3 4 5 6 7 8 9 10 11 12 13 14 ]); int015(1, 64, [`1_Command` `MoveTo` `MoveTo` `Load` `MoveTo` `MoveTo` `MoveTo` `Load` `MoveTo` `MoveTo` `MoveTo` `Unload` `Unload` `MoveTo` `end` ]); int015(2, 64, [`2_Identifier` 1 1 4 1 1 1 4 1 1 1 5 5 1 8 ]); int015(3, 64, [`3_Comment` `Move to pick position` `Move down to pick position` `Load at pick position` `Move up from pick position` `Move to pick position` `Move down to pick position` `Load at pick position` `Move up from pick position` `Move to place position` `Move down to place position` `Unload at place position` `Unload at place position` `Move up from place position` ` --` ]); int015(4, 64, [`4_X-Destination` -5 -5 ` --` -5 -5 -5 ` --` -5 7 7 ` --` ` --` 7 ` --` ]); int015(5, 64, [`5_Y-Destination` -4 -4 ` --` -4 4 4 ` --` 4 0 0 ` --` ` --` 0 ` --` ]); int015(6, 64, [`6_Z-Destination` 4 2 ` --` 4 4 2 ` --` 4 4 2 ` --` ` --` 4 ` --` ]); int015(7, 64, [`7_Acceleration` 1 1 ` --` 1 1 1 ` --` 1 1 1 ` --` ` --` 1 ` --` ]); int015(8, 64, [`8_MaxSpeed` 1 1 ` --` 1 1 1 ` --` 1 1 1 ` --` ` --` 1 ` --` ]); int015(9, 64, [`9_Deceleration` 1 1 ` --` 1 1 1 ` --` 1 1 1 ` --` ` --` 1 ` --` ]); int015(10, 64, [`10_EndSpeed` 0 0 ` --` 0 0 0 ` --` 0 0 0 ` --` ` --` 0 ` --` ]); int015(11, 64, [`11_Time` ` --` ` --` 5 ` --` ` --` ` --` 5 ` --` ` --` ` --` 5 5 ` --` ` --` ]); int015(12, 64, [`12_Channel` ` --` ` --` 1 ` --` ` --` ` --` 2 ` --` ` --` ` --` 1 1 ` --` ` --` ]); int015(13, 64, [`13_UnUsed` ` --` ` --` ` --` ` --` ` --` ` --` ` --` ` --` ` --` ` --` ` --` ` --` ` --` ` --` ]); int015(14, 64, [`14_GetMessage` ` --` ` --` ` --` ` --` ` --` ` --` ` --` ` --` ` --` ` --` ` --` ` --` ` --` ` --` ]); int015(15, 64, [`15_Trigger` 0 0 0 0 0 0 0 0 0 0 0 0 0 ` --` ]); int015(16, 64, [`16_ToolDeflection` 45 45 ` --` 45 45 45 ` --` 45 45 45 ` --` ` --` 45 ` --` ]); int015(17, 64, [`17_DeflectionSpeed` 10 10 ` --` 10 10 10 ` --` 10 10 10 ` --` ` --` 10 ` --` ]); int015(18, 64, [`18_ToolRotation` 0 0 ` --` 0 0 0 ` --` 0 0 0 ` --` ` --` 0 ` --` ]); int015(19, 64, [`19_RotationSpeed` 10 10 ` --` 10 10 10 ` --` 10 10 10 ` --` ` --` 10 ` --` ]); Set(OnDestruction, [Do( if(FunctionExists(Name(c)), UnregisterFunction(Name(c))) )]); SetStatus(0); int018; Up; {Atom: Taskslist} sets; AtomByName([Taskslist], Main); if(not(AtomExists), Error([Cannot find mother atom 'Taskslist'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [], 1, false); int023([Taskslist], 0, 6144); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Prohibited.ico])); int001(206); LockPosition(true); LockSize(true); DisableIconRotation(false); SetProductCode([]); int024; SetStatus(0); int018; Up; {Atom: Server8} sets; AtomByName([Server], Main); if(not(AtomExists), Error([Cannot find mother atom 'Server'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [], 1, false); int023([Server8], 292315, 263408); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\server.bmp]), [server])); AddModel3D( RegisterModel3D(Model3DDir([Server.wrl]), [Server.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([server2.wrl]), [server2.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([Server_Resized.wrl]), [Server_Resized.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([Server2_Resized.wrl]), [Server2_Resized.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Server.ico])); SetChannels(1, 1); SetChannelRanges(1, 255, 1, 255); int001(207); int013(1, 0, true, false, 0, 0, [], []); SetLoc(28, 11, 0); SetSize(5, 2, 2); LockPosition(false); LockSize(false); DisableIconRotation(false); SetProductCode([]); SetExprAtt(1, [negexp(9)]); SetExprAtt(2, [1]); SetExprAtt(3, [1]); SetAtt(4, 1); SetAtt(5, 1); SetAtt(6, 1); SetExprAtt(7, [{.~1|~0~ .}0]); SetAtt(8, 0); SetAtt(9, 0); SetAtt(10, 0); SetAtt(11, 0); SetAtt(12, 0); SetExprAtt(13, [If( Time > 0, Concat( [Util: ], String ( *( 100, /( statustime(c,2), Time)), 0, 1), [ %]), [Util: 0 %] )]); SetAtt(14, 11.202155410541); SetAtt(15, 0); SetAtt(16, 1E40); SetAtt(17, 0); SetExprAtt(18, [{.openallic(c)|Any inputchannel .}openallic(c)]); SetAtt(19, 7); SetAtt(20, 0); SetAtt(21, 0); SetAtt(22, 0); SetAtt(23, 0); SetAtt(24, 0); SetAtt(25, 0); SetAtt(26, 0); SetAtt(27, 0); SetAtt(28, 0); SetAtt(29, 677797); SetExprAtt(30, [mttf]); SetAtt(31, 229.345823196422); SetAtt(32, 0); SetAtt(33, 0); SetAtt(34, 0); int024; SetStatus(1); int018; {Atom: Sink9} sets; AtomByName([Sink], Main); if(not(AtomExists), Error([Cannot find mother atom 'Sink'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [], 1, false); int023([Sink9], 7168771, 240); Set(Icon(a), RegisterIcon(pDir([Media\Images\Atoms\sink.bmp]), [sink])); AddModel3D( RegisterModel3D(Model3DDir([sink.wrl]), [sink.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([sink_Resized.wrl]), [sink_Resized.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Sink.ico])); SetChannels(1, 0); SetChannelRanges(1, 255, 0, 0); int001(208); int013(1, 0, true, true, 0, 0, [], []); SetLoc(33, 11, 0); SetSize(5, 2, 2); LockPosition(false); LockSize(false); DisableIconRotation(false); SetProductCode([]); SetAtt(1, 0); SetAtt(2, 4); int024; SetStatus(1); int018; {Atom: Product} sets; AtomByName([Product], Main); if(not(AtomExists), Error([Cannot find mother atom 'Product'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [], 1, false); int023([Product], 12615680, 73809); Set(Icon(a), RegisterIcon(IconsDir([Png\products\product.png]), [product], 1, 1, 16777215, 255, 255, false, 0)); AddModel3D( RegisterModel3D(Model3DDir([box-closed.wrl]), [box-closed.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([box-opened.wrl]), [box-opened.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([pallet-wood.wrl]), [pallet-wood.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([pallet-plastic.wrl]), [pallet-plastic.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([oildrum.wrl]), [oildrum.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([crate.wrl]), [crate.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Product.ico])); int001(212); SetLoc(-4, 6, 0); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetProductCode([]); SetAtt(1, 11); SetAtt(2, 1); int024; SetStatus(0); int018; {Atom: Product} sets; AtomByName([Product], Main); if(not(AtomExists), Error([Cannot find mother atom 'Product'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [], 1, false); int023([Product], 12615680, 73809); Set(Icon(a), RegisterIcon(IconsDir([Png\products\product.png]), [product], 1, 1, 16777215, 255, 255, false, 0)); AddModel3D( RegisterModel3D(Model3DDir([box-closed.wrl]), [box-closed.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([box-opened.wrl]), [box-opened.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([pallet-wood.wrl]), [pallet-wood.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([pallet-plastic.wrl]), [pallet-plastic.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([oildrum.wrl]), [oildrum.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([crate.wrl]), [crate.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Product.ico])); int001(213); SetLoc(-4, 14, 0); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetProductCode([]); SetAtt(1, 11); SetAtt(2, 1); int024; SetStatus(0); int018; Up; int014(1, 196, 1, 197, 0); int014(0, 212, 1, 196, 0); int014(1, 197, 1, 198, 0); int014(1, 198, 1, 204, 0); int014(1, 199, 1, 200, 0); int014(0, 213, 1, 199, 0); int014(1, 200, 1, 201, 0); int014(1, 201, 2, 204, 0); int014(0, 207, 1, 203, 1); int014(1, 204, 1, 207, 0); int014(1, 207, 1, 208, 0); int006(10, 196, 1, 0, 0); int006(10, 199, 1, 0, 0); {Experiment settings} int034; int007;