(0)| 10/15/2014 8:36 AM | |
|
Posts: 4 Rating:
|
Hello members am suffering the same problem as Zangetsu used to suffer but am glad his problem was sloved 5 years ago,I exactly have the same question as his,lets say I have input I0.0 and output Q0.0,what will be the data block small ladder program?,because I need to activate the output Q0.0 by writting a value at the input I0.0,I will write the value from MATLAB through MATRIKON OPC SERVER FOR SIEMENS PLC,So i exactly need to know the addres/data block of my input I0.0,i tried to use the codes given WIZARD,it gives me errors(you can see the attachement bellow) and another thing I didnt understand the meaning of the data blocks thanks
------------------------------ New subject after splitting from S7 200 Data Block creating code understanding problem! |
Last edited by: Min_Moderator at: 10/30/2014 1:47 PMLast edited by: Min_Moderator at: 10/30/2014 1:46 PMSplitted |
|
| 10/16/2014 8:36 AM | |
|
Joined: 4/24/2006 Last visit: 12/24/2025 Posts: 9097 Rating:
|
Hello deoTZ, Ok try the following: MOVB IB0, VB0 MOVB VB2, QB0 Best regards, Wizard |
| 10/29/2014 8:21 AM | |
|
Joined: 4/24/2006 Last visit: 12/24/2025 Posts: 9097 Rating:
|
Hello deoTZ, In MATLAB you read the address VB0 of CPU and you write the addres VB2. Best regards, Wizard |
Follow us on