
PS2000A Datasheet
Doc. Number:
TECINHD001
Version 1.0
3/1/2002
10.2.1.1 Command State
P&S DataCom Corporation
29
D7 (More):
Data state indication bit, which is set by the PS2000A and valid when the
PS2000A responds to a READ command from the Network Server.
D7=1: The object has not finished transmitting the data and the Network Server should
continue to transmit the READ command to read the data.
D7=0: The data transmission of the object has been finished.
D6 (Error):
Flag bit indicating command error which is set by the PS2000A and valid
in all return commands.
D6=0: Indicating that the command sent from the Network Server has been successfully
executed by the PS2000A.
D6=1: Indicating that the command sent from the Network Server cannot be executed by
the PS2000A.
D5 (NO_ACK):
ACK control bit. The Network Server sets this bit.
D5=1: Indicating that the PS2000A should execute the command of the Network Server,
without reporting the execution results back to the server.
D5=0: Indicating that the PS2000A should execute the command of the Network Server
and report the execution results to the server.
10.2.2.2 The Function of Command
The commands and the function of the commands that the PS2000A can respond to from
the Network Server are shown in Table 23.
Table 23
Mnemonic
Symbol
Code
D4~D0
Function
CONT
1Fh
Network Server requests connection to the PS2000A.
DICN
1Eh
Network Server requests disconnection from the PS2000A.
READ
00h
Network Server reads data information from the device object.
RDAL
06h
Network Server reads all variables and data associated with events from the device.
RDPR
02h
Network Server reads the property table of the device.
RDEV
04h
Network Server inquires about the event of the device.
WRIT
01h
Network Server writes data information to the device object.
WRPR
05h
Network Server updates the device property table of the PS2000A.
ENEV
03h
Enable the device to report a certain event to the Network Server.
DSEV
13h
Disable the device to report a certain event to the Network Server.
DISV
10h
Network Server inquires and registers new devices.
RESET
18h
Network server hardware reset the PS2000A