24
ASCII
RS485/RS232 Communications Interface
Example 6: Tag Access (Sequential Selection)
You can also repeat a valid selection (as Example 5) without having to re-establish the
connection to the drive to update any other specified parameter. Lets say the next parameter you
want to update is DIGITAL INPUT 1 INVERT whose new value is to be TRUE.
(Tag 30, DIGITAL INPUT 1 INVERT, ID 0u, Type BOOL - see the Parameter Specification
Table in the 650 or 650V Software Product Manual for this information)
SET PARAMETER
•
For software users
:
Send (STX), 0u, 1 and (ETX).
•
For programmers, in ASCII:
(STX)
0
u
>
0
1
(ETX)
m
•
For programmers, in HEX:
02
30
F5
3E
30
31
03
F9
•
As Characters - Data Transfer:
(STX)
(C1)
(C2)
>
(D1)
(D2)
(ETX)
(BCC)
Note:
The BCC Checksum is the result of the new information you are sending to the Drive.
RESPONSE
The response will be as for Example 5.
Character Definitions
Standard Character Definitions
(GID)
The Group address Identifier (repeated for security)
(UID)
The Unit address identifier (repeated for security)
(C1) (C2)
The two characters of the parameter mnemonic (from the Tag number)
(D1)..(Dn)
The value of the requested parameter (string may be any length,
determined by the data).
(BCC)
Block Check Character: a character generated by taking the exclusive OR
(XOR) of the ASCII values of all the characters transmitted after and
excluding (STX) up to and including (ETX)
Control Character Definitions
Standard Control Character Definitions
(STX)
Start of text
(ETX)
End of text
(EOT)
End of Transmission: resets all instruments on the link and causes them
to examine the next four transmitted characters to see if they correspond
with their Group/Unit address identifiers
Also sent to terminate communication with a particular device.
Summary of Contents for 6513
Page 7: ......