4/1/2020 6:43 PM | |
Joined: 9/27/2006 Last visit: 8/14/2024 Posts: 12277 Rating:
|
Hello elctro_hamad; I would like to point out one detail that can be found in the System ans Standard Functions manual for S7-400 and S7-300 CPUs: https://support.industry.siemens.com/cs/ww/en/view/109751826 This is extracted form section 16.5 on SFC 14, on the parameter RECORD: Note: Note that the RECORD parameter of S7-300 CPUs always requires the full specification of the DB parameters (for example: P#DB13.DBX0.0 byte 100). Omitting an explicit DB no. is not permitted for S7-300 CPUs and causes an error message in the user program. I suggest that you fully qualify your pointer (to make it an ANY pointer) including the number of bytes you want to transfer. Tell us if this solves your problem. Hope this helps, Daniel Chartier |
This contribution was helpful to
1 thankful Users |
4/2/2020 9:11 PM | |
Joined: 5/8/2016 Last visit: 2/15/2024 Posts: 167 Rating:
|
The problem is how to read Any data type with peripheral properties.. What i mean,, it i read regular analog input in s7 300 using TIa i should Wirte the address like this iw256:P if i just write iw256 i cant access my analog module or my DP unit.. It gives zero reading.. So the same here with P#i256.0 real 25 I need to make it access the peripherals.. |
A lot of potential remains |
|
Follow us on