Mitsubishi FX2N

Embed Size (px)

DESCRIPTION

Motor Servo

Citation preview

  • 5/25/2018 Mitsubishi FX2N

    1/15

    WebAccess Configuration Manual Mitsubishi FX2N

    itsubishi FX2N DriverConfiguration anual

    Version 7.0 rev 0a Advantech Corp., Ltd. page 1

  • 5/25/2018 Mitsubishi FX2N

    2/15

    WebAccess Configuration Manual Mitsubishi FX2N

    Table of Contents

    Mitsubishi FX2N Driver Configuration Manual 1

    1. Mitsubishi FX2N Configuration 2

    1.1 Mitsubishi FX2N........................................................................................21.2 Modue !ettings........................................................................................2

    2. WebAccess Configuration 7

    2.1 "ort...........................................................................................................72.1.1 Chec# the port nu$ber....................................................................................... 72.1.2 %ebAccess Co$port "age.................................................................................&2.1.' Co$port Nu$ber............................................................................................. ...&2.1.( )escription........................................................................................................102.1.* +aud ate.........................................................................................................102.1.- )ata +its...........................................................................................................102.1.7 !top +its........................................................................................................... 102.1. "arit/................................................................................................................ 102.1.& !can i$e.........................................................................................................102.1.10 i$eout........................................................................................................... 102.1.11 etr/ Count.....................................................................................................112.1.12 Auto ecover i$e.........................................................................................112.1.1' and !ha#e !............................................................................................112.1.1( and !ha#e )............................................................................................112.1.1* +ac#up "ort.................................................................................................... 12

    2.2 )evice.....................................................................................................12

    2.2.1 nit Nu$ber......................................................................................................122.2.2 se !3(* "ort...............................................................................................12

    2.' ag..........................................................................................................1'2.'.1 "ara$eter......................................................................................................... 1'2.'.2 Address.............................................................................................................1'2.'.' !caing /pe.....................................................................................................1'

    2.( Main "ara$eter List................................................................................1(

    Version 7.0 rev 0a Advantech Corp., Ltd. page 1

  • 5/25/2018 Mitsubishi FX2N

    3/15

    WebAccess Configuration Manual Mitsubishi FX2N

    1. Mitsubishi FX2N

    Configuration

    1.1 Mitsubishi FX2N

    Mitsubishi FX series are compact PLC. They connect to the computer throughserial link. As the FX protocol evolved through versions WebAccess has

    di!!erent drivers to connect to the di!!erent Models.

    The FX PLC contain potential connection ports. The programming port is the

    only one that can communicate "ith the con!iguration so!t"are so you shouldconnect this one !irst. #t is a $%&'(( port but Mitsubishi usually sells a '(( to

    (( converting cable "ith the PLC.

    The t"o e)pansion boards can also be used to read the variable "ith

    WebAccess* "e "ill e)plain their usage later in this document.

    For FX(+ series please use the FX( driver in WebAccess. FX( and FX(C PLC

    should use FX driver.

    1.2 Module Settings

    To con!igure the PLC you "ill have to install the ,X -eveloper so!t"are.

    Version 7.0 rev 0a Advantech Corp., Ltd. page 2

  • 5/25/2018 Mitsubishi FX2N

    4/15

    WebAccess Configuration Manual Mitsubishi FX2N

    The !irst step is to upload the program currently on the PLC* this "ill alsoallo" you to check that the PLC is connected properly.

    Choose the Comport and select 9.6Kbps speed.

    Version 7.0 rev 0a Advantech Corp., Ltd. page '

  • 5/25/2018 Mitsubishi FX2N

    5/15

    WebAccess Configuration Manual Mitsubishi FX2N

    Upload the data from the PLC:

    Version 7.0 rev 0a Advantech Corp., Ltd. page (

  • 5/25/2018 Mitsubishi FX2N

    6/15

    WebAccess Configuration Manual Mitsubishi FX2N

    +o" "e kno" that the connection through the programming port is "orking.#! you "ant to use the programming port to connect the PLC "ith WebAccess

    go directly to the ne)t chapter.

    #! you "ant to use an e)pansion board you have to set it up properly. The

    e)pansion board is set through the PLC settings in ,X* the e)pansion board

    t"o has to be set using ladder. #n both case you need to select the settingsdepending on your board /$%&'01 or $%&((2 and the %erial settings you"ant to use.

    The protocol setting is !i)ed* you need to use 3-edicated Protocol4 "ith3Format '4.

    For the other parameters the de!ault values are5 6 data bits* 7ven parity* stop bit* 89:: bps* no ;eader character* no Terminator character* Checksum

    active.

    For the e)pansion board ( you have to set three addresses using ladder5

    -0(: !or the settings5 /7:09 value "orks "ith WebAccess and a $%&'01board2

    -0( %tation number5 :

    -0(8 Timeout value5 :

    ;ere is a ladder e)ample5

  • 5/25/2018 Mitsubishi FX2N

    7/15

    WebAccess Configuration Manual Mitsubishi FX2N

    A!ter building your ladder or changing the settings please do"nload theprogram again and restart the PLC /unplug and re&plug2.

    #! you are using an $%&(( e)pansion board here is the recommended "iring!or the cable5

    Version 7.0 rev 0a Advantech Corp., Ltd. page -

  • 5/25/2018 Mitsubishi FX2N

    8/15

    WebAccess Configuration Manual Mitsubishi FX2N

    2. WebAccess Configuration

    2.1 ort

    The Mitsubishi FX protocol uses a serial port. 7ven i! you use a serial port

    server or a =%> to serial converter the apparent port in your computer /andthere!ore the port to select in WebAccess2 is a serial port.

    2.1.1 Chec! the "ort nu#ber

    #! you are using a comport emulator and you do not kno" the port numberthen open the 3%tart Menu4 and right click on 3Computer4 and select

    3Manage4

    #n the device manager section you can see the list o! C?M ports on your

    computer and recogni@e the virtual port by its driver name

    Version 7.0 rev 0a Advantech Corp., Ltd. page 7

  • 5/25/2018 Mitsubishi FX2N

    9/15

    WebAccess Configuration Manual Mitsubishi FX2N

    Version 7.0 rev 0a Advantech Corp., Ltd. page

  • 5/25/2018 Mitsubishi FX2N

    10/15

    WebAccess Configuration Manual Mitsubishi FX2N

    2.1.2 WebAccess Co#"ort age

    ?pen your WebAccess Con!iguration and select the %CA-A node you "ant toadd the device to. Then select 3Add a ne" Comport4

    All the settings in this page must match the settings in all the modules

    attached to the port. %o all the modules attached to the same comport musthave the same settings.

    2.1.$ Co#"ort Nu#ber

    The %erial Comport reuires the comport number to match that o! thephysical inter!ace /e.g. C?M* C?M(* C?M* etc2 on the %CA-A +ode.

    Version 7.0 rev 0a Advantech Corp., Ltd. page &

  • 5/25/2018 Mitsubishi FX2N

    11/15

    WebAccess Configuration Manual Mitsubishi FX2N

    2.1.% Descri"tion

    This is an optional !ield used !or user re!erence.

    2.1.& 'aud (ate

    For the Mitsubishi FX modules the typical baud rate is 89::.

    This must match the baud rate con!igured in the module and the eventual $%&'01 to $%&(( converter.

    2.1.) Data 'its

    The packets can have 6 or 0 -ata >its. The typical setting !or Mitsubishi FX is7 bits.

    2.1.7 Sto" 'its

    The packets can have or ( %top >its. The typical setting !or Mitsubishi FX is

    1 Stop bit.

    2.1.* arit+

    The Parity can be +one* ?dd* 7ven or -isabled. The typical setting !orMitsubishi FX isParity = Even.

    2.1., Scan -i#e

    This is the time in milliseconds to scan the -evices. This must match theability o! the device to respond. A typical scan rate is 1 per second.

    #! the -evice cannot respond as !ast as the %CA+ Time entered* WebAccess

    "ill scan at a slo"er rate.

    2.1.1 -i#eout

    With a second scan rate* a typical Time Out = 200 Milliseconds.

    Timeout is the time "aited be!ore re&sending a communications packet that

    did not have a reply.

    Timeout speci!ies ho" long the so!t"are "aits !or a response to a data

    reuest* speci!ically to "ait !or a reply !rom one packet. A recommendedvalue is one&!i!th the scan rate* longer i! the communication device is slo".

    Combined "ith $etry count* Timeout also determines time to consider adevice or port as >A-. Timeout is the time to "ait since last communication

    packet sent "ithout a reply. Time is in milliseconds. %lo" or poor ualitycommunications reuire longer timeout. The !aster the communications* the

    shorter the timeout reuired. %horter timeouts result in !aster reconnectsa!ter communication !ailures.

    Version 7.0 rev 0a Advantech Corp., Ltd. page 10

  • 5/25/2018 Mitsubishi FX2N

    12/15

    WebAccess Configuration Manual Mitsubishi FX2N

    2.1.11 (etr+ Count

    A typical etry count = !.

    +umber o! times to retry communications i! no reply is received !rom a

    device. Combined "ith Timeout* also determines time to consider a device or

    port as >A-.

    This is the number o! times a!ter the !irst attempt has !ailed thatcommunication should be attempted be!ore indicating a !ailure. /#! $etry

    count is * a total o! ' !ailed reuests have occurred be!ore tags are markedbad2. %peci!ically* this is ho" many times to send a single packet a!ter the

    !ield device !ails to respond to the !irst packet. A!ter the retry count ise)ceeded* all the tags in the packet are marked "ith asterisks and the ne)t

    packet o! reuests is sent. A reasonable value is to 1 times. A!ter thisnumber o! tries* the tags in this packet are marked as B!ail to respondB /i.e.

    asterisks2 and are disabled. #n reality* increasing the number o! retries hides

    !ailures on the part o! the !ield device to respond to a reuest. 7ssentially*increasing the retries gives the !ield device more chances to reply.

    2.1.12 Auto (ecover -i#e

    A typical Auto ecover Time = "0 Seconds.

    Auto $ecover Time is the time to "ait be!ore attempting to re&establish

    communications "ith a >A- device or port.

    #! communications to the PLC is unusually slo" due to hard"are*

    communications or net"ork issues* you might consider increasing this value.#! communications to the PLC or $T= !ails !reuently* you may "ant to

    decrease this number in order to have WebAccess try to re&establishcommunications sooner.

    #! communications to the PLC* $T= or device Fails /i.e. e)ceeds Timeout2WebAccess "ill "ait the Auto $ecover Time be!ore trying to re&establish

    communications.

    2.1.1$ /and Sha!e (-S

    The typical setting !or Mitsubishi FX is #andS$a%ets = &o.

    The $T% /$euest To %end2 signal is raised and lo"ered on the %erialCommunications Port i! this value set to

  • 5/25/2018 Mitsubishi FX2N

    13/15

    WebAccess Configuration Manual Mitsubishi FX2N

    The -T$ /-ata Terminal $eady2 signal raised and lo"ered on the %erialCommunications Port i! this value is set to

  • 5/25/2018 Mitsubishi FX2N

    14/15

    WebAccess Configuration Manual Mitsubishi FX2N

    2.$ -ag

  • 5/25/2018 Mitsubishi FX2N

    15/15

    WebAccess Configuration Manual Mitsubishi FX2N

    2.% Main ara#eter ist

    ara#eter Descri"tion Address Start

    'it

    ength

    X -igital #nput X::: :

    < -igital ?utput