Appendices
A - 22
NX-series Communications Interface Units User’s Manual (W540)
• The following table shows the command code of the control command. If the set value is out of
range, 0002 hex (undefined command) is returned in the Input Sub Info from the CIF Unit.
• The meaning of the Output Sub Info is different betwee
n when the Change Number of Characters to
Determine the End control command is specified in the Output Data Type and when the Change
Communications Setup control command is specified.
*3. You cannot read or write this data as BOOL data. To issue a control command, access the data
as WORD data.
Command
code (hex)
Command name Description
01 Restart Port Restarts the port.
04 Clear Receive Buffer Clears the receive buffer in the CIF Unit.
05 Clear Send Buffer Clears the send buffer in the CIF Unit.
06 Clear Send and Receive
Buffers
Clears the send and receive buffers in the CIF Unit.
11 ER Signal ON Turns ON the ER signal.
12 ER Signal OFF Turns OFF the ER signal.
13
RS Signal ON
*1
*1. These commands are valid only when the flow control setting is not set to RS/CS flow control. If you
attempt to execute this command when the flow control setting is set to RS/CS flow control, execution is
not possible and the command ends in an error.
Turns ON the RS signal.
14
RS Signal OFF
*1
Turns OFF the RS signal.
21 Change Number of Char-
acters to Determine the
End
Changes the Number of Characters to Determine the End to
th
e value
specified in the Output Sub Info.
*2
*2. The new value is applied after the port is restarted.
22 Change Communications
Setup
Changes the communications setup to
the values specified
in the Output Sub Info.
*2
31
Start One-shot Monitoring
*3
*3. If this command is executed while monitoring is in progress, monitoring is continued and the command
ends normally.
Sets the monitor type of the serial lin
e monitor to one-shot
monitoring and starts data monitoring.
32 Start Continuous Monitor-
ing
*3
Sets the monitor type of the serial line monitor to continuous
monitoring and starts data monitoring.
33
Stop Monitoring
*4
*4. If this command is executed while monitoring is stopped, monitoring remains stopped and the command
ends normally.
Stops serial line monitoring.
34 Clear Serial Line Monitor
Buffer
*5
*5. This command is valid only while monitoring is stopped. If you attempt to execute this command while mon-
itoring is in progress, execution is not possible and the command ends in an error.
Clears the buffer for the serial line monitor.