Response message
The PLC that received the command in the example above sends the processing results to the computer.
1. Header (Start code)
A "%" (ASCII code: H25) or a "<" (ASCII code: H3C) must be at the beginning of a message.
The response must start with the same header that was at the beginning of the command.
2. Unit number
The unit number of the PLC that processed the command is stored here.
3. Text
The content of this varies depending on the type of command. If the processing is not completed
successfully, an error code will be stored here, so that the content of the error can be checked.
4. Check code
BCC (block check code) for error detection using horizontal parity. The BCC starts from the header and
checks each character in sequence, using the exclusive OR operation, and replaces the final result with
character text.
5. Terminator (End code)
There is always a "CR" (ASCII code: H0D) at the end of the message.
Note: When reading
-
If no response is returned, the communication format may not be correct, or the command may not
have arrived at the PLC, or the PLC may not be functioning.
Check to make sure all of the communication specifications (e.g. baud rate, data length, and parity)
match between the computer and the PLC.
-
If the response contains an "!" instead of a "$", the command was not processed successfully. The
response will contain a communication error code. Check the meaning of the error code.
-
Unit number and command name are always identical in a command and its corresponding response
(see below). This makes the correspondence between a command and a response clear.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Содержание FP-X0 L14R
Страница 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 10: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 18: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 40: ...AFPX E30R AFPX E30RD AFPX E30T Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 43: ...Chapter 4 I O Allocation Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 48: ...4 6 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 49: ...Chapter 5 Installation and Wiring Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 65: ...Chapter 6 Communication Functions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 118: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 141: ...Sample program Control code Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 144: ...Sample program Control code Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 146: ...Sample program Control code Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 148: ...Sample program Control code Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 150: ...7 32 Sample program Control code Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 154: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 155: ...Chapter 8 Security Functions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 167: ...Chapter 9 Other Functions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 183: ...Chapter 11 Precautions During Programming Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 196: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 197: ...Chapter 12 Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 210: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 211: ...Chapter 14 Appendix Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 288: ...14 7 ASCII Codes Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 289: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...