SOM-1750-001.pdf - 第8页

Tg0967-PM-SO 2.1 Component Shortage Data Output Function 0309-001 7 (*4) Checksum (CSM): 2 bytes Fig. 2 • The checksum calculation method can be specified on your side. Ref.: The ASCII codes in the command and data secti…

100%1 / 17
Tg0967-PM-SO
0309-001 6
2.1 Component Shortage Data Output Function
(*3) Contents of Communication Data (CMP+DATA) Table 1
Data Name Number of Bytes Description
Command (CMP) 1 0x44(‘D’): Data Output
(2 bytes) 1 0x31(‘1’): Component Shortage Data
Data Types 1 0x30(‘0’): Alarm Generated
0x31(‘1’): Error Generated
, 1 Delimiter (ASCII Code 0x2C)
Status 1 0x31(‘1’):COMP. MISSING (SENSOR)
0x32(‘2’):COMP. VERTICAL (SENSOR)
0x33(‘3’):COMP. MISSING (RECOG.)
0x34(‘4’):COMP. RECOG. ERROR
0x35(‘5’):SHORTAGE OF COMP.
0x36(‘6’):Reserved
0x37(‘7’):COMP. THICKNESS (SENSOR)
0x38(‘8’):COMP. PICKUP DIFF (RECOG)
0x39(‘9’):COMP. REVERSE (RECOG)
, 1 Delimiter (ASCII Code 0x2C)
Feeder Slot Nos. 3 Feeder Slot No. in Component Shortage Error
(101 to 180/201 to 280)
, 1 Delimiter (ASCII Code 0x2C)
Component ID 32 Component Identification Name
, 1 Delimiter (ASCII Code 0x2C)
Time Stamp 14 Year/Month/Day/O’clock/Minute/Second
Example:
19980325142340 Æ 14 o’clock 23 minutes 40 sec-
onds on March 25th, 1998
, 1 Delimiter (ASCII Code 0x2C)
Checksum 2 Described in (*4)
CR 1 Delimiter (ASCII Code 0x0D)
LF 1 Delimiter (ASCII Code 0x0A)
When a component ID is shorter than 32 characters, it is trans-
mitted with spaces (ASCII Code 0x20) added at the end.
Note
Tg0967-PM-SO
2.1 Component Shortage Data Output Function
0309-001 7
(*4) Checksum (CSM): 2 bytes
Fig. 2
The checksum calculation method can be specified on your side.
Ref.: The ASCII codes in the command and data sections are
added. When the total of each 8 bits becomes "0" (zero), the
checksum is regarded as "OK".
The character position of the checksum is fixed.
Fig. 3
Tg0967-PM-SO
2.1 Component Shortage Data Output Function
0309-001 8
2.1.5 Example of Data Output
Component Shortage Error at 120th Feeder Slot (ID: R2125-001).
(19990302101121)
When the feeder alternate mode is specified as “116Æ118Æ120”, the
data is transmitted as follows.
The data for the 116th and 118th feeder slots is reported as
follows after the data at the 120th feeder slot is transmitted.
Error/Status: 0x31 No Component/Time Stamp: ------- (Fixed)
Fig. 4
Note