Skip to content

Fanuc Focas Ethernet 介绍与使用

支持架构: amd64, arm/v7

设备设置

字段说明
host设备IP地址
port设备端口号
timeout连接超时时间

支持的数据类型

  • uint8
  • int8
  • uint16
  • int16
  • uint32
  • int32
  • uint64
  • int64
  • float
  • double
  • bit
  • string

CNC 数据

tag标识(地址)说明数据类型参数
actfactual feed rateint64/uint64-
absoluteabsolute position data of axisint64/uint64axis number(.n)
machinemachine position data of axisint64/uint64axis number(.n)
relativerelative position data of axisint64/uint64axis number(.n)
distancedistance to go of axisint64/uint64axis number(.n)
actsactual rotational speed of the spindleint64/uint64-
skipskipped position of axisint64/uint64axis number(.n)
srvdelayservo delay amount of axisint64/uint64axis number(.n)
accdecdlyacceleration/deceration delay amount of axisint64/uint64axis number(.n)
spcss_srpmconverted spindle speedint64/uint64-
spcss_sspmspecified surface speedint64/uint64-
spcss_smaxclamp of maxmum spindle speedint64/uint64-
movrlap_inputinput overlapped motion valueint64/uint64axis number(.n)
movrlap_outputoutput overlapped motion valueint64/uint64axis number(.n)
sploadload information of the serial spindleint32/uint32spindle number(.n)
spmaxrpmmaximum r.p.m ratio of serial spindleint32/uint32spindle number(.n)
spgeargear ratio of the serial spindleint32/uint32spindle number(.n)

CNC地址示例

地址说明
actf读取 actual feed rate
absolute.1读取第1个axis的absolute position
machine.3读取第3个axis的machine position
spload.1读取第1个spindle的load information
spmaxrpm.3读取第3个spindle的maximum r.p.m ratio

PMC数据

标识说明类型权限
Amessage demandall读写
Ccounterall读写
Ddata tableall读写
Eextended relayall读写
Fsignal to CNC -> PMCall只读
Gsignal to PMC -> CNCall读写
Kkeep relayall读写
Minput signal from other deviceall读写
Noutput signal from other deviceall读写
Rinternal relayall读写
Tchangeable timerall读写
Xsignal to machine -> PMCall只读
Ysignal to PMC -> machineall读写

PMC点位示例

地址类型说明
A0uint8/int8/uint16/int16/uint32/int32/int64/uint64/float/doublePMC message demand 区域,地址0的数据
A0.1bitPMC message demand 区域,地址0的的字节,第1个bit位
A0.0bitPMC message demand 区域,地址0的字节,第0个bit位
A0.2stringPMC message demand 区域,地址0开始,长度为2的字符串
D0.2stringPMC data table 区域,地址0开始,长度为2的字符串
D0.7bitPMC data table 区域,地址0的字节,第7个bit位