WebRelay Users Manual
3.1.4.3Standard or Automatic Reboot Mode..........................................................................................45
3.1.5 Control Page Setup (When Relay Mode is set to Standard).............................................................49
3.1.6 Control Page Setup (When Relay Mode is set to Automatic Reboot)...............................................52
Section 4: Control Page..................................................................................................................................... 55
4.1 Browser Operation (Standard Relay Mode)........................................................................................ 55
4.2 Browser Operation (Automatic Reboot Relay Mode).........................................................................57
Section 5: Auxiliary Operations......................................................................................................................... 59
5.1 XML......................................................................................................................................................... 59
5.1.1 state.xml........................................................................................................................................... 59
5.1.2 XML Control...................................................................................................................................... 60
5.1.3 Message Acknowledgment ............................................................................................................. 61
5.2 HTTP GET Requests (for custom applications)..................................................................................62
5.2.1 Using GET for Control and Monitoring.............................................................................................. 62
No Password..................................................................................................................................... 62
Password Enabled............................................................................................................................. 62
5.3 Modbus/TCP.......................................................................................................................................... 63
5.3.1 WebRelay Function Code Summary................................................................................................. 63
5.3.2 PLC Device Addressing.................................................................................................................... 63
5.3.3 WebRelay Full Address Table.......................................................................................................... 64
5.3.4 Read Coils - Modbus Function Code 01 (0x01)................................................................................65
Request............................................................................................................................................. 65
Response.......................................................................................................................................... 65
Errors................................................................................................................................................. 65
5.3.5 Read Discrete Inputs – Modbus Function Code 02 (0x02)...............................................................66
Request............................................................................................................................................. 66
Response.......................................................................................................................................... 66
Errors................................................................................................................................................. 66
5.3.6 Write Single Coil – Modbus Function Code 05 (0x05)......................................................................67
Request............................................................................................................................................. 67
Response.......................................................................................................................................... 67
Errors................................................................................................................................................. 67
5.3.7 Write Multiple Registers – Modbus Function Code 16 (0x10)...........................................................68
Request (set pulse time).................................................................................................................... 68
Response.......................................................................................................................................... 68
Errors................................................................................................................................................. 68
Appendix A: Restoring Factory Default Settings.............................................................................................69
Appendix B: Installing New Firmware............................................................................................................... 70
Appendix C: Accessing the WebRelay Over the Internet................................................................................72
IP Addresses......................................................................................................................................... 72
A Simple Local Area Network................................................................................................................72
A Simple LAN connected to the Internet................................................................................................73
Port Forwarding..................................................................................................................................... 73
Accessing Setup Pages......................................................................................................................... 74
Appendix D: Specifications............................................................................................................................... 75
Appendix E: Trademark and Copyright Information........................................................................................78
Appendix F: Warranty......................................................................................................................................... 79
Appendix G: FCC Statement.............................................................................................................................. 80
Page 4 Xytronix Research & Design, Inc.