16-way Switch Input Photoelectric Isolation 485 MODBUS Protocol Supports Common anode and Common cathode NPNPNP input

16-way Switch Input Photoelectric Isolation 485 MODBUS Protocol Supports Common anode and Common cathode NPNPNP input

Price:   $35.85

  • Model: ic0A537
  • Shipping Weight: 0.2kg
  • 9999 Units in Stock

(0 reviews)
(complete orders today,deliverd around 25/04/2025)
  • Shipping time
    Shipping Worldwide.About 5-15 days.
  • means of transportation
    EMS,DHL,FEDEX,HK Post
  • Payment
    Paypal,T T,
  • Email us
    [email protected]
  • New Products
    SEEBECK thermoelectric generator TEG1-17 10*10mm
    $17.86
    Thermal resistance 16-channel PT100 temperature acquisition module to isolation 485 MODBUS RTU
    $168.18
    50pcs Xhorse XEDS01EN VVDI XE Series Super Remote XT27A01 XT27A66 Chip for VVDI2VVDI Key Tool Max VVDI MINI Key Tool
    $670.00
    1286 inch photolithography wafer circuit chip semiconductor wafer silicon wafer display teaching and research display
    $160.00
    • Details
    • Reviews
    • Tags
    • FAQ
    Type:Logic ICs
    Condition:New

    Basic functions:Support standard MODBUS devices such as text, touch screen, PLC, etc.

    • 24-way switching input (12V, 24V)Photoelectric isolation,Support NPN and PNP input
    • 1-way standard 485 communication port,Photoelectric isolation(Supporting modbus-RTU protocol free port communication protocol)

    Code Function Support Function Code:

    Function codeDefinitionOperations (binary)
    0x02Read switch inputRead one or more switch state input data
    0x01Read switch outputRead one or more switch output status data
    0x030x04Read register dataRead data from one or more registers
    0x050X0FWrite switch outputWrite multiple switchesControl all the wayRelay"Hop / sub" output
    0x06Write single path registerWrite a set of binary data into a single register
    0x10Write multiplexer registerWrite multiple sets of binary data into multiple registers

    **************************************************************************************************************

    The default configuration is as follows:

    MODBUS address1

    Baud rate: 96008Bit data bits1 bit stop bits
    No check10001-10016 16 switch input**********************************************

    Read analog input (0x04)

    Host sends:Addr 04 regH regL NumH numL crcH crcL

    From the machine back:Addr 04 len d0H d0L...DnH dnL crcH crcL

    Interpretation: Register address from0Start counting.numH numLRepresents the number of routes of the analog quantity to be read. This card has 5 analog input channels.10bitADCEach analog takes up two bytes of data. For example, to read the2Lu He3The register address is0001The number of registers is0002 For example, to read all analog quantities1Lu Zhi di8The address of the register is uuuuuuuuuuuuu0000The number of registers is0008 Return data0-0x3FFRepresents the collected analog quantities, such as analog quantities.0-20mAThe data read are18CThe decimal number is396So the current value isI = 20mA*396/1023 = 7.742mA Sensors are generally4-20mAIf the reading value is less than4mAThe connection line is faulty.

    Example: read the first1Lu Zhi di8Road analogue

    Host sends:01 04 00 00 08 F1 CC

    From the machine back:0104 0C d0H d0L...D5H d5L crcH crcL

    -Analog quantityInput and outputVC source code(clear notes):// Read the status of a single register
    //ip_Addr slave MODBUS address
    //data_Addr Data Storage Register Address
    UInt16 readBUF (byte ip_Addr, UInt16 data_Addr)
    {
    UInt16 crc; //check value
    Byte [] MSG = new byte [8]; // instruction array

    MSG [0] = ip_Addr; //slave address
    MSG [1] = 0x04; // Read a single register
    MSG [2] = byte (data_Addr > 8); high bit of // register address
    MSG [3]= (byte) data_Addr; low bit // register address
    MSG [4] = 0x00; high bit of data length to read
    MSG [5] = 0x01; the base length of the data to be read
    CRC = CRC16 (msg, 6);
    MSG [6] = byte (crc > 8); 8 digits higher in // check
    MSG [7] = (byte) crc; //check low 8 bits

    Comm.Write(msg); //Send Read Request Zheng

    Receive_A_Frame(); //Receive the Zhen reply signal

    // Add here: Judge the received data
    }

    ...More source code, please contact the seller after buying.