Home

FX2N-4AD SPECIAL FUNCTION BLOCK USER'S GUIDE

image

Contents

1. SET mo Adjustment start Mo _ il TOR ko KO H0000 K1 H0000 gt BFM 0 input channels selection p 7 K1 BFM 21 L TORE ko kat i ik BFM 21 gain offset prohibition must be set to permission with b1 bO 0 1 p _ KO gt BFM 22 offset gain adjustment L nom Or Wee R Reset adjustment bits TO TORY Ko K23 Ko Ki H KO gt BFM 23 offset TOY Ko K24 K2500 K1 K2500 gt BFM 24 gain p H0003 gt BFM 22 offset gain adjustment pTO Ko ea EN Boos Ol aii Channel 1 is adjusted SD ee K4 T1 z RST MO End of adjustment TORY ko k23 K2 K l K2 gt BFM 21 L om ko BFM 21 gain offset prohibition 9 DIAGNOSTICS 9 1 Preliminary checks Check whether the input wiring and or extension cables are properly connected on the FX2N 4AD analog special function block Il Check that the PLC system configuration limits have not been exceeded i e the number of special function blocks and the total system I O are within the specified range Ill Ensure that the correct operating range has been selected for the application IV Check that there is no power overload on either the 5V or 24V power sources remember the loading on a main unit or a powered extension unit varies according to the number of extension blocks or special function blocks connected V Make sure that the main unit has been switched to RUN 9 2 Error checking If the FX2N 4AD special function b
2. range Warning this unit may be damaged by an Warning this unit may be damaged by an input voltage in excess of 15V input currents in excess of 32mA Diaital outbut 12 bit conversion stored in 16 bit 2 s complement form g p Maximum value 2047 Minimum value 2048 5mV 10V default range 1 2000 20uA 20mA default range 1 1000 1 for the range of 10V to 10V 1 for the range of 20mA to 20mA accuracy 15ms channel Normal speed 6ms channel High speed Analog Inputs continued Preset 0 10V to 10V Preset 1 4mA to 20mA Preset 2 20mA to 20mA 2 000 Digital output l 10 235V 10V gt Voltage input Digital output 20mMA 2 000 lt Current input Current input P NOTE Preset ranges are selected by an appropriate setting in the buffer memory of the analog block Current Voltage input selection must match the correct input terminal connections 6 ALLOCATION OF BUFFER MEMORIES BFM 6 1 Buffer memories Contents 0 Channel selection Default H0000 1 Channel 1 Contains the number of samples 1 to 4096 to be used for an 2 Channel 2 averaged result 3 Channel 3 The default setting is 8 normal speed High speed operation can be selected with a value of 1 4 Channel 4 Channel 2 These buffer memories contain the averaged input values for the number of samples entered for the channel in buffer C
3. this unit may be damaged by an Warning this unit may be damaged by an input voltage in excess of 15V input currents in excess of 32mA Sciesa If you are using current input connect the V and I i2 pi OredinIe bita ii i FG Br bit conversion stored in 16 bit 2 s complement form This manual contains text diagrams and explanations which will guide the reader in the correct installation DEE a 415V AA OE Digla output Maximum value 2047 Minimum value 2048 and operation of the FX2N 4AD and should be read and understood before attempting to install or use the T lt 24 I2T Dewo If there is excessive electrical noise connect the FG Resoluti V 10V defaul 1 2000 20UA oma default 1 1000 unit z eae ESI ee frame ground terminal with the grounded terminal on ALA grauit range KA RomA Gelaulialige Further information can be found in the FX SERIES PROGRAMMING MANUAL II FXon FX1N F X2N 15V the FX2N 4AD In CH1 there is no FG terminal Use Overall a E FXanc SERIES HARDWARE MANUAL r FG terminal of other channels accuracy TA a One a a eee Grounding FX2n 4AD l l Guidelines for the Safety of the User and Protection of the FX2N 4AD 1009 or less PLC _ Analog Input Block Connect the ground terminal on the FX2N 4AD unit 15ms channel Normal speed 6ms channel High speed with the
4. of averaging samples is 4097 or more or 0 or less default of 8 will be used Prohibit b1 bO of BFM 21 is set to 1 0 Averaging is normal b11 Averaging error between 1 and 4096 Permit b1 bO of BFM 21 is b12 Offset gain adjust prohibit set to 0 1 NOTE b4 to b7 b9 and b13 to b15 are undefined 5 Identification Code BFM 30 The identification or ID code number for a Special Function Block is read using the FROM instruction This number for the FX2N 4AD Special Function Block unit is K2010 The users program in the PLC can use this facility in the program to identify the special function block before commencing data transfer from and to the special function block CAUTION e Values of BFM 0 23 and 24 are copied to the EEPROM memory of the FX2n 4AD BFM 21 and BFM 22 are only copied when data is written to the gain offset command buffer BFM 22 Also BFM 20 causes the resetting of the EEPROM memory The EEPROM has a life of about 10 000 cycles changes so do not use programs which frequently change these BFMs e Due to the time needed to write to the EEPROM memory a delay of 300 ms is required between instructions that cause a write to the EEPROM Therefore a delay timer should be used before writing to the EEPROM for a second time 7 DEFINING GAIN AND OFFSET Gam a b Offset TEE 7 c Digital 1 000 f gt lt a oa a Digital Pe 7 0 Off
5. Changes for the Better a MITSUBISHI PROGRAMMABLE CONTROLLERS MWELSEGEF FX2N 4AD SPECIAL FUNCTION BLOCK USER S GUIDE JY 992D65201C This manual contains text diagrams and explanations which will guide the reader in the correct installation and operation of the FX2N 4AD and should be read and understood before attempting to install or use the unit Further information can be found in the FX SERIES PROGRAMMING MANUALI II FXoN FX1N FX2N FX2nc SERIES HARDWARE MANUAL Guidelines for the Safety of the User and Protection of the FX2N 4AD special function block This manual should be used by trained and competent personnel The definition of such a person or persons is as follows a Any engineer using the product associated with this manual should be of a competent nature trained and qualified to the local and national standards These engineers should be fully aware of all aspects of safety with regards to automated equipment b Any commissioning or service engineer must be of a competent nature trained and qualified to the local and national standards c All operators of the completed equipment should be trained to use this product in a safe and coordinated manner in compliance to established safety practices Note The term completed equipment refers to a third party constructed device which contains or uses the product associated with this manual Notes on the Symbols Used in this Manual At various times throug
6. Lit A D conversion is proceeding normally Otherwise Check buffer memory 29 error status If any bits b2 and b3 are ON then this is why the A D LED is OFF Manual number JY992D65201 Manual revision C Date SEPTEMBER 2002 Aa MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE MITSUBISHI DENKI BLDG MARUNOUTI TOKYO 100 8310 TELEX J24532 CABLE MELCO TOKYO HIMEJI WORKS 840 CHIYODA CHO HIMEJI JAPAN Changes for the Better 5 3 Performance specification 3 WIRING a MITSUBISHI PROGRAMMABLE CONTROLLERS Analog Inputs Voltage input The analog input is received through a twisted pair Voltage input Gurentinput WELSEC ee ee ae 50 TER shielded cable This cable should be wired separately T T mpm f Q CH4 from power lines or any other lines which may induce ther voltage or current Input can be selected with your choice of input terminal FX2N 4AD SPECIAL FUNCTION BLOCK tie a aoe ml electrical noise Up to four input points can be used at one time i TIT lie AG DC 10V to 10V DC 20mA to 20mA If a voltage ripple occurs during input or there is electrically induced noise on the external wiring connect a smoothing capacitor of 0 1 to 0 47 uF 25V Current input USER S GUIDE 20mA to 20mA CH1 V WW o JY992D65201C Zoe a pE on D VET 468K Analog input range input resistance 200kQ input resistance 250Q Warning
7. To Ko ree TN S001 re Olle tale Channel 1 is adjusted GD K4 T1 z RST MO End of adjustment TORY ko kei K2 K l K2 gt BFM 21 Ls Of ko A BFM 21 gain offset prohibition DIAGNOSTICS 9 1 Preliminary checks Check whether the input wiring and or extension cables are properly connected on the FX2N 4AD analog special function block Check that the PLC system configuration limits have not been exceeded i e the number of special function blocks and the total system I O are within the specified range Ensure that the correct operating range has been selected for the application Check that there is no power overload on either the 5V or 24V power sources remember the loading on a main unit or a powered extension unit varies according to the number of extension blocks or special function blocks connected Make sure that the main unit has been switched to RUN 9 2 Error checking If the FX2N 4AD special function block does not seem to operate normally check the following items Check the status of the POWER LED Lit The extension cable is properly connected Otherwise Check the connection of the extension cable Check the external wiring Check the status of the 24V LED top right corner of the FX2n 4AD Lit FX2n 4AD is OK 24V DC power source is OK Otherwise Possible 24VDC power failure if OK possible FX2n 4AD failure Check the status of the A D LED top right corner of the FX2n 4AD
8. at the block is a FX2N 4AD if OK M1 is turned ON These two program steps are not strictly needed to perform an analog read They are however a useful check and are recommended as good practice The analog input channels CH1 CH2 are setup by writing 7 H3300 to the BFM 0 of the FX2n 4AD CMP K2010 D4 MO l TO ko Ko H3300 KI The number of averaged samples for CH1 and CH2 is set to 4 L m i i Ne NS E by writing 4 to the BFM 1 and 2 respectively Do not execute the pulse form of the instruction The operational status of the FX2N 4AD is read from BFM 29 a and output as bit devices of the main unit FROM KO K29 K4M10 Ki M10 M20 At A FROM KO K5 DO K2 NO Digital output error value is normal If there are no errors in the operation of the FX2n 4AD then the averaged data BFM s are read In the case of this example BFM 5 and 6 are read into the main unit and stored in DO and D1 These devices contain the averaged data for CH1 and CH2 respectively 8 2 Using gain and offset in a program The following is an example of changing the offset value on input channel CH1 to OV and the gain value to 2 5V The FX2N 4AD block is in the position of block No 0 i e closest to the main unit Example Adjusting gain offset by PLC programing a
9. ction Block unit is K2010 The user s program in the PLC can use this facility in the program to identify the special function block before commencing data transfer from and to the special function block CAUTION e Values of BFM 0 23 and 24 are copied to the EEPROM memory of the FX2N 4AD BFM 21 and BFM 22 are only copied when data is written to the gain offset command buffer BFM 22 Also BFM 20 causes the resetting of the EEPROM memory The EEPROM has a life of about 10 000 cycles changes so do not use programs which frequently change these BFMs e Due to the time needed to write to the EEPROM memory a delay of 300 ms is required between instructions that cause a write to the EEPROM Therefore a delay timer should be used before writing to the EEPROM for a second time 7 DEFINING GAIN AND OFFSET saln a b Offset soy Digital 1 000 c oa a a Digital Pig er 0 Offset value 7 Gain value Analog gt Analog gt Gain determines the angle or slope of the Offset is the Position of the calibrated line calibration line identified at a digital value of 1000 identified at a digital value of O a Small gain value Large steps in digital d Negative offset readings e Zero offset default OV or 4mA b Zero gain value default 5V or 20mA f Positive offset c Large gain value Small steps in digital readings Offset and gain can be set independentl
10. cute the pulse form of the instruction FROM KO K29 K4M10 Ki The operational status of the FX2n 4AD is read from BFM 29 L 4 and output as bit devices of the main unit M10 M20 z K i If there are no errors in the operation of the FX2n 4AD then aaa PROM KO Ro DY aa the averaged data BFM s are read NO Digital output In the case of this example BFM 5 and 6 are read into the error value is normal main unit and stored in DO and D1 These devices contain the averaged data for CH1 and CH2 respectively 8 2 Using gain and offset in a program The following is an example of changing the offset value on input channel CH1 to OV and the gain value to 2 5V The FX2N 4AD block is in the position of block No 0 i e closest to the main unit Example Adjusting gain offset by PLC programing 9 Sa 9 SET mo Adjustment start MO i TOR ko KO H0000 K1 H0000 gt BFM 0 input channels selection p 7 K1 BFM 21 L TORE ko kal i i E BFM 21 gain offset prohibition must be set to permission with b1 bO 0 1 _ KO gt BFM 22 offset gain adjustment L TOM KO ee oy ik a Reset adjustment bits TO A TORY Ko K23 KO K H KO gt BFM 23 offset TOBY Ko K24 K2500 K1 H K2500 gt BFM 24 gain T K Koo H Ki H0003 gt BFM 22 area adjustment
11. ed result Channel 3 The default setting is 8 normal speed High speed operation can be selected with a value of 1 Channel 4 Channel 1 Channel 2 These buffer memories contain the averaged input values for the number of samples entered for the channel in buffer Channel 3 memories 1 to 4 respectively Channel 4 Channel 1 Channel 2 These buffer memories contain the present value currently Channel 3 being read by each input channel 2 Channel 4 Asaa Resoved O OOOO O When set to 0 a normal speed is selected of 15ms ch default Selection of A D 15 conversion speed see note 2 When set to 1 a high speed is selected of 6ms ch memo Reseed OSS yO 7 ve bs be bs be or bo es 04 63 08 Ge 02 er oF DIN rail Mounting slot 35mm 1 38 2 Gain Value Default 5 000 O FXa4AD Extension cable and connector paaa esena SSS p ewes O o so wema O s lomas O O OOOO In buffer memory locations BFMs marked with an data can be written from the PLC using the TO instruction For buffer memories BFMs without mark data can be read by the PLC using the FROM instruction Before reading from the analog special function block ensure that the appropriate settings have been sent to the analog special function block Otherwise the previous values held in the analog block will be used The buffer memory also gi
12. es Programmable Controllers PLC e Data transfer between the FX2n 4AD and the main unit is by buffer memory exchange There are 32 buffer memories each of 16 bits in the FX2n 4AD e The FX2n 4AD occupies 8 I O points on the FX2n expansion bus The 8 I O points can be allocated from either inputs or outputs The FX2nN 4AD draws 30mA from the 5V rail of the main unit or powered extension unit 2 EXTERNAL DIMENSIONS Weight Approx 0 3 kg 0 66 lbs Dimensions mm inches 87 3 43 Mounting holes 4 5mm 0 18 dia DIN rail P R Mounting slot elg 35mm 1 38 2 O CO E FXa4AD Extension cable and connector 3 WIRING Voltage input 10V to 10V CH4 Va 100KQ t FT44 250Q CH4 VI FG 100KQ Shielded AG Current input 20mA to 20mMA CH 100KQ TAE S CH1 VI D Toko Shielded FG DC24V_55mA 2 15V t 24 gt te NFS DC DC kac pa p4 converter 15V Grounding i a FX2n 4AD Analog Input Block Fi Extension cable 4 CONNECTION WITH PLC The analog input is received through a twisted pair shielded cable This cable should be wired separately from power lines or any ot
13. esolution 20 uA may be selected The FX2n 4AD can be connected to the FXon FXin FX2n and the FXe2nc series Programmable Controllers PLC Data transfer between the FX2n 4AD and the main unit is by buffer memory exchange There are 32 buffer memories each of 16 bits in the FX2n 4AD The FX2n 4AD occupies 8 I O points on the FX2n expansion bus The 8 I O points can be allocated from either inputs or outputs The FX2nN 4AD draws 30mA from the 5V rail of the main unit or powered extension unit EXTERNAL DIMENSIONS Weight Approx 0 3 kg 0 66 lbs Dimensions mm inches 4 5mm 0 18 dia 5 SPECIFICATIONS 5 1 Environmental specification item Specification Environmental specifications Same as those for the main unit Dielectric withstand voltage 500V AC 1min between all terminals and ground 5 2 Performance specification and others tem O Specification 24V DC 10 55mA external power supply from the main unit ae 5V DC 30mA Digital circuits l internal power supply from main unit Analog circuits Photo coupler isolation between analog and digital circuits Isolation DC DC converter isolation of power from the main unit No isolation between analog channels Number of occupied I O points ue analeg ee OCCUPIES pels can be either inputs or outputs 87 3 43 Reset to Defaults and Preset Default 0 Mounting holes Channel 2 averag
14. grounded terminal on the main unit Use grounding on the main unit if available Fi Extension cable special function block This manual should be used by trained and competent personnel The definition of such a person or persons is as follows Analog Inputs continued Preset 0 10V to 10V Preset 1 4mA to 20mA Preset 2 20mA to 20mA 2 000 4 CONNECTION WITH PLC a Any engineer using the product associated with this manual should be of a competent nature trained and qualified to the local and national standards These engineers should be fully aware of all aspects of safety with regards to automated equipment 1 Up to 4 FX2Nn 4AD units can connect to the FXon series PLC up to 5 for FX1N up to 8 for FX2N or up to 4 for an FX2Nc series PLC all with powered extension units Saa i p However the following limitation exists when the undermentioned special function blocks are D b Any commissioning or service engineer must be of a competent nature trained and qualified to connected a N Digital output o the local and national standards r All i fth Eie reroni beiang thi ee i d FX2N Main unit and powered extension units of 32 I O points or less Current consumption c opera ee Some oe sales caleba 2 Ba SAANG Hoke a denerest an eoals an available for the undermentioned special function blocks lt 190mA 10V coordinated manner in compliance to established safety
15. hannel 3 memories 1 to 4 respectively Channel 4 Channel 1 Channel 2 These buffer memories contain the present value currently Channel 3 being read by each input channel Channel 4 Selection of A D When set to 0 a normal speed is selected of 15ms ch default 15 conversion speed see note 2 When set to 1 a high speed is selected of 6ms ch Reset to Defaults and Preset Default 0 Offset Gain Adjust Prohibit Default 0 1 Permit Offset Gain Adjust Offset Value In buffer memory locations BFMs marked with an data can be written from the PLC using the TO instruction For buffer memories BFMs without mark data can be read by the PLC using the FROM instruction Before reading from the analog special function block ensure that the appropriate settings have been sent to the analog special function block Otherwise the previous values held in the analog block will be used The buffer memory also gives a facility to adjust the offset and gain via software Offset intercept The analog input value when the digital output becomes 0 Gain slope The analog input value when the digital output becomes 1000 1 Channel Selection Channel selection is made by a 4 character HEX number HOOOO in buffer memory BFM 0 The least significant character controls channel 1 and the 4th character controls channel 4 Setting of each character is as follows O 0 Preset range 10V to 10V O 2 Preset
16. her lines which may induce electrical noise If a voltage ripple occurs during input or there is electrically induced noise on the external wiring connect a smoothing capacitor of 0 1 to 0 47 uF 25V If you are using current input connect the V and I terminals to each other If there is excessive electrical noise connect the FG frame ground terminal with the grounded terminal on the FX2N 4AD In CH1 there is no FG terminal Use FG terminal of other channels Connect the ground terminal on the FX2n 4AD unit with the grounded terminal on the main unit Use grounding on the main unit if available 1 Up to 4 FX2N 4AD units can connect to the FXon series PLC up to 5 for FX1N up to 8 for FX2N or up to 4 for an FX2nc series PLC all with powered extension units However the following limitation exists when the undermentioned special function blocks are connected FX2N Main unit and powered extension units of 32 I O points or less Current consumption available for the undermentioned special function blocks lt 190mA FX2N Main unit and powered extension units of 48 I O points or more Current consumption available for the undermentioned special function blocks lt 300mA FX2NC I O Up to 4 undermentioned special function blocks can be connected regardless of the system When using an FX2nc an FX2NC CNV IF is required FXoN 1N Main unit and powered extension units Up to 2 undermentioned specia
17. hod to erase any undesired gain and offset adjustments b If b1 bO of BFM 21 is set to 1 0 gain and offset adjustments are prohibited to prevent inadvertent changes by the operator In order to adjust the gain and offset values bits b1 bO must be set to 0 1 The default is 0 1 c Offset and gain values of BFM 23 and 24 are sent respectively to the offset and gain resisters in non volatile memory of the specified input channels Input channels to be adjusted are specified by the appropriate G O gain offset bits of BFM 22 Example If bits G1 and O1 are set to 1 input channel 1 will be adjusted when BFM 22 is written to by a TO instruction d Channels can be adjusted individually or together with the same gain and offset values e Offset and gain values in BFM 23 and 24 are in units of mV or m A Due to the resolution of the unit the actual response will be in steps of 5mV or 20 m A 4 Status Information BFM 29 When any of b1 to b4 is ON If any of b2 to b4 is ON A D conversion of all the channels is stopped b1 Offset gain error ieee pata r ee eon Offset Gain data normal is corrupted or adjustment error b2 Power source abnormality 24V DC power supply failure Power supply normal No error b3 Hardware error ied COnVONST Or OMNE NATGWATG Hardware Normal failure ae Digital output value is less than oe b10 Digital range error 2048 or more than 2047 Digital output value is normal Number
18. hout this manual certain symbols will be used to highlight points of information which are intended to ensure the users personal safety and protect the integrity of equipment 1 Indicates that the identified danger WILL cause physical and property damage 2 Indicates that the identified danger could POSSIBLY cause physical and property damage gt DS 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 e 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 the actual use of the product based on these illustrative examples e Owing to the very great variety in possible application for this equipment you must satisfy yourself as to its suitability for your specific application 1 INTRODUCTION e The FX2n 4AD analog special function block has four input channels The input channels receive analog signals and convert them into a digital value This is called an A D conversion The FX2n 4AD has maximum resolution of 12 bits e The selection of voltage or current based input output is by user wiring Analog ranges of 10 to 10V DC resolution 5mV and or 4 to 20mA 20 to 20mA resolution 20 uA may be selected e The FX2n 4AD can be connected to the FXon FXin FX2n and the FX2nc seri
19. ial function blocks connected to either the FX2N or FX2Nc main unit or FX2N extension unit must not exceed the 5V source capacity of the system 2 Indicates that the identified danger could POSSIBLY cause physical and property 6 1 Buffer memories Gamage Contents gt D The FX2N 4AD and main unit are connected by a cable on the right of the main unit Channel selection Default H0000 Channel 1 Channeli Contains the number of samples 1 to 4096 to be used for an 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 the actual use of the product based on these illustrative examples Owing to the very great variety in possible application for this equipment you must satisfy yourself as to its suitability for your specific application INTRODUCTION The FX2n 4AD analog special function block has four input channels The input channels receive analog signals and convert them into a digital value This is called an A D conversion The FX2n 4AD has maximum resolution of 12 bits The selection of voltage or current based input output is by user wiring Analog ranges of 10 to 10V DC resolution 5mV and or 4 to 20mA 20 to 20mA r
20. iate G O gain offset bits of BFM 22 Example lf bits G1 and O1 are set to 1 input channel 1 will be adjusted when BFM 22 is written to by a TO instruction d Channels can be adjusted individually or together with the same gain and offset values e Offset and gain values in BFM 23 and 24 are in units of mV or m A Due to the resolution of the unit the actual response will be in steps of 5mV or 20 m A Status Information BFM 29 When any of b1 to b4 is ON If any of b2 to b4 is ON A D conversion of all the channels is stopped No error b1 Offset gain error eeeuean ae 7 me FEPROM Offset Gain data normal is corrupted or adjustment error b2 Power source abnormality 24V DC power supply failure Power supply normal b3 Hardware error a conve tier OT SINGE naively Hardware Normal failure ivan Digital output value is less than eek b10 Digital range error 2048 or more than 2047 Digital output value is normal Number of averaging samples is b11 Averaging error 4097 or more or O or less default of 8 will be used oe Prohibit b1 bO of BFM 21 is Permit b1 bO of BFM 21 is b12 Offset gain adjust prohibit set to 1 0 set to 0 1 NOTE b4 to b7 b9 and b13 to b15 are undefined Averaging is normal between 1 and 4096 5 Identification Code BFM 30 The identification or ID code number for a Special Function Block is read using the FROM instruction This number for the FX2N 4AD Special Fun
21. l function blocks can be connected regardless of the system I O Each block occupies 8 I O points The 8 points can be allocated from either inputs or outputs FX2N 4AD consumes 30mA from the 5V DC bus The total 5V consumption of all special function blocks connected to either the FX2N or FX2Nc main unit or FX2N extension unit must not exceed the 5V source capacity of the system 5 SPECIFICATIONS The FX2N 4AD and main unit are connected by a cable on the right of the main unit 5 1 Environmental specification Environmental specifications Same as those for the main unit Dielectric withstand voltage 500V AC 1min between all terminals and ground 5 2 Performance specification and others 24V DC 10 55mA external power supply from the main unit Analog circuits Digital circuits Isolation Number of occupied I O points 5V DC 30mA internal power supply from main unit Photo coupler isolation between analog and digital circuits DC DC converter isolation of power from the main unit No isolation between analog channels The analog block occupies 8 points can be either inputs or outputs 5 3 Performance specification Analog Inputs Voltage input Current input Either voltage or current input can be selected with your choice of input terminal Up to four input points can be used at one time DC 10V to 10V DC 20mA to 20mA Analog input input resistance 200kQ input resistance 250Q
22. lock does not seem to operate normally check the following items e Check the status of the POWER LED Lit The extension cable is properly connected Otherwise Check the connection of the extension cable e Check the external wiring e Check the status of the 24V LED top right corner of the FX2n 4AD Lit FX2n 4AD is OK 24V DC power source is OK Otherwise Possible 24VDC power failure if OK possible FX2n 4AD failure e Check the status of the A D LED top right corner of the FX2n 4AD Lit A D conversion is proceeding normally Otherwise Check buffer memory 29 error status If any bits b2 and b3 are ON then this is why the A D LED is OFF Manual number JY992D65201 Manual revision C Date SEPTEMBER 2002 4a MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE MITSUBISHI DENKI BLDG MARUNOUTI TOKYO 100 8310 HIMEJI WORKS 840 CHIYODA CHO HIMEJI JAPAN TELEX J24532 CABLE MELCO TOKYO
23. practices Digital gt output FX2N Voltage input Main unit and powered extension units of 48 I O points or more Current consumption Note The term completed equipment refers to a third party constructed device which contains or uses available for the undermentioned special function blocks lt 300mA the product associated with this manual FX2Nc Up to 4 undermentioned special function blocks can be connected regardless of the system 2 000 Notes on the Symbols Used in this Manual I O Current input Current input p At various times throughout this manual certain symbols will be used to highlight points of information which are intended to ensure the users personal safety and protect the integrity of equipment When using an FX2nc an FX2NC CNV IF is required NOTE Preset ranges are selected by an appropriate setting in the buffer memory of the analog block Current Voltage input selection must match the correct input terminal connections FXon 1N Main unit and powered extension units Up to 2 undermentioned special function blocks can 1 Indicates that the identified danger WILL cause physical and property damage be connected regardless of the system I O 2 Each block occupies 8 I O points The 8 points can be allocated from either inputs or outputs 6 ALLOCATION OF BUFFER MEMORIES BFM 3 FX2N 4AD consumes 30mA from the 5V DC bus The total 5V consumption of all spec
24. range 20mA to 20mA O 1 Preset range 4mA to 20mA O 3 Channel OFF Example H3310 CH1 Preset range 10V to 10V CH2 Preset range 4mA to 20mA CH3 CH4 Channel OFF Analog to Digital Conversion Speed Change By writing O or 1 to BFM 15 of the FX2N 4AD the speed at which A D conversion is performed can be changed However the following points should be noted To maintain a high speed conversion rate use the FROM TO instructions as seldom as possible NOTE When a conversion speed change is made BFM 1 4 are set to their default values immediately after the change This is regardless of the values they held originally Bear this in mind if a speed change will be made as part of the normal program execution Adjusting Gain and Offset values a When buffer memory BFM 20 is activated by setting it to K1 all settings within the analog special function block are reset to their default settings This is a very quick method to erase any undesired gain and offset adjustments b If b1 bO of BFM 21 is set to 1 0 gain and offset adjustments are prohibited to prevent inadvertent changes by the operator In order to adjust the gain and offset values bits b1 bO must be set to 0 1 The default is 0 1 c Offset and gain values of BFM 23 and 24 are sent respectively to the offset and gain resisters in non volatile memory of the specified input channels Input channels to be adjusted are specified by the appropr
25. set value l 4 Gain value Analog gt Analog gt Gain determines the angle or slope of the calibration line identified at a digital value of 1000 Offset is the Position of the calibrated line identified at a digital value of O a Small gain value Large steps in digital d Negative offset readings e Zero offset default OV or 4mA b Zero gain value default 5V or 20mA f Positive offset c Large gain value Small steps in digital readings Offset and gain can be set independently or together Reasonable offset ranges are 5V to 5V or 20MA to 20mA and gain value offset value 1V to 15V or 4mA to 32mA Gain and offset can be adjusted by software in the main unit see program example 2 e Bit device s b1 b2 of the gain offset BFM 21 should be set to 0 1 to allow adjustment e Once adjustment is completed these bit devices should be set to 1 O to prohibit any further changes 8 EXAMPLE PROGRAM 8 1 Basic Program In the following example channels CH1 and CH2 are used as voltage inputs The FX2N 4AD block is connected at the position of special function block No 0 The number of averaged samples is set at 4 and data registers DO and D1 of the main unit receive the averaged digital data Vi iF The ID code for the special function block at position 0 is initial FROM Ko KS0 D4 KT read from BFM 30 of that block and stored at D4 in the main unit oe This is compared with K2010 to check th
26. ves a facility to adjust the offset and gain via software Offset intercept The analog input value when the digital output becomes 0 Gain slope The analog input value when the digital output becomes 1000 1 Channel Selection Channel selection is made by a 4 character HEX number HOOOO in buffer memory BFM 0 The least significant character controls channel 1 and the 4th character controls channel 4 Setting of each character is as follows O 0 Preset range 10V to 10V O 2 Preset range 20mA to 20mA O 1 Preset range 4mA to 20mA O 3 Channel OFF Example H3310 CH1 Preset range 10V to 10V CH2 Preset range 4mA to 20mA CH3 CH4 Channel OFF 2 Analog to Digital Conversion Speed Change By writing O or 1 to BFM 15 of the FX2N 4AD the speed at which A D conversion is performed can be changed However the following points should be noted To maintain a high speed conversion rate use the FROM TO instructions as seldom as possible NOTE When a conversion speed change is made BFM 1 4 are set to their default values immediately after the change This is regardless of the values they held originally Bear this in mind if a speed change will be made as part of the normal program execution 3 Adjusting Gain and Offset values a When buffer memory BFM 20 is activated by setting it to K1 all settings within the analog special function block are reset to their default settings This is a very quick met
27. y or together Reasonable offset ranges are 5V to 5V or 20mA to 20mA and gain value offset value 1V to 15V or 4mA to 32mA Gain and offset can be adjusted by software in the main unit see program example 2 e Bit device s b1 b2 of the gain offset BFM 21 should be set to 0 1 to allow adjustment e Once adjustment is completed these bit devices should be set to 1 O to prohibit any further changes 8 EXAMPLE PROGRAM 8 1 Basic Program In the following example channels CH1 and CH2 are used as voltage inputs The FX2N 4AD block is connected at the position of special function block No 0 The number of averaged samples is set at 4 and data registers DO and D1 of the main unit receive the averaged digital data rr p The ID code for the special function block at position 0 is initial FROM KO K30 D4 KIJ read from BFM 30 of that block and stored at D4 in the main unit asd This is compared with K2010 to check that the block is a CMP K2010 D4 Mo FX2n 4AD if OK M1 is turned ON These two program steps L E are not strictly needed to perform an analog read They are however a useful check and are recommended as good practice fj TOR ko KO H3300 K1 The analog input channels CH1 CH2 are setup by writing 7 H3300 to the BFM 0 of the FX2n 4AD The number of averaged samples for CH1 and CH2 is set to 4 L ta me a UN Z by writing 4 to the BFM 1 and 2 respectively Do not exe

Download Pdf Manuals

image

Related Search

Related Contents

MANUEL D`UTILISATION DE L`AILE FRANCAIS  コダック CR7400S - ケアストリームヘルス株式会社  AAAI Proceedings Template - combien?  manual técnico y practico de refrigeracion y aire acondicionado  

Copyright © All rights reserved.
Failed to retrieve file