TSX MICRO character mode comunication with Magelis XBTN400

другие контроллеры
ghid
Posts: 10
Joined: Sat Apr 27, 2013 11:01 am

TSX MICRO character mode comunication with Magelis XBTN400

Post by ghid »

Hi,

I have a TSX MICRO 3722 and I want to establish character mode comunication trough it's TER port with a Magelis XBTN400.

I mention that I don't want to use HMI specific designing software, I just want to establish character mode comunication.

It is possible?

Thank you
umbamanOS
Posts: 8
Joined: Wed Sep 11, 2013 9:47 am

Re: TSX MICRO character mode comunication with Magelis XBTN4

Post by umbamanOS »

Hi ghid

check out this document at page 71 http://www2.schneider-electric.com/reso ... 0Units.pdf
ghid
Posts: 10
Joined: Sat Apr 27, 2013 11:01 am

Re: TSX MICRO character mode comunication with Magelis XBTN4

Post by ghid »

Thank you for your attention. Yes, this is the physical link, I have this cable, and more to that ->, the pins 5 and 7 must to be connected toghether because, doing that the terminal port will be set on character mode communication.
The question is, can I send and recive messages to the HMI trough character mode communication method? And I repeat I don't want to use any hmi designing program, I want to test a serial transmission established by my code with OUT_IN_CHAR, something like that.

The ideea is that I have on my table a TSX3722 PLC, and a XBTN400 Panel, and I had never before programmed a serial character(ASCII) communication and I want to test one now.

Thank you.
pupena_san
Posts: 392
Joined: Fri Dec 18, 2009 3:02 pm
Location: Киев

Re: TSX MICRO character mode comunication with Magelis XBTN4

Post by pupena_san »

Test with a computer instead of panel
ghid
Posts: 10
Joined: Sat Apr 27, 2013 11:01 am

Re: TSX MICRO character mode comunication with Magelis XBTN4

Post by ghid »

I don't have serial port on my computer ( notebook ).
pupena_san
Posts: 392
Joined: Fri Dec 18, 2009 3:02 pm
Location: Киев

Re: TSX MICRO character mode comunication with Magelis XBTN4

Post by pupena_san »

1) You need USB_to_RS485 adapter. XBTN400 not support symbol mode.
2) You can implementation Modbus-Slave protocol used symbolic mode.
3) Are you know, that communication possible through Modbus or Uni Telway protocol?
ghid
Posts: 10
Joined: Sat Apr 27, 2013 11:01 am

Re: TSX MICRO character mode comunication with Magelis XBTN4

Post by ghid »

I am wandering where I have to set the address of a slave device. How do I know where to send a message if you can help me please.
Thank you.

Edit: How and where do I set the address of the HMI, to communicate with the TSX PLC in the UNITEL-WAY communication mode?
ghid
Posts: 10
Joined: Sat Apr 27, 2013 11:01 am

Re: TSX MICRO character mode comunication with Magelis XBTN4

Post by ghid »

Nobody haven't programmed in UNITEL-WAY protocol?
pupena_san
Posts: 392
Joined: Fri Dec 18, 2009 3:02 pm
Location: Киев

Re: TSX MICRO character mode comunication with Magelis XBTN4

Post by pupena_san »

Specify your task.
ghid
Posts: 10
Joined: Sat Apr 27, 2013 11:01 am

Re: TSX MICRO character mode comunication with Magelis XBTN4

Post by ghid »

I have an magelis XBTN400 wich supports UNITEL-WAY protocol, and a TSX MICRO PLC wich also supports UNITEL-WAY protocol.
I want to programm data transfer with communication functions like DATA_EXCH between PLC and Magelis display on the TERMINAL port
and I want to know where I have to configure or specify the address of the magelis display.

Tank you.
pupena_san
Posts: 392
Joined: Fri Dec 18, 2009 3:02 pm
Location: Киев

Re: TSX MICRO character mode comunication with Magelis XBTN4

Post by pupena_san »

Exchange between the terminal and the controller with Unitelway protocol does not need to call communication functions
ghid
Posts: 10
Joined: Sat Apr 27, 2013 11:01 am

Re: TSX MICRO character mode comunication with Magelis XBTN4

Post by ghid »

I know, but I want to do that, consider that the display is just a device wich supports Unitelway, how do I address it from PLC, and how I do to programm a communication with it?
pupena_san
Posts: 392
Joined: Fri Dec 18, 2009 3:02 pm
Location: Киев

Re: TSX MICRO character mode comunication with Magelis XBTN4

Post by pupena_san »

use DATA_EXCH not possible between PLC and Magelis display, Magelis is UNITE Client, PLC is UNITE Server.