How to send Modbus Control commands to slave devices via TrackSo Data Logger
1) Below guide is only applicable for following Data Logger Model No.s-WT805 MI (discontinued), WT405M, WT400M, WT410M, WT420M
2) Only method of sending command and getting response to the logger is via SMS and hence you require a simcard with facility to recieve and send SMS
3) It should be used only in applications where response time is not of very much consideration.
4) User needs to have basic understanding of what is Modbus & how Modbus works before using these commands. Sending wrong commands can trigger wrong actions on the salve end.
Modbus commands can be executed by sending them in following sms command
*2222#<DEVCMD: MBCMD=XXXXXXXXXXXXXXXX >
where XXXXXXXXXXXXXXXX is modbus command which you wish to send with CRC modified to 0000
Note: SMS command is case sensitive
Some FAQ’s
1) On which number i should send these SMS commands ? – On the simcard which is present in the Data Logger. Data logger only pass on the modbus command by appending with right CRC code and get it executed on Modbus and reply you with the Modbus Response.
2) What happens when SMS is not delivered ? – If SMS is not delivered then command has not reached the Data Logger.
3) I have sent the Modbus command but didnt get intended action performed– Data Logger only send and share response of the Modbus Commands sent by you. Final execution depends on the Slave. Interpret the Modbus Response and find what slave has to inform or confirm.
4) I dont know how to write a Modbus Command- If you wish to send any control commands then its a must to first Learn what is Modbus and how to create Modbus command. We suggest not to use Control functionality until and unless you know whats Modbus and how it functions. Invest time in learning about Modbus and getting comfortable with it before using these.
Sample Commands & Examples
Below accordions contains some sample commands and responses to make you understand the Modbus Commands exectuion via SMS. You can similary execute any modbus command via sending it via SMS.
Sungrow PV Inverter SG50KTL-M Start/Stop Command
Below command was tested on SG50KTL-M. Kindly verify with the modbus sheet before exectuing on any Sungrow PV Inverter.
Sungrow PV Inverter Sample register for Modbus Control/Write Command Testing
SMS Command to STOP |
*2222#<DEVCMD: MBCMD=0106138D00CE0000 > where |
Response-1 confirming command is being executed | WT GW-MODBUS |
Respons-2 Response from Slave | REPLY: 0106138D00CE9CF1 |
Command to START |
*2222#<DEVCMD: MBCMD=0106138D00CF0000 > where |
Response-1 confirming command is being executed | WT GW-MODBUS |
Respons-2 Response from Slave | REPLY: 0106138D00CF5D31 |
Below is the sample testing of the same :
Delta RPI Series PV Inverter Power Control
Below command was tested on Delta M70A_260 Kindly verify with the modbus sheet before exectuing on any Delta RPI Series
Delta RPI Series Sample register for Modbus Control/Write Command Testing
Command to enable Power Control |
*2222#<DEVCMD: MBCMD=0106BD7F00010000 > where |
Response-1 confirming command is being executed | WT GW-MODBUS |
Respons-2 Response from Slave | REPLY: 0106BD7F00015DBE |
Command to set power output to 0% of rated capacity |
*2222#<DEVCMD: MBCMD=0106BD8000000000 > where |
Response-1 confirming command is being executed | WT GW-MODBUS |
Respons-2 Response from Slave | REPLY: 0106BD800000AC4E |
Command to set power output to 100% of rated capacity |
*2222#<DEVCMD: MBCMD=0106BD8000640000 > where |
Response-1 confirming command is being executed | WT GW-MODBUS |
Respons-2 Response from Slave | REPLY: 0106BD800064ADA5 |
Below is the sample testing of the same :
SMA Solid Q50-60 PV Inverter Power Control
SMS Command to STOP |
*2222#<DEVCMD: MBCMD=030613A500000000 > where |
Response-1 confirming command is being executed | WT GW-MODBUS |
Respons-2 Response from Slave | REPLY: 030613A500009CBF |
Command to START |
*2222#<DEVCMD: MBCMD=030613A500640000 > where |
Response-1 confirming command is being executed | WT GW-MODBUS |
Respons-2 Response from Slave | REPLY: 030613A500649D 64 |
Crompton Drive Start/Stop Commands
Crompton VFD Sample register for Modbus Control/Write Command Testing
Command to Stop |
*2222#<DEVCMD: MBCMD=0106200000050000 > 01- Slave Id |
Response-1 confirming command is being executed | WT GW-MODBUS |
Respons-2 Response from Slave | REPLY: 0106200000054209 |
Command to Start |
*2222#<DEVCMD: MBCMD=0106200000010000 > 01- Slave Id
|
Response-1 confirming command is being executed | WT GW-MODBUS |
Respons-2 Response from Slave | REPLY: 01062000000143CA |
Fuji Drive Start/Stop Commands
FUJI VFD Sample register for Modbus Control/Write Command Testing
Group | Address (in Dec) | |
1..Vfd ON/OFF Command | S06 | 41799 |
Command to Stop |
*2222#<DEVCMD:MBCMD=0106070600000000> 01- Slave Id |
Response-1 confirming command is being executed | WT GW-MODBUS |
Respons-2 Response from Slave | REPLY: 01060706000068BF |
Command to Start |
*2222#<DEVCMD:MBCMD=0106070600010000> 01- Slave Id |
Response-1 confirming command is being executed | WT GW-MODBUS |
Respons-2 Response from Slave | REPLY: 010607060001A97F |