Format of command and response
Command message
All command-related items should be noted in the text segment. The unit number must be specified
before sending the command.
1. Header (Start code)
Commands must always have a "%" (ASCII code: H25) or a "<" (ASCII code: H3C) at the beginning of a
message. The number of characters that can be sent in one frame differs depending on the start code.
Type of header No. of characters that can be sent in 1 frame
Types
%
Max. 118 characters
FP-X0 all types
<
Max. 2048 characters
L40 / L40MR / L60/ L60MR
2. Unit number
The unit number of the PLC to which you want to send the command must be specified. In 1:1
communication, the unit number "01" (ASCII code: H3031) should be specified. The unit number of the
PLC is specified by the system register.
3. Text
The content differs depending on the command. The content should be noted in all upper-case
characters, following the fixed formula for the particular command.
4. Check code
-
BCC (block check code) for error detection using horizontal parity. The BCC should be created so that
it targets all of the text data from the header to the last text character.
-
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. It is normally part of the calculation program
and is created automatically.
-
The parity check can be skipped by entering "* *" (ASCII code: H2A2A) instead of the BCC.
5. Terminator (End code)
Messages must always end with a "CR" (ASCII code: H0D).
Note: When writing
-
The method for writing text segments in the message varies depending on the type of command.
-
If there is a large number of characters to be written, they may be divided and sent as several
commands, if there is a large number of characters in the value that was loaded, they may be divided
and several responses sent.
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 ...