Version 1.0
PN: 2042-8198
Page 32 of 75
DN: 10-32813
Setup.csv
Open the file “
nor:\
Setup.csv” at the root of the
NOR FLASH drive. This is the first file read by the RMA
PLUS out of reset. Each line is a record
–
a key, value pair. The key is a string value that is not case-
sensitive, but must match a key string in the firmware or it is disregarded. The data type of the key
value depends on the key
–
most are strings, some are integers. See the section
about each key. The order of the records in the file is not important.
The following is the default configuration for this file:
Key
Value
EventLog
ram:\EventLog.txt
SysCfg
nor:\Gateway\SysCfg.csv
ModbusTCP
nor:\Gateway\ModbusTcp.csv
ModbusRtu6
nor:\Gateway\ModbusRtu6.csv
ModbusRtu7
nor:\Gateway\ModbusRtu7.csv
UART7
0
DataLog
nor:\Gateway\DataLog.csv
LogIntervalSec
5
Figure 28 - Setup.csv default configuration
Working with Files
Features like data logging, Modbus® TCP, Modbus® RTU, etc. are configured via files on the drives.
Configuration files are comma separated variable (*.csv) files. Microsoft® Excel® will open these files
directly. It is the most efficient way to work with files and is associated with this file type by default.
The format for all files is similar. Each line in the file (row) constitutes a record. Records are terminated
by a new line (CRLF). Record elements are separated by commas (not shown in this example as it is
captured from Excel®). Header rows (shown below in grey) and empty rows are ignored by the parser.
Field bus or application information (in this case Modbus® TCP / RTU register) is defined in the first
column. The bus number follows and dictates how the remainder of the record is parsed. Busses 1 and
2 (shown below in green) are both Watbus records and have the same format. Busses 4 and 5 (shown
below in blue) are both Modbus® RTU records and have the same format. Bus 0 records are ignored by
the parser to disable a record without deleting it.
Any trailing information is disregarded by the parser, but may be included for user documentation.
Register
Bus
Segment
Zone
Class
Instance
Member
Refresh Count
0
0
0
0
1
1
1
0
DEV 1 Hardware ID
2
1
0
1
1
1
1
0
DEV 1 Hardware ID
4
2
4
1
1
1
1
0
DEV 1 Hardware ID
Register
Bus
Address
RTU Register
Representation
6
4
1
0
6
DEV 1 Hardware ID
8
5
1
0
6
DEV 1 Hardware ID
Figure 29 - Field bus gateway record format
Содержание RMA PLUS RMAP-2A Series
Страница 1: ...Version 1 0 PN 2042 8198 Page 1 of 75 DN 10 32813 RMA PLUS User Manual...
Страница 8: ...Version 1 0 PN 2042 8198 Page 8 of 75 DN 10 32813...
Страница 11: ...Version 1 0 PN 2042 8198 Page 11 of 75 DN 10 32813 Figure 3 Ground Wire Location...
Страница 24: ...Version 1 0 PN 2042 8198 Page 24 of 75 DN 10 32813 Figure 20 RMA PLUS via USBD Eject start selected drive...
Страница 26: ...Version 1 0 PN 2042 8198 Page 26 of 75 DN 10 32813 Figure 22 RMA PLUS via USBD MICRO SD root...
Страница 27: ...Version 1 0 PN 2042 8198 Page 27 of 75 DN 10 32813 Figure 23 RMA PLUS via USBD NOR FLASH root...
Страница 29: ...Version 1 0 PN 2042 8198 Page 29 of 75 DN 10 32813 Figure 25 RMA PLUS via USBD Eject stop selected drive...
Страница 42: ...Version 1 0 PN 2042 8198 Page 42 of 75 DN 10 32813 Figure 37 Default web page Index html...
Страница 75: ...Version 1 0 PN 2042 8198 Page 75 of 75 DN 10 32813...