Current location - Loan Platform Complete Network - Big data management - It is a small piece of S7-200 program, please &; What do VB996 and #ADD:LD0 mean? Please elaborate.
It is a small piece of S7-200 program, please &; What do VB996 and #ADD:LD0 mean? Please elaborate.
This should be in the subroutine, and LD0 is an internal variable, that is, a variable that only takes effect within the scope of the subroutine. After the subroutine is encapsulated, the word ADD# will appear. & VB 996 is the indirect addressing upstairs. That is, the value in the memory cell of VB996 is taken as the address, and the memory in VB996 is assumed to be 1000, that is, the data in VD 1000 is transmitted to LDO.