IDEC device driver

IDEC

The device driver is used for SK series HMI to read and write the data or state of Macro Smart FC4A/FC5A/FC6A series PLC register. The serial communication connection is established through the serial port of HMI and that of Macro Smart FC4A/FC5A/FC6A series PLC, so as to operate Macro Smart FC4A/FC5A series PLC. Prior to use of the driver, one shall carefully read related technical specifications of the chapter and Macro Smart FC4A/FC5A/FC6A series PLC.

How to establish connection with Macro Smart FC4A/FC5A series

1.      Hardware connection

 

Connecting cable:

RS232 (serial port RS232 protocol)

SK HMI COM1/COM2

Macro Smart FC4A/FC5A

2

RX

3

TX

3

TX

4

RX

5

GND

6

GND

6-7

Short circuit

 

 

7

GND


Terminal of  HMI is DB9F, and that of Macro Smart FC4A/FC5A series PLC is MD8M.   

2.      Software settings

Select Allen-Bradley in connection device service.

Select the corresponding item in connection device service according to the connected PLC model or supported protocol.

Ensure that the communication parameters in touch screen connection parameters and PLC station number are consistent with the PLC connected.

For settings of the PLC connected, refer to the relevant technical documents of the Macro Smart FC4A/FC5A/FC6A series PLC.

 

Default connection parameters of SK  HMI

Setting item

Default parameter value

Setting scope

PLC type

Macro Smart FC4A

Macro Smart FC4A/ Macro Smart FC5A

Communication port type

RS232

RS232/RS422/RS485

Baud rate

9600

1200/2400/4800/9600/19200/38400/57600/115200

Data bit length

7

7/8

Parity bit

EVEN

EVEN/ODD/NONE

Stop bit length

1

1/2

PLC station number

1

0~255

HMI station number

0

0~255

 

Supporting function

Whether it is supported

Off-line simulation

Yes

On-line simulation

Yes

Extended mode

Yes

3.      Operational register and address range

Macro Smart FC4A

Register name

Address format

Input range

Remarks

I

ddd

0~255

Bit: external switch quantity input, read only

Q

ddd

0~255

Bit: external switch quantity output

M

dddd

0~1023

Bit: internal relay

SM

ddd

0~215

Bit: internal register

R

ddd

0~255

Word: shift register

D

ddd

0~1299

Word: data register

TV

ddd

0~127

Word: current value of timer

CV

ddd

0~127

Word: current value of counter

 

Macro Smart FC5A

Register name

Address format

Input range

Remarks

I

ddd

0~255

Bit: external switch quantity input, read only

Q

ddd

0~255

Bit: external switch quantity output

M

dddd

0~2047

Bit: internal relay

SM

ddd

0~215

Bit: internal register

R

ddd

0~255

Word: shift register

D

ddd

0~42000

Word: data register

TV

ddd

0~255

Word: current value of timer

CV

ddd

0~255

Word: current value of counter

Macro Smart FC6A Tcp/IP

Register name

Address format

Input range

Remarks

I

Ddo

0~627

Bit: external switch quantity input, read only

Q

Ddo

0~627

BitBit: external switch quantity output

M

Dddo

0~7997

8000~8317

10000~17497

Bitinternal relay

R

Ddd

0~255

Bitshift register

T

Dddd

0~1023

Bit: status of timer (read only)

C

Dddd

0~511

Bit: Status of counter(read only)

D

ddddd

0~8499

10000~55999

Word: register

TV

dddd

0~1023

Word: current value of timer (read only)

CV

ddd

0~511

Word: current value of counter (read only)

TS

dddd

0~1023

·         Word: timer set value(read only)

CS

ddd

0~511

Word: counter set value (read only)

Note:

d represents decimal system, input range is 0-9;

Bit in the remarks: represents the register can only be used as bit;

Word in the remarks: represents the register can only be used as word;

Read only in the remarks represents that the register can only be read but not be written;

The names of the registers supported by different equipment model may be different, and the scopes may also be different.

For detailed name and scope, please consult related technical document of the connected device.