Agilent Technologies B1500A Service Manual Page 405

  • Download
  • Add to my manuals
  • Print
  • Page
    / 598
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 404
Agilent B1500A/B1505A Programming Guide, Edition 11 4-89
Command Reference
ERM
ERM
The ERM command changes the input/output assignments of the digital I/O port
(total 16 paths). This command does not change the trigger port assignments and
settings.
The *RST command or the device clear sets the digital I/O port to the output port,
and sets the port output level to TTL high.
Execution
Conditions
The digital I/O control mode must be the direct control (ERMOD 0).
Syntax ERM iport
Parameters iport : Decimal value of the port setting. Integer expression. 0 to 65535.
The setting of each port must be designated by 0 or 1 that has the
following meaning:
0: Output port
1: Input port
Example
Statements
If you want to use the non-trigger ports of the digital I/O ports 0 to 7 as the input
port, enter the following statement.
OUTPUT @B1500;"ERM 255"
where the decimal value 255 means binary bit pattern 0000000011111111.
Remarks The ERM command sets the port level to TTL high for all ports where the port
assignment is changed from output to input or from input to output.
The ERM command does not change the port assignment of the trigger ports.
See Also “ERMOD”, “ERC”, “ERS?”
ERMOD
This command selects the control mode for the digital I/O ports.
Syntax ERMOD mode
[,option]
Parameters mode : Control mode. Integer expression. 0, 1, 2, 4, 8, or 16.
0: General purpose control mode, initial setting.
Page view 404
1 2 ... 400 401 402 403 404 405 406 407 408 409 410 ... 597 598

Comments to this Manuals

No comments