Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by syenidogan

  1. S

    [SOLVED] Serial Communication not working without not gates

    Could u please sent the library And model files for max 232 for proteus. İ have one but its sayin for all the pins of max232 not modeled when i rün a simulatiion
  2. S

    modbus functions naming

    Read Coil Status (FC=01) Request This command is requesting the ON/OFF status of discrete coils # 20 to 56 from the slave device with address 17. 11 01 0013 0025 0E84 11: The Slave Address (17 = 11 hex) 01: The Function Code (read Coil Status) 0013: The Data Address of the first coil to read...
  3. S

    modbus functions naming

    Read Coil Status (FC=01) 0A 01 04A1 0001 AC63 0A: The Slave Address (10 = 0A hex) 01: The Function Code (read Coil Status) 04A1: The Data Address of the first coil to read. (Coil 1186 - 1 = 1185 = 04A1 hex) 0001: The total number of coils requested. AC63: The CRC (cyclic redundancy check) for...
  4. S

    [SOLVED] basic question about c

    in order to execute if condition above.
  5. S

    [SOLVED] basic question about c

    Thanx for all replies
  6. S

    [SOLVED] basic question about c

    X!=5. Here if x is 5 this gives false otherwise it gives true. ?
  7. S

    [SOLVED] basic question about c

    confused!!!! :(( - - - Updated - - - just tell me which values should be in buffer[1] and buffer[6] if my counter is 15 to do execute return? if ((buffer[1] == 16)&(((unsigned int) buffer[6] + 9)!=counter)) return 2 ; buffer[1]=0x10 and buffer[6] different than 0x06 ?
  8. S

    [SOLVED] basic question about c

    this means that (buffer[1]==16) if it gives zero and (((unsigned int) buffer[6] + 9)!=counter) if this also gives zero then if do & i will get zero but if i do && i will get 1 ?
  9. S

    [SOLVED] basic question about c

    if ((buffer[1] == 16)&(((unsigned int) buffer[6] + 9)!=counter)) is it the same thing if ((buffer[1] == 16)&&(((unsigned int) buffer[6] + 9)!=counter)) if not which one is correct? if both of them correct what is the difference?
  10. S

    [SOLVED] basic question about c

    buffer is unsigned char and counter is unsigned int
  11. S

    [SOLVED] basic question about c

    if ((buffer[1] == 16)&(((unsigned int) buffer[6] + 9)!=counter)) (buffer[1]==16) gives one bit result 1 or 0 (((unsigned int) buffer[6] + 9)!=counter) gives one bit result 1 or 0 then and (&) these two values and see if it is 1 or zero ? is this correct ...
  12. S

    [General] CRC function in Modbus protocol

    unsigned int modbuscrc(unsigned char *buf,int len) { unsigned int crc = 0xffff; int pos; for (pos = 0; pos < len; pos++) { crc ^= (unsigned int)buf[pos]; // XOR byte into least sig. byte of crc for (int i = 8; i>0; i--) { // Loop over each bit...
  13. S

    Need help finding a I2C chip

    you are using 2 pins and with two pins you can do 4 state. so what is the idea using extra compenent to do the same thing ?
  14. S

    How to design 20A 48V MPPT solar charger

    In my opinion the important think is matching the battery voltages times charge currents must be bigger than your solar panel can produce. if so you have achieved mppt. for example you have 12 volt battery and its capacity is lets say 20Ah. so you have to charge it with 14 volt and max 2 A...
  15. S

    program memory usage need help

    after plus 1 it is showing minus, like -1.115 :) nbut i have make some corrections. i think you overlooked the errors. LongToStr((int)(-Value), String); this line corrected like this. sLongToStr((int)(Value), String); and ty again. you are so helpfull.

Part and Inventory Search

Back
Top