|
|
RE:MVI46-MCM Slave Status, Error Status, Command Errors
dmpierce,
For getting the status of your slaves, your best bet is to use the Command Error Pointer. The Command Error Pointer will hold the status for all your enabled commands. The user manual on our website, dated February 5, 2004, displays the description of those status values on page 17.
In our sample logic, we use use the N10 file for configuration of the module. Register N10:31 is where we specify, within the internal database, to store those values for port 1 (N10:61 for port 2). For instance: if N10:31 has a value of 1100, then internal database address 1100 will have the status for all your commands. The register N10:29, Command Count, determines how many registers, from 1100 and on, will have error status for your commands. For instance: if N10:31 is set to 1100, and N10:29 is set to 10, then internal database address 1100 - 1109 will hold the status for your 10 commands.
The next step is to get these values from the MVI46-MCM to your processor. To do this use a copy instruction from Source M1:slot number.1100, to Dest N40:0, Length 10.
- CH
|