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
The Status byte contains basic information about the state of the module, including whether or not the previous command had a checksum error. The specific bit definitions for the Status byte are in Section 5.3 below.
The number Additional Status Data bytes is programmable, and may contain information such as motor position, A/D values, or the module type and version numbers. Exactly which data is included in these Additional Status Bytes can be programmed using the Define Status or Read Status commands. On power-up or reset, each NMC module defaults to sending only the Status byte and Checksum byte, with no additional status data.
A command sent to a PIC-SERVO controller is stored in an internal buffer until the end of the current servo cycle (0.51 millisec. max.), when it is then executed and a status packet is returned. Therefore there will be a maximum delay of 0.51 millisec. (0.25 millisec. avg.) between when the last byte of the command is received and when the first byte of the status packet is sent. No new command should be sent until the status packet is returned to prevent overwriting the command data buffer and to prevent collisions on the status line. If, however, the host does send any data before a status packet is received, all slaves on the network will disable any status data transmission in progress and listen to the new command from the host. This insures that the host can always command the attention of all slaves on the network.
The Command Reference Section 5.1 below describes the data contained in the command packets and status packets.
Addressing
When multiple modules are connected to the same NMC network, they must be assigned unique addresses. This is done through the use of the ADDRJN and ADDROUT signals on each NMC compatible controller. The ADDROUT signal from one controller is daisy-chained to the ADDRJN signal of the adjacent controller on the network. Customarily, the ADDRJN pin of the controller furthest from the host is tied to GND, and the ADDROUT signal of the controller closest to the host is left open. (See the Figure 2 above).
Unique addresses are assigned using the following procedure:
1. On power-up, all modules assume a default address of 0x00, and each will set its ADDROUT signal HIGH. Furthermore, a module's communications will be disabled completely until its ADDRJN signal goes LOW. If the ADDROUT and ADDRJN signals are daisy-chained as described above, all modules will be disabled except for the module furthest from the host.
2. The host starts by sending a Set Address command to module 0, changing its address to a value of 1. A side affect of the Set Address command is that the module will lower the its ADDROUT signal.
3. At this point, the next module in line is enabled with an address of 0. The host then sends a command to module 0 to change its address to a value of 2.
4. This process is continued until all modules have been assigned unique addresses.
Initialization of the addresses is performed by the host each time the NMC network is powered up or reset. The host can also use this mechanism to verify that the proper number of modules are present, and that their types match those expected for a particular application.
Once addresses are set, all other operations can be executed.
JEFFREY KERR, LLC • www.jrkerr.com 6
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