Have you tried to get infos from the manufacturer?
It seems to be a time intensive workaround, just simulating button press with a relay. And as you found out, you even cannot use all it's features.
Perhaps this feeder uses very simple commands. I'm sure, you can find a software, which brute forces all possibilities, if you really dont get any info from the manufacturer.
On Friday, October 27, 2017 at 5:03:08 AM UTC+2, Karl Zeilhofer wrote:Have you tried to get infos from the manufacturer?
No and I'd be extremly surprised if it is anything else then wasting time.
I know that several PDFs for the machines exists, but none is available on the net.
Not even a simple manual.
There is usually a reason for that.
Siemens also isn't well known to hand out protocol data unless you are a big partner.
Well, this isn't Siemens anymore, but I assume the same people.
It seems to be a time intensive workaround, just simulating button press with a relay. And as you found out, you even cannot use all it's features.
Wiring a relay is a rather quick solution.
The contacts are very accessible and the feeder responds quick to the buttons.
It is only a temporary solution until I find the time to retrofit them with a different electronic.
I was breaking different protocols in my career but having no host you have no chance, even with this well protected encrypted communication is often not to break.
I would think to replace this 80c32 processor with new one containing your code (and your protocol) than debug ROM and found the original protocol...
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/80d01777-63ce-40d2-b495-87064c3034bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Do you mean there is 0-30V level on the data bus?? And txd only?
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+unsubscribe@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/bf8a88d8-5b9e-4bf7-870a-1b4a6b490d82%40googlegroups.com.
Hi Bernd,Can you send me the EPROM binary? I will try to recover the protocol, if you're interested.
Niels.Regards,
On Fri, Oct 27, 2017 at 9:08 PM, Bernd Walter <be...@bwct.de> wrote:
On Friday, October 27, 2017 at 12:07:54 PM UTC+2, Marek T. wrote:Do you mean there is 0-30V level on the data bus?? And txd only?
30V signaling is very plausible.
I've measured a 15k resistor between connector and opto, which translates to 2mA.
Also UART is very plausible, since the 80C32 has HW support for that and it would be silly to use something else.
Later feeder of the S-series have some kind of bidirectional transfer.
In my model only 4 wires are used - 2 power, plus 2 for the opto, but the connector to the machine has 7 pins.
I doubt it is encrypted, but since I don't have access to a machine all I could do is using the firmware binary.
I'm not going to do this.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
On Friday, October 27, 2017 at 5:35:17 AM UTC+2, Bernd Walter wrote:
On Friday, October 27, 2017 at 5:03:08 AM UTC+2, Karl Zeilhofer wrote:Have you tried to get infos from the manufacturer?
No and I'd be extremly surprised if it is anything else then wasting time.
I know that several PDFs for the machines exists, but none is available on the net.
Not even a simple manual.
There is usually a reason for that.
Siemens also isn't well known to hand out protocol data unless you are a big partner.
Well, this isn't Siemens anymore, but I assume the same people.
It seems to be a time intensive workaround, just simulating button press with a relay. And as you found out, you even cannot use all it's features.
Wiring a relay is a rather quick solution.
The contacts are very accessible and the feeder responds quick to the buttons.
It is only a temporary solution until I find the time to retrofit them with a different electronic.
Btw.: I've just found a feeder with one lane doing 2mm steps.
So it is configured in the feeder somehow.
For me this just means, that I could use it single or dual step for 2mm and 4mm.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/03985c97-751c-4c3d-b313-94f8be9354f3%40googlegroups.com.
Hi Bernd,
I will gladly reverse engineer it; I like a challenge. It would also benefit the community to be able to use Siplacer feeders without having to replace the electronics. I do hope the protocol is similar between models, but we'll have to see :)
I look forward to a .bin file.
Would it be possible to make a couple of photographs of the PCB? This would help me figure out the connections to the CPU.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/faa0d438-5225-4910-b283-cb409aac08a7%40googlegroups.com.
Hi Bernd,
11.059200MHz (or multiple like 22118400) is used for C51 architecture to get exact RS232 speeds like 4800, 9600, 19200 etc.
If they used 12MHz quartz it means they have shity timings on RS232 or they use some not PC common RS232 speed. Sometimes people do it if don't need to talk with PC or just want to make it harder to complicate protocol cracking. I had situation like that few times so it's not guessing but practice. If it is so you will maybe need to build converter containing two linked processors - one to talk with PC on some typical speed and second to talk with feeders on their specific speed.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+unsubscribe@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/de751601-e392-481a-b3e0-54baa336f22f%40googlegroups.com.
instead of reverse engineer binary code, wouldn't be a good idea to put a sniffer/logger on a working feeder/machine ?
On Sunday, October 29, 2017 at 12:49:29 AM UTC+2, Niels PA1DSP wrote:Hi Bernd,
Hi Niels,
I've send you the firmware via direct mail.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/2e7725d0-fa72-472b-b3c9-6e3380a13ccc%40googlegroups.com.
Hmmm, watching this with much interest :D
It seems that at this point in time there is a good cheap supply of these
used feeders about.
On Friday, November 3, 2017 at 1:02:20 PM UTC+1, SMdude wrote:Hmmm, watching this with much interest :D
It seems that at this point in time there is a good cheap supply of these
used feeders about.
Well, you can use them right out of the box without waiting for the protocol,
Great to hear it, specially that you test older dual lane feeders (24€ each).
Do you have found out the way to read and set the feeder id and part id.
> It is more complicated.
> The EEPROM holds 32 bytes - 16 per lane.
> You can read the EEPROM with command 0x17 and all 16 bytes for the
> selected lane are returned.
> Command 0x19 writes either all 16 bytes, or just 2 specific bytes.
> I understand it that those 2 bytes are to be updated more regular by the
> machine and justified a separate subcommand.
>
This is probably the feed counter, and probably this counter is shadowed to more
eeprom location in order to avoid eeprom wareout, and usually in this
case there is
a countdown counter or stored as binary complement (~ operator) as
this double the possible eeprom cycles. EEprom if firmware supports
that.
I know that there is a separate overall feed counter, but it is
possible that if this
2byte counter overflow, annother 2byte counter is increased and the difference
of current feed count and overall feed count is only software based.
This overflow could be automatic inside feeder on handled by software (pc).
> This is what my test feeders returns:
> lane 1:
> 0a 53 33 ef 01 24 11 01 c6 8a b6 d5 03 b3 00 00
> lane 2:
> 15 07 0b 87 00 18 00 3c 9b 6f e7 00 02 02 00 00
cntHi cntLo sp fdr-id ^--part-id-^ x/yoffset z??offset??
-y offset = 12 bit 40,96mm max
z offset = 16 bit or maybe used for tray ?
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+unsubscribe@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/b3f3f79f-bda0-47d8-a18d-3c5e99f64d7e%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+unsubscribe@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/b3f3f79f-bda0-47d8-a18d-3c5e99f64d7e%40googlegroups.com.
Do you have access to real siplace including software? If yes, there is a VB feeder admin tool that know a lot about feeder and use the oid interface (free but require NDA signing).If you can confirm it can be used, I check for getting the tool.
Probably pin7 is used for hw store.
And maybe the last 2 bytes and the upper byte of feed length are used during update to recover from power loss during write.This is how I probably would do it with that hw to have error proof nvm.
The 2 lane have a fiducial that is used for feeder position as I know.
https://www.google.it/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwjg5cb2i7rXAhXiHpoKHZjGCsUQFggmMAA&url=https%3A%2F%2Fwww.siplace.com%2Faddmindms%2Fdownload.aspx%3Fdomid%3D10%26d_id%3Dd90a721d-9053-4b80-bd3f-1e6ae37b13ac%26fdl%3D1&usg=AOvVaw01y1zJClOeYIUiB7MGqzuq
Maybe that could help.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+unsubscribe@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/cc833b11-e8d5-41a1-badd-395ac750b4d4%40googlegroups.com.
Yes, know that, but as Siemens feeders was bought from another company that patented it (the patent mention just the 16 byte eeprom) and xfeeder was coming out at patent expiration date the probably is high that there share the same base.
Niels.Regards,Hi Bernd,Can you send me the EPROM binary? I will try to recover the protocol, if you're interested.On Fri, Oct 27, 2017 at 9:08 PM, Bernd Walter <be...@bwct.de> wrote:
On Friday, October 27, 2017 at 12:07:54 PM UTC+2, Marek T. wrote:Do you mean there is 0-30V level on the data bus?? And txd only?
30V signaling is very plausible.
I've measured a 15k resistor between connector and opto, which translates to 2mA.
Also UART is very plausible, since the 80C32 has HW support for that and it would be silly to use something else.
Later feeder of the S-series have some kind of bidirectional transfer.
In my model only 4 wires are used - 2 power, plus 2 for the opto, but the connector to the machine has 7 pins.
I doubt it is encrypted, but since I don't have access to a machine all I could do is using the firmware binary.
I'm not going to do this.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ope...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/bf8a88d8-5b9e-4bf7-870a-1b4a6b490d82%40googlegroups.com.
> To unsubscribe from this group and stop receiving emails from it, send an email to ope...@googlegroups.com.
Sending: 02 01 01 04Receive: 01 E0 E1 ⸮Receive: 23 81 02 04 32 30 2E 30 35 2E 39 38 20 20 20 20 6D 69 74 20 46 53 5A 20 54 65 73 74 72 6F 75 74 69 6E 65 00 E1 ⸮..20.05.98 mit FSZ Testroutine.Sending: 02 02 01 05Receive: 01 E0 E1 ⸮Receive: 02 42 01 45 B.Sending: 02 03 01 06Receive: 01 E0 E1 ⸮Sending: 02 03 02 07Sending: 02 15 02 19Receive: 01 E0 E1 ⸮Receive: 02 40 02 44 @.Sending: 02 15 02 19Receive: 01 E0 E1 ⸮Receive: 02 42 02 46 B.Sending: 02 17 01 1AReceive: 01 E0 E1 ⸮Sending: 02 17 02 1BReceive: 01 E0 E1 ⸮
> To unsubscribe from this group and stop receiving emails from it, send an email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/20200122221642.GD36258%40cicely7.cicely.de.
> To unsubscribe from this group and stop receiving emails from it, send an email to ope...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/a8bb64a2-4d83-40fd-b3ac-09f188d35cd6%40googlegroups.com.
--
B.Walter <be...@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ope...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/e39ded0e-44b7-4ceb-a9cb-374acf660aa1%40googlegroups.com.
> To unsubscribe from this group and stop receiving emails from it, send an email to ope...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/a8bb64a2-4d83-40fd-b3ac-09f188d35cd6%40googlegroups.com.
--
B.Walter <be...@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ope...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/bb3abcf8-0ca6-49c7-a458-867c7887ad19%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/bb3abcf8-0ca6-49c7-a458-867c7887ad19%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/bb3abcf8-0ca6-49c7-a458-867c7887ad19%40googlegroups.com.
> > To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/953a2d8e-0b1f-4bc4-97b5-2728b7a8b100%40googlegroups.com.
>
>
> --
> B.Walter <be...@bwct.de> http://www.bwct.de
> Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
>
> --
> You received this message because you are subscribed to the Google Groups "OpenPnP" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ope...@googlegroups.com.
0x01 - read firware info
02 01 02 05
01 e0 e1 23 81 02 03 31 32 2e 31 32 2e 39 34 20 20 20 20 6d 69 74 20 46 53 5a 20 54 65 73 74 72 6f 75 74 69 6e 65 00 db
# 1 2 . 1 2 . 9 4 m i t F S Z T e s t r o u t i n e
The 02 03 can be firmware revision 2.3, with which the EPROM was labeled with
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/e73fee28-ecdf-4c58-8470-fd2fc2f3a87d%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/ecb5d24c-3554-4269-a8a7-5697d7a09effo%40googlegroups.com.
The feeder may respond with 2 packets.It always reacts with a packet acknowledge.
01 e0 e1 if the command was ok.
01 e1 e2 if the command was not ok (timeout, checksum, wrong command, too long, ...)
On 12 Mar 2024, at 17.48, Simon Ruetz <simonr...@gmail.com> wrote:
Thanks for the video.
I think I saw this a long time ago, but I can't remember of the part of disassembling the code.I checked the Hex code for the "Single Step (F5)" of the original software tool and the hex code 02 02 01 05 in this thread. And there are exactly the same.I also checked the UART levels and they should be ok.
So I don`t understand what I'm doing wrong?
<UART.png>
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/1b9933d6-8a84-4240-8937-e948b71aa6dbn%40googlegroups.com.
<UART.png>