Command Set | 5017/5018 | |
|
| Analog Input |
#aaSiCj |
|
|
Name | Specified Analog Data In | |
Description Returns the input value of a specified channels for a | ||
| specified analog input module of a specified system in | |
| engineering unit only. |
|
Syntax | #aaSiCj(cr) |
|
| # is a delimiter character. |
|
| aa (range | |
| address of the | |
| interrogate. |
|
| Si identifies the I/O slot you want to interrogate. | |
| Cj identifies the channel you want to read. | |
| (cr) is the terminating character, carriage return (0Dh) | |
Response | >(data) if the command is valid. | |
| ?aa(cr) if an invalid operation was entered. | |
There is no response if the module detects a syntax error or communication error or if the specified address does not exist.
> is a delimiter character indicating a valid command was received.
? delimiter character indicating the command was invalid.
(data) is the input value in engineering units of the specified channel for a specified analog input module of the specified system. If (data) = “ ”, it means the channel is invalid.
(cr) is the terminating character, carriage return (0Dh)