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
Start, Length
68,Le Le,68
Control
73|53
Address
FE
Control
Information
51
Write param in
540
0F,01, BLOCK
LVAR
Check Sum
cs
Stop
16
Symbols
‡ 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.
For counter 1
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 0C 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 ch10 ch11 ch12 ch13 ch14 ch15 ch16
ch17 ch18 ch19 ch20 ch21 ch22 ch23
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
Us
er
dat
a
Stuctured write telegram
§
En
d
Comment
St
ar
t
Send user data to slave
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".
BL
O
CK A
BL
O
CK B
BL
O
CK C
init. value (unsigned int)
Содержание Supercom 636
Страница 35: ...Manual Supercom 636 R W rev 010312 35 CD ...