Manual Fx2n 485 BD
Manual Fx2n 485 BD
HARDWARE MANUAL
JY992D73401A
This manual contains text, diagrams and explanations which will guide the reader in the correct installation and operation of the FX2N-485-BD COMMUNICATION BOARD. It should be read and understood before attempting to install or use the unit. Further information can be found in the FX PROGRAMMING MANUAL, FX2N series hardware manuals and manual of FX COMMUNICATION USERS MANUAL.
If in doubt at any stage during the installation of the FX2N-485-BD COMMUNICATION BOARD always consult a professional electrical engineer who is qualified and trained to the local and national standards.
1. INTRODUCTION
The communication board FX2N-485-BD for RS485 (hereinafter referred to as 485BD) can be connected to the base unit of the FX2N Series programmable controller to be used for the following applications. 1) Data transfer using no protocol Data communication with diversified RS232C units including personal computers, bar code readers and printers can be performed via the RS485 (422) converter using the no protocol. In this application, data is sent or received using the data registers specified by the RS instruction. For the setting and program examples, refer to the FX Programming Manual and FX Communication Users Manual. 2) Data transfer using the dedicated protocol Data transfer with RS485 (422) units can be performed on the 1:N basis using the dedicated protocol. For the contents of the dedicated protocol used in this application, refer to the FX Communication Users Manual. 3) Data transfer using the parallel link Data transfer with an FX2N programmable controller can be performed on the 1:1 basis for 100 auxiliary relays and 10 data registers. For the setting and program examples, refer to the FX Communication Users Manual.
4) Data transfer using the N:N network Data transfer with FX2N programmable controllers can be performed on the N:N basis. For the setting, the number of transferred data and program examples, refer to the FX Communication Users Manual.
Mounting holes (2- 4.0(0.16")) Connector for programmable controller SD LED: Flashes at high speed during sending. RD LED: Flashes at high speed during receiving. Terminals to connect RS485 unit The top face of this terminal block is higher than the top face of the panel cover of the programmable controller by approximately 7mm.
RS422/485 Unit FX2N 485BD FX/FX2C/ FX0N FX(0N)-485ADP A C A series P U A series Porgrammable controller's computer link unit
When using 485BD in the system, total extension distance is 50m. (No use : max. 500m) When using dedicated protocol, max.16 stations including A series programmable controller.
485BD FX2N
When using 485BD in system, this distance is 50m. (No use : max. 500m) But, when using FX2-40AW in system, this distance is 10m.
When using 485BD in the system, total extension distance is 50m (No use : max. 500m), max.8 stations.
6m m
Brown
Brown
Brown
2.3 Wiring
2.3.1 Selection of Wiring Wiring of RS485 is one-pair wiring or two-pair wiring. The wiring method is decided according to the usage. Please select the wiring method from the table below.
Usage No protocol (Use RS instruction) *1 Half-duplex communication Full-duplex communication *3 If is necessary to set the message wait to 70ms or less Dedicated protocol (Use computer link) *1 If is not necessary to set the message wait to 70ms or less Use on-demand function Parallel link (Refer to section 2.3.4) *4 N:N network One-pair wiring (Refer to section2.3.3) *2 *2 Two-pair wiring (Refer to section2.3.2)
. . . . Recommendation, . . . . .OK,
*1 When this product is added to the system, please match the wiring to the wiring method of the system. *2 When using 485BD with, this wiring method remember to take account of/or ignore the echo of the commands sent from the FX2N programmable controller. *3 Use FX2N programmable controller and 485BD together. *4 For excluding the combination of 485BD, please see below.
FX 2 -40AW SA SB SG **1 485BD SD A SD B RDA RDB SG **2 Term inating resistance 110
**1 Connect the SG terminal to SG terminal of FX or FX2C main unit. **2 Connect the shield of shielded twisted pair cable to ground (100 or less).please adjust the grounding only to one side.
48 5B D
SDA
F X (O N ) -4 85 A D P
SDA
SDA
SDB R *1
SDB
SDB
SDB R *1
RDA
RDA
RDA
RDA
RDB
RDB
RDB L IN K SG *3 FG
RDB
SG
SG
*2
SG *3 FG
*1 R is the terminating resistance. Connect the terminating resistance (330) between terminals SDA and SDB, and terminals RDA and RDB. *2 The shield of the shielded twisted-pair cable must be connected to ground (100 or less). When using parallel link, ground both side. When using no protocol or dedicated protocol, ground one side. *3 Connect terminal FG to each terminal of the programmable controller main body grounded with resistance of 100 or less. However, for the computer link unit of the A series programmable controller, see the manual of the computer link unit. *4 When using RS232/485 or RS232/422 interface, please the use FX-485PC-IF.
FX (O N ) -485A DP
SDA
SDA
SDB R *1
SDB
SDB
SDB R *1
RDA
RDA
RDA
RDA
RDB
RDB
RDB L IN K SG *3 FG
RDB
SG
SG
*2
SG *3 FG
*1 R is the terminating resistance. Connect the terminating resistance (110) between terminals RDA and RDB. *2 The shield of the shielded twisted-pair cable must be connected to ground (100 or less). When using parallel link, ground both side. When using no protocol or dedicated protocol, ground one side. *3 Connect terminal FG to each terminal of the programmable controller main body grounded with resistance of 100 or less. However, for the computer link unit of the A series programmable controller, see the manual of the computer link unit. *4 When using RS232/485 or RS232/422 interface, please the use FX-485PC-IF.
3. SPECIFICATIONS
3.1 3.2 3.3
General Specifications General specifications are the same as those for the FX2N series programmable controller. Power Supply Specification
Item N:N network Communication method and protocol Dedicated protocol (format 1 or format 4) Parallel link No protocol Supported baud rate Isolation
Content
Half-duplex communication
Full-duplex communication Dedicated protocol and no protocol: 300 ~ 19,200 (bps) Parallel link : 19,200 (bps) N:N network : 38,400 (bps) No isolation
4. DIAGNOSTICS
For error code of N:N network and computer link, refer to the FX Communication Users Manual.
2) Make sure that the communication error (FX2N: M8183 to M8190, FX0N: M504 to M511) in each slave station is not turned on and that the data communication flag (FX 2N: M8191, FX 0N: M503) is not turned off. When one of the communication error flag is turned on or if the data communication flag is turned off, check the error code of data registers (FX 2N: D8211 to D8218, FX0N: D211 to D218). For the error code, please see the FX Communication Users Manual.
2) Make sure that the master station and the slave stations are set correctly. If the setting is incorrect, correct it. 3) Make sure that the devices for the master station and the slave stations are handled correctly. If they are handled incorrectly, correct the program so that they are handled correctly.
2) Make sure that the communication procedure is performed correctly. If it is not performed correctly, correct the setting in the computer. 3) Check the NAK error code and programmable controller error code. For the error code, please see the FX Communication Users Manual.
4.5 RS Instruction
1) Check the status of the RD (RXD) LED and the SD (TXD) LED provided in an optional equipment. If the RD (RXD) LED is not lit while data is received or the SD (TXD) LED is not lit while data is sent, check the installation and the wiring. When the RD (RXD) LED is lit while data is received or the SD (TXD) LED is lit while data is sent, the installation and the wiring are correct.
2) Make sure the timing of data send/receive. For example, make sure that the counterpart equipment is ready for receive before starting to send data to it. 3) When the terminator is not used, check whether the send data capacity is equivalent to the acceptable data capacity. If the send data capacity may be changed, use the terminator. 4) Make sure that the external equipment is correctly operating. 5) Check whether the type of send data and the type of receive data are equivalent. If they are different, make them equivalent. 6) When two or more RS instructions are used in the program, make sure that only one RS instruction is actuated in one operation cycle. Never turn off the RS instruction while data is received or sent.
7) In the FX2N Series (V2.00 or later), an RS instruction is not executed if the counterpart equipment receives NAK. Arrange the system so that the RS instruction is executed even if the counterpart equipment receives NAK.
Guidelines for the safety of the user and protection of the FX2N-485-BD Communication Board
This manual has been written to be used by trained and competent personnel. This is defined by the European directives for machinery, low voltage and EMC. If in doubt at any stage during the installation of the FX2N-485-BD always consult a professional electrical engineer who is qualified and trained to the local and national standards. If in doubt about the operation or use of the FX2N-485-BD please consult the nearest Mitsubishi Electric distributor. Under no circumstances will Mitsubishi Electric be liable or responsible for any consequential damage that may arise as a result of the installation or use of this equipment. All examples and diagrams shown in this manual are intended only as an aid to understanding the text, not to guarantee operation. Mitsubishi Electric will accept no responsibility for actual use of the product based on these illustrative examples. Owing to the very great variety in possible application of this equipment, you must satisfy yourself as to its suitability for your specific application.
HEAD OFFICE : MITSUBISHI DENKI BLDG MARUNOUTI TOKYO 100 TELEX : J24532 CABLE MELCO TOKYO HIMEJI WORKS : 840, CHIYODA CHO, HIMEJI, JAPAN
JY992D73401A
2.3 Wiring
2.3.1 Selection of Wiring Wiring of RS485 is one-pair wiring or two-pair wiring. The wiring method is decided according to the usage. Please select the wiring method from the table below.
HARDWARE MANUAL
JY992D73401A
This manual contains text, diagrams and explanations which will guide the reader in the correct installation and operation of the FX2N-485-BD COMMUNICATION BOARD. It should be read and understood before attempting to install or use the unit. Further information can be found in the FX PROGRAMMING MANUAL, FX2N series hardware manuals and manual of FX COMMUNICATION USERS MANUAL.
If in doubt at any stage during the installation of the FX2N-485-BD COMMUNICATION BOARD always consult a professional electrical engineer who is qualified and trained to the local and national standards.
485BD FX2N
No protocol (Use RS instruction) *1
Usage Half-duplex communication Full-duplex communication *3 If is necessary to set the message wait to 70ms or less Dedicated protocol (Use computer link) *1 If is not necessary to set the message wait to 70ms or less Use on-demand function Parallel link (Refer to section 2.3.4) *4 N:N network
When using 485BD in system, this distance is 50m. (No use : max. 500m) But, when using FX2-40AW in system, this distance is 10m.
1. INTRODUCTION
The communication board FX2N-485-BD for RS485 (hereinafter referred to as 485BD) can be connected to the base unit of the FX2N Series programmable controller to be used for the following applications. 1) Data transfer using no protocol Data communication with diversified RS232C units including personal computers, bar code readers and printers can be performed via the RS485 (422) converter using the no protocol. In this application, data is sent or received using the data registers specified by the RS instruction. For the setting and program examples, refer to the FX Programming Manual and FX Communication Users Manual. 2) Data transfer using the dedicated protocol Data transfer with RS485 (422) units can be performed on the 1:N basis using the dedicated protocol. For the contents of the dedicated protocol used in this application, refer to the FX Communication Users Manual. 3) Data transfer using the parallel link Data transfer with an FX2N programmable controller can be performed on the 1:1 basis for 100 auxiliary relays and 10 data registers. For the setting and program examples, refer to the FX Communication Users Manual.
. . . . Recommendation, . . . . .OK,
*1 When this product is added to the system, please match the wiring to the wiring method of the system. *2 When using 485BD with, this wiring method remember to take account of/or ignore the echo of the commands sent from the FX2N programmable controller. *3 Use FX2N programmable controller and 485BD together. *4 For excluding the combination of 485BD, please see below.
FX 2 -40AW 485BD SD A SD B RDA RDB SG **2 Term inating resistance 110
When using 485BD in the system, total extension distance is 50m (No use : max. 500m), max.8 stations.
SA SB SG **1
**1 Connect the SG terminal to SG terminal of FX or FX2C main unit. **2 Connect the shield of shielded twisted pair cable to ground (100 or less).please adjust the grounding only to one side.
4) Data transfer using the N:N network Data transfer with FX2N programmable controllers can be performed on the N:N basis. For the setting, the number of transferred data and program examples, refer to the FX Communication Users Manual.
48 5B D
SDA
F X (O N ) -4 85 A D P
SDA
SDA
SDB R *1
SDB
SDB
SDB R *1
Mounting holes (2- 4.0(0.16")) Connector for programmable controller SD LED: Flashes at high speed during sending. RD LED: Flashes at high speed during receiving. Terminals to connect RS485 unit The top face of this terminal block is higher than the top face of the panel cover of the programmable controller by approximately 7mm.
RDA
RDA
RDA
RDA
RDB
RDB
RDB L IN K SG *3 FG
RDB
SG
SG
*2
SG *3 FG
*1 R is the terminating resistance. Connect the terminating resistance (330) between terminals SDA and SDB, and terminals RDA and RDB. *2 The shield of the shielded twisted-pair cable must be connected to ground (100 or less). When using parallel link, ground both side. When using no protocol or dedicated protocol, ground one side. *3 Connect terminal FG to each terminal of the programmable controller main body grounded with resistance of 100 or less. However, for the computer link unit of the A series programmable controller, see the manual of the computer link unit. *4 When using RS232/485 or RS232/422 interface, please the use FX-485PC-IF.
RS422/485 Unit FX2N 485BD FX/FX2C/ FX0N FX(0N)-485ADP A C A series P U A series Porgrammable controller's computer link unit
6m m
When using 485BD in the system, total extension distance is 50m. (No use : max. 500m) When using dedicated protocol, max.16 stations including A series programmable controller.
Brown
Brown
Brown
FX (O N ) -485A DP
4. DIAGNOSTICS
For error code of N:N network and computer link, refer to the FX Communication Users Manual.
4.5 RS Instruction
1) Check the status of the RD (RXD) LED and the SD (TXD) LED provided in an optional equipment. If the RD (RXD) LED is not lit while data is received or the SD (TXD) LED is not lit while data is sent, check the installation and the wiring. When the RD (RXD) LED is lit while data is received or the SD (TXD) LED is lit while data is sent, the installation and the wiring are correct.
SDA
SDA
SDB R *1
SDB
SDB
SDB
RDA
RDA
RDA
RDA
2) Check whether the VRRD or VRSC instruction is used in used in the program. If it is used, delete it, turn off the power of the programmable controller, then turn it on again. 3) Each setting of communication format (D8120), parameter of programmable controller by FX-PCS/ WIN-E, N:N network (D8173 to D8180) and parallel link (M8070, M8071) is suitable for the usage or it checks. The communication is not correctly done if setting is not suitable for the usage. When each setting is changed, please turn off the power supply of the programmable controller, and turn it on again. 4) When you use FX0N-485ADP or FX-485ADP in network, please the power supply for the drive must be supplied correctly or check.
2) Make sure the timing of data send/receive. For example, make sure that the counterpart equipment is ready for receive before starting to send data to it. 3) When the terminator is not used, check whether the send data capacity is equivalent to the acceptable data capacity. If the send data capacity may be changed, use the terminator. 4) Make sure that the external equipment is correctly operating. 5) Check whether the type of send data and the type of receive data are equivalent. If they are different, make them equivalent. 6) When two or more RS instructions are used in the program, make sure that only one RS instruction is actuated in one operation cycle. Never turn off the RS instruction while data is received or sent.
RDB
RDB
RDB L IN K SG *3 FG
RDB
SG
SG
*2
SG *3 FG
*1 R is the terminating resistance. Connect the terminating resistance (110) between terminals RDA and RDB. *2 The shield of the shielded twisted-pair cable must be connected to ground (100 or less). When using parallel link, ground both side. When using no protocol or dedicated protocol, ground one side. *3 Connect terminal FG to each terminal of the programmable controller main body grounded with resistance of 100 or less. However, for the computer link unit of the A series programmable controller, see the manual of the computer link unit. *4 When using RS232/485 or RS232/422 interface, please the use FX-485PC-IF.
7) In the FX2N Series (V2.00 or later), an RS instruction is not executed if the counterpart equipment receives NAK. Arrange the system so that the RS instruction is executed even if the counterpart equipment receives NAK.
2) Make sure that the communication error (FX2N: M8183 to M8190, FX0N: M504 to M511) in each slave station is not turned on and that the data communication flag (FX 2N: M8191, FX 0N: M503) is not turned off. When one of the communication error flag is turned on or if the data communication flag is turned off, check the error code of data registers (FX 2N: D8211 to D8218, FX0N: D211 to D218). For the error code, please see the FX Communication Users Manual.
3. SPECIFICATIONS
3.1 3.2 3.3
General Specifications General specifications are the same as those for the FX2N series programmable controller. Power Supply Specification
Guidelines for the safety of the user and protection of the FX2N-485-BD Communication Board
This manual has been written to be used by trained and competent personnel. This is defined by the European directives for machinery, low voltage and EMC. If in doubt at any stage during the installation of the FX2N-485-BD always consult a professional electrical engineer who is qualified and trained to the local and national standards. If in doubt about the operation or use of the FX2N-485-BD please consult the nearest Mitsubishi Electric distributor. Under no circumstances will Mitsubishi Electric be liable or responsible for any consequential damage that may arise as a result of the installation or use of this equipment. All examples and diagrams shown in this manual are intended only as an aid to understanding the text, not to guarantee operation. Mitsubishi Electric will accept no responsibility for actual use of the product based on these illustrative examples. Owing to the very great variety in possible application of this equipment, you must satisfy yourself as to its suitability for your specific application.
2) Make sure that the master station and the slave stations are set correctly. If the setting is incorrect, correct it. Item Content Conforming to RS485 and RS422 Max. 50 m SD, RD 3) Make sure that the devices for the master station and the slave stations are handled correctly. If they are handled incorrectly, correct the program so that they are handled correctly.
Item N:N network Communication method and protocol Dedicated protocol (format 1 or format 4) Parallel link No protocol Supported baud rate Isolation
Content
Half-duplex communication
Full-duplex communication Dedicated protocol and no protocol: 300 ~ 19,200 (bps) Parallel link : 19,200 (bps) N:N network : 38,400 (bps) No isolation
2) Make sure that the communication procedure is performed correctly. If it is not performed correctly, correct the setting in the computer. 3) Check the NAK error code and programmable controller error code. For the error code, please see the FX Communication Users Manual.
HEAD OFFICE : MITSUBISHI DENKI BLDG MARUNOUTI TOKYO 100 TELEX : J24532 CABLE MELCO TOKYO HIMEJI WORKS : 840, CHIYODA CHO, HIMEJI, JAPAN
JY992D73401A