Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Understanding Motion Control

Machine and Motion Control Forum

Support forum for Machine and Motion Control solutions, including Lexium MC12 and robotics, PacDrive, Modicon PLCs and I/Os, EcoStruxure Machine Expert Twin, … - from design, implementation to troubleshooting and more, by Schneider Electric

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Industrial Automation
  • Machine and Motion Control Forum
  • Understanding Motion Control
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
8
FernandoRodrigues
FernandoRodrigues Support
6
Francesco_Begnoni
Francesco_Begnoni Support
5
LeTomas
Lt. Commander LeTomas Lt. Commander
5
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to Machine and Motion Control Forum
Solved
lame153
lame153
Cadet

Posted: ‎2025-02-24 03:12 AM

0 Likes
3
243
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-02-24 03:12 AM

Understanding Motion Control

Hey guys, I am a beginner in industry. And I am doing a little research on PLCs and Motion control etc… I am the type who likes to use analogy to better understand concepts. There’s a project where I will have to use a delta robot to which I want to continuously send a list of coordinates (from a python program) for objects to be picked (example: [{1,2},{2,2.5},{3,3.4}] is a list of x,y coordinates). The list is gonna be sent via some kind of communication. But once the list arrives to the motion control, the latter is gonna control the delta robot’s every movement to pick up the object.

The analogy (which I would like you to correct if wrong) is that PLC and motion control are two different hardwares that can control a system. But PLC differs from motion control the same way a digital pin differs from an analog pin on an arduino board. PLC is for boolean stuff (on/off) while MotionControl is for analog stuff (servo angle). As for both hardwares, they can be programmed using ladder language on the Codesys IDE (the equibalent of python language on the vscode IDE)

Am I thinking right so far?

omegle
Labels
  • Labels:
  • Training and Education
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
Francesco_Begnoni
Francesco_Begnoni Support
Support

Posted: ‎2025-02-25 02:16 AM

0 Likes
0
221
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-02-25 02:16 AM

Hi @lame153 ,
Basically, what you wrote is correct. I would add that in Schneider Electric PLCs and controllers, which are based on Codesys, you can use both ladder programming and structured text programming. This allows you to develop a single program that can execute both logic and motion.
You can use various types of Ethernet-based communication. What you want to do is possible, to send a list of coordinates with a Python script directly to the PLC/controller via a TCP socket.
There are many libraries available that allow you to easily perform motion/robotics operations.
If you haven't already, you can consult Schneider's online help to get an idea -> Machine Expert > V2.2

Regards


See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 3
Francesco_Begnoni
Francesco_Begnoni Support
Support

Posted: ‎2025-02-25 02:16 AM

0 Likes
0
222
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-02-25 02:16 AM

Hi @lame153 ,
Basically, what you wrote is correct. I would add that in Schneider Electric PLCs and controllers, which are based on Codesys, you can use both ladder programming and structured text programming. This allows you to develop a single program that can execute both logic and motion.
You can use various types of Ethernet-based communication. What you want to do is possible, to send a list of coordinates with a Python script directly to the PLC/controller via a TCP socket.
There are many libraries available that allow you to easily perform motion/robotics operations.
If you haven't already, you can consult Schneider's online help to get an idea -> Machine Expert > V2.2

Regards


Reply

Link copied. Please paste this link to share this article on your social media post.

HKTAI
HKTAI
Cadet

Posted: ‎2025-04-30 05:21 AM

0 Likes
1
77
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-04-30 05:21 AM

I also need this controller and Python libs. Which Schneider controller and lib can be used to meet this requirement? @Francesco_Begnoni @lame153 

Reply

Link copied. Please paste this link to share this article on your social media post.

Francesco_Begnoni
Francesco_Begnoni Support
Support

Posted: ‎2025-05-09 02:37 AM

In response to HKTAI
1 Like
0
44
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-05-09 02:37 AM

Hello @HKTAI 
At this page you have an overview of which controllers can use the TcpUdpCommunication library:
Libraries Overview

Machine Expert has an example to create a TCP server: TCP & UDP Communication Example

Francesco_Begnoni_0-1746783167787.png

 

You can use the following python script to connect to the controller and send a simple string:

#!/usr/bin/env python3
import socket

TCP_IP = '192.168.178.231'
TCP_PORT = 35274
BUFFER_SIZE = 1024
MESSAGE = "AAAABBBB"

# Create socket TCP
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

try:
    s.connect((TCP_IP, TCP_PORT))
    print('Connected to server')

    # Send MESSAGE
    s.send(MESSAGE.encode())  


except Exception as e:
    print("Error:", e)

finally:
    s.close()
    print('Connection closed')
 
 
In the Visualization VisuStart provided in the Machine Expert project, you can execute the TCP server and wait the connection from the python script.

Francesco_Begnoni_1-1746783322136.png

 




Regards
 
Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of