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,333
Hello everyone I have the next issue with FactoryTalk Linx, when i configure the Ethernet driver and try to find the IP Address of the PLC Device...
Replies
0
Views
18
Hi, First time user of S5 Siemens. Is there any solution on how to solve this kind of error. HMI OP7 $613 DB-error No. 11 (0: 15) Siemens PLC...
Replies
9
Views
160
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
50
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
137
Back
Top Bottom