/
Using The in PORTn Command on 4000 Indexers

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>

  1. 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 ^

Related content

Compax3 Software - Communicating to the Compax3 I12T11 Indexer from a Panasonic PLC Over Devicenet
Compax3 Software - Communicating to the Compax3 I12T11 Indexer from a Panasonic PLC Over Devicenet
More like this
Using HyperTerminal to Download Programs To 4000
Using HyperTerminal to Download Programs To 4000
More like this
ACR9000 Ethernet Stream Connection Status Sample
ACR9000 Ethernet Stream Connection Status Sample
More like this
6K Software - Sending Commands ViaRS232
6K Software - Sending Commands ViaRS232
More like this
P Series Troubleshooting - My P Series Indexer Only Makes INDEX0 Moves When Under Input Control
P Series Troubleshooting - My P Series Indexer Only Makes INDEX0 Moves When Under Input Control
More like this
P Series Drives - Indexer Versions - Interact Xpress Examples Project File (Modbus/RTU)
P Series Drives - Indexer Versions - Interact Xpress Examples Project File (Modbus/RTU)
More like this