Connection of the recorder to WIZCON
The function codes and parameter addresses below are for
establishing a connection between the recorder and WIZCON.
The function codes used by the driver software “VPIDC.COM”
are supported here.
Interrogation of 8 values
(with telegram SD3 and function code 04H)
is used to send a query to the recorder.
The query sent to the recorder has the following format:
SD3/DA/SA/FC/a1/a2/a3/a4/a5/a6/a7/a8/FCS/ED
|<--
L
-->|
Where:
SD3
= A2H
Start byte
DA
Destination address (bus subscriber address)
SA
Source address
FC
= 04H
Function code
a1..
..a8
Parameter addresses from Section “Parameter addres-
ses”
FCS
Test byte (Frame Check Sequence)
Sum of the hex value of the L frame without transfor-
mation for FFH
ED
= 16H
End byte (End Delimiter), code: 16H
L
Number of bytes in FCS
The addresses permitted for a1...a8 are listed in section “Para-
meter addresses”. If the same value is entered for two succes-
sive address fields, the data of the repeated address and all
following data are omitted.
The recorder answer is:
SD2 LE LEr SD2 DA SA 04H value1 value2 ... value8 FCS ED
The max. 8 values correspond to the addresses entered in the
query. Each value is represented by 16 bits. The values are
transmitted in the order High Byte / Low Byte.
Modification of 2 values
(with telegram SD3 and function code 07H)
The computer query is:
SD3/DA/SA/FC/c1/a1/val1/c2/a2/val2/FCS/ED
|<--
L
-->|
Where:
SD3
= A2H
Start byte
DA
Destination address (bus subscriber address)
SA
Source address
FC
= 07H
Function code
c1
= 01H
Triggers modification in device
a1
Parameter address from section „Parameter addresses“
val1
Parameter value
c2
= 01H
triggers modification in the device
a2
Parameter address from section „Parameter addresses“
val2
Parameter value
FCS
Test byte (Frame Check Sequence)
Sum of the hex value of the L frame without transfor-
mation for FFH
ED
= 16H
End byte (End Delimiter), code: 16H
L
Number of bytes in FCS
c1 or c2 is the code which decides whether the value is to be
actually modified. The new value is taken over by the recorder if
the code is 01H or 02H. No other value for c1 or c2 triggers an
action. Parameters a1/a2 are the corresponding parameter ad-
dresses. The new values (16 bit) have been entered into the
message for val1/val2, with the order High Byte / Low Byte.
The recorder answer is:
SD1 DA SA qq FCS ED.
Here qq is the acknowledge code of the recorder.
If qq = 10H, the message has been processed without error. The
acknowledge code 11H is sent in the event of an error. Repeat
the entries for val 1 as val 2 if only one value is to be changed
in the recorder (WIZCON only permits modification of one value).
28
Connection of the recorder to WIZCON