Download FEH255_Standard Extended FB for General Purpose

Transcript
“_CfdPK”
3-6 FUJI Bar Code Reader Procedure FB “_CfdPK”
(2) Initialization procedure
When the OPEN terminal of FB is turned ON, communication parameters are transferred to the general purpose
communication module, which executes processing for initialization. If initialization is impossible due to a communication
parameter setting error or hardware error, FB outputs the corresponding error code to the OPEN Status (O_STS).
Turned ON by the application program.
Turned OFF by the application program.
(Note)
OPEN(OPEN)
Processing for initialization
Port closing operation
Communication
ready (OK)
Note: OPEN signal shall be set to Always ON during data communication.
If initialization error has occurred
OPEN Status
(O_STS)
00
Error status
(3) OPEN status list
No.
Result of initialization
Remarks
'00'
Ended normally
'01'
Transmission speed error
General purpose communication module detected an error.
'02'
Data bit length error
General purpose communication module detected an error.
'03'
Parity bit error
General purpose communication module detected an error.
'04'
Stop bit error
General purpose communication module detected an error.
'3F'
Parameter modification error
Parameter modification error after OPEN
'40'
Response monitoring timer value setting
error
'41'
Retry count setting error
'42'
Start code setting error
'43'
End code setting error
'44'
BCC code setting error
'45'
Retry count setting error
'80'
General purpose communication module
station No. setting error
'81'
Port No. setting error
'82'
Message port No. setting error
'93'
Open error
Initialization failed due to bus error
'94'
Open error
Initialization failed due to abnormality on general purpose
communication module
'A3'
Processing impossible because in
code conversion mode.
General purpose communication module detected an error.
'A5'
Processing impossible because in
loader mode.
General purpose communication module detected an error.
'A6'
Processing impossible because selfdiagnosis is being executed.
General purpose communication module detected an error.
3-49