<?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>
									Communications - Animatics Distributor Locator Forum				            </title>
            <link>https://www.animatics.com/forum/communications/</link>
            <description>Animatics Distributor Locator Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Mon, 09 Mar 2026 14:50:56 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Output a variable to an LCD screen</title>
                        <link>https://www.animatics.com/forum/communications/output-a-variable-to-an-lcd-screen/</link>
                        <pubDate>Tue, 27 Oct 2020 10:43:11 +0000</pubDate>
                        <description><![CDATA[I&#039;m trying to output my cycle count (var. &#039;a&#039;) to a 2-line LCD screen. I currently have pin 1 of motor D-sub out to port 2 (RX) on front of RS232 shifter, then from TX port in back of shifte...]]></description>
                        <content:encoded><![CDATA[I'm trying to output my cycle count (var. 'a') to a 2-line LCD screen. I currently have pin 1 of motor D-sub out to port 2 (RX) on front of RS232 shifter, then from TX port in back of shifter (have also tried the RX port) to the screen's JP3 connector, pin 1 (RX). All I get is a bricked screen. Am I missing some commands to address anything? I tried the OCHN with default (RS2,0,N,9600,1,8,C) commands, changed PRINT to PRINT1, but nothing I've tried works.
Any ideas on what I'm doing wrong? I would just like to see a cycle count on something other than the desktop, because I test a lot of items to failure, while monitoring with a network camera, and would like an exact cycle count when something fails.
Attached are schematics of the components and my code. Motor model # is SM23375DT.
Thanks for the assistance !!]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/communications/">Communications</category>                        <dc:creator>Dan_S</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/communications/output-a-variable-to-an-lcd-screen/</guid>
                    </item>
				                    <item>
                        <title>Trouble with Serial Communication to SM23375DT</title>
                        <link>https://www.animatics.com/forum/communications/trouble-with-serial-communication-to-sm23375dt/</link>
                        <pubDate>Sun, 19 Jul 2020 01:21:02 +0000</pubDate>
                        <description><![CDATA[Hi all,

I am looking to control the SmartMotor via RS-232 communication in Python. However, it seems like every write command from pyserial does not reflect on the serial data analyzer. ...]]></description>
                        <content:encoded><![CDATA[Hi all,

I am looking to control the SmartMotor via RS-232 communication in Python. However, it seems like every write command from pyserial does not reflect on the serial data analyzer. 

Please find the snippet of the code below here:

import time
import serial

ser = serial.Serial(port='COM6', baudrate=9600,
            bytesize=serial.EIGHTBITS, parity=serial.PARITY_NONE,
            stopbits=serial.STOPBITS_ONE, timeout=2)

ser.write('EIGN(3)'.encode())
ser.write('EIGN(2)'.encode())
ser.write('ZS'.encode())

-------------------------------------------------
Please kindly let me know if I have gotten anything wrong as I'm new to implementing serial communications. Thanks.]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/communications/">Communications</category>                        <dc:creator>jerluenn</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/communications/trouble-with-serial-communication-to-sm23375dt/</guid>
                    </item>
				                    <item>
                        <title>print time stamp</title>
                        <link>https://www.animatics.com/forum/communications/print-time-stamp-2/</link>
                        <pubDate>Wed, 11 Mar 2020 12:46:20 +0000</pubDate>
                        <description><![CDATA[How can one PRINT out the current time an event occurred?
I&#039;m using an SM23375DT.
Thanx]]></description>
                        <content:encoded><![CDATA[How can one PRINT out the current time an event occurred?
I'm using an SM23375DT.
Thanx]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/communications/">Communications</category>                        <dc:creator>Dan_S</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/communications/print-time-stamp-2/</guid>
                    </item>
				                    <item>
                        <title>print time stamp</title>
                        <link>https://www.animatics.com/forum/communications/print-time-stamp/</link>
                        <pubDate>Wed, 11 Mar 2020 12:40:54 +0000</pubDate>
                        <description><![CDATA[How can one PRINT out the current time an event occurred?
I&#039;m using an SM23375DT.
Thanx]]></description>
                        <content:encoded><![CDATA[How can one PRINT out the current time an event occurred?
I'm using an SM23375DT.
Thanx]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/communications/">Communications</category>                        <dc:creator>Dan_S</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/communications/print-time-stamp/</guid>
                    </item>
				                    <item>
                        <title>Oracle DBA Training in Mumbai</title>
                        <link>https://www.animatics.com/forum/communications/oracle-dba-training-in-mumbai/</link>
                        <pubDate>Fri, 11 Oct 2019 04:36:08 +0000</pubDate>
                        <description><![CDATA[What is the best online training for Oracle DBA?]]></description>
                        <content:encoded><![CDATA[What is the best online training for Oracle DBA?]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/communications/">Communications</category>                        <dc:creator>Priyaaa</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/communications/oracle-dba-training-in-mumbai/</guid>
                    </item>
				                    <item>
                        <title>Sending commands through Arduino with RS232 Shield</title>
                        <link>https://www.animatics.com/forum/communications/sending-commands-through-arduino-with-rs232-shield/</link>
                        <pubDate>Wed, 30 Jan 2019 13:09:22 +0000</pubDate>
                        <description><![CDATA[Dear All, 

 I am trying to use arduino along with RS232 shield. Before using arduino along with rs232 shield,  CLass5D style motors motor wire was connected through usb with laptop and se...]]></description>
                        <content:encoded><![CDATA[Dear All, 

 I am trying to use arduino along with RS232 shield. Before using arduino along with rs232 shield,  CLass5D style motors motor wire was connected through usb with laptop and send the "RPA " command using termite terminal to know the position of motors and it does work.
 
 Next i used the following code to send the same command through arduino. The Tx light blinks but motor do not send back the data. 
 
 To check if the RS 232 is pushing the commands, the RS232 shield and usb from arduino was both connected to laptop. After uploading the sketch, the RS 232 does show the commands in the terminal with Tx blinking light. 

The motors are not responding to the RPA command through RS232 shield? Is there any command i can use to know position of motor 1 only through RS232 command line?

Kindly find the follwing code and attached rs232 shield diagram.

#include                            //we have to include the SoftwareSerial library, or else we can't use it
#define rx 3                                        //define what pin rx is going to be
#define tx 2                                         //define what pin tx is going to be
SoftwareSerial mySerial (rx, tx); //3 is TX, 2 is RX
String m;
void setup()
{
  pinMode(3, INPUT);
  pinMode(2,OUTPUT);
  Serial.begin(9600,SERIAL_8N1);              //  setup serial with computer
  mySerial.begin(9600);
  Serial.write("Sending the command RPAr");
  mySerial.write("RPA rn");
  m=mySerial.readString();
  Serial.println(m);
   
}
void loop()
  {
    //while(mySerial.available() &gt; 0)
   m=mySerial.readString();
  Serial.print(m);
  }]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/communications/">Communications</category>                        <dc:creator>amrinder703</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/communications/sending-commands-through-arduino-with-rs232-shield/</guid>
                    </item>
				                    <item>
                        <title>Interpolating Motion with SMIEngine</title>
                        <link>https://www.animatics.com/forum/communications/interpolating-motion-with-smiengine/</link>
                        <pubDate>Thu, 17 Jan 2019 16:20:02 +0000</pubDate>
                        <description><![CDATA[Hello --

I have a SM23165DT motor that I&#039;m trying to program with SMIEngine and Java.  So far, I am able to control the motor by using the Serial Commands.  For example, I can home the mo...]]></description>
                        <content:encoded><![CDATA[Hello --

I have a SM23165DT motor that I'm trying to program with SMIEngine and Java.  So far, I am able to control the motor by using the Serial Commands.  For example, I can home the motor to zero by the following sequence:

<pre>  // send to all motors
  myPort.write(0x80);
  // configure environment
  myPort.write("AMPS=" + str(pow) + " ");
  myPort.write("VT=" + str(vel) + " ");
  myPort.write("ADT=" + str(acc) + " ");

  // reset position
  myPort.write("PT=" + str(0.0) + " ");
  
  myPort.write("G ");</pre>

Similarly, I can continually update the motor's position by looping:

<pre>  myPort.write(0x80);
  float velocity = someValue;
  myPort.write("VT=" + str(int(velocity)) + " ");
  float position = someOtherValue;
  myPort.write("PT=" + str(int(position)) + " ");
  myPort.write("G ");</pre>

However, this isn't ideal because writing position data frame-by-frame results in chunky motion, as the motor moves, stops, waits, and then moves to the next point the next frame.  I'd like to use the Serial Interpolation features in order to smoothly move to the next position with a specific time delta.

However, I've tried to use the following code:
<pre>
  myPort.write(0x80);
  myPort.write(0xFB); // command 0xFB: Write Time Delta
  myPort.write(0xFF); // LSB: 0xFF
  myPort.write(0xFF); // MSB: 0xFF -- total is 0xFFFF (65,535); should be about 8 seconds
  myPort.write(0x20); // terminator byte
  
  myPort.write(0xFA); // command 0xFA: Write Position Data
  myPort.write(0x00); // LSB
  myPort.write(0x00);
  myPort.write(0x00);
  myPort.write(0x00); // MSB; total is 0x00000000 (0.0)
  myPort.write(0x20); // terminator byte
  
  myPort.write("G ");</pre>

And this has no effect.  No motion in the motor, not even at a specific speed.

How can I program the motor to move smoothly to the next position at a specific time?

thanks!]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/communications/">Communications</category>                        <dc:creator>morphogencc</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/communications/interpolating-motion-with-smiengine/</guid>
                    </item>
				                    <item>
                        <title>problems recording variables in sm2337 motors</title>
                        <link>https://www.animatics.com/forum/communications/problems-recording-variables-in-sm2337-motors/</link>
                        <pubDate>Tue, 16 Oct 2018 15:52:06 +0000</pubDate>
                        <description><![CDATA[I&#039;m having trouble writing variables through RS232. The data packet is not transmitted completely, so I can only write some variables. What&#039;s wrong? Is there anything specific for cable asse...]]></description>
                        <content:encoded><![CDATA[I'm having trouble writing variables through RS232. The data packet is not transmitted completely, so I can only write some variables. What's wrong? Is there anything specific for cable assembly?]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/communications/">Communications</category>                        <dc:creator>tiagoltdtec</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/communications/problems-recording-variables-in-sm2337-motors/</guid>
                    </item>
				                    <item>
                        <title>Using interrupt to mark each rotation</title>
                        <link>https://www.animatics.com/forum/communications/using-interrupt-to-mark-each-rotation-2/</link>
                        <pubDate>Fri, 28 Sep 2018 04:03:03 +0000</pubDate>
                        <description><![CDATA[Hello,

Newly using the SmartMotor Class 5 for a project in which i first accelerate the motor to a slow speed, whereafter i need to have an interrupt as Output after each exact rotation o...]]></description>
                        <content:encoded><![CDATA[Hello,

Newly using the SmartMotor Class 5 for a project in which i first accelerate the motor to a slow speed, whereafter i need to have an interrupt as Output after each exact rotation of the motor. The interrupt is needed because i need to trigger a line scan camera at precisely the correct moment. I cant get it going using the interrupt. Do i need to use StatusWord 5 to enable an interrupt?

Kind regards,

Twan Graus]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/communications/">Communications</category>                        <dc:creator>TwanGraus1995</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/communications/using-interrupt-to-mark-each-rotation-2/</guid>
                    </item>
				                    <item>
                        <title>Using interrupt to mark each rotation</title>
                        <link>https://www.animatics.com/forum/communications/using-interrupt-to-mark-each-rotation/</link>
                        <pubDate>Fri, 28 Sep 2018 03:56:22 +0000</pubDate>
                        <description><![CDATA[Hello,

Newly using the SmartMotor Class 5 for a project in which i first accelerate the motor to a slow speed, whereafter i need to have an interrupt as Output after each exact rotation o...]]></description>
                        <content:encoded><![CDATA[Hello,

Newly using the SmartMotor Class 5 for a project in which i first accelerate the motor to a slow speed, whereafter i need to have an interrupt as Output after each exact rotation of the motor. The interrupt is needed because i need to trigger a line scan camera at precisely the correct moment. I cant get it going using the interrupt. Do i need to use StatusWord 5 to enable an interrupt?

Kind regards,

Twan Graus]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/communications/">Communications</category>                        <dc:creator>TwanGraus1995</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/communications/using-interrupt-to-mark-each-rotation/</guid>
                    </item>
							        </channel>
        </rss>
		