111
Some
IDeal™
commands request a response from the control.Responses will
always be preceded by an asterisk (*) which notifies the other controls on a daisy
chain to ignore the subsequent response characters preceding the next command
delimiter. For example,the Input State (IS) command might return *AF09<cr>
Your computer program will need to mask the asterisk before decoding the value
returned.
You can document your programs by placing comments between brac kets. For
example:{this is a comment}. To maximize program storage space,the control
“strips off” these comments when a program file is downloaded.
Letter or Symbol Description
<n>
Unit address number is optional with RS-232C, and
the command is sent to all units if no address is
specified. All Status commands require an address.
Example: <n>
AUi,i
,
Field separator.
a
Alphabetic character.
h
Hexadecimal number.
i
Decimal integer number.
r
Decimal real number (up to 4 places to the right of
the decimal.
:
A colon (:) is a neutral character. It can be used in
a command to make it more readable to the pro-
grammer. For example OP:OOOOIIII is easier to
understand than OPOOOOIIII.
Note
: The colon is required in GR command and is
not neutral. (Unit Ratio). Example:
GR4:1
Chapter 7 - Programming with Serial Communication
Содержание B8961
Страница 111: ...109 Chapter 7 Programming with Serial Communication...
Страница 132: ...B8961 and B8962 User Manual 130...
Страница 136: ...B8961 and B8962 User Manual 134 B8961 and B8962 Hardware Connections...
Страница 137: ...135 Chapter 8 Hardware Reference B8961 and B8962 Input and Output Schematics...
Страница 138: ...B8961 and B8962 User Manual 136 Connecting IDC Limit Switches to the B8961 2...
Страница 156: ...B8961 and B8962 User Manual 154...