GE GFK-0804B 用户手册
![GE](https://files.manualsbrain.com/attachments/ab9edb4caba5619c2fde3c8024ebd3386de893ab/common/fit/150/50/5e42700264754ddc6c8abde125a62fae9215a8ad130cb92d4b61e1d54d06/brand_logo.jpeg)
B
B-7
GFK–0804B
Appendix B Micro PLC Protocol
Start Program
ID 08
Reply:
ID 08 stat_high stat_low
stat_high
– High byte of status word
stat_low
– Low byte of status word
Status Word:
bits 0 – 7 are for fatal conditions (stopping the PLC)
bits 8 – 11 are for non-fatal conditions
bit 15 is informational
bits 8 – 11 are for non-fatal conditions
bit 15 is informational
0
memory is corrupted
1
invalid program
2 invalid
instruction
encountered
3
(runtime error (such as Indirect Move to invalid address)
4 – 6
reserved
7
forced stop (PLC stopped by error or by programmer)
8 I/O
problem
9
system timer malfunction
10 – 14
reserved
15
Program mode (1 if in Program mode)
Stop Program
ID 09
Reply:
ID 09 stat_high stat_low
stat_high
– High byte of status word
stat_low
– Low byte of status word
Error Reply
ID 8x error_code
8x is the command code to which this is the reply plus 128 (80h).
error codes:
1
Receive buffer overflow
2
Checksum error
3
Illegal command code
4
Illegal command format
5
Block size too big or zero
6
Cannot modify program while running
7
Cannot run while switch is in PROG position
8
Address out of range