TTDMâNMM and - California Detection Systems
TTDMâNMM and - California Detection Systems
TTDMâNMM and - California Detection Systems
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Modbus Technical Reference<br />
Serial Port Logging State<br />
The logging state of the TTDM-NMM serial port is determined by Holding Register 40016.<br />
Holding Address Address Name/description of 16-bit value<br />
Register (decimal) (hex) (4 hexadecimal characters)<br />
40016 15 000F TTDM-NMM Serial Port Log State (numerical code)<br />
The numerical code—a decimal value from 0 to 15—selects the logging mode(s):<br />
0 = host port is passive, only receives <strong>and</strong> responds to messages (default state, <strong>and</strong> required for Modbus communications).<br />
1 = log or print events to host port as they occur (useful if connected to a serial printer rather than a Modbus host).<br />
2 = log all SIM communication strings to host port (used for remote diagnostics).<br />
4 = log TTDM-NMM time <strong>and</strong> date to host port each second.<br />
8 = enables terminal emulation mode, which logs LCD display strings <strong>and</strong> LED states to host port whenever there is a<br />
change, <strong>and</strong> accepts remote key comm<strong>and</strong>s via the host port.<br />
Note: Combinations can be selected by adding the code values together.<br />
Important: For Modbus communications to work correctly, the serial port logging state must be set to 0 (its factory default).<br />
“Coils”— Global Comm<strong>and</strong>s <strong>and</strong> Module Settings<br />
Modbus Function 01 to Read<br />
Modbus Function 05 to Write<br />
Modbus Function 15 to Block Write<br />
Coil Address Address Name/description of 8-bit value<br />
Location (decimal) (hex) (2 hexadecimal characters)<br />
00001 0 0000 Init Network (write 1 to do function per “SIM Network,” page 20)<br />
00002 1 0001 Update Network (write 1 to do function per “SIM Network,” page 20)<br />
00003 2 0002 Clear Memory (write 1 to do function)<br />
00004 3 0003 Restore Defaults (write 1 to do function)<br />
00005 4 0004 Modbus Mode (0 = ASCII, 1 = RTU; see “SIM Network,” page 20)<br />
00006 5 0005 Auto Reset (1 = Yes, 0 = No; see “Leak Setup,” page 19)<br />
00007 6 0006 Audible Alarm (1 = Yes, 0 = No; see “Leak Setup,” page 19)<br />
00008 7 0007 spare<br />
The first four “coils” make it possible to remotely launch special functions normally executed from the TTDM-NMM keypad. If executing<br />
one of these functions, ensure that the Modbus host application writes a 1 to the coil location only momentarily (i.e., that it<br />
does not repeat the write comm<strong>and</strong>). When the TTDM-NMM receives the Write 1 comm<strong>and</strong>, the function (e.g., Update Network)<br />
begins to execute, <strong>and</strong> communications may be temporarily delayed until completion of the task. Since these tasks will<br />
change/update data, associated registers should always be re-read following execution of the task.<br />
Note: These coils always send back the value “0” when read.<br />
39