KROHNE ALTOSONIC V Modbus EN User Manual
Page 62
ALTOSONIC V
ModBus Manual 0300 rev07 E
7.30855.35.00
Page 62 of 64
9.4
Appendix D: Coms0300.dat
File example as used by Altosonic-V system
-----------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: COMS0300.DAT
-----------------------------------------------------------------------------------------------------------------------------------------------------------
01 [UFC500 COMMUNICATION SETUP]
01.01 UFC_UART_BASEADDRESS c=#3E8
//COM1=0x3F8, COM2=0x2F8
//COM3=0x3E8, COM4=0x2E8
01.02 UFC_UART_INTERRUPT
c=#4
//3, 4: IRQ3=COM2/4, IRQ4=COM1/3
01.03 UFC_UART_BAUDRATE
c=#28800
//DO NOT CHANGE !
01.04 UFC_UART_RTS_MODE
c=#0
//ENABLE TRANSMITTER WITH LOGICAL 0 OR 1
-----------------------------------------------------------------------------------------------------------------------------------------------------------
02 [PRINTER COMMUNICATION SETUP]
02.01 PRINTER_COMPORT
c=#1
//1, 2, 3, 4
02.02 PRINTER_WORD_LENGTH c=#7
//7, 8
02.03 PRINTER_PARITY
c=#2
//0=disabled, 1=odd, 2=even
02.04 PRINTER_STOP_BITS
c=#1
//1, 2
02.05 PRINTER_BAUDRATE
c=#9600
//38400, 19200, 9600, 4800, 2400, 1800
//1200, 600, 300, 200, 150, 134.5, 110, 75
02.06 PRINTER_DTR_POLARITY
c=#1
//0=pos, 1=neg
02.07 PRINTER_RTS_POLARITY
c=#1
//0=pos, 1=neg
02.08 PRINTER_TIMEOUT
c=#5000
//Timeout [ms] on acknowledges etc.
02.09 PRINTER_TIMEOUT_MANAGE c=#30
//Timeout [ s] for print management switch
-----------------------------------------------------------------------------------------------------------------------------------------------------------
03 [MODBUS COMMUNICATION SETUP]
03.01 MODBUS_UART_BASEADDRESS =#2E8
//COM1=0x3F8, COM2=0x2F8
//COM3=0x3E8, COM4=0x2E8
03.02 MODBUS_UART_INTERRUPT =#3
//3, 4: (RQ3=COM2/4, IRQ4=COM1/3
03.03 MODBUS_UART_BAUDRATE =#19200
//1200, 2400, 4800, 9600, 19200
03.04 MODBUS_UART_RTS_MODE =#0
//0, 1: ENABLE TRANSMITTER LOGICAL 0 OR 1
03.05 MODBUS_UART_N_DATABITS =#8
//7, 8: NUMBER OF DATABITS
03.06 MODBUS_UART_N_STOPBITS =#1
//1, 2: NUMBER OF STOPBITS
03.07 MODBUS_UART_PARITY =#0
//0..2: PARITY 0=NONE, 1=ODD, 2=EVEN
03.08 MODBUS_UART_HALF_DUPLEX=#0
//0, 1: 0=FULL_DUPLEX, 1=HALF DUPLEX
03.09 MODBUS_TRANSFER_MODE =#1
//0, 1: 0=ASCII, 1=RTU
-----------------------------------------------------------------------------------------------------------------------------------------------------------
04 [SYSTEM CHECK]
04.01 DISPLAY_SYSTEM_INTERR. =#1
//0, 1: 0=NO, 1=YES
04.02 LOG_RECEIVED_DATA
=#0
//0..10240: 0=NO to 10240 KB
-----------------------------------------------------------------------------------------------------------------------------------------------------------
05 [MODBUS TYPE DEFINITION]
05.01 MODBUS_DEVICE_TYPE =#1
//1, 2: 1=SLAVE, 2=MASTER
05.02 MODBUS_MODICON_COMPAT =#0
//0, 1: 0=NOT MODICON COMPATIBLE,
//1=MODICON COMPATIBLE
05.03 MODBUS_SLAVE_ID
=#1
//0.. 247
05.04 FLAG_HOLD_TIME
=#90
//N * 35 ms flag hold time.
05.05 TIME_OUT_ON_READIN
=#10
//TIMEOUT in N seconds for New value input
05.06 TIME_CORRECTION_MODBUS =#1
//Update system time through modbus
//0=disable, 1=enable
-----------------------------------------------------------------------------------------------------------------------------------------------------------
06 [MODBUS SLAVE ADDRES DEFINITION]
STARTREGISTERS:
06.01 DATAFIELD 1
=#1000
//R boolean
ACCESS MODE 1
=#0
//0, 1: 0=NORMAL, 1=REVERSED DATATYPE
06.02 DATAFIELD 2
=#2000
//RW boolean
ACCESS MODE 2
=#0
//0, 1: 0=NORMAL, 1=REVERSED DATATYPE
06.03 DATAFIELD 3
=#3000
//R integer
ACCESS MODE 3
=#0
//0, 1: 0=NORMAL, 1=REVERSED DATATYPE
06.04 DATAFIELD 4
=#5000
//R long integer
ACCESS MODE 4
=#0
//0, 1: 0=NORMAL, 1=REVERSED DATATYPE
06.05 DATAFIELD 5
=#7000
//R float
ACCESS MODE 5
=#0
//0, 1: 0=NORMAL, 1=REVERSED DATATYPE
06.06 DATAFIELD 6
=#6000
//R double
ACCESS MODE 6
=#0
//0, 1: 0=NORMAL, 1=REVERSED DATATYPE
06.07 DATAFIELD 7
=#7500
//RW float