help!! , is here somebody used MVI71-ADM (1771-ADM)??

yangdongnet

Member
Join Date
Aug 2004
Posts
1
i used mvi56_adm moudle at 2002, it work perfectly,
at 2003, i used mvi47_adm moudle , it work perfectly too,

this time , mvi71_adm is required .

i think rslogix5 can use BTR and BTW instruction to access 71adm's IO image,

first, i used MVIbp_WriteInputImage() API write data to 71adm's image file(just as 56adm), but it return MVI_ERR_BADPARAM , "Developer's Guide" say this value will be returnd if an attempt is made to
access the input image beyond the range configured for direct IO.

but , i did not know how to set input or output image size in rslogix5 software (56adm can be set image file size in rsloigx5000, 47adm can be set M files in rslogix500),

i saw the "Developer's Guide" , it say MVIbp_SetIOConfig() is used to define the module's IO images.

i used MVIbp_SetIOConfig() , i want set those value:
TotalInputSize=16;
TotalOutputSize=16;
DirectInputSize=16;
DirectOutputSize=16;
MsgRcvBufSize=0;
MsgSndBufSize=0;
but it always return "MVI_ERR_BADCONFIG", i didn't kow how to do ,then i used MVIbp_GetIOConfig(), it return MVI_SUCCESS and return those value:
TotalInputSize=1;
TotalOutputSize=1;
DirectInputSize=1;
DirectOutputSize=1;
MsgRcvBufSize=0;
MsgSndBufSize=0;
i think those value is default value for 71adm, but , but!!!! i just cant set those value,

how can i do ?? i need help !! this problem puzzled me several days, !!
 

Similar Topics

Hello everyone I am new to Siemens Step 7 and having some issues I was going to add the a FC to OB1 (Network 28 In Image 1) But it was asking...
Replies
9
Views
2,400
Hi all, hope your day is going well. I am self-employed and don't have deep pockets nor do I have enough work. I want to start a programming...
Replies
32
Views
10,569
hello, i am maggiesparky and have visited this forum many times and just love it. well i have a ladder diagram question and ask for your help to...
Replies
13
Views
3,861
Hi I wanna to know all steps of making just simple Supervision system by using SCADA on Production line :wait:
Replies
6
Views
1,461
I am trying to Insert a value into the Total register of an already running totalizer. I can do it one step at a time in the tag database but I...
Replies
20
Views
5,339
Back
Top Bottom