<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									something urgent - Tips &amp; Tricks to better code and motor performance				            </title>
            <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/something-urgent/</link>
            <description>Animatics Distributor Locator Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Sat, 18 Apr 2026 23:09:16 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>something urgent</title>
                        <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/something-urgent/#post-1067</link>
                        <pubDate>Sat, 23 May 2015 10:59:26 +0000</pubDate>
                        <description><![CDATA[Hello csearcy .

  I can&#039;t make a new topic, so i try to ask you here.

  I struggled in &#039;Historical H/W limit&#039;alarm these days.Our machine is running for more than one year until now.Bu...]]></description>
                        <content:encoded><![CDATA[Hello csearcy .

  I can't make a new topic, so i try to ask you here.

  I struggled in 'Historical H/W limit'alarm these days.Our machine is running for more than one year until now.But from last week, it always show 'Historical H/W (positive or negative)limit'alarm in both motors in same machine in turn.About one time in five or six hours. 
  We already changed both motors,cables,plugs power supply,and even PLC. And made a really good ground. But it always will be there...
  We use Port 2 and Port 3 as limits through sensors, then connect them to Port 7. Pin 14,15 for 24V DC supply.Main power is 48V DC.
  Could you give me some suggestions for this error? I really don't know why this error comes now.and how to handle it now.

  Thank you very much.]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/">Tips &amp; Tricks to better code and motor performance</category>                        <dc:creator>mymiaoer</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/something-urgent/#post-1067</guid>
                    </item>
				                    <item>
                        <title>something urgent</title>
                        <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/something-urgent/#post-999</link>
                        <pubDate>Sun, 04 Jan 2015 22:56:35 +0000</pubDate>
                        <description><![CDATA[Hi,csearcy, I need to use my own PC to communicate with SMART via RS232. I should use Data Model.Unfortunately，I don&#039;t understand how to use ASCII  talk to SMART. I have no idea about how to...]]></description>
                        <content:encoded><![CDATA[Hi,csearcy, I need to use my own PC to communicate with SMART via RS232. I should use Data Model.Unfortunately，I don't understand how to use ASCII  talk to SMART. I have no idea about how to send a message in ASCII and how SMART restore this message? Which COMMAND i should use to get this message? I am not sure whether you know me or not. In a word , I want to talk to SMART via RS232 using OMRON PLC serial module. What should I do?]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/">Tips &amp; Tricks to better code and motor performance</category>                        <dc:creator>Jimmy</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/something-urgent/#post-999</guid>
                    </item>
				                    <item>
                        <title>something urgent</title>
                        <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/something-urgent/#post-998</link>
                        <pubDate>Sun, 04 Jan 2015 22:41:00 +0000</pubDate>
                        <description><![CDATA[hi，csearcy。I want to use my own PC to communicate with SMART via RS232。And i have an example parser。The code is as below.

SADDR1
ECHO_OFF
PID4
KP=100
KD=500
F
A=1600
V=4000000
MP...]]></description>
                        <content:encoded><![CDATA[hi，csearcy。I want to use my own PC to communicate with SMART via RS232。And i have an example parser。The code is as below.

SADDR1
ECHO_OFF
PID4
KP=100
KD=500
F
A=1600
V=4000000
MP
mm=1   //Minus Flag to one
ss=0   //Main Checksum
tt=0   //Command-Only Checksum
nn=0   //Input Number to zero
yy=0
zz=0
al=0
al=0
al=0
al=0
p=0
q=104
ab<br>=0
OCHN(RS2,0,N,9600,1,8,D)
C10
IF LEN
  vv=GETCHR
  IF yy==0
     ss=ss*2
     ss=ss+vv
     ab=vv
     q=q+1
     ab=0
  ENDIF
  IF vv&lt;33
    IF yy
       zz=nn
    ELSEIF nn
       al<br>=nn*mm
       nn=0
    ENDIF
    SWITCH tt
    CASE 1173
      GOSUB100
      BREAK
    CASE 1214
      GOSUB200
      BREAK
    CASE 500
      GOSUB300
      BREAK
    CASE 1239
      GOSUB400
      BREAK
    DEFAULT
      GOSUB500
      BREAK
    ENDS
    ss=0
    tt=0
    al=0
    al=0
    al=0
    al=0
    p=0
    nn=0
    mm=1
    yy=0
    zz=0
    q=104
    ab=0
  ELSEIF vv==44
    al<br>=nn*mm
    nn=0
    p=p+1
    mm=1
  ELSEIF vv==126
    al<br>=nn*mm
    nn=0
    p=p+1
    mm=1
    yy=1
  ELSE
    IF vv&gt;65
      IF vv&lt;123
        tt=ss
      ENDIF
    ELSEIF vv44
        IF vv==45
          mm=-1
        ELSE
          nn=nn*10
          uu=vv-48
          nn=nn+uu
        ENDIF
      ENDIF
    ENDIF
  ENDIF    
ENDIF
GOTO10

C100
PRINT("MOVING TO:",al,#13)
PRINT("P",al,"V",al,"A",al,#13)
PRINT("CCS:",tt,#13)
PRINT("TCS:",ss,#13)
PRINT("ICS:",zz,#13)
  IF ss==zz
    P=al
    IF al&gt;0
      V=al
    ENDIF
    IF al&gt;0
      A=al
    ENDIF
    G
   ELSE
    PRINT("CHECKSUM ERROR, TCS:",ss,"ICS:",zz,#13)
    q=104
    PRINT("CMD:")
    WHILE ab
      PRINT("ab")
      q=q+1
    LOOP
    PRINT(#13)
  ENDIF
RETURN

C200
  PRINT("STAT:")
  RS
  PRINT(#13)
  PRINT("CCS:",tt,#13)
  PRINT("TCS:",ss,#13)
  PRINT("ICS:",zz,#13)
RETURN

C300
  PRINT("ENDING...",#13)
  PRINT("CCS:",tt,#13)
  PRINT("TCS:",ss,#13)
  PRINT("ICS:",zz,#13)
  OFF
  OCHN(RS2,0,N,9600,1,8,C)
  END
RETURN

C400
  PRINT("ZEROING",#13)
  PRINT("CCS:",tt,#13)
  PRINT("TCS:",ss,#13)
  PRINT("ICS:",zz,#13)
  O=al
RETURN

C500
  PRINT("ERROR",#13)
  PRINT("CCS:",tt,#13)
  PRINT("TCS:",ss,#13)
  PRINT("ICS:",zz,#13)
RETURN
END

I don't know how to determine the variables,such as "mm","ss","tt","nn","yy".How to calculate Main Checksum，Command-Only Checksum,Incoming Checksum.
And if i send a message in ASCII, what does the SMART do? How does it store this message?]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/">Tips &amp; Tricks to better code and motor performance</category>                        <dc:creator>Jimmy</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/something-urgent/#post-998</guid>
                    </item>
				                    <item>
                        <title>something urgent</title>
                        <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/something-urgent/#post-995</link>
                        <pubDate>Mon, 29 Dec 2014 03:19:22 +0000</pubDate>
                        <description><![CDATA[If you have a host PC application that cannot be changed, then Yes... you can use the Blue Terminal window to send commands.  If you need to add any special Hex or other commands, you can op...]]></description>
                        <content:encoded><![CDATA[If you have a host PC application that cannot be changed, then Yes... you can use the Blue Terminal window to send commands.  If you need to add any special Hex or other commands, you can open the "nose" icon... which is our Serial Data Analyzer.  This will let you mix Hex, Decimal, and Characters as needed... though each one is transmitted immediately.  If you only need to send ASCII characters and CR... then the Blue Terminal window should work well.
Please let me know if you need any further assistance.

-Chuck]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/">Tips &amp; Tricks to better code and motor performance</category>                        <dc:creator>csearcy</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/something-urgent/#post-995</guid>
                    </item>
				                    <item>
                        <title>something urgent</title>
                        <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/something-urgent/#post-994</link>
                        <pubDate>Mon, 29 Dec 2014 03:10:48 +0000</pubDate>
                        <description><![CDATA[Let&#039;s make sure you need Data mode first.  What development software are you using on your PC?  If you can send simple ASCII commands, such as A=100 V=100000 P=2000 G ..then you may not need...]]></description>
                        <content:encoded><![CDATA[Let's make sure you need Data mode first.  What development software are you using on your PC?  If you can send simple ASCII commands, such as A=100 V=100000 P=2000 G ..then you may not need Data mode.]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/">Tips &amp; Tricks to better code and motor performance</category>                        <dc:creator>csearcy</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/something-urgent/#post-994</guid>
                    </item>
				                    <item>
                        <title>something urgent</title>
                        <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/something-urgent/#post-992</link>
                        <pubDate>Mon, 29 Dec 2014 03:07:09 +0000</pubDate>
                        <description><![CDATA[Thanks a lot csearcy。I really appreciate it。But now I try to use my own PC to communicate with SmartServo。I have to use Data mode。If I download this code，could I use the blue terminal board ...]]></description>
                        <content:encoded><![CDATA[Thanks a lot csearcy。I really appreciate it。But now I try to use my own PC to communicate with SmartServo。I have to use Data mode。If I download this code，could I use the blue terminal board in SMI to send information？And thank for giving me your number，but I am sorry to say that it isn't convenient to make a call，please forgive me。Thanks again。
Happy New Year！]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/">Tips &amp; Tricks to better code and motor performance</category>                        <dc:creator>Jimmy</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/something-urgent/#post-992</guid>
                    </item>
				                    <item>
                        <title>something urgent</title>
                        <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/something-urgent/#post-990</link>
                        <pubDate>Mon, 29 Dec 2014 02:46:58 +0000</pubDate>
                        <description><![CDATA[The program example you showed above is only for writing a SmartMotor program that accepts commands from a custom host that cannot be replaced, and cannot send normal SmartMotor commands.  T...]]></description>
                        <content:encoded><![CDATA[The program example you showed above is only for writing a SmartMotor program that accepts commands from a custom host that cannot be replaced, and cannot send normal SmartMotor commands.  This means that all of the normal Smartmotor commands will be ignored.
It is best to leave the SmartMotor in Command Mode, though you can still use the OCHN command to change the baud rate, parity, or stop bits.  Just be sure the last parameter in the OCHN command is the letter C.  This way, all of the normal commands can be used.]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/">Tips &amp; Tricks to better code and motor performance</category>                        <dc:creator>csearcy</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/something-urgent/#post-990</guid>
                    </item>
				                    <item>
                        <title>something urgent</title>
                        <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/something-urgent/#post-989</link>
                        <pubDate>Mon, 29 Dec 2014 02:34:05 +0000</pubDate>
                        <description><![CDATA[Hi Jimmy,
You have the OCHN command in the program that has the last parameter D ...this puts the motor in Data Mode(rarely used) and takes it out of Command Mode ...where the OCHN last par...]]></description>
                        <content:encoded><![CDATA[Hi Jimmy,
You have the OCHN command in the program that has the last parameter D ...this puts the motor in Data Mode(rarely used) and takes it out of Command Mode ...where the OCHN last parameter would be C.
To recover...
Go to the Communications Menu... and select Communication Lockup Wizard.  Follow the directions to turn the power off and on and clicking when and where it tells you.
This will let you Clear the EEProm.  After doing this you can cycle power and the motor will be back to all factory defaults.
You can call me on our US toll free number 1-888-356-0357 if you need further assistance.]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/">Tips &amp; Tricks to better code and motor performance</category>                        <dc:creator>csearcy</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/something-urgent/#post-989</guid>
                    </item>
				                    <item>
                        <title>something urgent</title>
                        <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/something-urgent/#post-260</link>
                        <pubDate>Mon, 29 Dec 2014 02:24:54 +0000</pubDate>
                        <description><![CDATA[Cannot establish a link to motors through RS232 after i download a program to the motor。The program is as below。

A=500
V=1000000
P=0
O=0
G
OCHN(RS2，0，N,9600，1，8，D)
PRINT(&quot;RP&quot;,#13)
...]]></description>
                        <content:encoded><![CDATA[Cannot establish a link to motors through RS232 after i download a program to the motor。The program is as below。

A=500
V=1000000
P=0
O=0
G
OCHN(RS2，0，N,9600，1，8，D)
PRINT("RP",#13)
C0
IF LEN
a=GETCHR
IF a==13
G
P=0
PRINT("RP",#13)
ELSE
P=P*10
a=a-48
P=P+a
ENDIF
ENDIF
GOTO0
END

I don't know how to establish a new link to the motor。Please help me，thanks in advance，dears。]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/">Tips &amp; Tricks to better code and motor performance</category>                        <dc:creator>Jimmy</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/something-urgent/#post-260</guid>
                    </item>
							        </channel>
        </rss>
		