3.19 EDH0162En1040 – 06/99
MM4005 AM — Set analog input mode
Usage IMM PGM MIP
Syntax xxAMnn or [xx]AM?
Parameters
Description xx
[int] — Analog input port number.
nn [int]] — Analog input mode.
Range xx — 0 to 4.
nn
— 0 to 3.
Units xx — None.
nn — None.
Defaults xx Missing: 0.
Out of range: Error E.
Floating point: Error E.
nn Missing: 0.
Out of range: Error C.
Description The MM4005 controller possess four analog inputs that user can program
each input tension level with the AM command.
• If
nn = 0 or missing: ±10 V tension input range.
• If
nn = 1: ±5 V tension input range.
• If
nn = 2: 0 to 10 V tension input range.
• If
nn = 3: 0 to 5 V tension input range.
Returns If the “?” sign takes place of nn parameter and xx is missing, the controller
returns the actual analog input mode.
Errors C — Parameters out of limits.
E — Incorrect I/O channel number.
Rel. Commands YR — Read a value from an user analog port and affect variable.
YO — Send a value to an user analog port.
Example 1AM2 | Set 0 to 10 V analog range at the input port #1.
1AM? | Request the actual analog input port #1 mode.
1AM2 | Controller returns the actual analog input port #1 mode.
AM | Initializes all analog input ports to default mode (±10 V).
AM? | Request all actual analog input modes.
AM, 1AM0, 2AM0, 3AM0, 4AM0 | Controller returns all actual analog input modes.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com