This is an illustration of what can be done with modbus tcp device. The AlarmM has support for the Modbus TCP and IO digital and analog state can be monitored and trigger. More than that it can also be combined with all the functionalites of a smartphone. This page is specifally showing configuration for the modbus TCP but everything described in previous chapter such as automatic phone call, automatic SMS, automatic e-mail, automatic grabbing picture on network camera, automatic logging, automatic ring tone, etc, can be achieved with a Modbus TCP device exactly the same way. Below is only a few example of the AlamrM application capabilities.
The AlarmM application has the capacity of automatically discovered the Modbus TCP devices. Start adress and maximum number of registers can be manually adjusted. Several configuration can run for the same modbus device but the Android application will consume only one socket connection. AlarmM is supporting every kind of endian and can read 16 bits or 32 bits register. AlarmM is supporting modbus gateway in order to connect up to 247 modbus devices on the same IP adress.
All the basic functionallities of the AlarmM such as Normally open or closed are applying the the modbus too. The configuration of the device is following exactly the same principe describe in the tutorial page. Any IO of one particular Modbus device can be programmed to trigger one or more output to one or more other Modbus device. Modbus device can be on completly different network. Information can be logged in the standard android messaging application. Automatic switching of output register can have individual timing and auto reset setup.
AlarmM application is running as a background task. It will monitor the devices even if the smartephone is sleeping. Every IO can have it's own customize format. Every Analog IO can have it's own trigger level and scaling. Button can be programmed through a human machin interface to trigger digital and analog register. A single button click can trigger several registers a the same time even if they are on different network.
All the menu are interactive. The video on the right side show how easy it is to setup a Modbus TCP device.
AlarmM has a predefined Brand "ModBus TCP". The model "000" will fit most of the case but the application is supporting up to 247 gateway.
Only a few field are nescessary to get the device configured. The Local IP address is the one attribute by the DHCP of the router, port must be the same than the modbus configuration (usually 502). Global IP is only used if the smartephone is on an unknown wifi network.
Every configuration can contain zero or more Coil Outputs, Digital Inputs, Analogue Inputs,Holding registers. Every kind of register can have an address offset value. The same modbus device can be used in different configuration.
Once the event have been configured, they can be used in the alarm system to send automatically email, sms, call and also grab a picture on any IP camera on the network. The trigger event of a modbus device can be link to a camera in order to grab picture.