Skip to main content

Special Modbus Registers

Mikrodev Devices have MODBUS registers which you could set some special parameters. You can find these special registers in the following table. Please note that the values you set via MODBUS will be saved into retentive memory once every 5 minutes for security purposes. After setting the parameter via MODBUS, if you power off the device earlier than 5 minutes, the changes may be lost.

SHORT NAMEEXPLANATIONSMODBUS ADRESSTYPESIZE
ConfigPort;Mikrodiagram Connection TCP Port0u16_t1
ConnectionTrack;Server Timeout, Track the up sockets is alive or not1u16_t1
ConfigPlcReset;Reset the PLC when the defined seconds if there is no sokect activity over ETH or GSM2u16_t1
ConfigAinVoltage;NA3u16_t1
ConfigTempType;NA4u16_t1
ConfigPto;Configuration of Pulse Train Output Functionality. 1- Enable, 0- Disable5u16_t1
ConfigDhcp;Configuration of DHCP. 1- Enable, 0- Disable6u16_t1
ConfigCanSpeed;Configuration of CAN Extension Bus Spees. 0- 500 Kbit, 1- 250 Kbit, 2- 100 Kbit, 3- 1000 Kbit7u16_t1
ConfigCanTmo;Timeout value for CAN extensions, milisecond8u16_t1
ConfigTimeZone;Time zone,9s16_t1
ConfigGsmReset;Power Reset the integrated GSM if there is no GSM activity after defined seconds( After firmware version 15.08. Before 15.08 this value is fixed to 480 seconds)10u16_t1
ProductSubCode;Product Familiy code11u16_t1
BoardPcbVersion;PCB version number12u8_t1
VersionHighByte;Firmware Version Number, High Byteu8_t0
VersionLowByte;Firmware Version Number, High Low13u8_t1
ErrorCode;PLC Error Stateu8_t0
CsqLevel;GSM CSQ Level14u16_t1
LwipTmo;Resets the integrated ETH Phy if there is no ETH activity after defined seconds AND resets the GSM Modem if the PPP(Point to Point) connection has no activity after defined seconds.15u16_t1
Mac;MAC adress of ETH units16u32_t2
SerialNo;Serial number of the PLC18u32_t2
LocalIp;Local IP adress of the PLC over ETHERNET20u32_t2
Netmask;Subnet Mask of the PLC over ETHERNET22u32_t2
Gateway;Gateway adress of the PLC over ETHERNET24u32_t2
PowerResetCount;Keep to number of power reset counter of the device.26u32_t2
AppPlcTime;PLC Current Dat/Time28u32_t2
AppPlcRam;PLC Current RAM Usage30u32_t2
AppPlcSecret;PLC Security Info32u32_t2
ScheduleItemList[64];This is used with, ViewPLUS SCADA to control scheduling items34u32_t128
GprsName[32];GSM APN Username - must be terminated with NULL char162char16
GprsPssw[32];GSM APN Password - must be terminated with NULL char178char16
GprsPin[8];GSM PIN - Not Used Now194char4
GprsApn[64];GSM APN Name - must be terminated with NULL char198char32
MenuFbdAddress;Which of the blok values want to be seen on LCD display214u32_t2
MenuLine1[24];LCD raw 1 text - must be terminated with NULL char216char12
MenuLine2[24];LCD raw 2 text - must be terminated with NULL char228char12
E_MODCAN_DO16;16000 + 0x000
E_MODCAN_RL16;16000 + 0x080
E_MODCAN_AQ2;16000 + 0x180
E_MODCAN_DI16;16000 + 0x200
E_MODCAN_AI2;16000 + 0x280
E_MODCAN_RTD2;16000 + 0x300
E_MODCAN_DI8DQ8;16000 + 0x380
E_MODCAN_AI4AQ4;16000 + 0x400
E_MODCAN_DI8;16000 + 0x480
E_MODCAN_DQ8;16000 + 0x500
E_MODCAN_AI4;16000 + 0x580
E_MODCAN_AQ4;16000 + 0x600
E_MODCAN_T8;16000 + 0x680
E_MODCAN_LC2;16000 + 0x700
E_MODCAN_T4;16000 + 0x780
E_MODCAN_STATUS_TMO;19000
E_MODCAN_STATUS_TX;19002
E_MODCAN_STATUS_RX;19004