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
Posted: 2020-01-21 03:01 AM . Last Modified: 2020-10-06 06:38 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-01-21 03:01 AM . Last Modified: 2020-10-06 06:38 AM
Hello,
Does anyone have experience with configuring the XUPH001 in PLC mode?
This is the communication module for a pick-to-light system.
I'd like to connect it to a Modicon controller (e.g. M241) through a MODBUS connection.
How to configure the READ/WRITE holding registers, how to configure the system?
I'v read the manual, but do not fully understand... 😞
Can anyone provide me with some example code to get started?
Is there a function block available for this module?
Many thanks,
Best regards,
Mr. Tape
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-02-02 07:30 PM
@Anonymous user Hi,
You can use IO Scanning instead of using Function Block in M241. it is more easier if you are new with Machine Expert (v1.1).
I will share it in video after this.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-02-02 08:07 PM
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-02-03 12:33 AM
Hello Sir,
I've done about the same in SoMachine... I only need to configure the IP and the unit ID....
Then I get the Device inputs and outputs...
The question still is how to read e.g. the status of the sensors, or activate the LED's in the sensors...
A programming example would be nice....
MAny thanks,
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-02-03 01:35 AM . Last Modified: 2020-02-03 01:42 AM
Hi @Anonymous user
I'm not familiar with XUPH001.
but after read the manual, if you already set to PLC mode. you can read from register that you mentioned (%MW18,19,20,21).
for direct access to bit, you can access/read from %IX and %QX for WRITE or you can map it to variable (recommended)
and here is the example to read status from sensor, then latch it 2 seconds to light on LED status
if you need to check the program: example code - machine expert 1.1
Link copied. Please paste this link to share this article on your social media post.
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.
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