
Chapter 13 Input/Output Control Statements
13-17
com_encom (Version 1.5 or later)
Function
Enables the RS-232C port only for binary transmission. (Occupies the COM port.)
If the Ethernet client port has been occupied, this command enables it to establish
Ethernet connection.
Format
com_encom #<portnumber>
Explanation
This command discriminates binary data from ASCII data in binary
transmission between the PC and robot controller e.g., in WINCAPSII.
After binary transmission is completed, you need to release the communication
port by using com_discom command.
NOTE: If data is transferred from the PC (e.g., in WINCAPSII) to the robot
controller after execution of this command, then the controller will treat it as
binary data and will not close the RS-232C port occupied by binary
transmission.
NOTE: After executing this command in Ethernet connection, it will not
influence data communications with WINCAPSII.
Example
'!TITLE "<Title>"
PROGRAM sample
.
.
.
com_encom #1 'Make port exclusive for binary transmission
.
.
.
end
Comentarios a estos manuales