Beruflich Dokumente
Kultur Dokumente
Local Details
Port - The available serial ports on your machine.
PLC Model - The various FX models :
Model
Inpu
t
FX0
17
FX0s
17
FX0n 123
FX1s
17
FX1n 127
FX2n 255
FX2nc 255
Output
Timers
15
15
77
14
127
255
255
55
55
63
63
255
255
255
State
63
63
127
127
999
999
999
Special
Auxilary (MS)
8255
8255
8255
8255
8255
8255
8255
Retry - The number of times that Adroit will try to gain communication with a PLC
before failing a transaction.
Timeout - The time that Adroit will wait for a valid response from a PLC before failing
a transaction (Read or Write).
Mitsubishi FX : MITSUFXS
Wiring
Connect using RS232 programming cable from Mitsubishi.
Typically the red SC09 converter cable RS232/RS422 would be used.
Supported addresses
FX Data types:
Device
Inputs X
Min
Range
0
8000
Max
Range
Model
Maximum
Model
Maximum
Model
Maximum
Model
Maximum
Model
Maximum
Model
Maximum
Model
Maximum
Model
Maximum
Model
Maximum
Model
Maximum
Model
Maximum
.15
Model
Maximum
Model
Maximum
Model
Maximum
Model
Maximum
Model
Maximum
Model
Maximum
Model
Maximum
Model
Maximum
Model
Maximum
Model
Maximum
8255
(octal)
8000
8255
8000
8255
0
Outputs Y
(octal)
0
0
0
Timers T
0
0
Counters C
0
0
Data D
0.0
0
0
0
Auxiliary
M
0
0
0
0
Special S
0
0
0
Special
Auxiliary
MS (read
only)
PLC Data
Type
Digital
BOOLEAN
INTEGER
REAL
X 0
Signed Integer
X 0 I
X 0 I
Unsigned
Integer
Digital
X 0 W
X 0 W
Signed Integer
Y 0 I
Y 0 I
Unsigned
Integer
Signed Integer
Y 0 W
Y 0 W
T 0 I
T 0 I
Unsigned
Integer
Signed Integer
T 0 W
T 0 W
C 0 I
C 0 I
Unsigned
Integer
Digital
C 0 W
C 0 W
Signed Integer
D 0 I
D 0 I
Unsigned
Integer
Double word
D 0 W
D 0 W
D 0 D
D 0 D
Signed Integer
M 0 I
M 0 I
Unsigned
Integer
Double word
M 0 W
M 0 W
M 0 D
M 0 D
Signed Integer
S 0 I
S 0 I
Unsigned
Integer
Double word
S 0 W
S 0 W
S 0 D
S 0 D
MS 0 I
MS 0 W
MS 0 I
MS 0 W
MS 0 D
MS 0 D
Digital
Digital
Signed Integer
Unsigned
Integer
Double word
Y 0
D 0.0
M 0
MS 8000
I/O X and Y words are numbered by byte. I.e. Y0 (integer) includes all digitals
from Y 0 up to Y17. (Count 16 bits). Y2 thus includes bits Y20 to Y37.
The constant K setting of a timer is inaccessible via protocol, please use a D
register for this purpose.
Mitsubishi FX : MITSUFXS
Message protocol
Communications are fixed at 9600 baud, 7 data, 1 start, 1 stop and even parity. The
protocol is essentially ASCII, with control codes delimiting portions of the messages.
The LRC value is the 8-bit SUM of all bytes in a message from after the STX up until
and including the ETX.
Read Register
Enquiry/ Ready?
ENQ
05
Acknowledgement:
ACK
06
CMD
O2
30
0
Start
Addr Hi
30 30
0 1
Start
Addr Lo
30 3A
0 0
Number
bytes
30 32
0 2
ETX
LRC
LRC
03
36
5
36
4
ETX
03
LRC
xx
X
LRC
xx
X
Read response:
STX
O2
Data
xx xx xx xx
X X X X
Write Register
Enquiry/ Ready?
ENQ
05
Acknowledgement:
ACK
06
CMD
O2
31
Start
Addr Hi
30 30
Write response:
ACK
06
Acknowledgement:
ACK
06
Start
Addr Lo
30 3A
Number
bytes
30 32
Data
ETX
LRC
LRC
Xx xx xx xx
03
36
36
Mitsubishi FX : MITSUFXS
Write request (Y23): force on
STX
CMD
O2
37
Start
Addr Hi
31 33
Start
Addr Lo
30 35
Number
bytes
00 02
ETX
LRC
LRC
03
xx
xx
ETX
LRC
LRC
03
xx
Xx
OR
Write request (Y23): force off
STX
CMD
O2
38
Start
Addr Hi
31 32
Start
Addr Lo
30 35
Number
bytes
00 02
Write response:
ACK
06
Revision information
Date
28/04/04
19/05/04
Changes
New features cater for models, added special Auxillary bits
Added debug info to the datascope