Home > Net > Siemens DB block after optimization block access to PC can be read directly to the corresponding add
Siemens DB block after optimization block access to PC can be read directly to the corresponding add
Time:09-17
Write a machine into line is not too long, because take a housing project, others said the company to write PLC program before writing the man machine PC to read and write operations on the optimal access DB block (outsourcing to others, all leave program source code, q is a can do), but before I write is done with the offset value of the absolute address of access (which is similar to DB1. DBD0), Internet and didn't find who write a machine using optimized access DB, so I want to ask to check PC can also directly after the optimal access to read and write access the DB block? If you can sign addressing the address in the upper machine should be written in what style?
CodePudding user response:
Symbolic access: & lt; The DB block name & gt; . & lt; The variable name & gt; PC can't access, bosses to help look at what a format
CodePudding user response:
Program to change myself, be familiar with the process yourself to write,
CodePudding user response:
I currently use absolute address read, let the PLC to cancel optimal access to go, just a tick, then download a problem!
CodePudding user response:
Even when using S7 agreement, cannot use optimization block access,
CodePudding user response:
Well, can't optimized by addressing access, can only be accessed through symbolic address
So, you can ask them to give you the symbol table
CodePudding user response:
Optimization, data address is automatically assigned, not offset the claim