I have KRC V8.3.32 and i wanted to send robot's motor temperature to higher controller(PLC).I know $MOT_TEMP[] can be used to get Motor temperature values but i don't know how it can be sent to the higher controller. Is there any way?
TIA!
I have KRC V8.3.32 and i wanted to send robot's motor temperature to higher controller(PLC).I know $MOT_TEMP[] can be used to get Motor temperature values but i don't know how it can be sent to the higher controller. Is there any way?
TIA!
network them and on the robot side map the values to outputs that PLC can read.
this will need use of WorkVisual unless network is already there with spare I/Os.
declare some signals in $CONFIG.DAT like:
SIGNAL A1_TEMP $OUT[201] to $OUT[208] ; 8-bit is enough for degC
SIGNAL A2_TEMP $OUT[209] to $OUT[216]
SIGNAL A3_TEMP $OUT[217] to $OUT[224]
then in SPS loop add
A1_TEMP=$MOT_TEMP[1]-273 ; convert Kelvin to degC
A2_TEMP=$MOT_TEMP[2]-273
A3_TEMP=$MOT_TEMP[3]-273
on the PLC side read the values and do as you please.
Display Morenetwork them and on the robot side map the values to outputs that PLC can read.
this will need use of WorkVisual unless network is already there with spare I/Os.
declare some signals in $CONFIG.DAT like:
SIGNAL A1_TEMP $OUT[201] to $OUT[208] ; 8-bit is enough for degC
SIGNAL A2_TEMP $OUT[209] to $OUT[216]
SIGNAL A3_TEMP $OUT[217] to $OUT[224]
then in SPS loop add
A1_TEMP=$MOT_TEMP[1]-273 ; convert Kelvin to degC
A2_TEMP=$MOT_TEMP[2]-273
A3_TEMP=$MOT_TEMP[3]-273
on the PLC side read the values and do as you please.
How 8 bit data will return decimal value without using P00 module.
P00 is used only by CELL.SRC which is only used if you need EXT mode. This lets PLC start/stop robot and makes use of handful of signals. It has nothing to do with other data that PLC sends and receives from some node.