background image

22 

ASCII

 

RS485/RS232 Communications Interface 

Example 4: Tag Access (Single Parameter Selection) 

Here we are writing a value to a single parameter:

 the value of PRESET INPUT 1 is 30.00%.  

 

SET PARAMETER 

(Tag 348, PRESET INPUT 1, ID 9o, Type REAL - see the Parameter Specification Table in the 
650 or 650V Software Product Manual for this information)

 

For software users

:

 

Enter the known address of the drive (say 01), (STX), 90, 30. and (ETX). 

 

For programmers, in ASCII:

 

(EOT) 

(STX)

(ETX)

 

 

For programmers, in HEX:

 

04 

30 

30 

31 

31 

02 

39 

6F 

33 

30 

2E 

03 

78 

 

 

As Characters - Establish Connection  |  Data Transfer:

 

(EOT) (GID)  (GID) (UID) (UID) (STX) (C1)  (C2)  (D1)  (D2)  (D3)  (ETX) (BCC)

 

Note:

 

The (GID)(UID) address is always entered twice. 

Note:

 

Refer to ”Instrument Address”, page 14 for a more detailed explanation. 

Note:

 

The BCC checksum (XOR) of the data after and excluding (STX) up to and including (ETX) 
is “(” and >78. Refer to ”Block Check Character (BCC)”, page 13 for a more detailed 
explanation. 

RESPONSE 

 

For software users

:

 

The response will be either (ACK), (NAK) or no reply. If (ACK), the parameter value will 
be updated at the drive. 

 

For programmers, in ASCII:

 

either (ACK), (NAK) or no reply 

 

 

For programmers, in HEX:

 

either 06, 15 or no reply 

 

 

As Characters:

 

either (ACK), (NAK) or no reply 

Summary of Contents for 6513

Page 1: ...7 Technical Manual aerospace aerospace climate control climate control electromechanical filtration filtration fluid gas handling fluid gas handling hydraulics hydraulics pneumatics pneumatics process...

Page 2: ...hough every effort has been taken to ensure the accuracy of this document it may be necessary without notice to make amendments or correct omissions Parker SSD Drives cannot accept responsibility for...

Page 3: ...all performance endurance maintenance safety and warning requirements of the application are met The user must analyze all aspects of the application follow applicable industry standards and follow th...

Page 4: ...for your own information Unit used as a refer to Certification for the Inverter Component Relevant Apparatus Unit fitted Wall mounted Enclosure Application Area The equipment described is intended for...

Page 5: ...or the product s operation are correctly installed All control and signal terminals are SELV i e protected by double insulation Ensure all external wiring is rated for the highest system voltage Therm...

Page 6: ...Communications 11 What Information Can I Transfer 11 How is the Information Transferred 11 Programmer s Information 13 EI Bisynch ASCII Message Protocol 14 EI Bisynch ASCII Parameter Mapping 15 EI Bis...

Page 7: ......

Page 8: ...Sub category 2 5 Two way Alternate Non switched Multi point with Centralised Operation Fast Select Message Transfer Control Procedure Sub category B1 Message Associated Blocking with Longitudinal Chec...

Page 9: ...s Direct tag access for all parameters Product Code The Parker SSD Drives product is fully identified using an alphanumeric code which records how the product was assembled and its various settings wh...

Page 10: ...he keypad It converts signals from the host 650V drive into RS485 or RS232 and vice versa so that information can be shared between the Master and 650V drive s Wiring is very simple all connections ar...

Page 11: ...um Number of Units 32 including slaves and masters 2 1 master and 1 slave only LED Indications The module has three LEDs providing diagnostic information about the 650V host drive s Health Receive and...

Page 12: ...with RS485 option Connector A B Scn 650V Drive with RS485 option Master PC PLC Drive Drive Drive Wiring Specifications RS485 Connections Network Type 2 Wire Shielded Twisted Pair Connections A RxA TxA...

Page 13: ...Master which sends messages to or requests data from the Slave The Slave never initiates a communication There is only one Master and one Slave in the system PLC SCADA Supervisor If possible avoid us...

Page 14: ...dentify the drive to the controlling software for drive configuration and storage of parameters Note The unit will always respond to GID 0 and UID 0 as this is the broadcast address used by the keypad...

Page 15: ...and PARITY is EVEN Enumerated Value Protocol 0 AUTOMATIC checks for keypad or EI ASCII 1 KEYPAD 2 EIBISYNC ASCII 3 MODBUS 4 FIELDBUS RS485 PORT PROTOCOL F SET SERL SE09 Range Enumerated see below This...

Page 16: ...Mode 0 TERMINALS COMMS 1 TERMINALS ONLY 2 COMMS ONLY COMMS TIMEOUT SET SERL SE02 Range 0 0 to 600 0 s Sets the maximum time allowed between refreshing the COMMS COMMAND parameter The drive will trip...

Page 17: ...650V Software Product Manual you can enter the parameter information you require It provides the information in the following way Type The first page of the Parameter Specification Table chapter detai...

Page 18: ...stablished connection with the device which will then respond The role of master and slave exchanges during the transfer A message consists of a sequence of characters which we identify as Control Cha...

Page 19: ...tablished connection with the device you can repeat the previous message without re establishing connection In both cases writing to or reading from the device you can use this to re select the previo...

Page 20: ...exadecimal data is preceded by a sign to differentiate it from numerical data Note Hexadecimal refers to the common practice of counting to the base of 16 in computing rather than the base of 10 The s...

Page 21: ...d of Transmission E 05 ENQ Enquiry F 06 ACK Positive Acknowledge U 15 NAK Negative Acknowledge Instrument Address The Drive has a two digit address the first digit being the group ID number GID in the...

Page 22: ...Only 1 Command Write only used to modify the state of the drive and to load configuration data from non volatile memory HEX Value Description 7777 Reset Command Acknowledges failed restore Loads and s...

Page 23: ...r Information is exchanged across the system by use of a two character Mnemonic that is derived from the Tag Number Note Refer to the Parameter Specification Table in the 650 or 650V Software Product...

Page 24: ...X XX XX XXX to XX XXX X XXXX to X XXXX Leading zeroes suppressed up to digit before decimal point Trailing zeroes suppressed after decimal point ENUM Enumerated Value 0 to 99 XX Leading zeroes suppres...

Page 25: ...E ENTRY RE ENTRY DEVICE SET PARAMETER Figure 2 Selection Sequence for Writing Information to the Drive Protocol Event ESTABLISH CONNECTION Sender SUPERVISOR Supervisor Status MASTER Status SLAVE SLAVE...

Page 26: ...that it is an enquiry For programmers in ASCII EOT 0 0 1 1 I I ENQ For programmers in HEX 04 30 30 31 31 49 49 05 As Characters Establish Connection Ask Question EOT GID GID UID UID C1 C2 ENQ Note The...

Page 27: ...or programmers in HEX 04 30 30 31 31 37 32 05 As Characters Establish Connection Ask Question EOT GID GID UID UID C1 C2 ENQ Note The GID UID address is always entered twice Refer to Instrument Address...

Page 28: ...at that response without having to re establish the connection You can use this to continuously monitor a parameter ENQUIRY For software users Send NAK For programmers in ASCII NAK For programmers in...

Page 29: ...0 30 31 31 02 39 6F 33 30 2E 03 78 As Characters Establish Connection Data Transfer EOT GID GID UID UID STX C1 C2 D1 D2 D3 ETX BCC Note The GID UID address is always entered twice Note Refer to Instru...

Page 30: ...rammers in ASCII STX 9 o 3 5 ETX For programmers in HEX 02 39 6F 33 35 2E 03 7D As Characters Data Transfer STX C1 C2 D1 D2 D3 ETX BCC Note The BCC Checksum is the result of the new value you are send...

Page 31: ...ion 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...

Page 32: ...message was correctly received and the parameter updated NAK Negative Acknowledgement the message received by the drive contained an error and the parameter was not updated Last Error Code EE The EI...

Page 33: ...ock REF MODES or selected by the keypad REMOTE COMMS SEL SET SERL SE01 Range FALSE TRUE Selects the type of remote communications mode 0 FALSE and in REMOTE mode then control is from the terminals 1 T...

Page 34: ...ameter Descriptions COMMS PORTS This function block configures the programming ports that allow connection to the keypad or to a personal computer The parameters below are used to identify the drive t...

Page 35: ...control board Enumerated Value Protocol 0 AUTOMATIC 1 KEYPAD not applicable 2 EIBISYNC ASCII 3 MODBUS 4 FIELDBUS SWITCH OP PORT F SET SERL SE09 Range FALSE TRUE This parameter is not available on the...

Page 36: ...rts a subset of MODBUS RTU function codes The data includes parameters referenced by a parameter address Sending a communication with a unique device address causes only the device with that address t...

Page 37: ...equire 3 5ms frame start This period is the implied EOT of a previous transmission Device Address The device address is a single byte 8 bits unique to each device on the network Function Code Function...

Page 38: ...3 4 seven times 8 in total 6 Exclusive OR the next 8 bit byte of the message with the high order byte of the CRC register 7 Repeat step 3 through 6 until all bytes of the message have been exclusive...

Page 39: ...0 7th shift right 0100 0010 0111 1111 0 8th shift right carry 0 0010 0001 0011 1111 1 A001 1010 0000 0000 0001 Exclusive OR carry 1 1000 0001 0011 1110 Next byte of the message 07 0000 0111 Exclusive...

Page 40: ...c bytes to message returns 0 if incoming message has correct CRC uint16 CRC 0xffff uint16 next uint16 carry uint16 n uint8 crch crcl while z_message_length next uint16 z_p CRC next for n 0 n 8 n carry...

Page 41: ...ad First byte of data Last byte of data CRC 1 byte 1 byte 1 byte 1 byte 1 byte MSB LSB The first data byte contains the status of the first 8 bits with the least significant bit being the first bit Th...

Page 42: ...mber of bytes read Value of 1st word Value of last word CRC 1 byte 1 byte 1 byte MSB LSB MSB LSB MSB LSB Example For a 650V drive at device address 02 read 2 parameters beginning at Tag 254 Speed Setp...

Page 43: ...vice address 00 will broadcast the data to all devices on the network Reply There will be no reply to a command broadcast to the device address 00 Device Address Function Code 05 Address of bit Value...

Page 44: ...no reply to a command broadcast to the device address 00 Device Address Function Code 06 Address of word Value of word CRC 1 byte 1 byte MSB LSB MSB LSB MSB LSB The reply to function 06 is the same a...

Page 45: ...ification is supported Command Device Address Function Code 08 Diagnostic Code 0000 Loopback Data CRC 1 byte 1 byte MSB LSB MSB LSB MSB LSB Reply The reply to function 08 is the same as the command Ex...

Page 46: ...s Function Code 0F Address of 1st word Number of bits written CRC 1 byte 1 byte MSB LSB MSB LSB MSB LSB Example Write to the Slave unit at device address 02 14 parameters beginning at Tag 640 the valu...

Page 47: ...0 will broadcast the data to all devices on the network Reply There will be no reply to a command broadcast to the device address 00 Device Address Function Code 10 Address of 1st word Number of words...

Page 48: ...e of error detected The following error response codes are supported by Parker SSD Drives units Code Error Description 01 Illegal Function The requested function is not supported by the slave 02 Illeg...

Page 49: ...and construct a reply This is typically 2 milliseconds Period b The processing time required by the Master to analyse the Slave response and formulate the next command Period c The wait time calculate...

Page 50: ...Command Write only used to modify the state of the drive and to load configuration data from non volatile memory HEX Value Description 7777 Reset Command Acknowledges failed restore Loads and saves d...

Page 51: ...tions 0 0065 as a COIL STATUS REGISTER for access using functions 01 05 15 1 0065 as an INPUT STATUS REGISTER for access using function 02 Word Functions 4 0065 as a HOLDING REGISTER for access using...

Page 52: ...sion 5 x onwards Within the 650 many parameters are held as 32 bit values These may be read and written using pairs of Modbus registers To access the parameters in this way the mapping of tag numbers...

Page 53: ...0 0 1 1 SOH DC1 1 A Q a q 0 0 1 0 2 STX DC2 2 B R b r 0 0 1 1 3 ETX DC3 3 C S c s 0 1 0 0 4 EOT DC4 4 D T d t 0 1 0 1 5 ENQ NAK 5 E U e u 0 1 1 0 6 ACK SYN 6 F V f v 0 1 1 1 7 BEL ETB 7 G W g w 1 0 0...

Page 54: ...er Hannifin Corporation SSD Drives 9225 Forsyth Park Drive Charlotte North Carolina 28273 Tel 1 704 588 3246 Fax 1 704 588 3249 Argentina Australia Austria Bangladesh Belgium Brazil Chile Columbia Cos...

Reviews: