Manual Supercom 636 R+W rev. 010312 32
10.5 Writing the radio pulse adapter 540
Stuctured write
SND_UD (master to slave)
Field
Frame bytes in hex (Note 1) Coding
‡ Function: 0=instantaneous, 1=maximum, 2=minimum, 3=during error state
§ manufacturer specific VIFE
You must send a SND_UD separately for each BLOCK (A, B or C) and for each counter.
For example if you need to change everthing in the 4 counters, you must send 12 SND_UD.
F0 01
ID number 05 04 D0 40 lsb sb1 sb2 msb
unsigned integer (0..99999999)
Medium 05 03 D4 40 ch0 ch1 ch2 ascii char (always 3 chr complete with space ='20h')
Unit 05 05 D7 40 ch0 ch1 ch2 ch3 ch4 ascii char (always 5 chr complete with space ='20h')
Factor and initial value 05
DC 40 lsb sb1 sb2 sb3 sb4 sb5 sb6 msb lsb sb1 sb2 msb
info string 05 18 E8 40 ch0 ch1 ch2 ch3 ch4 ch5 ch6 ch7 ch8 ch9
ascii char (always 24 chr complete with space ='20h')
FF
F0 01
05 04 04 02 00 00 00 00
05 04 18 40 00 00 00 00
05 04 00 41 00 00 00 00
05 04 10 41 00 00 00 00
05 04 20 41 00 00 00 00
05 04 30 41 00 00 00 00
05 04 40 41 00 00 00 00
05 04 50 41 00 00 00 00
05 04 60 41 00 00 00 00
FF
F0 01
05 04 70 41 00 00 00 00
05 04 80 41 00 00 00 00
05 04 90 41 00 00 00 00
05 04 A0 41 00 00 00 00
05 04 B0 41 00 00 00 00
05 04 C0 41 00 00 00 00
05 04 D0 41 00 00 00 00
05 04 E0 41 00 00 00 00
05 04 F0 41 00 00 00 00
FF
If you change the factor and initial value in "BLOCK A", you must send "BLOCK B" and "BLOCK C".
factor is a float (double IEEE754)
In "BLOCK A", you can change one or more parameters (ex. only unit), but the group of parameters must be preceded with "F0 01" and ended with "FF".
init. value (unsigned int)