Catalogue PIC-SERVO SC
www.jrkerr.com
print switch display
Page / 51
JEFFREY KERR -
/ 51
See all the products JEFFREY KERR
Text version of the page
Figure 2 - Connecting Multiple Controller Modules
The command packets have the following structure: Header byte (always OxAA) Module Address byte (O - 255) Command byte
Additional Databytes (O-15 bytes)
Checksum byte (8-bit sum of the Module Address byte through the last additional data byte)
The Header byte is used to signal the beginning of a command packet. When waiting for a new command, each module will ignore any incoming data until it sees a Header byte.
The Module Address byte is the address of the target module. The address can be an individual address, or the group address for the module. (See Group Commands below.)
The Command byte is broken up into an upper nibble (4 bits) and lower nibble (4 bits). The lower nibble contains the command value (O - 15), and the upper nibble contains the number of additional data bytes required for that command (O- 15). It is up to the host to insure that the upper nibble matches the number of additional data bytes actually sent.
The Additional Data bytes contain the specific data which may be required for a particular command. Many commands have a "control" or "mode" byte in addition to other parameters required for the command. Some commands require no additional data. It is up to the host to make sure that the proper number of additional data bytes is sent for a particular command, and that the upper nibble of the command byte is equal to this number.
Once a module receives a complete packet, and the Address byte matches its address, it will verify the checksum and immediately (within O.51 milliseconds) begin to process the command. If there is a checksum error in the command packet or any other sort of communications error (framing, overrun), the command will not be executed, but a status packet will still be returned. If there are no errors, the command will then be executed and a status packet returned. (Note that motion commands will initiate the motion and return a status packet immediately without waiting for the motion to finish.)
The status packets have the following structure: Status byte
Additional Status Data bytes (programmable) Checksum byte (8-bit sum of all the bytes above)
JEFFREY KERR, LLC • www.jrkerr.com
5
DirectIndustry's Virtual Technical Library: PDF Catalogue | Technical Documentation | Brochure | Manual | Industrial directory | Specifications | Characteristics
Search Go
page 1 p.1
page 2 p.2
page 3 p.3
page 4 p.4
page 5 p.5
page 6 p.6
page 7 p.7
page 8 p.8
page 9 p.9
page 10 p.10
page 11 p.11
page 12 p.12
page 13 p.13
page 14 p.14
page 15 p.15
page 16 p.16
page 17 p.17
page 18 p.18
page 19 p.19
page 20 p.20
page 21 p.21
page 22 p.22
page 23 p.23
page 24 p.24
page 25 p.25
page 26 p.26
page 27 p.27
page 28 p.28
page 29 p.29
page 30 p.30
page 31 p.31
page 32 p.32
page 33 p.33
page 34 p.34
page 35 p.35
page 36 p.36
page 37 p.37
page 38 p.38
page 39 p.39
page 40 p.40
page 41 p.41
page 42 p.42
page 43 p.43
page 44 p.44
page 45 p.45
page 46 p.46
page 47 p.47
page 48 p.48
page 49 p.49
page 50 p.50
Pages:
1-50
51-51