9
FnIO G-Series
Copyright(C)CREVIS Co.,Ltd S82-31-899-4599 URL: www.crevis.co.kr
2.1.4. Mapping data into the image table
•
Input Image Data – 10Byte
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
SSI Data LL Ch#0
1
SSI Data LH Ch#0
2
SSI Data HL Ch#0
3
SSI Data HH Ch#0
4
SSI Data LL Ch#1
5
SSI Data LH Ch#1
6
SSI Data HL Ch#1
7
SSI Data HH Ch#1
8
RUN Ch#0
WARN
Ch#0
DEC Ch#0 INC Ch#0
__
WFP Ch#0
WSSIF
Ch#0
WSSID
Ch#0
9
RUN Ch#1
WARN
Ch#1
DEC Ch#1 INC Ch#1
__
WFP Ch#1
WSSIF
Ch#1
WSSID
Ch#1
- SSI Data word is a 32bit-wide data. Ch#0,1
- RUN : SSI Clock Output Enabled Flag
- WARN : Warning. Any warning has occurred, WFP, WSSIF or WSSID.
- DEC : SSI Data Decrement. It was set, it lasts until INC.
- INC : SSI Data Increment. It was set, it lasts DEC.
- WFP : Warning of Field Power (SSI Power).
- WSSIF : Warning of SSI Frame. The last bit of frame data is not trailed with 0.
- WSSID : Warning of SSI Data. SSI Data is 0 during gap of frames. Generally when invalid wiring or cross
wiring.
•
Output Image Data – 4Byte
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
RUN Ch#0
GRAY Ch#0
--
SSI Data Length (0~30) Ch#0
1
SSI Data Delay Time Selection Ch#0
SSI Data Rate Selection Ch#0
2
RUN Ch#1
GRAY Ch#1
--
SSI Data Length (0~30) Ch#1
3
SSI Data Delay Time Selection Ch#1
SSI Data Rate Selection Ch#1
- RUN : SSI Clock Output Command, 1:Run, 0:Stop
- GRAY : Conversion Binary to Gray code. 1:Gray, 0:Binary (It has effect on Current SSI Data.)
- SSI Data Length : Sensor Resolution Bit + Sensor Number of turn Bit.
Example) Sensor Resolution (Step/Revolution)=8192 => 13bit, Sensor Number of turn=4092 => 12bit
SSI Data Length must be 25 (13bit + 12bit).