ProSoft Technology, Inc.
Home > Support > Bulletin Board > inRAx > MVI46-MCM Slave Status, Error Status, Command Errors
Printable Page
 

Search | Clear



Distributor Toolbox

Username

Password


Register

Forgot your password? Click here.

MVI46-MCM Slave Status, Error Status, Command Errors


You need to be logged in to get access to the forums. You can do so here

dmpierce

Friday 17 September 2004 10:03:25 am

MVI46-MCM Slave Status, Error Status, Command Errors

Please tell me how to access Slave Polling Status information and how to use the Error Status Pointer and the Command Error Pointer. These are underdocumented in the user manual.

Section 3.4.1.6 of the MVI46-MCM user manual states that it is possible allocate data areas to hold polling-status information. I don't see anything in the manual that tells how to do this.

I see mention of a Slave Error Code Table in the 3100-MCM user manual and wonder if the corresponding information was accidentally left out of the MVI46-MCM user manual.

CH

Friday 17 September 2004 12:17:59 pm

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

dmpierce

Monday 20 September 2004 9:34:15 am

RE:MVI46-MCM Slave Status, Error Status, Command Errors

Thanks for your reply! This was not clear from the manual.

Could you please tell me what error/status codes are copied into the location specified by the Error Status Pointer? Am I correct in assuming that only one word is copied to this location. I have been unable to find this information in the manual.

mtracy

Tuesday 21 September 2004 11:51:11 am

RE:MVI46-MCM Slave Status, Error Status, Command Errors

The contents of the data passed to the Error Status location is shown in the user-manual in section Appendix B - MVI46-MCM Status Data Definition.

28 words of status data are passed to this location.

Home : Products : Support : Distributors : Services : News/Events : Contact Us : ProSoft Tested