43395members
217902posts

XUPH001 Experience in Mode 4 (PLC mode)

Highlighted
Crewman

XUPH001 Experience in Mode 4 (PLC mode)

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

5 REPLIES 5
Highlighted
Administrator

Re: XUPH001 Experience in Mode 4 (PLC mode)

hey @Oncom , any idea on how to help @Mr_Tape  here? 

 

thank you

 

 

Highlighted
Commander

Re: XUPH001 Experience in Mode 4 (PLC mode)

@Mr_Tape 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).

 

image.png

 

I will share it in video after this. 

 

Highlighted
Commander

Re: XUPH001 Experience in Mode 4 (PLC mode)

Highlighted
Crewman

Re: XUPH001 Experience in Mode 4 (PLC mode)

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,

 

 

Knipsel2.JPG

 

 

Knipsel.JPG

Tags (1)
Highlighted
Commander

Re: XUPH001 Experience in Mode 4 (PLC mode)

Hi @Mr_Tape 

 

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)

image.png

 

and here is the example to read status from sensor, then latch it 2 seconds to light on LED status

image.png

if you need to check the program: example code - machine expert 1.1