|
Topic: DM0005 MAPIO - Map Inputs and Outputs |
|
|
|
When used as intended it will map Discrete Inputs (X) to internal Bits (C) and Analog Inputs (WX) to Numeric elements (N), and then internal Bits (C) to Discrete Outputs (Y) and internal Numeric elements (N) to Analog Outputs (WY).
There will typically be a pair of Map Inputs/Outputs Instructions: one at the top of scan for mapping the Discrete and Analog inputs to internal memory, and one at the bottom of the scan for mapping internal memory to Discrete and Analog outputs.
This instruction can be used to move any element to any element, but its primary purpose is as an instruction for mapping real-world I/O to internal memory. The System Tasks $tTopOfScan and $tBottomOfScan are the recommended code blocks to place this pair of instructions. |
Row Editor Keys:The following functions are used to add or remove rows, edit existing rows or reorganize the rows in the instruction.
|
Parameters:Note: Use the F9 key (Element Browser) at any time to see a complete list of the memory locations that are valid in the current field of the instruction.
Source - specifies the input
locations
Destination - specifies the
output locations
|
|
|
See Also:
|
|
|
Rung Example:
|
|
|