Error 36 in microwin modbus rtu

Adnanhamid

Member
Join Date
Feb 2019
Location
Islamabad
Posts
3
Dear All,
i am trying to connect Danfoss inverter with s7 200 cpu 226.but microwin shows following error at DATA Ptr.i assigned different VB memory (etc vb100,vb1100,vb0) but always show same error
Compiling Program Block...
MAIN (OB1)
Network 2, row 1, col 2: ERROR 36: (operand 5) The size or data type is not valid for the instruction operand.
SBR_0 (SBR0)
MBUS_CTRL (SBR1)
MBUS_MSG (SBR2)
MBUSM1 (SBR3)
INT_0 (INT0)data type not valid.png
MBUSM2 (INT1)
Block Size = 0 (bytes), 1 errors
 
I haven't used the Modbus library, so can only give a rough guide, a 'Pointer' in Microwin is shown by using the '&' symbol, so using VB100 is no good, it would need to be &VB100. I don't know if there is any other setting up you would have to do to be able to use that memory location as a pointer. Here is the Siemens Manual for the S7-200 , chapter 12 covers using the Modbus library, and if you search in the pdf for 'pointer' you will get a load of hits.
 

Similar Topics

Hi All I am trying to open a .mwp file with Microwin Ver4.0 and get the following error "Cannot Open IEC 1131 Project In curent Mode" Any Ideas...
Replies
1
Views
3,325
I am kind of new to GE products, but we have several in my area. I made a minor logic change and it verified good, but when I tried to download I...
Replies
5
Views
43
Hi, I'm currently having issued with a PowerFlex 252. It was working fine last week, and suddenly decided to stop working. When I go into...
Replies
2
Views
98
Hi there, I'm new to plc programming and was wondering why I get this error code when I run my simulation for these temperature sensors? What I'm...
Replies
2
Views
85
Hi Everyone. Not posted on here for a long time, but I am hoping someone can help me. I am doing a differential pressure calculation in a L27ERM...
Replies
16
Views
387
Back
Top Bottom