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
- L = low-to-high endian
- D = a high byte is stored in an int16
- 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
bit:
I0.0
I0.1
O1.0
O1.2
F2.1
F2.2
T3.3
T3.4
C4.5
C4.6
DB1.DBW10.1
DB2.DBW1.15
int16/uint16:
I0
I1
O2
O3
F4
F5
T6
T7
C8
C9
DB10.DBW10
DB12.DBW10
int32/uint32/float/double:
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
bit:
X0
X1
Y0
Y1
int16/uint16/int32/uint32/float/double:
D100
D1000
string:
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 address1.1.1
that is a member of the group address0/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 |