永宏PLC FATEK 台湾永宏PLC FBS-60MAT2-AC FBS-40MAT2-AC C2070QA-GF
TPDO1若长度设为2则R3600,R3601 会被使用而R3602,R3603 不会被使用.
每个 PDO 对应的起始缓存器号码为固定,不受前面的 PDO 数据长度影响.
此范围没使用到的缓存器,应用程序可任意应用.
永宏PLC
4.4 模板状态区
表 4: 模板状态区
Sequence
Register
Function
1
R3680
Module
Status
Low Byte:
Bit 0 : =0, Normal
=1,Stppped when excessive RX error occur
while startup.
Bit 1: Sync signal time-out, valid only if at least one
TXPDO is configured in sync. mode.
Bit 2: Reserved
Bit 3: =1, CAN Rx error
Bit 4: =1, CAN Tx error
High Byte:
Bit[15:8] CBCAN state.
=0, init. =5, OPERATIONAL. =4, STOPPED.
=127 PRE-OPERATIONAL
2
R3681
RPDO
Status
每一位代表一个 RPDO 的接收状态.
当为 1 时代表有正常更新.
Bit #0 表 RPDO1. Bit #9 表 RPDO10
3
R3682
Heart beat
status
Node 1 ~ 15
Bit #1 为 1 时表有侦测到 Node #1 的 heartbeat.
侦测以 ComsumerHeartbeatTime 为周期.
当 ProducerHeartbeatTime 设为零时不产生也
不侦测 heartbeat.
4
R3683
Node 16-31
5
R3684
Node 32-47
6
R3685
Node 48-63
7
R3686
Node 64-79
8
R3687
Node 80-95
9
R3688
Node 96-101
10
R3689
Node 102-127
11
R3690
Time Stamp
Second (0-59)
12
R3691
Minute (0-59)
13
R3692
Hour (0-23)
14
R3693
Day (1-31)
15
R3694
Month (1-12)
16
R3695
Year (2000-2099)
17
R3696
Time Stamp
receiving
indication
每收到新的 Time Stamp,此值都会加 1,直到 65535
后会从 0 重新累计.
18
R3697
Ladder
software
version
设定十进制值,CBCAN 会自动转换成 ASCII 字符到
Index 4000H sub-Index 02H 的 Ladder software
version. 十进制值 0215 => ASCII 字符’0’ ‘2’ ‘1’ ‘5