I use an excel spreadsheet to talk to my PLC using a data serever... my plc will only allow 4 digit decimal numbers because they are converted to BCD (4 numbers = 16 bits the plc max)... I can change the PLC to use Binary instead of BCD so I can count numbers past 9999... so my question is can I pull a number off my data server to a cell in excel and then convert that 1 cell from binary to decimal... I have linked the binary cell to the memory location on the plc... and it gives me back a number like 3420 instead of binary 0010111000100000 which is equivelent to Decimal 11808... the function I use to talk to the PLC is =DSData|Times!'v21022:b'... with v21022 being the memory location on my plc... and b being a dataserver function...
Thanks in advance
just for fun I converted 3420 from octal to decimal and it gave me 1808 coincidence?
Bookmarks