Mitsubishi Electronics FX-485ADP manual Command and Device Range, Computer commands, PC commands

Page 9

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

COMMAND AND DEVICE RANGE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4.1 Computer commands

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command

Function

Objective

Number of processing points

 

 

 

 

done by one communication

 

 

 

 

 

 

 

 

device symbol

 

 

Symbol

ASCII code

 

FX0N

FX, FX2C

 

 

 

 

 

 

BR

 

 

42H,52H

To read out on/off state of bit device in batch in the unit of 1

X,Y,M,S,T,C

54 points

256 points

 

 

 

 

 

 

 

 

point.

 

 

 

 

 

 

 

 

 

 

 

 

To read out on/off state of bit device in batch in the unit of

X,Y,M,S

13 words,

32 words,

 

 

WR

 

 

57H,52H

16 points.

 

208 points

512 points

 

 

 

 

To read out numerical data stored in word device in batch in

T,C,D

13 points

64 points

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

the unit of 1 point.

 

 

 

 

 

 

BW

 

 

42H,57H

To write on/off state into bit device in batch in the unit of 1

X,Y,M,S,T,C

46 points

160 points

 

 

 

 

 

 

 

 

point.

 

 

 

 

 

 

 

 

 

 

 

 

To write on/off state into bit device in batch in the unit of 16

X,Y,M,S

10 words,

10 words,

 

 

W W

 

 

57H,57H

points.

 

160 points

160 points

 

 

 

 

To write numerical data into word device in batch in the unit

T,C,D

11 points

64 points

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

of 1 bit.

 

 

 

 

 

 

BT

 

 

42H,54H

To specify bit device at random in the unit of 1 point, and

X,Y,M,S,T,C

10 points

20 points

 

 

 

 

 

 

 

 

set/reset by force.

 

 

 

 

 

 

To specify bit device at random in the unit of 16 points, and

X,Y,M,S

6 words,

10 words,

WT

42H,54H

set/reset by force.

 

 

 

96 points

160 points

To specify word device at random in the unit of 1 point, and

T,C*, D

6 points

10 points

 

 

write data by force.

 

 

 

 

 

 

 

 

 

 

 

RR

52H,52H

To remote-run the PC.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RS

52H,53H

To remote-stop the PC.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PC

52H,43H

To read out the type name of PC.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

GW

47H,57H

To turn on/off global signal (special auxiliary relay M8126 in

Special

1 points

1 points

FX series) to all PCs connected to computer link.

auxiliary

 

 

 

relay M8126

 

 

 

 

 

 

TT

54H,54H

To transmit the data received from computer directly back

 

 

 

25 characters

254 characters

 

 

 

 

 

to the computer.

 

 

 

 

 

 

 

 

 

*Counter except for high speed counter, 32-bit counter (C200 to C255).

4.2 PC commands

The command to be effected from the PC is the on-demand command only. This command can be used only when the system configuration is 1:1. In this on-demand command, the content of the data register specified at the PC side is transmitted to the computer side from the PC side. The maximum number of points of the data register that can be transmitted as follows.

PC series

Max. number of points

FX0N

13 words

FX , FX2C

64 words

4.3Device range

 

Device

 

 

Device number range (characters)

Decimal/Octal

 

 

FX0N series PC

FX , FX2C series PC

expression

 

 

 

 

Input relay

(X)

X0000

~ X0177

X0000

~ X0337

Octal

 

Output relay

(Y)

Y0000

~ Y0177

Y0000

~ Y0337

 

 

device

Auxiliary relay

(M)

M0000 ~ M0511

M0000 ~ M1535

 

State

(S)

S0000

~ S0127

S0000

~ S0999

 

 

 

Bit

Special auxiliary relay

(M)

M0000 ~ M8254

M8000 ~ M8255

 

Timer contact

(T)

TS000

~ TS063

TS000 ~ TS255

 

 

Counter contact

(C)

CS000 ~ CS031

CS000 ~ CS255

 

 

CS235 ~ CS254

 

 

 

 

 

 

 

 

Timer present value

(T)

TN000 ~ TN063

TN000 ~ TN255

Decimal

device

Counter present value

(C)

CN000 ~ CN031

CN000 ~ CN255

 

 

 

 

CN235 ~ CN254

 

 

 

 

 

 

 

Word

Data register

(D)

D0000 ~ D0255

D0000

~ D0999

 

File register

(D)

D1000 ~ D2499

D1000

~ D1999

 

RAM file register

(D)

 

 

 

 

D6000

~ D7999

 

 

 

 

 

 

 

Special data register

(D)

D8000 ~ D8255

D8000

~ D8255

 

As for timer and counter, it must be noted that the character symbols differ as follows between the bit device and word device.

 

Bit device (contact)

Word device (present value)

Timer

TS

TN

Counter

CS

CN

Image 9
Contents FX0N-485ADPCOMMUNICATION Adapter Users GuideWeight Approx .3 kg 0.66 lbs Units mm inches External dimensionsIntroduction 〈FX-485ADP〉System configuration Wiring Applicable PCsConnection with PC When connecting one computer and one PC Examples of two-pair wiring for RS-422 circuitExamples of one-pair wiring for RS-485 circuit Terminating resistances Specifications Environmental specificationsPower source specification and type of isolation Command and Device Range Computer commandsPC commands Diagnostics Start UP Procedure Manual number JY992D53201 Manual revision C Data August