EasyManua.ls Logo

MC Technologies MC100 - Json Configuration File

MC Technologies MC100
72 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.
Description
type
Type of mapping used.
file: Contents of a file are mapped.
exe: Execute a command
address
ModBus Address used to be called by master device.
num_addresses
Number of registers used to map the file. [Default 1]
1 : 16-bit integer
2 : 32-bit integer
register
True: read / write a 16-bit integer
False: read / write 1 or 0 [Default]
Output
True: write
False: Read [Default]
filename
Path to the Input / Output file.
isfloat
True, if the input/output is float. [Default False]
factor
Factor used to transform float to integer. [Default 1]
MinValue
Minimum input value
MaxValue
Maximum input value
Command
Command to be executed. (Only when Type is exe)

Table of Contents

Related product manuals