Chapter 6 Protocol - Promag WEC200 User Manual

Wiegand to ethernet converter/controller
Table of Contents

Advertisement

6. Protocol
Command symbols definitions are as below:
STX
02H
CR
0DH
ACK
41H
NACK
4EH
m
1 byte parameter
n
1 byte parameter
<Data...>
contents of data
6-A. Get device firmware version
HOST to DEVICE (4 bytes)
DEVICE to HOST (11 bytes) STX "ROMXXXXVY" CR
You can get device information and status by this command.
XXXX:
Firmware Number
V:
Version
Y:
Revision
For example: STX-"ROM0722A7"-CR
6-B. Get service code
HOST to DEVICE (4 bytes)
DEVICE to HOST (12 bytes) STX "XXXXXXXXXX" CR
You can get the unique service code by this command.
XXXX:
service code
For example: STX-"0000000000"-CR
6-C. Get input status
HOST to DEVICE (4 bytes)
DEVICE to HOST (4 bytes)
You can get the 2 input data with this command.
X:
INPUT1 status (0: Low/1:High)
Y:
INPUT2 status (0: Low/1:High)
For example: STX-"11"-CR. that means input 1&2 all high.
STX
G
R
02H
47H
52H
STX
G
S
02H
47H
53H
STX
G
I
02H
47H
49H
STX "XY" CR
8
CR
0DH
CR
0DH
CR
0DH

Advertisement

Table of Contents
loading

Table of Contents