Раздел: Документация
0 1 2 3 4 BYTE 1 = RECEIVER ADDR + 040h ( 041h - 080h ) BYTE 2 = PRESET NO. Note: 00h through 07Fh (For 1 through 128 Preset Point) BYTE 3 = DONT CARE COMMAND - 2 ( Receiver to System ) BYTE 1 = RECEIVER ADDR + 040h ( 041h - 080h ) BYTE 2 = DWELL TIME (sec) Note: 00h through 0FFh (0 through 255 sec) BYTE 3 = SPEED (degree / sec) Note: 01h through 0FFh (1 through 255 sec) COMMAND - 3 ( System to Receiver ) Save Preset Point 0 - 07FH BYTE 1 = RECEIVER ADDR + 080h ( 081h - 0C0h ) BYTE 2 = DWELL TIME (sec) Note: 00h through 0FFh (0 through 255 sec) BYTE 3 = SPEED (degree / sec) Note: 01h through 0FFh (1 through 255 sec) COMMAND - 3 ( Receiver to System ) BYTE 1 = RECEIVER ADDR + 080h ( 081h - 0C0h ) BYTE 2 = DWELL TIME (sec) Note: 00h through 0FFh (0 through 255 sec) BYTE 3 = SPEED (degree / sec) Note: 01h through 0FFh (1 through 255 sec) COMMAND - 4 ( System to Receiver ) Alarm polling BYTE 1= 0CAh BYTE 2 = ACKNOWLEDGE ( LAST ALARM RECEIVER ADDR. ) BYTE 3 = ACKNOWLEDGE ( LAST ALARM NO. ) COMMAND - 4 ( Receiver to System ) If there is any alarm detected and never been acknowledged otherwise no response BYTE 1 = 0CAh BYTE 2 = ALARM RECEIVER ADDR. ( 001h TO 040h ) BYTE 3 = ALARM NO. ( 1 TO 6 ) Note 1: Alarm polling process: System should send 0CAh, 00h, 00h command to receiver periodically to check if there is alarm triggered. Note 2a: If there is no alarm triggered, no response from receiver. Note 2b: If there is an alarm triggered, receiver will response to system with byte1=0CAh, byte2=last alarm receiver address, byte3=last alarm point. Note 3a: If there was no alarm, system again should send command to receiver as in note1. Note 3b: If there was alarm triggered, system must send the same command as in note2b, back to receiver to clear receiver alarm status. Once all alarms are cleared, system should repeat note1 to check alarm status. Clear all preset datum for specific receiver BYTE l = RECEIVER ADDR. ( 00lh TO 040h ) BYTE 2 = 0FFh BYTE 3 = 0F5h COMMAND - 5 ( System to Receiver ) BYTE l = RECEIVER ADDR. ( 00lh TO 040h ) BYTE 2 = 0FFh BYTE 3 = 0F5h (Receiver ADDR = 03h ) (Receiver ADDR = 02h ) (Receiver ADDR =01h ) Receiver Receiver Receiver RS - 485 RS - 485 PIH-7600 PIH -7000 PIH -717 RS - 485 RS - 232 / RS - 485 Converter Interface RS - 232 im===~i 0 1 2 3 4
|