A T I O N _ C Y C L E _ T I M E     $   S e t D e v i c e N e t M a s t e r        P o l l e d        S t r o b e d      O W        0 0 0 0     "   S e t D e v i c e N e t S l a v e   (   M P : : I s N e t w o r k E n a b l e d         I s N e t w o r k E n a b l e d     <   M P : : S e t D e v i c e N e t I O T o C o n t r o l l e r     V   N o   n e t w o r k   c o n f i g u r a t i o n   o n   t h e   c o n t r o l l e r .   j   C u r r e n t   S y s t e m   P r o p e r t y   s e t t i n g s   w i l l   n o t   b e   c h a n g e d .      U n d e f i n e        N / A      H i g h        L o w      M P : : G e t N e t w o r k        G e t N e t w o r k        s t r S l a v e N o d e     &   E r r o r   i n   n o d e ( s ) :          M e s s a g e T y p e      l T a b l e S i z e        A t   l e a s t   o n e   i n p u t   o r   o u t p u t   w o r d / b y t e   m u s t   b e   d e f i n e d   f o r   e a c h   n o d e        M P : : S e t R e m o t e I O      S e t R e m o t e I O   "   M P : : C l e a r R e m o t e I O      C l e a r R e m o t e I O      i N o d e C o u n t        s t r F i l e I D   B   M P : : S e t M e c h a t r o l i n k I O T o C o n t r o l l e r   :   S e t M e c h a t r o l i n k I O T o C o n t r o l l e r   4   S e t D e v i c e N e t I O T o C o n t r o l l e r        I W        M P : : M A P I O   
   M A P I O   $   s t r S t a r t i n g A d d r e s s        s t r B a s e A d d r e s s        M P : : O p e n F i l e I O        O p e n F i l e I O        s t r P a c k e t I D      s t r R a c k N O      s t r S l o t N O   $   R e a d S G D H P a r a m e t e r s        A n s S i z e      a r L V a l u e        c o u n t e r                   e       8   E r r o r   i n   s e t t i n g   p a r a m e t e r   '        '          M P : : W r i t e F i l e I O      W r i t e F i l e I O      s t r E r r o r I D        l n g E r r o r D a t a     "   M P : : S e t I t e m I D D a t a      S e t I t e m I D D a t a      s t r I t e m I D   0   F i l e I O : : D e l e t e I t e m I D D a t a     (   M P : : D E l e t e I t e m I D D a t a        C p D a t a T r a c e           D e l e t e I t e m I D D a t a        l N u m E r r o r   "   M P : : G e t I t e m I D D a t a      G e t I t e m I D D a t a   (   M P : : S e t I t e m S u b I D D a t a         S e t I t e m S u b I D D a t a        s t r I t e m S u b I D     (   M P : : G e t I t e m S u b I D D a t a         G e t I t e m S u b I D D a t a     &   t b l S y s t e m P r o p e r t i e s   8   M P : : G e t M A X S l a v e N o d e S t a t i o n I D     ^   [ G R O U P I D ] =   5   A N D   [ I t e m I D ] = ' C O M M U N I C A T I O N _ C Y C L E '   ,   M P : : G e t N e t W o r k S c a n T y p e     $   G e t N e t w o r k S c a n T y p e     @   G e t N e t W o r k C o m m u n i c a t i o n C y c l e T i m e     .   t b l P r o p e r t y N u m b e r L o o k u p      G r o u p I D      P r o p e r t y N a m e        C y c l e T i m e   &   G e t N e t w o r k C y c l e T i m e      l n g S a m p l e N u m     0   G e t M A X S l a v e N o d e S t a t i o n I D        i M a x S t a t i o n I D      F u n c t i o n     4   M P : : G e t N e t w o r k F u n c t i o n T y p e     ,   G e t N e t w o r k F u n c t i o n T y p e        T y p e        G e t N e t w o r k T y p e        N o d e     (   G e t N e t w o r k N o d e N u m b e r         N e t w o r k I s E n a b l e d        q r y I s S G D H D i r t y        q r y I s M P 9 4 0 D i r t y      q r y I s C O M 1 D i r t y        q r y I s C O M 2 D i r t y     "   q r y I s N e t w o r k D i r t y   2   q r y I s E x t e r n a l E n c o d e r D i r t y   $   q r y I s R e m o t e I O D i r t y     
   D i r t y   "   M P : : I s M o d u l e D i r t y      I s M o d u l e D i r t y      s t r Q u e r y S t r i n g        q r y M o d u l e      r s t M o d u l e   ,   M P : : U p d a t e M P 9 4 0 F r o m V P C     $   U p d a t e M P 9 4 0 F r o m V P C        s t r R e s o l u t i o n      s t r F e e d C o n s t a n t      s t r G e a r b o x I n p u t       s t r G e a r b o x O u t p u t     $   s t r M o t o r R a t e d S p e e d        s t r U s e r U n i t      r s t M P 9 4 0     @   M P : : U p d a t e E x t e r n a l E n c o d e r F r o m V P C     8   U p d a t e E x t e r n a l E n c o d e r F r o m V P C        s t r D r i v e T y p e     $   r s t E x t e r n a l E n c o d e r        M P : : S t o p C P U   4   C a n n o t   s t o p   c o n t r o l l e r   C P U        S t o p C P U      M P : : R u n C P U     2   C a n n o t   r u n   c o n t r o l l e r   C P U      R u n C P U     :   M P : : D o e s M o d u l e D e f i n i t i o n E x i s t   2   D o e s M o d u l e D e f i n i t i o n E x i s t   s c o p e   I s T r a c e a b l e   G e t S a m p l e s        C p F i l e E r r   v   A t   l e a s t   o n e   A n a l o g   o r   D i g i t a l   c h a n n e l   n e e d s   t o   b e   d e f i n e d .       B e g i n D a t a T r a c e : :        B e g i n D a t a T r a c e        c l s P r o j e c t     ,   D o e s C o n f i g u r a t i o n E x i s t     V a l i d a t e S a m p l e s   G e t S a m p l e T i m e      M W +   >   C u r r e n t   H i g h S c a n T i m e   i s   s e t   t o          m i l l i s e c o n d s .       S E L E C T   t b l S y s t e m P r o p e r t i e s . G r o u p I D ,   t b l S y s t e m P r o p e r t i e s . P r o p e r t y N u m b e r ,   t b l S y s t e m P r o p e r t i e s . V a l u e   F r o m   t b l S y s t e m P r o p e r t i e s   W H E R E   ( ( ( t b l S y s t e m P r o p e r t i e s . G r o u p I D ) = 2 )   A N D   ( ( t b l S y s t e m P r o p e r t i e s . P r o p e 