53
11.5. Module's Status format
Status frame of MT-30x module is a sequence of four 16 bit registers from internal registers
space (read command 03H, write 06H or 10H).
0x03E4 Inputs
space
I8…I1 AN1_LOLO...AN2_HIHI
0x03E5 Outputs space
0
Q2, Q1
0x03E6
AN1 input (copy of Input Register
0x0004)
16 bit value
0x03E7 AN2 input (copy of Input Register
0x0005)
16 bit value
A call upon this coherent area in memory gives optimal access to all physical inputs/outputs
of MT-30x.
The same area is used for status sending.
SMS length and status may not exceed 160 characters. If longer, the text is truncated and
complete status is sent .
<message text>
<module status>
<time stamp>
where status is:
I8…I1=00000110
Q1,Q2=00000001
AN1=143
AN2=1780
Binary values are represented bitwise.
Analogue values are represented in engineering units
11.6. Trigger inputs
During operation, the internal system of
MT-30x
module creates a number of variables
related to its inputs/outputs and to module diagnostics. Triggering inputs and triggering
flags in conjunction with rules processing enable instantaneous reaction in occurring states.
User has access to following triggering inputs:
Input Descri
ption
I1...I8
binary inputs I1...I8
Q1,Q2
binary outputs Q1...Q2
A1, A2
analog inputs A1, A2
FS1_ups
= 1, main power source loss - switching to battery
FS1_gprs
= 1, information of logging out of GPRS network
A3_MUX…A8_MUX
analog input obtained as a result of the use of multiplexer
TMR1,TMR2
flags from clocks TMR1,TMR2
11.7. Flags
During the operation, the inner system of the
MT-30x
module sets several binary flags
(with the values True or False), which enable the triggering of rules and the remote
diagnostics of the module.