Parker Hannifin
home | products | how to buy | support & downloads | literature | search

Click Here to go to new EM&D Knowledge Base (FAQ) site


Using the IN PORTn command on 4000 Indexers

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.

>IMMED

Prompt returns to denote your in immediate mode as:

IMMED>

2. Issue the IN PORTn command as desired using the exact syntax shown below.

IMMED>IN_Q100_=_PORT2_^_YOUR_MESSAGE_HERE_^

*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.

example:

IMMED>IN Q100 = PORT2 ^ YOUR MESSAGE HERE\13\10 ^