Toshiba ICC Multiprotocol Ethernet Interface ASD-G9ETH User Manual Page 88

  • Download
  • Add to my manuals
  • Print
  • Page
    / 100
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 87
87
ICC
13.3.3 SLC-5/05 Example: Read a Single Register
The configuration and execution for reading a single register is in general
identical to that required for reading a block of registers as detailed in section
13.3.2. The only difference is in the configuration of the MSG instruction.
Figure 92 shows an example MSG instruction’s General tab, which will read a
single element (N24:2, which corresponds to the drive’s “inverter status 1”
register) and place it in the first element (offset 0) of N18.
Figure 92: Read the Drive’s Status Register
13.3.4 SLC-5/05 Example: Multiple MSG Instructions
At times, reading from different groups of registers may be necessary. For
example, a specific application may require some registers located in various
disjoint locations in the register map. To accomplish this task efficiently,
multiple MSG instructions can be implemented in the PLC program.
The configuration and execution for implementing multiple MSG instructions is
in general identical to that required for implementing just one MSG instruction.
Each MSG instruction will require its own message control file. In the case of
read MSG instructions, more than one instruction may use the same data file to
store the received register values, but the storage locations must not overlap.
Figure 93 shows an example of two MSG instructions, each accessing different
target integer files. It is evident from this logic that N20 and N21 are the two
independent message control files created for these instructions.
Page view 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 99 100

Comments to this Manuals

No comments