(1)| 4/13/2010 1:26 PM | |
|
Joined: 10/7/2005 Last visit: 1/16/2026 Posts: 3054 Rating:
|
Hello Kankuamo it is a syntax problem and there are two different solutions for this: 1.) Make sure your I/O's are in the Process image and use: P#I 512.0 Byte 32 and P#Q 512.0 Byte 32 (i.e. get rid of the "P" in front of the "I" and "Q") 2.) If your I/O's are outside the Process imagethen use: P#P 512.0 Byte 32 for both A Load commandwill now will now read a Peripheral Input(Byte, Word or Double Word) and a Transfer command will write to a Peripheral Output (Byte, Word or Double Word) Have a look too at Step 7's inbuilt help (search for ANY) which has more useful info on the ANY pointerand you may also find the following related FAQ's useful: In the case of a function, how is the address of the ANY pointer for the elementary IN, OUT and IN-OUT parameters loaded into the address register AR1? How can you calculate an offset in the case of an ANY pointer? How do you parameterize blocks, which have "ANY"-type or "Pointer" type parameters? I hope this helps |
|
Cheers |
|
Follow us on