Application And Driver Instructions

    • If you want to use the word data type, please select uint16 in Neuron’s datat type
    • If you want to use the dword data type, please select uint32 in Neuron’s datat type

    Common Address Format Option

    Common options supported by each driver’s address format.

    # endian

    . [bit][len[H][L][D][E]] bit operation or string len

    1. - L = low-to-high endian
    2. - D = a high byte is stored in an int16
    3. - E = a low byte is stored in an int16

    MQTT

    The data collected from the device can be transmitted to the mqtt broker through mqtt application, and instructions can be sent to neuron throuth mqtt application.

    client-id is mqtt client id.

    ssl enable mqtt ssl, default false.

    host is mqtt broker host.

    port is mqtt broker port.

    username is the user used when connecting to the broker.

    password is the password used when connecting to the broker.

    ca-path is ca path.

    ca-file is ca file.

    The modbus protocol includes three drivers: modbus RTU, modbus tcp, and modbus RTU over TCP.

    Support Data Type

    • INT16
    • INT32
    • UINT16
    • UINT32
    • FLOAT
    • BIT
    • STRING

    Parameter Setting

    connection mode: The way the driver connects to the device, the default is client, which means that the neuron driver is used as the client.

    host:When neuron is used as a client, host means the ip of the remote device. When used as a server, it means the ip used by neuron locally, and 0.0.0.0 can be filled in by default.

    port: When neuron is used as client, port means the tcp port of the remote device. When used as a server, it means the tcp port used by neuron locally. default 502.

    Address Format

    SLAVE is slave id.

    ADDRESS is the register address.

    DATA TYPE AREA ATTRIBUTE
    uint16/int16 input register\hold register input register(r), hold register(w)
    uint32/int32/float input register\hold register input register(r), hold register(w)
    bit all area input(r), coil(rw), input register(r), hold register(w)
    string input register\hold register input register(r), hold register(w)

    example

    example: function is 0x3, and register address is 0, then address used by neuron is 400001.

    OPC UA

    Support Data Type

    • BYTE
    • INT16
    • INT32
    • INT64
    • UINT8
    • UINT16
    • UINT32
    • UINT64
    • FLOAT
    • DOUBLE
    • BOOL
    • BIT
    • STRING

    Parameter Setting

    endpoint url is the address of the remote access plc, the default value is opc.tcp://127.0.0.1:4840/ .

    username is the user used when connecting to plc.

    password is the password used when connecting to plc.

    cert-file is the certificate to provide login user authentication.

    key-file is the private key to provide signature and encrypted transmission.s

    Addresses Format

    IX!NODEID

    IX is the namespace index.

    NODEID is the node id.

    example:

    • 2!Device1.Module1.Tag1 represents namespace index is 2 and node ID is Device1.Module1.Tag

    ! Please refer to OPC UA standard for the explanation of namespace index and node id.

    Siemens S7 ISOTCP

    The s7comm plugin is used for Siemens PLCs with network port, such as s7-200/300/400/1200/1500.

    Support Data Type

    • INT16
    • UINT16
    • INT32
    • UINT32
    • FLOAT
    • DOUBLE
    • BIT
    • STRING

    host is remote plc ip.

    ip is remote plc port, default 102.

    rack plc rack number, default 0.

    slot plc cpu slot, default 1.

    Address Format

    example

    1. bit:
    2. I0.0
    3. I0.1
    4. O1.0
    5. O1.2
    6. F2.1
    7. F2.2
    8. T3.3
    9. T3.4
    10. C4.5
    11. C4.6
    12. DB1.DBW10.1
    13. DB2.DBW1.15
    14. int16/uint16:
    15. I0
    16. I1
    17. O2
    18. O3
    19. F4
    20. F5
    21. T6
    22. T7
    23. C8
    24. C9
    25. DB10.DBW10
    26. DB12.DBW10
    27. int32/uint32/float/double:
    28. DB1.DBW12.20

    ! When using the S7COMM plugin to access the S7 1200/1500 PLC, you need to use Siemens software(TIA16) to make some settings for the PLC.

    • The optimized block access must be turned off.
    • The access level must be “full” and the “connection mechanism” must allow GET/PUT.

    Support Data Type

    • UINT8
    • INT8
    • INT16
    • UINT16
    • INT32
    • UINT32
    • FLOAT
    • DOUBLE
    • BIT
    • STRING

    Parameter Setting

    host is remote plc ip.

    port is remote plc port, default 9600.

    Address Format

    AREA ADDRESS[.BIT][.LEN[H][L]]

    AREA DATA TYPE ATTRIBUTE REMARK
    CIO all read/write CIO Area
    A all read Auxiliary Area
    W all read/write Work Area
    H all read/write Holding Area
    D all read/write Data Memory Area
    P int16/uint16 read/write PVs
    F int8/uint8 read Completion Flag
    EM all read/write Extended Memory

    example

    Mitsubishi MELSEC E71

    The qna3e plugin is used to access Mitsubishi’s QnA compatible PLCs via Ethernet, including Q series (MC), iQ-F series (SLMP) and iQ-L series.

    Support Data Type

    • INT16
    • UINT16
    • INT32
    • UINT32
    • FLOAT
    • DOUBLE
    • BIT
    • STRING

    Parameter Setting

    host is remote plc ip.

    ip is remote plc port, default 2000.

    Address Format

    example

    1. bit:
    2. X0
    3. X1
    4. Y0
    5. Y1
    6. int16/uint16/int32/uint32/float/double:
    7. D100
    8. D1000
    9. string:
    10. D1002.16

    IEC 60870-5-104

    • uint16
    • int16
    • float
    • bit

    Parameter Setting

    host : device ip.

    port: device port, default 2404.

    ca: common address.

    interval: station interrogation interval.

    Address Format

    IOA

    IEC 60870-5-104 TYPEID NEURON TYPE
    M_ME_NB_1、M_ME_TE_1 uint16/int16
    M_ME_NC_1、M_ME_TF_1 float
    M_SP_NA_1、M_SP_TB_1 bit
    M_ME_NA_1、M_ME_TD_1、M_ME_ND_1 uint16/int16

    Support Data Type

    • bit
    • bool
    • int8
    • uint8
    • int16
    • uint16
    • float

    Parameter Setting

    host is BACnet device ip.

    port is BACnet device port, default 47808.

    Address Format

    example:

    • 0/0/1 is a KNX group address and is write only in Neuron, KNX devices belonging to this group will react to messages sent to this group.
    • 0/0/1,1.1.1 represents a KNX individual address 1.1.1 that is a member of the group address 0/0/1, and is read only in Neuron.

    BACnet/IP

    Support Data Type

    • float
    • bit

    Address Format

    AREA[ADDRESS]

    AREA ATTRIBUTE DADA TYPE ADDRESS RANGE REMARK
    AI read float 0 - 0x3fffff analog input
    AO read/write float 0 - 0x3fffff analog output
    AV read/write float 0 - 0x3fffff analog value
    BI read bit 0 - 0x3fffff binary input
    BO read/write bit 0 - 0x3fffff binary output
    BV read/write bit 0 - 0x3fffff binary value
    MSI read bit 0 - 0x3fffff multi state input
    MSO read/write bit 0 - 0x3fffff multi state output
    MSV read/write bit 0 - 0x3fffff multi state value