
11. Remote Control
EPSON RC+ 5.0 (Ver.5.4) User's Guide Rev.4 263
Response
When the Controller receives the command correctly, the response in the following format
is shown in the executing command.
Command Format
Remote command that acquire
the value
Except GetIO, GetVariable, and
#[Remote command],[0] terminator
#GetIO,[0 | 1] terminator *1
#GetMemIO,[0 | 1] terminator *1
GetIOByte
#GetIOByte,[ Hex string (00 to FF) of Byte (8Bit)]
GetMemIOByte
#GetMemIOByte,[ Hex string (00 to FF) of Byte
GetIOWord
#GetIOWord,[ Hex string (0000 to FFFF) of Word
GetIOMemWord
#GetMemIOWord,[ Hex string (0000 to FFFF) of
# GetVariable,[Parameter value] terminator
GetVariable (in case of array)
# GetVariable,[ Parameter value 1],[ Parameter
value 2],...,terminator *4
GetStatus
#GetStatus,[Status],[Error, Warning code] tenimator
Example) #GetStatus,aaaaaaaaaa,bbbb
Execute
If the value is returned as a result of command
execution
#Execute,”[Execution result]” terminator
*1 [0 | 1] I/O bit ON: 1/ OFF: 0
*2 Status
In the example above, 10 digits “aaaaaaaaaa” is for the following 10 flags.
Teach/Auto/Warning/SError/Safeguard/EStop/Error/Paused/Running/Ready
1 is ON /0 is OFF
If Teach and Auto are ON, it is 1100000000.
*3 Error / Warning code
It is indicated in 4 digits. If there is no error and warning, it is 0000.
e.g.)1 : #GetStatus,0100000001,0000
The bits for Auto and Ready us ON (1).
This means that AutoMode is ON and be in Ready state. Command execution is
enabled.
e.g.)2 : #GetStatus,0110000010,0517
This means the warning occurs during the operation. Take appropriate action for
the warning code. (In this case, warning code is 0517 )
Flag Contents
Turn ON in the TEACH mode
Turn ON in the remote input acceptance condition
Kommentare zu diesen Handbüchern