EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 13

Mitsubishi Electric MELSEC FX Series
162 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FX communication
xi
8. Commands.............................................................................................. 8-1
8.1 Batch Read of Bit Device (BR command)..............................................................8-2
8.2 Batch Read of Word Device (WR command) ........................................................8-3
8.3 Batch Write of Bit Device (BW command).............................................................8-5
8.4 Batch Write of Word Device (WW command)........................................................8-6
8.5 Test of Bit Device (BT command)..........................................................................8-8
8.6 Test of Word Device (WT command) ....................................................................8-9
8.7 Remote RUN/STOP (RR, RS commands) ..........................................................8-10
8.7.1 Operation of Remote RUN/STOP...........................................................................................8-10
8.7.2 Conditions for Valid Execution of Remote RUN/STOP........................................................... 8-10
8.7.3 Control Specification and Examples of Remote RUN/STOP..................................................8-11
8.8 Reading The Programmable Controller Type (PC command).............................8-12
8.8.1 Type Codes ............................................................................................................................8-12
8.8.2 Control Specification and Example.........................................................................................8-13
8.9 Global Function (GW command) .........................................................................8-14
8.9.1 Control Specification and Example of Global Function........................................................... 8-14
8.10 On-demand Function.........................................................................................8-15
8.10.1 Special Devices Used in On-demand Function .................................................................... 8-15
8.10.2 On-demand Control Protocol ................................................................................................8-16
8.10.3 Specification and Example of On-demand............................................................................8-18
8.11 Loopback Test ...................................................................................................8-21
9. RS instruction.......................................................................................... 9-1
9.1 Function and Operation .........................................................................................9-1
9.1.1 Send and Receive Program......................................................................................................9-1
9.1.2 Operation of RS Instruction.......................................................................................................9-3
9.1.3 Related Flags and Data Registers............................................................................................9-4
9.2 Hardware Hand Shake Operation..........................................................................9-6
9.2.1 FX, FX
2C
, FX
0N,
FX
1S
, FX
1N
and FX
2N
(earlier than V 2.00)....................................................9-6
9.2.2 FX
2N
, FX
2NC
(V 2.00 or later) .................................................................................................9-10
9.3 Number of Communication Data .........................................................................9-13
9.3.1 Deal with 16 bits Data.............................................................................................................9-13
9.3.2 Deal with 8 bits Data............................................................................................................... 9-14
9.4 Example Program................................................................................................9-15
9.4.1 Personal Computer.................................................................................................................9-15
9.4.2 Printer .....................................................................................................................................9-17
10. FX
2N
-232IF..........................................................................................10-1
10.1 Introduction........................................................................................................10-1
10.1.1 Outline of Product .................................................................................................................10-1
10.2 Allocation of Buffer Memories (BFM’s) ..............................................................10-2
10.2.1 BFM List ...............................................................................................................................10-2
10.2.2 Communication Format <BFM#0> .......................................................................................10-4
10.2.3 Command
BFM #1
.................................................................................................. 10−8
10.2.4 Receive Upper Limit Byte Count
BFM #2
................................................................... 10−9
10.2.5 Receive Time-out Time <BFM #3>.......................................................................................10-9
10.2.6 Send Header <BFM #5 (upper), BFM #4 (lower)>................................................................10-9
10.2.7 Send Terminator <BFM #7 (upper), BFM #6 (lower)> ..........................................................10-9
10.2.8 Receive Header <BFM #9 (upper), BFM #8 (lower)> ......................................................... 10-10
10.2.9 Receive Terminator <BFM #11 (upper), BFM #10 (lower)>................................................ 10-10
10.2.10 Receive Suspension Waiting Time <BFM #12> ...............................................................10-10
10.2.11 Number of Remaining Send Data <BFM #13> .................................................................10-11
10.2.12 Number of Receive Buffers <BFM #14> ........................................................................... 10-11

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals