12/31/2024 3:02 PM | |
Joined: 2/1/2010 Last visit: 9/8/2025 Posts: 212 Rating:
|
The PN/PN coupler via hardware config has only BYTE level addressing afaik, so I'm a little confused how you are able to do bit level addressing with symbols but not others? To apply symbols to any other size data space other than BYTE you need to just do it in the symbol table manually (not through HW config). Also this will not be viewable from the HW config symbol view, but it will allow you do do interconnections or whatever else you want for symbolic access. You'll just read out the Int or Real from the associated Word or DWord space and use convert blocks in CFC or your own custom SCL blocks if you want. Example: If your PN/PN coupler IO area is at I 100, then you could apply symbols manually like: bits: I 100.0 - I 101.7 (direct in CFC) byte: IB 102, IB 103 (direct in CFC or BY_W + W_I if using bytes as short int) words/ints: IW 104, IW 106 (via W_I in CFC) dwords/reals: ID 108, ID 112 (via DW_R in CFC, assuming you put the value into the address space as a REAL on the sending side otherwise you may need to do more conversions on your own) Or you can buy the PN/PN coupler APL library add-on and it gives many functionalities. You can make your own judgement if Siemens has priced this add-on option competitively/fairly or not and if you want to decide to use it. |
If my post helped you, please rate. Thanks. |
|
Follow us on