Command Group: DigitalIO
IM - Set the IO mask
read 18,12 write 31,12
IM In order to control the outputs from the host application the outputs must be configured using the IM command. A “1” bit in the mask will open the corresponding output channel for outputs from the IO command and a “0” bit will leave the channel controlled by the setpoint. Issuing the IM command without any parameters returns the current mask in the form IM:0011. Change the mask by issuing the IM command with the appropriate four-digit value in the form IM 0001.
NOTE1: When reading back the output status using the IO command the setpoint status will be read regardless of the setting of IM.
NOTE2: This Command is called OM on the DAD141 and DAS72.
See also IN, IO, An, Hn, Sn.