Author Topic: use MC50 and IOX24 together  (Read 9505 times)

Offline topal

  • PLUS+1 Developer
  • ***
  • Posts: 21
  • Karma: +0/-0
use MC50 and IOX24 together
« on: January 25, 2022, 07:51:55 AM »
Hello,

I would need to know if when using an IOX24 module with an MC50-110n controller it is mandatory to use the SUB-CMDs of the IOX24 module for my program which is in my MC50 or else I can directly use the name of the IOX24 input?

because when I use the name of the inputs directly it does not work

and when I want to use SUB-CMd it's me who doesn't understand how to use these commands

could you help me ?

thank you

Pat

Offline Marbek_Elektronik

  • PLUS+1 Guru
  • *****
  • Posts: 352
  • Karma: +8/-0
    • Marbek Elektronik
Re: use MC50 and IOX24 together
« Reply #1 on: January 25, 2022, 01:40:22 PM »
Here an example:
Marbek Elektronik, Dipl.-Ing. Bernd Konrad
Dienstleistung, Entwicklung, Herstellung

Offline Marbek_Elektronik

  • PLUS+1 Guru
  • *****
  • Posts: 352
  • Karma: +8/-0
    • Marbek Elektronik
Re: use MC50 and IOX24 together
« Reply #2 on: January 25, 2022, 01:40:54 PM »
and this
Marbek Elektronik, Dipl.-Ing. Bernd Konrad
Dienstleistung, Entwicklung, Herstellung

Offline Marbek_Elektronik

  • PLUS+1 Guru
  • *****
  • Posts: 352
  • Karma: +8/-0
    • Marbek Elektronik
Re: use MC50 and IOX24 together
« Reply #3 on: January 25, 2022, 01:48:21 PM »
(Perhaps you find a newer document)

The can_config of Module is important:
In example I have NodeID=0
Marbek Elektronik, Dipl.-Ing. Bernd Konrad
Dienstleistung, Entwicklung, Herstellung

Offline Marbek_Elektronik

  • PLUS+1 Guru
  • *****
  • Posts: 352
  • Karma: +8/-0
    • Marbek Elektronik
Re: use MC50 and IOX24 together
« Reply #4 on: January 25, 2022, 01:48:57 PM »
See here
Marbek Elektronik, Dipl.-Ing. Bernd Konrad
Dienstleistung, Entwicklung, Herstellung

Offline topal

  • PLUS+1 Developer
  • ***
  • Posts: 21
  • Karma: +0/-0
Re: use MC50 and IOX24 together
« Reply #5 on: January 26, 2022, 02:07:48 PM »
Hello,

thank you for your reply

I did not know the pdf file

my projet i same as your projet

when I have some time, I will post my program so that you can see what is wrong

thanks again

Pat

Offline topal

  • PLUS+1 Developer
  • ***
  • Posts: 21
  • Karma: +0/-0
Re: use MC50 and IOX24 together
« Reply #6 on: January 30, 2022, 02:58:58 PM »
Hello,

I post my program because even with the explanations of Marbek_Elektronik

it does not work !

I tried everything but I have to miss something that I don't see

it's simple, however, what I want is by putting the C1P09 input of IOX24 to 12 volts that facing it, switch the C1P37 output of my MC50 to the high state to be able to light a bulb

the exercise seems simple but I can't do it

can someone take a look at my program and tell me where i made the mistake

thank you

Pat

Offline FluidPowerTom

  • PLUS+1 Guru
  • *****
  • Posts: 363
  • Karma: +33/-0
Re: use MC50 and IOX24 together
« Reply #7 on: January 30, 2022, 06:04:03 PM »
Can you confirm that per Marbek's image you set Address Mode to 1 and set the N1 value to 0?

What are the two LED's doing on your IO module?  Both should be blinking rapidly (much faster than 1 Hz).
Controls Engineer
Hydra-Power Systems

Offline topal

  • PLUS+1 Developer
  • ***
  • Posts: 21
  • Karma: +0/-0
Re: use MC50 and IOX24 together
« Reply #8 on: January 30, 2022, 09:09:19 PM »
Hello,

i confirm, on IOX24 red led sparkles, green led flashes quickly at power on and after the green led blink at 1 hz

i have configured my iox with Service Tool

RX id 300
TX id 180
baudrate 250K
N1 0
NET 1
Address mode 1
Mask 0

can you help me

Thank

Pat

Offline acmall

  • PLUS+1 Guru
  • *****
  • Posts: 201
  • Karma: +37/-1
Re: use MC50 and IOX24 together
« Reply #9 on: January 31, 2022, 09:07:02 AM »
In the program you posted you have connected the input form the IO module C1p09 to a CAN transmit message with ID 0x200 that you are transmitting on CAN_1. You have C1p37 connected to a CAN receive message with ID 0x200 also on CAN_1. This will not work as you can not transmit a message and simultaneously receive it on the same CAN port.

To have C1p37 go high in response to an input on the IO module C1p09 you just need to connect the DigIn from C1p09 on the IO module to the DigOut of C1p37.

Offline topal

  • PLUS+1 Developer
  • ***
  • Posts: 21
  • Karma: +0/-0
Re: use MC50 and IOX24 together
« Reply #10 on: January 31, 2022, 07:03:40 PM »
Hello, acmall

you are the king, it"s work very fine

thank you very much

Pat