5-14
Serial ports
6000 Series user’s manual
Remote replies: (Dear 00: FF acknowledges my new ID to be 05.)
>00XFF05A9.
; >
;message start character
; 00
;intended listener is ID 00 (host)
; X
;command code X (reply to assign ID)
; FF
;FF = my ID
; 05
;05 = my new ID
; A9 ;checksum = uchar (‘0’+’0’+’X’+’F’+’F’+’0’+’5’) = 0xA9
; . ;message end character
Example 3:
The following is a description of how a remote (of ID 02) can notify the
host of a state change:
1. The application program sets internal state using INT 17h function 0fh.
2. The application program sets roll call reply status to 03 (ask for Report).
3. Since a remote cannot initiate a communication, it must wait until it is
spoken to at this point.
Host sends: (Dear 02: are you there?)
>02AA5.
; >
;message start character
; 02
;intended listener is ID 02
; A
;command code A (roll call)
; A5
;checksum = uchar (‘0’+’2’+’A’+0x02) = 0xA5
; . ;message end character
Remote replies: (Dear 00: 02 is here. Ask for my internal state.)
>00Z02031F.
; >
;message start character
; 00
;intended listener is ID 00 (host)
; Z
;command code Z (reply to roll call)
; 02
;02 = my ID
; 03 ;03 = status = Ask for a report of internal state
; 1F;checksum = uchar (‘0’+’0’+’Z’+’0’+’2’+’0’+’3’) = 0x1F
; .;message end character
Host sends: (Dear 02: What is your internal state?)
>02DA8.
; >
;message start character
; 02
;intended listener is ID 02
; D
;command code D (Internal state query)
; A8
;checksum = uchar (‘0’+’2’+’D’+0x02) = 0xA8
; . ;message end character
Summary of Contents for 6000 Series
Page 7: ...Notice to user PC 500 user s manual ...
Page 9: ...About this manual 6000 Series user s manual ...
Page 37: ...2 20 Quick start 6000 Series user s manual ...
Page 65: ...5 16 Serial ports 6000 Series user s manual ...
Page 87: ...6 22 EZ I O 6000 Series user s manual ...
Page 103: ...8 8 Analog I O 6000 Series user s manual ...
Page 119: ...14 2 PC 104 expansion 6000 Series user s manual ...
Page 133: ...16 4 Watchdog timer reset and remote reset 6000 Series user s manual ...
Page 139: ...17 6 Serial EEPROM 6000 Series user s manual ...
Page 157: ...21 2 Software utilities 6000 Series user s manual ...
Page 161: ...22 4 Troubleshooting 6000 Series user s manual ...
Page 177: ...A 16 6010 technical data 6000 Series user s manual ...
Page 215: ...D 16 6040 technical data 6000 Series user s manual ...
Page 229: ...F 2 Miscellaneous 6000 Series user s manual ...