DELTA TAU PMAC Drive (Serial)

Communication Setup: PMAC

For normal communication between Xpanel and PMAC, some I-variables should have the values described below.

I-variable

Set Value

Remark

I0

0 .. 15

The station number ‘0’ is the default value of PMAC. To set up the PMAC to communicate as station 1 to 15 on a multi-drop serial cable, first communicate with the board as station 0. Set I0 to specify the new station number. Also, set I1 to 3 to enable the station number addressing.

I1

3

CS handshake is not used; the software card address is required.

I3

2

Communication handshake style and code.

I4

0

Checksum disabled, serial errors reported immediately.

I6

1

Error reporting mode.

I9

0 or 2

0 (short form of the decimal) or 2 (short form of hexadecimal).

I63

1

Echo the <Control-X> character.

I64

1

Enable the internal response tag.

Store these values to the non-volatile flash memory with the ‘SAVE’ command. Then turn off the power.

Please refer to PMAC’s manual for more information.

Communication Setup: Xpanel

Create a new device

For creating a new device, go to [Tools] → [I/O Devices] or click on the icon in the toolbar.

The following images show the first step of creating a new device.

I/O Device Name: Give a device name. This name will be used in the tag configuration window of the database accompanied by the ‘Station Name’.

Select a device type

After selecting [Ok] in the previous step, the ‘Serial Communication configuration’ dialog box will show up.

Select ‘DELTA TAU PMAC Drive’ in the ‘Device Type’ dropdown menu. Then, configure the proper serial communication parameters (9600bps, no parity, 8 data bits, and 1 stop bit recommended). See the Communication Configuration section for more information.

Create a station

Move to the [Station] tab of the 'Serial Communication Configuration' dialog box. In this dialog box, all the connected PLC stations can be configured and registered to the Xpanel.

Station Name: Give a name to the PLC. This name will be used in the database window, accompanied by the Device Name.

Station Type: Choose the ‘PMAC-Once Device’ (no other type can be selected).

Network ID: This field has no effect.

Station No.: Specify a number between 0 and 15.

16Bit Data Swap: This field has no effect.

32Bit Data Swap: This field has no effect.

String Data Swap: This field has no effect.

Using Checksum: This field has no effect.

Comm. Error Message Pop Up: When this item is checked, Xpanel displays a communication error message box for every Rx and Tx error. Otherwise (unchecked), Xpanel does not display a message for communication errors. This message box will close automatically after a few seconds.

See the Communication Configuration section for more information about the remaining parameters.

Address Notation

The address of a tag in Xpanel has the following format:

Tag Type

Format

Example

Analog

[Symbol][Address]

P0012

Digital

[Symbol][Address]

M0215

  • Address: a number between 0 and 8191.

  • All addresses can be used with the digital tag. The value of zero (0) is treated as OFF and other values are treated as ON in Xpanel.

The following table shows the list of devices that can be referenced in the Xpanel database.

Symbol

Description

Address Range

Type

Access

I

Variable of fixed meaning for card setup

0-8191

Analog

R/W

P

Global variable for programming use

0-8191

Analog

R/W

M

Variable assigned to a memory location for user

0-8191

Analog

R/W

Q

Local variable for programming use

0-8191

Analog

R/W

DELTA TAU PMAC communication driver supports only the FLOAT data type.

The following image shows the FLOAT data type configuration window of the Xpanel database.

Communication Cable Wiring

Xpanel COM1/COM2 RS-232C

Connector Type: D89

Xpanel COM1 RS-422A

Connector Type: 5 Pins Terminal Block

Â