Professional Documents
Culture Documents
Hexperiments
The 6-way programming connector provides VCC and ground, TTL level serial RX and TX, and I2C SDA and SCL. The serial port is used
by Zelio Soft to program the device. Presumably the I2C interface is used by the EEPROM backup modules.
I have successfully programmed this device using the Sparkfun FT232R breakout board set to 5V. I suspect the official programming
cable just contains a MAX232 level shifter or similar.
In Zelio Soft’s monitor mode the PLC’s state is polled via the serial port in the programming connector. The protocol used looks like
MODBUS ASCII at 115200 bps, 7 data bits, even parity, 1 stop bit (7E1).
1 Vcc
2 Ground
4 SCL
6 SDA
Update
Gustavo has been kind enough to provide pictures of the programming cable. Thanks Gustavo!
www.hexperiments.com/?page_id=11 1/8
16/9/2019 Schneider Electric Zelio Smart Relay SR3 B261BD | Hexperiments
It looks like two 211/411op-amps are used to convert between the different signal levels.
DIEGO LUCA
on August 7, 2012 at 10:49 am said:
Hello,
www.hexperiments.com/?page_id=11 2/8
16/9/2019 Schneider Electric Zelio Smart Relay SR3 B261BD | Hexperiments
Diego Luca
Diego Luca
on August 9, 2012 at 12:37 am said:
Hello,
Spencer
on November 25, 2012 at 8:30 pm said:
Hi Diego,
I’m not sure what more information I can give. Have you tried checking that your RS232 to TTL converter is operating at
the correct voltages? You could connect RX to TX and do a loopback test to see if your converter is working correctly.
Gustavo Cappello
on September 14, 2012 at 2:24 pm said:
I’ve got the SR3 B261BD interface cable and it has a couple op.amp (411) and voltage comparator (211) and 2 diodes s1j typte.I
would like to upload pictures….
Spencer
on October 8, 2012 at 9:37 am said:
Hi Gustavo, I would appreciate some pictures of the programming cable. You can email these to
spencer@hexperiments.com. I would like to put these on this site with your permission. Thanks!
Erick
on May 7, 2014 at 12:39 am said:
Thanks
mohammed
on May 12, 2014 at 10:13 pm said:
because i have serial rs 232 to usb converter and there is only 3 wires connected
tx rx gnd
Spencer
on September 11, 2014 at 2:26 pm said:
VCC is not required. Three wires are sufficient: Rx, Tx and GND.
Be sure that the signals are at 5 V as normal RS-232 levels may damage the PLC.
www.hexperiments.com/?page_id=11 3/8
16/9/2019 Schneider Electric Zelio Smart Relay SR3 B261BD | Hexperiments
morgan
on October 28, 2014 at 12:39 pm said:
I believe the ICs labelled 211/411 are Avago HCPL-0211 (logic out) optocouplers.
http://www.avagotech.com/docs/AV02-0674EN
The SR2 USB01 cable also uses two of these, and surprisingly a ST7 8-Bit microcontroller. If I can substitute this with FT232RL
I will be very happy.
Spencer
on October 28, 2014 at 12:45 pm said:
Thanks for the link. I have had success with a FT232RL connected directly (no optocouplers).
Niels
on June 28, 2015 at 2:43 am said:
Hi Spencer,
Thanks for this informative site.
I have a Zelio SR2 B201BD that I wish to program from within Zelio Soft 4.5 via USB.
I’m using a “cheap” FT232R -> 5volt TTL device from ebay.
TxD on FT232R -> pin 5 ( TxD ),
RxD on FT232R -> pin 3 ( RxD ),
GND on FT232R -> pin 2 ( GND ).
The FT232R drivers installs automatically in Win7 and shows up in device manager as USB device : “USB Seriel
Converter” and as COM device : USB Seriel Port ( COM8)
The COM8 is then manually configured to 115200 baud, 7E1. Flowcontrol is set to “None”.
Before connecting to the SR2 I tried to short the TxD & RxD on the FT232R and press the “Test” button.
I then get a “Connection Successfull”
When connected to the SR2 my setup returns an error ( device not found ).
I suspect that TxD on the FT232R should in fact go to RxD ( pin 3 ) on the SR2 instead and visa versa, but I’m
afraid to kill the module if I’m wrong. :/
Best regards
Niels
Adam Thomson
on April 19, 2015 at 11:11 pm said:
i am looking at connection two zelio’s by making a cross over , should just need rx, tx and gnd . then use the serial link function
block to transfer data between them . Have you tried this ?
Spencer
on April 19, 2015 at 11:41 pm said:
I haven’t tried this. I had a look at the help file, and the SLIn and SLOut blocks both require something external to send a
message to the Zelio device. The Zelio will not send data out the serial port by itself.
I would try putting a microcontroller in between the two Zelio devices, and have it query one device then push the result
to the other.
www.hexperiments.com/?page_id=11 4/8
16/9/2019 Schneider Electric Zelio Smart Relay SR3 B261BD | Hexperiments
Another option is to connect a standard digital output on one to an input on the other and vice versa. You could then
signal one device from the other by counting pulses. It depends on what sort of data you need to share between the
devices. What are you trying to do?
Adam Thomson
on April 19, 2015 at 11:48 pm said:
Johny
on June 2, 2015 at 7:05 am said:
Hi,
I have succesfully hacked SR2A201BD. I have connected ISP (or JTAG, not sure now) programmer using test pins, backed up
all FLASH and put there my bootloader. Now I program this PLC in C language over usart. Zelio is really powerfull without buid-in
firmware
PS: when I have tried to put it to it’s original state from backup, everything works like from box.
PPS: user program of original firmware is saved in EEPROM (I did play with erase eeprom and then write eeprom from backup)
Spencer
on November 17, 2015 at 12:49 pm said:
I guess this means that they did not use code protection on the AVR micro?
Pk
on June 6, 2017 at 2:13 am said:
Thats nice id like to do the same. Can you tell me where the isp pins are located?
Sjamie
on September 19, 2017 at 1:42 am said:
Hi Johny,
How did you find out what I/O pins are used and can you also control the LCD display.
Like to hear from you
Tristan
on June 6, 2015 at 7:21 am said:
Hi
Searching for an easy way to connect my zelio to PC found your site.
Spencer
on November 17, 2015 at 12:50 pm said:
I think that cable should work. Just standard com port drivers for the USB to serial converter will work.
www.hexperiments.com/?page_id=11 5/8
16/9/2019 Schneider Electric Zelio Smart Relay SR3 B261BD | Hexperiments
Chayd
on September 11, 2015 at 12:39 pm said:
Interesting writeup and thanks for the info! I managed to program an SR2 with just a PL2303 based USB serial converter set to
5V TTL levels, the optoisolators on the ‘official’ cable look to be a low cost way of providing isolation and level conversion at the
same time (neat!). The Zelio software supports selecting arbitrary COM port numbers, it’s pretty much plug’n’play, only need to
connect RX->TX, TX->RX and GND->GND.
JPAC
on November 18, 2015 at 12:43 pm said:
HELLO, I tried this successfully, but after a few seconds communication is lost, how could I fix that?
superstar
on December 1, 2015 at 12:55 pm said:
I used a DIY lead too for the SR2. I used a MAX232 from the PC com1 to the SR2 header, works straight away. If you’re using a
laptop with no ground connection charger-type PSU, I recommend using the laptop on battery, or disconnect the laptop mains
adapter while you plug into the SR2, just to eliminate any damage the SR2 from any AC mains filter currents that might flow
between the devices…..no opto isolation on a max232!
Spencer
on December 1, 2015 at 1:19 pm said:
Good point about the isolation. I have only been doing this on the bench, not to a unit that is connected to anything.
Andrew
on June 24, 2016 at 4:31 am said:
Does anyone happen to know what the PIN spacing is on the Programming Cable end?
Spencer
on June 24, 2016 at 8:02 am said:
Andrew
on June 24, 2016 at 8:30 am said:
TY
Andrew
on June 29, 2016 at 1:40 am said:
And to be clear, the Programming Connector Pinout, are you showing up a front view of the connection
CABLE or connection PORT on Zelio?
Spencer
on June 29, 2016 at 11:42 am said:
I show a view looking down on the connector port in the smart relay.
www.hexperiments.com/?page_id=11 6/8
16/9/2019 Schneider Electric Zelio Smart Relay SR3 B261BD | Hexperiments
Alfiansyah
on October 17, 2016 at 5:00 pm said:
Martin
on December 17, 2016 at 8:59 am said:
Godwin Ahiat
on March 31, 2017 at 9:30 am said:
Hi Spencer, Please i have Zelio Smart Relay SR3 B261BD, and I DON’T the communication cable to upload program onto the
device. please which other cable do you recommend i use.
Spencer
on March 31, 2017 at 10:33 am said:
You can use any TTL levl serial cable or breakout board. I use the Sparkfun FT232RL board.
If you are using a homemade cable I recommend you disconnect the smart relay from any mains supply.
Bence
on June 13, 2017 at 3:24 am said:
xx
on June 18, 2017 at 10:23 pm said:
i was try to read the firmware using usbasp but it was error cant read it. my be you can gibe us the tutorial how to read it. trims.
ivan
on September 14, 2017 at 8:05 am said:
I wondering if somebody can provide me the exact physical size of the SR2USB01 connector
Davide
on November 30, 2017 at 6:21 am said:
Hi. I have a Crouzet Motomate – Brushless motor with integrated logic controller. The integrated controller is the Millenium 2. I
DO NOT have the cable needed to program the PLC and I can not find one (Crouzet only sells them in packets of three charging
almost 500$).
www.hexperiments.com/?page_id=11 7/8
16/9/2019 Schneider Electric Zelio Smart Relay SR3 B261BD | Hexperiments
Does anyone know for sure if the Zelio programming cable would work?
The pinout seemed similar, here you can find the motomate pinout:
https://it.rs-online.com/web/p/motoriduttori-cc/4947076/
Thank you in advance
P.s. I am kind of desperate because without the programming cable the motor is useless…
www.hexperiments.com/?page_id=11 8/8