Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 5.23 KB

File metadata and controls

18 lines (10 loc) · 5.23 KB

neoECU 10: IO Map

The neoECU 10 uses Misc IO to configure the device. Table 1 shows the Misc IO table for neoECU 10. Examples of using the Misc IO can be found at this Link: Examples. The examples show how to use different features like PWM I/O, Analog inputs, LED, SW CAN, and other configurations.

Table 1: neoECU 10 Misc Pin

Misc IO NumberName Of IO ControlledFunction of IONotes
7SW CAN M1Works with MISC IO 8 to set SW CAN StateSet is output to 1: For value use; Normal Misc 7=1 and Misc 8=1; HVWU Misc 7=1 and Misc 8=0
8SW CAN M0Works with MISC IO 7 to set SW CAN StateSet is output to 1: For value use; Normal Misc 7=1 and Misc 8=1; HVWU Misc 7=1 and Misc 8=0
9LSFT EnableEnables LSFT CANSet is output to 1: For value use; 1 for Enable, 0 to disable
10LSFT _STB#Enables LSFT CANSet is output to 1: For value use; 1 for Enable, 0 to disable
15LSFT/SW_EN#Enables LSFT and SW CANSet is output to 1: For value use; 1 for Enable, 0 to disable
16LSFT/SW#_SELEnables LSFT CANSet is output to 1: For value use; 1 for LSFT, 0 for SW
32MISC IO2Controls MISC IO2Set is output to 1: Value Sets Value
33MISC IO1Controls MISC IO1Set is output to 1: Value Sets Value
45MISC IO3Controls MISC IO3Set is output to 1: Value Sets Value
46MISC IO4Controls MISC IO4Set is output to 1: Value Sets Value
47MISC IO5Controls MISC IO5Set is output to 1: Value Sets Value
48MISC IO6Controls MISC IO6Set is output to 1: Value Sets Value
50PWM2: IO6 On DeviceIs IO6 PWMSet is output to 0: Value Sets 1=PWM, 0=MISCIO
51PWM3: IO5 On DeviceIs IO5 PWMSet is output to 0: Value Sets 1=PWM, 0=MISCIO
52PWM4: IO4 On DeviceIs IO4 PWMSet is output to 0: Value Sets 1=PWM, 0=MISCIO
55PWM5: IO2 On DeviceIs IO2 PWMSet is output to 0: Value Sets 1=PWM, 0=MISCIO
57PWM7: IO3 On DeviceIs IO3 PWMSet is output to 0: Value Sets 1=PWM, 0=MISCIO
58PWM8: IO1 On DeviceIs IO1 PWMSet is output to 0: Value Sets 1=PWM, 0=MISCIO
65LED 3Controls the state of LED 3Set is output to 1: Value Controls state
66LED 2Controls the state of LED 2Set is output to 1: Value Controls state
67LED 1Controls the state of LED 1Set is output to 1: Value Controls state

The states and values for the MiscIO can be controlled though Function Blocks. The most common command to use to configure the Misc IO is Set Value.

Figure 1 shows the Expression editor. To get to the Misc IO, select Physical IO on the left (Figure1: ) and then Misc IO to the right (Figure1: ). At the bottom there are three properties (Figure1: ). The "Value" option is used to set or read a value from that IO. For example setting the value of an output, or reading the state of an input. The "Is Output" property is to set the direction of the IO. One reason for doing this would be setting the direction for the IO. For example if you are working with a Digital Output, you would set the "Is Output" property to 1 (output). If this IO is not an output, but an input, set this property to be 0 (input).\

Figure 1: Expression editor configuring Misc Pins

One example of working with the Misc IO would be using the LED's. From Table 1, LED 3 is Misc IO 65. To work the LED, it would first need to be set to an output. In a Set Value command the "Is Output" Property would be set to "1". This sets the direction of the IO. An LED is an output, so this IO was set to be an output. Next the "Value" property can be used to set the state of the LED. In the example below, the Value was set to 1 to turn the LED on.

Figure 2: Turning LED On