beautypg.com

MITSUBISHI ELECTRIC T-60 User Manual

Page 98

background image

Available Commands:

The commands listed in the table below list the commands available for the
Idec FA-1J and the Idec FA-2J interfaces.

CALL PLCINIT Statement

Purpose:

This command is used to initialize communication with the IDEC FA-1J

and FA-2J series PLC. CALL PLCINIT must be issued prior to any other
communication (reading or writing) to the IDEC PLC. CALL PLCINIT

setsup specific communications parameters. If the CALL PLCINIT
command fails, the T-60 Series unit will break your program and generate
the error message “PLC link not established.” If this occurs, make sure that

the connections and communications configurations are correct.

Cmd#

Command

Address

Size

Read

Write

FA-IJ

FA-2J

1

Status

none

BIT

2

In_Out (Input)

0-157

BIT

2

In_Out (Expansion Input)

2000-2157

BIT

3

In_Out (Output)

200-357

BIT

3

In_Out (ExpansionOutput)

2200-2357

BIT

4

Register

800-899

WORD

4

Register (Expansion Register)

1500-1799

WORD

9

Internal Relay

400-717

BIT

9

Internal Relay (Expansion Relay)

2400-2717

BIT

12

Timer Value

0-79

WORD

13

Timer Value

0-79

WORD

14

Counter Value

0-47

WORD

15

Counter Preset

0-47

WORD

16

Shift Register

0-127

BIT

17

Ten Mil Timer

T-61-1179

WORD

Table 14

T-60 Series commands and

addrss ranges for the Idec FA-1J

and the FA-2J

T-60 Operator's Manual

90