beautypg.com

Delta Electronics ASDA-B Series User Manual

Page 241

background image

Chapter 8 MODBUS Communications|ASDA-B Series

8-6

Revision January 2009

communication and computer UI. If they are programmed via the keypad a hexadecimal number is

entered; if programmed via communication or UI a decimal or hexadecimal number can be used. In both

methods of programming, a single number is used for all six Digital Inputs. The following example

shows how each DI is addressed and converted to a single decimal or hexadecimal number.

The six Digital Inputs are noted from the right, DI 1 to left, DI 6 with their desired input command or

signal method, 0 or 1. Once all six Digital Inputs have been noted this binary number is converted to a

decimal or hexadecimal number and entered into P3-06.

Bit

5 4 3 2

1

0

Decimal value

32 16

8

4

2

1

Input

DI6 DI5 DI4 DI3 DI2 DI1

State

0 1 0 1

0

1 =

D6

Hex

(Keypad, Communication or UI)

(External CN1

Communication)

or = 63 Dec (Communication or UI only)

Please see Chapter 4.4.5 DI Signal Display Diagnosis Operation for display layout of the Digital Signal

selection.

The Digital Input Control Contact parameter, P3-06 also works in conjunction with the Multi Function

Digital Input parameter P4-07 which has several functions.

The contents of P4-07 is "read only" via the drive keypad and will display the state on or off ("blank" or

"|") of the six Digital Inputs which have been set in accordance to P3-06. For example; if P3-06 has

been set to 0 (All DI is external and via the CN 1 interface) and the P4-07 display is indicating the

following:

_ | | _ _ |

(for the manual this picture should be similar to the one shown on page 4-8

(Ch

4.4.5))

The Digital Inputs 1, 4, & 5 are "on" (high) and Digital Inputs 2, 3, & 6 are "off" (low).

If the contents of P4-07 is being read via communication the output will be a decimal number that will

represent the "binary" display. Therefore in the previous example the decimal number being read would

be 25.

However, in the communication mode the user can write to P4-07 to turn the Digital Inputs either "on" or

"off". Again this achieved by sending a decimal or hexadecimal number that corresponds to the binary

representation of the Digital Inputs being addressed. Therefore in the previous example 25 or 19 hex

would be sent to 407H to switch on Digital Inputs 1, 4, & 5. Remember, previous to this P3-06 would

have been set to either 63 / 3F or 25 / 19 (This sets the Digital Inputs 1, 4, & 5 to communication).