The IN PORTn command can be used in immediate mode from a terminal emulator using the following syntax.
1. At the prompt issue IMMED to enter immediate command mode.
Prompt returns to denote your in immediate mode as:
2. Issue the IN PORTn command as desired using the exact syntax shown below.
*note: UNDERSCORES ( _ ) are used to denote spaces required for correct syntax
Please carefully note the spacing in the command string. It is very important that you place a space after the starting carrot (^) and before the ending carrot. If you leave these spaces out you will receive the "Invalid data in line:" error.
If you need to send a carriage return (ASCII 13), line feed (ASCII 10) or other ASCII character, use the switch followed by the decimal equivalent in the message string. No spaces are needed between the characters.
IMMED>IN Q100 = PORT2 ^ YOUR MESSAGE HERE\13\10 ^