MC100
Mobile programmable gateway
MC Technologies GmbH, Kabelkamp 2, 30179 Hannover, Germany
Tel: +49511 67 69 99-0, Fax: +49511 67 69 99-150, Website & Shop: www.mc-technologies.net, Email: info@mc-technologies.net
67
The address of RTD 2 on MC100 SensT2 is: {6104,6105}
Json Configuration file
Example:
{
"type": "file",
"address": 4000,
"num_addresses": 1,
"register": true,
"output": true,
"filename": "
/sys/sensor_carrier_board/adcoutputs/adcoutput/value",
"factor": 1000,
"isfloat": true,
"MinValue": 4000,
"MaxValue": 20000
},
Modbus data is most often read and written as "registers" which are 16-bit pieces of data.
If a 32-bit integer is required, these values are actually read as a pair of registers.
Type of mapping used.
file: Contents of a file are mapped.
exe: Execute a command
ModBus Address used to be called by master device.
Number of registers used to map the file. [Default 1]
1 : 16-bit integer
2 : 32-bit integer
True: read / write a 16-bit integer
False: read / write 1 or 0 [Default]
True: write
False: Read [Default]
Path to the Input / Output file.
True, if the input/output is float. [Default False]
Factor used to transform float to integer. [Default 1]
Command to be executed. (Only when Type is „exe“)