Documentation

TCP/IP Password
If this option is enabled in the Http configuration page then a password will be required to be entered before relay
states can be changed. In the following example the password was set to "apple":
0x79 - 1st byte in frame sent to ETH008-B to indicate password entry
'a' (0x61) - 2nd byte in frame (ASCII hex equivalent in brackets, http://www.asciitable.com/)
'p' (0x70) - 3rd byte in frame
'p' (0x70) - 4th byte in frame
'l' (0x6C) - 5th byte in frame
'e' (0x65) - 6th byte in frame
These 6 bytes are then transmitted in the same transaction to the ETH008-B and if the password is correct then 1 will
transmitted back, a failure will send 2. The board will now accept changes from the device that entered the password. If
communication becomes idle for more than 30 seconds then the password protection is re-enabled. There is also a log-
out command of 0x7B to enable the protection immediately.
Get Unlock Time
Returns TCP/IP password protection status:
0 - password protection is enabled and password entry is required before changes can be made
1-30 - seconds until TCP/IP password protection is re-enabled. All authorized commands set the timer back to 30
seconds (including this one).
255 - TCP/IP password is not enabled.
ASCII text commands DOA and DOI
Following customer request we have added a feature that allows the outputs to be switched using an ASCII string,
devices like a Mobotix camera can now switch relays with simple strings. The string for activating output1 for 5
seconds is formatted using comma separated variables with the following syntax:
":DOA,1,50,password"
To break this down ":" (0x3A) at the start of the string indicates that there is an ASCII message to follow, "DOA" is
digital output active, "1" is the output number, then "50" for 5 seconds (50 * 100ms) and finally the TCP password (if
applicable).
If I wanted to make output 2 inactive for 3 seconds I would use:
":DOI,2,30,password"
To break this down ":" (0x3A) at the start of the string indicates that there is an ASCII message to follow, "DOI" is
digital output inactive, "2" is the output number, then "30" for 3 seconds (30 * 100ms) and finally the TCP password (if
applicable). Assuming no password is used the previous command would simply be:
":DOI,2,30 "
© Devantech Ltd 06/10/21 ETH008-B Documentation 7/11