Industry Online Support
Technical Forum
12/24/2008 5:15 AM | |
Joined: 9/27/2006 Last visit: 10/5/2024 Posts: 12283 Rating: (2685)
|
Hello Chrislinc; First, have a look at the attachment I posted. It shows a hardware confiiguration for a CPU 314IFM and 2 added digital SMs.(I am using Step 7 Light today, so it might look different from your screen, but the same princioples apply). Now, my answer depends on what exactly you are asking. -do you want to know how to configure and address the onboard I/O? When you install the 314IFM in the hardware configuration, the onboardI/O addresses are automaticallyassigned to you, the attachment includes an extract from the CPU 314IFM technical data that indicates you must use addresses I124.0 to I127.7 for the onboarddigitalinputs, Q124.0 to Q125.7 for the onboard digital outputs. Onboard analog input channels are reached through peripherical addresses PIB128 to PIB 135 (4 channels: PIW128, PIW 130, PIW132, PIW 134)), and onboard analog outputs are accesses through the peripherical addresse PQW128(1 channel)You cannot modify the addresses of these I/O; simply use them in your program (once you have wired the front connectors properly, of course, follow the manual: http://support.automation.siemens.com/WW/view/en/8860591). -do you want to add an additional input or output card to the configuration? Simply select the module you want to use from the hardware catalog, drag it to the slot you will be putting it inphysically, and drop it there. Addresses will be attributed (here I0.0 to I3.7 for the input card, Q4.0 to Q7.7 for the ouptuts. These are slot-based addresses (the address given to you by the hardware configurator depend on the slot you are selecting for the modules). CPUs under a CPU 315 do not have enough m,emory to let you play with and modify I/O addressing. You are stuck with the addresses selected for you, so choose your slots right and use the addresses accordingly. Same will apply if you insert analog I/O modules in the configuration. Note that slot-based addressing will always attribute 32 bits for each digital I/O module, even if they are 16-bit or even 8-bit cards. You lose the other ones; do not use them in your program. Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 12/25/2008 6:10 PMLast edited by: dchartier at: 12/24/2008 6:18 AMLast edited by: dchartier at: 12/24/2008 5:39 AMLast edited by: dchartier at: 12/24/2008 5:37 AM |
|
Follow us on