Home

CJ-series Analog I/O Units Operation Manual for NJ-series

image

Contents

1. Input 8 Input 7 Input 6 Input 5 Input 4 Input 3 Input 2 Input 1 The respective bit turns ON when a disconnection is detected for a given input When the disconnection is restored the bit turns OFF EN Additional Information The conversion value during disconnection is 0 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 CJ series Analog Input Units CJ1W AD042 This section explains how to use the CJ1W AD042 Analog Input Units 3 1 SDECITICATIONS 2 25 dne ria A wie ee eee when NORGE See aa 3 2 3 1 1 SDE CINICATIONS xs cu chat ont eral nri macer mde been 3 2 3 1 2 Input Function Block Diagram 0 ee 3 3 3 1 3 Inputs Specifications cia a eins ekes 3 3 3 2 Operating Procedure iss 3 6 3 3 Components and Switch Settings oo ooooooomoooooo 3 8 3 3 1 Component Names ss 0 Ox seek ee a Sea REOR C Eee Es 3 8 Je d diCalolS as Nea 3 9 3 3 3 Unit Number Switches 0 0 0 0 0 ccc tenes 3 9 354 WINO paa 3 10 3 4 1 Terminal Arrangement 23 wc avs wake tore coats Fe e ECC te Man eee 3 10 342 Menal Greu parre DS 3 11 3 4 3 Voltage Input Disconnection naaa aaa aaa aaea 3 12 3 4 4 Input Wiring Example 0 0 eens 3 12 3 4 5 Input Wiring Considerations 000 ces 3 14 3 5 Exchanging Data with the CPU Unit 3 15 3 5 1 Outline of Data Exchange sad 3 15 3 5 2 Accessing from the Us
2. T oo O Cc e D Cc m n D D O zh O jab O o pasas Set value of I 2200 Resolution 4 000 8 000 1 2200 4400 gt 4400 2000 2000 4000 4000 Values in parentheses are for a resolution of 8 000 Only the CJ1W DA08V 08C CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 5 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C 4 2 Operating Procedure Follow the procedures outlined below when using the Analog Output Unit There is no restriction regarding the sequence of Programs and software settings and Hardware set ting and Rack assembly These tasks may be carried out concurrently or in the reverse order Use Sysmac Studio to create and set programs For operations of Sysmac Studio refer to the Sysmac Studio Version 1 Operation Manual Cat No W504 The setting procedure and setting order differ between CJ1W DA021 041 and CJ1W DAOSV 08C 4 2 1 CJ1W DA021 041 e Programs and software settings 1 Create POU and global variables Create Unit Configuration e Create and register global variables and each POU e Create algorithms for each POU and register local variables of each POU e Register the Unit in the Unit Configuration on the CPU Expansion Racks screen in Configura tion and Setup At this time set both the device name and the unit number of the unit to be registered e Create device variabl
3. sssee 4 31 7 16 Output Seng Eros sida 6 42 Output signal range insta cali 4 2 5 2 6 4 Output Signal Range Setting 4 25 5 17 6 36 Output Signal Range Setting Error 7 18 Output Specifications 4 4 5 4 6 7 Output Status When Conversion Stops 4 28 6 39 Output Use Selllhigs o coeno oer o ERU QI Ente cecus 6 35 Output Value Adjustment Number Setting Error in Adjustment Mode ccccccsssseeeeeeeeesseeeeeessees 7 17 Outputs to Be Adjusted ccoocccccnccccconoccninnccnnno 7 9 7 11 P Peak Value Hold 1 4 2 31 3 26 6 31 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Index Peak Value Hold Execution 2 31 3 26 Peak Value Hold Execution Settings 6 31 Permissible load resistance 4 2 5 2 R Ratio bias calculation oocccccoocncccocnnccononccoronccnnnnnnns 6 43 Ratio Conversion ide kassan 1 5 6 43 Ratio conversion constant rrrnrrnnnnrrnnnnrennnnnennnnnennnn 6 45 Ratio conversion constant B rrrnrrnnnronnnnrernnnrennnnnennnn 6 45 Ratio Conversion Use Setting Error 7 18 Rato SEE VALG c 6 45 Ratio Set Value Error rrwrrrnrnvvnrnnrrrenrnnnnenvnnnnnevernnnnsen 7 18 Reading Conversion Valu
4. 7 18 Conversion value for adjustment 7 5 7 6 7 10 7 11 CPU Unit monitoring error oooconnnccnnnncnccccnoncanonnnnnnnns 7 19 CPU UALWDT Grob cinc 7 19 Current voltage for disconnection detection 6 34 D Device Variable for CJ series Unit 2 18 3 15 4 17 5 13 6 20 DIMENSIONS san A 2 Disconnection Detected ccccsseecceeseeseeeeeeeeeeeeeaeees 7 16 Duplicate Unit Number rrrrnnnnnnvvenrnnnnnnnvrnnrnnnnnnevennnnnn 7 19 Index 2 E A M Mp EM MEL CUI 7 14 EEE MN TRE CR EN 7 14 Error in Number of Inputs Setting 7 18 Error In Number of Outputs Used Setting 7 18 Error in Setting of Conversion Mode 7 18 External power supply esee 4 2 F gta DEN 2 16 3 13 6 18 G Gan AqiistIment snoot tone 7 6 7 11 Gana EE cdas 7 4 7 9 GAIN VONAGE save 7 2 H History buffer oooccccccoccccccoconcnnccconnnncnnonon 2 27 3 22 6 28 G DEE EN 1 4 4 28 6 39 VO DUS CHECK Error encontraron 7 19 I O Function Block Diagram massa 6 5 SA sedo 2 19 3 16 4 18 5 14 6 21 VODOU Ga 2 19 3 16 4 18 5 14 6 21 I O Setting Check Error eese 7 19 Mausta UNITS aca X ESKE se 1 6 Input Calibration coiio etude btee mto eiue e eoe aedes adea ab 7 2 Input Disconnection Detection 1 4 2 32 3 27 6 34 Input Function Bl
5. N O O O O NM OT A CO NO 08 to 15 or Operation Mode Setting Error A 30 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Appendices Special I O Unit CIO Area in Adjustment Mode lo 1 0 open pr NJ series device variable for CJ series Unit CPUtotnis ar o agos orseireg ES A j AdjiClr Adjustment Value Clear Flag BOOL Input 00 to 15 AdjPV Conversion value for adjust This Unit to ment CPU 081015 AdUniEr ErrorFlags BYTE LE AdjOutNoErr Output Value Adjustment BOOL Number Setting Error AdjMemErr Non volatile Memory Error BOOL UNUS Starting Adjustment Mode BOOL Special I O Unit DM Area common to both Normal Mode and Adjustment Mode CJ series I O memory address NJ series device variable for CJ series Unit Dm WORD Aowa pue SHUN seues f2 10J SIVULA SINNIG 10J SAB eouepuodsa14102 p v SJUN S9 9S P 10J sessoJppy T o O U gt O amp S amp O CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A 31 Appendices CJ series I O memory address NJ series device variable for CJ series Unit D m 1 00 to 15 OutHngCfg Output Signal Range Setting WORD 00 to 01 Output 1 Output Signal Range Setting 02 to 03 Output 2 Output Signal Range Setting 04 to 05 Output 3 Output Signal Range Setting 06 to 07 Output 4 Output Signal Range Setting 08 to 09 Output 5 Output Signal Range Se
6. AdjUnitErr BYTE iB Error Flags AdjSclErr BOOL hi Scaling Data Setting Error AdjHdErr BOOL Output Hold Setting Error Conversion Time Resolution or Operation Mode Setting Error AdjMdErr BOOL CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 adjustments Refer to 7 2 2 Alarms Occur ring at the Unit BYTE type variable that com bines the following BOOL type variables Used only for DAO8V 08C 0 No error 1 Error in initial setting param eters 0 No error 1 Error in initial setting param eters Used only for DAO8V 08C 0 No error 1 Error in initial setting param eters Bit Number 4 23 T e m gt lt O D 3 e 5 e U D D P gt F OD O U c c 5 HUN S3119S PD 10 S IQeUeA 90119 Buneoolv Sg r 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C Name of device variable AdjOutNoErr BOOL Output Value Adjustment 0 No error Number Setting Error 1 AdjCh is outside setting range AdjMemErr BOOL Non volatile Memory Error 0 No error 1 Adjustment data could not be written properly AdjMd BOOL Starting Adjustment Mode 0 Running in the Normal Mode 07 1 Running in the Adjustment Mode 4 24 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C 4 6 Analog Output Functions and Operating Procedures 4 6 1 Output Settings and
7. Function cution 1 Perform peak value hold Ch3 PkHdCmd BOOL RW Input 3 Peak Value Hold Exe Ch4 PkHdCmd BOOL RW Input 4 Peak Value Hold Exe cution MVSensErr BYTE Set value Errors and Discon nection Detected bines the following BOOL type Number variables Ch2 MvErr BOOL Output 2 Output Set Value 0 No error 01 Error 1 Setting error Ch1 SensErr BOOL Input 1 Disconnection Refer to 6 6 5 Input Disconnec 04 Detected tion Detection Function Ch4_RdAl INT R Input 4 Conversion Data Ch1 ConvCmd BOOL Output 1 Conversion Enable Refer to Starting and Stopping 0 Stop conversion output Ch2 PkHdOmd anl RW Input 2 Peak Value Hold Exe 0 Do not perform peak value hold cution BYTE type variable that com Bit Ch1 MvErr BOOL Output 1 Output Set Value Refer to 6 7 4 Output Setting 00 Error Errors Ch2 SensErr BOOL Input 2 Disconnection 0 No disconnection 05 Detected 1 Disconnection Ch3 SensErr BOOL Input 3 Disconnection 06 Detected Ch4 SensErr Bl am 4 Disconnection 07 Bl am UnitErr bl Error Flags Refer to 7 2 2 Alarms Occurring Bit at the Unit Number BYTE type variable that com bines the following BOOL type variables 6 24 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 Name of device variable for CJ series Type R W Feature reference page Unit 0 No error 1 Error in initial setting parame te
8. 3 3 3 3 3 3 3 3 o o o o o o o o Cc Cc Cc Cc c Cc Cc Cc EN Additional Information e When mean value processing is used together with the peak value hold function the mean value will be held e As long as the peak value hold function is executing the peak value hold will be held even in the event of a disconnection CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 31 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 2 6 4 2 32 Input Disconnection Detection Function When an input signal range of 1 to 5 V 4 to 20 mA is used you can detect input circuit disconnections The detection conditions for each of the input signal ranges are shown in the following table The cur rent voltage level will fluctuate according to the offset gain adjustment Voltage current for disconnection Input signal range detection 1to5V Less than 0 3 V 4 to 20 mA Less than 1 2 mA The disconnection detection status of each input is output to the device variable for CJ series Unit Input Disconnection Detected Ch SensErr shown below Variable name Type Setting Ch SensErr BOOL 0 No disconnection 1 Disconnection An input number from 1 to 8 is included in place of in the variable name 1 to 4 for AD041 V1 You can also perform batch readout with the device variable for CJ series Unit Disconnection Detected SensErr shown below Variable name Type SensErr BYTE Bit 07 06 05 04 03 02 01 00
9. Fr D 5 F 3 O U c c 5 oDueuox4 ejeq JO auljino 9 9 5 CJ series Analog Output Unit CJ1W DA042V 5 5 2 Accessing from the User Program The user program uses device variables for CJ series Unit to control the Analog Output Unit Use device variables for CJ series Unit with AT specification for the I O port which is explained below e 1 0 port An I O port is a logical interface for data exchange by a CPU Unit with an Analog I O Unit or other configuration unit An I O port has a unique predefined name for each unit model and function An I O port is automatically created by preparing the Unit Configuration with Sysmac Studio e How to specify device variables for CJ series Unit Specify the AT specifications to I O ports for device variables for CJ series Unit with the I O Map from Sysmac Studio opecify the variable name for the AT specification with one of the following methods 1 Select a variable already registered in the variable table 2 Input a new variable name 3 Automatically create a variable name with Device variable creation When a device variable name for CJ series Unit is assigned with method 2 or 3 the variable input by Sysmac Studio is automatically registered in the variable table The following is the configuration of variable names created with automatic creation in method 3 Name of device variable for CJ series Unit Ch ConvCmd This is an I O port name The name id
10. The following abbreviations and symbols are used in the event level column Abbreviation Maj Prt Min Obs Info Symbol S U Name Major fault level Partial fault level Minor fault level Observation Information Meaning Event levels that are defined by the system Event levels that can be changed by the user This symbol appears only for events for which the user can change the event level A version in parentheses in the Event code column is the unit version of the CPU Unit when the event was added Refer to the NJ series Troubleshooting Manual Cat No W503 for all of the event codes that may occur in an NJ series Controller tee A D Conver sion Error 04600000 hex 04620000 hex 34800000 hex 34830000 hex 34840000 hex 34850000 hex 3486 0000 hex 3487 0000 hex 7 24 Non volatile Memory Error Mean Value Processing Setting Error Scaling Data Setting Error Input Signal Range Set ting Error or Error in Num ber of Inputs Setting Mean Value Processing Setting Error Error in Set ting of Con version Mode Output Hold Setting Error An error occurred in A D conversion An error occurred in non volatile mem ory There is a mistake in the setting of the number of sam plings for mean value processing There is a mistake in the scaling data settings There is a mistake in the input signal range setting or in the number of inputs
11. CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 1 5 1 System Design 1 2 Scaling Function With CJ1W AD042 Analog Input Units 1 CJ1W DA08V 08C 042V Analog Output Units 1 and CJ1W MAD42 Analog I O Units you can automatically convert input analog values and output ana log set values into user specified units When upper and lower limit parameters are preset in the CPU Unit s initial setting parameters within a decimal range of 32 000 to 32 000 you can automatically convert input analog values and out put analog set values into user specified industrial units 2 Only input scaling is supported by CJ1W AD042 Analog Input Units Only output scaling is supported by CJ1W DA08V 08C 042V Analog Output Units With the CJ1W DA08V 08C Analog Output Unit and CJ1W MAD42 Analog I O Unit you can scale only for a conversion cycle of 1 ms and a resolution of 4 000 The scaling function is not enabled for a conversion cycle of 250 us 500 us for the CJ1W MAD42 and a resolution of 8 000 Refer to 3 6 3 4 6 3 5 6 3 6 6 4 or 6 7 3 Conceptual Diagram of Scaling CJ1W MAD42 Only Analog I O Unit CPU Unit in engineering units Input analog value Converted analog temperature Scaling input value flowrate etc i Analog output setting value in engineering units Output analog value current voltage Scaling setting value Set when controller reset or Input scaling lowe
12. O O D Q 0 E Starting and Stopping Conversion To start conversion of analog output there is the need to set used output to conversion enable with the device variables for CJ series Unit Output Conversion Enable _Ch _ConvCmd shown below Variable name Type Setting Ch _ConvCmd BOOL 0 Conversion disable 1 Conversion enable An output number from 1 to 8 is included in place of in the variable name 1 to 4 for DA041 and 1 to 2 for DAO21 You can also perform batch settings with the device variable for CJ series Unit Conversion Enable Set tings ConvCmd shown below Variable name Type Setting ConvCmd WORD 16440000 to 16 00FF To 164000F for DA041 and 1640003 for DAO21 Sen eA UOISIBAUOD pue shuas 1ndino L 9 p Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Output 8 Output 7 Output 6 Output 5 Output 4 Output 3 Output 2 Output 1 0 Conversion disable 1 Conversion enable EN Additional Information e The analog output when conversion is stopped will depend on the output signal range setting and output hold setting Refer to Outout Signal Ranges on page 4 25 and 4 6 2 Output Hold Function e Conversion will not begin under the following conditions even if the Conversion Enable is turned ON Refer to 4 6 2 Output Hold Function e In Adjustment Mode when something other than the output number is output during adjustment e When there is an output setting error
13. Scaling Enabled only for conversion cycle of 1 ms and resolution of 4 000 Set values in any specified Unit within a range of 332 000 as the upper and lower limits to allow D A conversion to be executed and analog signals to be output using the set values as full scale Hatio conversion function Stores the results of positive and negative gradient analog inputs calculated for ratio and bias as analog output values Positive gradient Analog output A x Analog input B A 0 to 99 99 B 8 000 to 7FFF hex Negative gradient Analog output F A x Analog input B A 0 to 99 99 B 8 000 to 7FFF hex F Output signal range maximum value 1 You can set input and output signal ranges for each input and output 2 The accuracy is given for full scale For example when the resolution is set to 4 000 an accuracy of 0 3 means a maximum error of 12 3 The D A conversion time is the time it takes for data from the CPU Unit to be converted and output It takes at least 1 task period for the CPU Unit data to be read by the Analog Output Unit 4 The Output Conversion Enable Flag turns OFF when the CPU Unit shifts from RUN Mode to PROGRAM Mode as well as when the Controller is reset including when the power turns ON The specified output status is output in accordance with the output hold function 5 The resolution can be set to 8 000 and the conversion cycle to 250 us in the initial setting parameter 6 4 CJ series Analog I O Uni
14. Bit Number BYTE type variable that com bines the following BOOL type variables RngCfg Refer to 6 6 7 Input Settings and Conversion RngVICfg WORD Voltage Current Input Switch c 6 7 1 Output Settings and Conversion Ch1 AveCfg UINT RW Input 1 Number of Samplings Refer to 6 6 2 Mean Value Processing for Mean Value Processing 0 Number of samplings 2 Ch2 AveCfg UINT RW Input 2 Number of Samplings 1 No mean value processing for Mean Value Processing 2 Number of samplings 4 Ch3 AveCfg UINT RW Input 3 Number of Samplings 3 Number of samplings 8 for Mean Value Processing 4 Number of samplings 16 Ch4 AveCfg UINT RW Input 4 Number of Samplings 5 Number of samplings 32 for Mean Value Processing 6 Number of samplings 64 6 22 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 Name of device Feature reference page variable for CJ series Type Unit Ch1 Scl L Cfg Ch1 Scl H Cfg Ch2 Sel L Cfg Ch2 Scl H Cfg Ch3 Scl L Cfg Ch3 Scl H Cfg Ch4 Scl L Cfg Ch4 Scl H Cfg Ch5 Scl L Cfg Ch5 Scl H Cfg Ch6 Scl L Cfg Ch6 Scl H Cfg Ch1_HdMdCfg Ch2 HdMdCfg UseRatioBias Output 1 Scaling Lower Limit Refer to 6 7 3 Output Scaling Function Mul m Output 1 Scaling Upper Limit 32000 to 32000 INT RW Output 2 Scaling Lower Limit Set lower limit value upper limit value Can also set lower limit value gt
15. CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 27 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C e When a major fault level Controller error occurs at the CPU Unit e When the CPU Unit changes from the RUN Mode to PROGRAM Mode all output for the device variable for CJ series Unit _ConvCmd will change to the status of conversion disabled This also happens when the Controller is reset including when the power is turned ON This output status is set by the output hold function 4 6 2 Output Hold Function The Analog Output Unit stops conversion under the following conditions and outputs the value set for the output hold function 1 When the Conversion Enable Bit is OFF Refer to Starting and Stopping Conversion in 4 6 1 Output Settings and Conversion Values 2 In Adjustment Mode when something other than the output number is output during adjustment Refer to 4 3 4 Operating Mode Switch 3 When there is an output setting error Refer to 4 6 4 Output Set Value Error 4 When a major fault level Controller error occurs You can select CLR HOLD or MAX for the output status when conversion stops Output CLR HOLD MAX signal range 0to 10 V 0 5 V Min 5 of Voltage that was output 10 5 V Max 5 of full scale just prior to stopping full s 10 to 10 V 0 0 V Voltage that was output 11 0 V Max 5 of just prior to stopping full ds 1to5V 0 8 V Min 5 of Voltage that was output 5
16. Operating normally 2 10 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 2 3 3 Unit Number Switches Use the unit number switches to set the specific unit number for each Special I O Unit mounted in a CPU Rack or Expansion Rack The unit number must be the one registered in Unit Configurations Turn OFF the Controller before changing the unit number setting MACH 7 3 Switch setting Unit number Or Unit 0 Unit 1 Unit 2 Unit 3 Unit 4 Unit 5 Unit 6 Unit 7 Unit 8 Unit 9 0 Unit 10 to to n Unit n to to 95 Unit 95 No LO o 10 ee 10 5 O CO N oO AI Ww N O EN Additional Information e If two or more Special I O Units are assigned the same unit number a Duplicate Unit Num ber major fault level Controller error is generated and the Controller will not operate e After correcting the unit number setting cycle the power to the Controller 2 3 4 Operating Mode Switch The operating mode switch on the front panel of the Unit is used to set the operating mode to either Normal Mode or Adjustment Mode to adjust offset and gain Even if the Normal Mode is set you can set Operating Mode Settings _MdCfg to the Adjustment Mode 16 C1 and transfer the data setup file to switch to the Adjustment Mode J INL MODE Pin number Mode 1 2 OFF OFF Normal Mode ON OFF Adjustment Mode Note Th
17. Variable name applicable model Ch _MVErr Output Set Value DAOL M DAO8L DAO Error 42V MAD42 Disconnection Detected Ch _SensErr ADOL 11 V1 AD042 MAD42 AdjMemErr ADOL H V1 DAOL 1 Adjustment Mode Non vola DAO8L MAD42 tile Memory Error ConvErr A D Conversion AD042 Error The output setting range was exceeded A disconnection was detected A Non volatile Memory Error occurred while in Adjustment Mode An error occurred in the A D con verter or in A D conversion Output value set by output hold function Conversion data becomes 0 Output status immediately prior to error held Values immedi ately prior to error held No data is changed Alarm name Error contents I O status Countermeasure Correct the set value The inputs may be disconnected Restore any discon nected inputs Operate the Adjust ment Value Set Flag again If the error persists even after rewriting the adjustment value replace the Unit If the error persists even after the power supply is cycled or the Unit is restarted check for a source of noise in the environment If the error persists even when there is no source of noise replace the Unit Disconnection detection operates for input numbers used with a range of 1 to 5 V 4 to 20 mA 7 16 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 Common Items e ERC Indicator and RUN I
18. turned ON during use of the 4 mA switch Refer to 6 3 4 Voltage Current Switch to 20 mA range The ratio conversion function is Correct the conversion settings Refer to 6 8 Ratio Conversion Function set to be used so the calculation results are monitored e Conversion Values are Inconsistent Probable cause Countermeasure Page The input signals are affected by Change the shielded cable con Refer to 2 4 4 Input Wiring Example external noise nection to the Unit s COM termi Refer to 3 4 4 Input Wiring Example nal Refer to 6 4 4 I O Wiring Example Insert a 0 01 uF to 0 1 uF ceramic capacitor or film capaci tor between the input s and terminals INDIO SUR pue S101134 USUM Z Z Increase the number of mean Refer to 2 6 2 Mean Value Processing value processing samplings Refer to 3 6 2 Mean Value Processing Refer to 6 6 2 Mean Value Processing i Troubleshooting for Analog Output e Analog Output Does Not Change The output is not set to be used Set the output to be used Refer to 4 6 1 Output Settings and Con version Values Refer to 5 6 1 Output Settings and Con version Values Refer to 6 7 1 Output Settings and Con version Values 7 Dunoouse qnoJ 3 2 2 The output hold function is in Turn ON the Output Conversion Refer to 4 6 2 Output Hold Function operation Enable Bit Refer to 5 6 2 Output Hold Function Refer to 6 7 2 Output Hold Function The conversion value is
19. 1 System Design Analog input Analog output Maximum Maximum Input signal Output Conversion cycle input points range eus signal range put p g points g g Analog 101010 V 1 ms point Units 0to5V 1to5V 4 to 20 mA CJ1W DA08V 10 to 10 V 1 ms point Oto 10 V Can be set to 250 0to 5 V us point 1to5V fe eam CJ1W DA042V 4 10 to 10 V 20 us for 1 point 0to 10 V 25 us for 2 points 1to5V 30 us for 3 points 35 us for 4 points Analog I O CJ1W MAD42 4 10 to 10 V 10 to 10 V 1 ms point Units 0to 10 V 0to5 V 1t0 5 V 4 to 20 mA Oto 10 V Can be set to 500 You can separately set the input signal range or output signal range for each input or output Unit m m Tl D c D 0 D gt oa Tl c gt O o o0 0to 5 V us point 1t0 5 V 4 to 20 mA Unit support for functions is shown in the following table ed Peak Output Mean value Proportional MES GE Unit disconnection E gain Scaling value hold hold processing conversion adjustment Analog CJ1W AD041 V1 Supported Supported Not supported Supported Not supported Supported Not supported qus CJ1W AD081 V1 Supported Supported Not supported Supported Not supported Supported Not supported i CJ1W AD042 Supported Supported Not supported Supported Not supported Not supported Supported detection Supported Natsupote Supported spes
20. CJ1W AD042 6 6 Analog Output CJ1W DA021 DA041 4 1 di CJ1W DAO8V DAOSC 4 4 CJ1W DA042V 4 5 4 5 Analog I O Unit CS1W MAD44 2 1 CJ1W MAD42 4 4 Use shielded twisted pair cable to connect analog inputs and connect the shield on the input line to the AG terminal CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 33 Regulations and Standards Conformance to Shipbuilding Standards The NJ series Controllers comply with the following shipbuilding standards Applicability to the ship building standards is based on certain usage conditions It may not be possible to use the product in some locations Contact your OMRON representative before attempting to use a Controller on a ship I Usage Conditions for NK and LR Shipbuilding Standards The NJ series Controller must be installed within a control panel Gaps in the door to the control panel must be completely filled or covered with gaskets or other material he following noise filter must be connected to the power supply line Noise Filter Manufacturer Model Cosel Co Ltd TAH 06 683 Trademarks 34 e oysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan and other countries for OMRON factory automation products e Windows Windows 98 Windows XP Windows Vista and Windows 7 are registered trademarks of Microsoft Corporation in the USA and other countries EtherCAT is registered t
21. Ch3 and Ch4 are used only for Ch5 OutChUseCfg BOOL Output 5 Use Setting DA041 08V 08C Ch6_OutChUseCfg BOOL Output 6 Use Setting Ch5 to Ch8 are used only for Ch7 OutChUseCfg BOOL Output 7 Use Setting DA08V 08C Ch8 OutChUseCfg BOOL Output 8 Use Setting OutRngCfg WORD RW Output Signal Range Setting Refer to Output Signal Ranges in 4 6 1 Output Settings and Conversion Values Ch1 HdMdCfg USINT RW Output 1 Output Status When Refer to 4 6 2 Output Hold Function Conversion Stops 0 CLR Ch2 HdMdCfg USINT Output 2 Output Status When 1 HOLD Conversion Stops 2 MAX Ch3 HdMadCfg USINT RW Output 3 Output Status When Ch3 and Ch4 are used only for onere DA041 08V 08C Ch4 HdMdCfg USINT RW Output 4 Output Status When Ch5 to Ch8 are used only for DAO8V 08C Conversion Stops Ch5 HdMdCfg USINT RW Output 5 Output Status When Conversion Stops Che HdMdCfg USINT RW Output 6 Output Status When Conversion Stops Ch7 HdMadCfg USINT RW Output 7 Output Status When Conversion Stops Ch8 HdMdCfg USINT RW Output 8 Output Status When Conversion Stops 4 20 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C i List of Initial Setting Parameters DA08V DA08C unique parameters Chi Scl L Cfg Output 1 Scaling Lower Limit Refer to 4 6 3 Output Scaling Ch1 Scl H Cfg Output 1 Scaling Upper Limit Function CJ1W DAO8V 08C Ch2 Scl L Cf INT RW O 2 Scaling L
22. Data 2 4 e When a disconnection is restored the mean value processing function begins again from step 1 Input Scaling Function When upper and lower limits within a range of 32 000 to 32 000 are preset analog input values can then be automatically converted into a user specified industrial unit with the upper and lower limits taken as full scale based on that resolution value EN Additional Information e The upper limit is normally set to be greater than the lower limit but it is also possible to set the lower limit to be greater than the upper limit for reverse scaling e Actual A D conversion is executed at up to 596 to 105 of full scale LA Precautions for Correct Use If the scaling upper limit equals the scaling lower limit or if the scaling upper limit or scaling lower limit is outside the range of 32 000 a scaling data setting error will occur and scaling will not be executed Normal operation is performed without scaling if both the upper and lower limits are set to 0 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 CJ series Analog Input Units CJ1W AD042 e Setting Upper and Lower Limits for Scaling The input scaling upper and lower limit values are set with the following initial setting parameters Variable name Type Setting Ch _Scl_L_Cfg INT Scaling lower limit 32 000 to 32 000 Ch _Scl_H_Cfg INT Scaling upper limit 32 000 to 32 000 Variable name ff is i
23. Input circuit rand Conversion i I I circuit Input I I ea r E pui ie indios 0 V AG common to all inputs CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 15 6 CJ series Analog I O Unit CJ1W MAD42 e Output Circuit switch and Conversion 1 Circuit e Current Output Circuit peer ee ee ee Output switch and con version Circuit L eee ee e Internal Configuration Bus interface Oscillator Division I O Bus 6 16 Voltage output Voltage output AG common to all outputs Current output 4 Current output Indicators Switch MPU Non volatile memory A D converter Photocoupler insulation Regulator Insulation type 9 DC to DC converter CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 6 4 3 Voltage Input Disconnection Connected device 1 Ce ea ee rd I l l N Connected device 2 P A 3 Q 24 VDC Example If the connected device 2 in the above example outputs 5 V and the power supply is shared by 2 chan nels as shown in the above diagram approximately one third of the voltage or 1 6 V will be input at input 1 When voltage inputs are used and a disconnection occurs separate the power supply at the side of the con
24. Meaning There is a mistake is the Conversion Mode setting Source PLC Function Module Source details CJ series Unit Detection At power ON timing Controller reset or restart Effects User program Continues Operation Conversion will not start at the Unit The output will be 0 V for D A conversion and the data will be 0 for A D conver sion cone tel The specification of the Cyclic Con Set the Conversion Mode in the Spe Set the Conversion Mode in the Spe version Mode or Direct Conversion cial Unit Setup to Cyclic Mode cial Unit Setup to Cyclic Mode Mode is not correct This error will not occur with A5 hex This error will not occur with A5 hex Direct Conversion Mode but the Direct Conversion Mode but the Direct Conversion Mode cannot be Direct Conversion Mode cannot be used with an NJ series Controller used with an NJ series Controller Attached None information Precautions None Remarks 7 30 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Event name Meaning Source Error attributes Effects System defined variables Cause and correction Attached information Precautions Remarks Event name Meaning Source Error attributes Effects 7 Common Items Output Hold Setting Error 3487 0000 hex There is a mistake in the output hold setting PLC Function Module Source details Detection At power ON timing Controller reset or restart Conversion will not
25. PA TING PS 7 14 Adjusting Offset and Gain ooccccccnnccccccccnconnancnononononinnnos 7 2 ACIUSIMENE ModE vanen 7 3 Adjustment Value Clear Flag 7 4 7 9 Adjustment Value Down Flag occoccooccccnncccconcccnncncononos 7 9 Adjustment Value Set Flag 7 4 7 9 Adjustment Value Up Flag esseesesss 7 9 Adjustment values setting ssseeeeessss 7 3 AG terminal iia 2 16 3 13 6 18 Pilati usc ci ccc dua c 7 14 Allowed load resistance eeeseeeeeeeeees 6 4 B SINN EE MTS 6 45 Broken line approximation instruction A 7 C CAND ge endet bs ior as EE EN 7 2 Clearing gain adjusted values 7 8 7 12 Clearing offset adjusted values 7 8 7 12 GERE c 1 4 4 28 6 39 Conceptual Diagram of Scaling 1 6 Conversio Cycle aadnk 2 2 3 2 Conversion Cycle and Resolution SEINO atadas 2 27 4 27 6 28 6 37 Conversion disable 4 27 5 18 6 38 Conversion enable sse 4 27 5 18 6 38 Conversion period aeaa oa E A 5 2 Conversion Time Resolution in Adjustment Mode cccceessseseeeeeeeeeeeeeeeeeeeeens 7 17 Conversion Time Resolution or Operation Mode Setting Error
26. e For inputs you do not use set them to Not Used in the input number settings refer to Setting Inputs and Signal Ranges in 3 6 1 Input Settings and Conversion Values If they are set to Used and actually not used unintended conversion data may be input To prevent this short circuit the voltage input terminals V and V Take note that in the case of a range from 1 to 5 V or 4 to 20 mA short circuiting V and V causes the Disconnec tion Detected bit to turn ON e Do not connect anything to N C terminals shown in the wiring diagram on page 3 4 1 Terminal Arrangement CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 13 p A 3 e ajduex3 Buy 1ndu p p 3 CJ series Analog Input Units CJ1W AD042 3 4 5 Input Wiring Considerations When you wire inputs apply the following points to avoid noise interference and optimize Analog Input Unit performance e Use two core shielded twisted pair cables for input connecting lines e Route input cables separately from the power cables e g AC and three phase lines and do not run the Unit s cables near a main circuit cable high voltage cable Do not insert these cables into the same duct e f there is noise interference from power lines for example the power supply is shared with electrical welding devices or electrical discharge machines or there is a high frequency generation source nearby install a noise filter at the power sup
27. e If a major fault level Controller error occurs While the CPU Unit is on standby until RUN mode is entered after the power is turned ON External safety measures must be provided to ensure safe operation of the system in such cases If external power supplies for slaves or other devices are overloaded or short circuited the voltage will drop outputs will turn OFF and the system may be unable to read inputs Provide external safety measures in controls with monitoring of external power supply voltage as required so that the sys tem operates safely in such a case e 000959 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Safety Precautions WARNING Fail safe Measures Unintended outputs may occur when an error occurs in variable memory or in memory used for CJ series Units As a countermeasure for such prob lems external safety measures must be provided to ensure safe operation of the system Provide measures in the communications system and user program to ensure safety in the overall system even if errors or malfunctions occur in data link communications or remote I O communications If there is interference in remote I O communications or if a major fault level error occurs Output status will depend on the products that are used Confirm the operation that will occur when there is interference in communi cations or a major fault level error and implement safety measures Corre
28. 0 No error Ch3 MVErr BOOL Output 3 Output Set Value 1 Setting error Error Ch3 and Ch4 are used only for Ch4 MVE BOOL Output 4 Output Set Val rdi utv NN ES PIRE Ch5 to Ch8 are used only for DA08V 08C Ch5 MVErr BOOL Output 5 Output Set Value Error Ch6 MVErr BOOL Output 6 Output Set Value Error Ch7 MVErr BOOL Output 7 Output Set Value Error Ch8 MVErr BOOL BK Output 8 Output Set Value Error 4 22 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C Name of device variable UnitErr BYTE hi Error Flags SclErr BOOL Scaling Data Setting Error HdErr BOOL Output Hold Setting Error MaErr BOOL Conversion Time Resolution or Operation Mode Setting Error Feature reference page Refer to 7 2 2 Alarms Occur ring at the Unit BYTE type variable that com bines the following BOOL type variables Used only for DA08V 08C 0 No error 1 Error in initial setting param eters 0 No error 1 Error in initial setting param eters Used only for DAO8V 08C 0 No error 1 Error in initial setting param eters List of Operation Data during Adjustment Mode Name of device variable Feature reference page Bit Number AdjCh BYTE Outputs to Be Adjusted Refer to 7 1 Adjusting Offset and Gain AdjOfs BOOL Offset Flag Instruction setting and flag for output AdjPV INT Conversion value for adjust ment
29. 08 07 06 05 04 03 02 01 00 Input 8 Input 7 Input 6 Input 5 MS Input 4 Input 3 Input 2 Input 1 t O 00 10 to 10V Use the voltage current switch to switch 01 0to 10V between input signal ranges 1 to 5 V and ioc eo snm 4 to 20 mA 11 0 to 5 Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller reset or when the Unit restarts i Reading Conversion Values Analog input conversion values are output to the device variable for CJ series Unit Input Conversion Data _Ch _RdAl shown below Variable name Type Ch 1_RdAl INT An input number from 1 to 8 is included in place of in the variable name 1 to 4 for AD041 V1 2 26 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 i Conversion Cycle Resolution Setting You can switch the conversion cycle and resolution with Resolution Conversion Time Settings ResolutionCfg This setting is common to analog inputs 1 to 8 1 to 4 for AD041 V1 Variable name Type Setting ResolutionCfg BYTE 16400 4 000 resolutions 1 ms cycle 16 C1 8 000 resolutions 250 us cycle Precau
30. 1 ms settings Use settings Use input 1 Input signal range settings 0to 5 V e Defined variables System defined variable Name Data type Factory setting Contents P_On BOOL pie Always ON Flag ON when power is supplied User defined variables To be defined before or when creating a program Name Data type Factory setting Comments Data Temp INT Indicates data after temperature scaling ScaleData ARRAY 0 1 0 1 OF INT 200 15 4200 315 Indicates data to be scaled Device variables for CJ series Unit Create them on the I O Map screen after the Unit Configuration is created Allocated Name Data type Factory setting address AT Contents J01 Chi RdAI INT lOBus rack 0 Indicates the input 1 slot 0 Ch1 RdAI Conversion Data A D conversion value A 8 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Appendices e Data Array Setting ScaleData 0 0 ScaleData 0 1 A Data is converted to a straight line with input value ScaleData 1 0 200 converted to 15 and input value 4200 converted to 315 ScaleData 1 1 M e Program Example P On PWLApprox ENO Data Temp J01 Ch1 RdAI ScaleData 0 0 UINT 2 di N o D 3 O U O e e 3 7 Bueos Z Y CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A 9 Appendices A 2 4 Square Root Calculation e Outline Data expressed as quadratic curves such as thermocouple
31. 10 V Cd O c D c O o D D I o Q m 2 gt 2 c o 3 D I U O O D o D o Offset adjustment output range The following example uses output number 1 adjustment 7 Set the device variable for CJ series Unit Outputs to Be Adjusted AdjCh to 164411 Adjust ment of output 1 2 Set the device variable for CJ series Unit Offset Flag _AdjOfs to 1 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 9 7 Common Items 7 10 3 Check whether the output devices are connected Current output Voltage output lA 4925 0 9 d 4 Monitor the device variable for CJ series Unit Conversion value for adjustment AdjPV and check the output value while the Offset Flag is ON 5 Change the output value so that the output voltage reaches the standard value You can adjust the output value within the indicated ranges in the following table Output signal range Output range 1105 0010 7400 Use bit operation of the device variables for CJ series Unit shown below to adjust the output value Variable name Type Function AdjDwn BOOL Adjustment Value Down Flag Decrease the adjusted value by one resolution AdjUp BOOL Adjustment Value Up Flag Increase the adjusted value by one resolution With both the Up Flag and Down Flag the output changes by one resolution every 0 5 second while the flag is ON If the
32. 18 Precautions Tol Sale USC Lue 23 Precautions TOF GOEG USO Eon x rau Uo E Duc DL o EM Ecc Cx va rre di eR RR EN ER A 29 Regulations and Standards rie ia nica 32 UNIT VEOESION eR MN NN aan araia 35 Related MANUAIS ii ll citan 37 REVISION MISTOFV m 38 Section 1 System Design EE Features and Functions n sasverennannnennnnnnnnvnnennnnnnvenennnnnnenennnnnnnenenunsnnnnnnunnnnnnnnnnnnnnnnvnnensnnnnvnvunnn 1 2 152 MOUUNO Ne UN dee 1 7 ost Basic System Gog san a den 1 7 122 Mounting Procedure AS 1 8 12 3 A 1 9 123 FUNGUON APPICAUONS sage 1 10 Section 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 24 SPECNCANONS PTR ee 2 2 2 1 1 SDECIICAUONS ae 2 2 2 1 2 Input Function Block Dart detail lisina 2 4 2 1 3 KE SPENN 2 4 2 2 Operating Procedure sissu da 2 7 2 3 Components and Switch Settings occiso ccu enu eiu EE mn es nnmnnn nn di 2 9 2 3 1 Component NAS cesta Arent rend ceeded peli Gesine 2 9 2 3 2 MAN A TERESE FS ERE TREE acacia ce ese end ae ER ERE ERE TE TEE SELE Eps TE eed 2 10 2 3 3 UNINUNADE SVENSEN 2 11 2 3 4 Operating Mode SN 2 11 2 3 5 Vollage Gurrenb SWIC EEE NE mekka lent 2 12 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 CONTENTS 24 VIO pe RR 2 4 1 Terminal Arrangement RU 2 4 2 Internal Elan 2 4 3 Voltage Input DISCONNECTION occcccconcnnccncnconocoonnoncononnnnnnonnnnnnononnnnononannnnnonnnnnonnnnnnnnnnannnn
33. 2 V Max 5 of full Med just prior to stopping full Ms 0to5V 0 25 V Min 5 of Voltage that was output 5 25 V Max 5 of full scale just prior to stopping full Aa 4 to 20 mA 3 2 mA Min 5 of Current that was output 20 8 mA Max 5 full scale just prior to stopping of full E The above values may fluctuate if offset gain adjustment is applied Set the output hold function with Output Output Status When Conversion Stops _Ch _HdMdCfg Variable name Type Setting Ch _HdMdCfg USINT 0 CLR 1 HOLD 2 MAX An output number from 1 to 8 is included in place of ff in the variable name 1 to 4 for DA041 and 1 to 2 for DAO21 Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller is reset or when the Unit restarts 4 28 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C 4 6 3 Output Scaling Function CJ1W DA08V 08C Only When upper and lower limits are preset within a decimal range of 32 000 to 32 000 D A conversion of analog output setting values is performed with the upper and lower limits taken as full scale This scaling eliminates the previous
34. 3 6 or 7 0 10to 10 V 2 0to 10V 3 4 to 20 mA 6 5 to 5 V 7 1to5V ff in the variable name is the input number CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 If you set the number of analog inputs to use in device variable InChUseCfg set the value to between 0 and 4 If you set the input signal range in device variable Ch In ngCfg set the value to 0 2 3 6 or 7 0 10 to 10 V 2 0to 10V 3 4 to 20 mA 6 5 to 5 V 7 1to5V in the variable name is the input number 7 29 so 1u8 3 Z 7 suonduose 4044 Z 7 Common Items Event name Mean Value Processing Setting Error 34850000 hex Meaning There is a mistake in the setting of the number of samplings for mean value processing Source PLC Function Module Source details CJ series Unit Detection At power ON timing Controller reset or restart Error attributes Minor fault Recovery Log category System Effects Continues Conversion will not start for the Unit and the data will be 0000 hex correction There is a mistake in the setting of the Correct the number of average sam Set the number of average samplings number of samplings for mean value plings to a value between 0 and 9 to a value between 0 and 9 processing Change the setting and then restart the Unit Attached None information Precautions None Remarks Event name Error in Setting of Conversion Mode 34860000 hex
35. A NE NT e Pope m 500 i 4 mA 20 mA Analog input signal 3 2 mA 20 8 mA suoneoiuioeds sindu 1 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 5 3 CJ series Analog Input Units CJ1W AD042 3 2 Operating Procedure Follow the procedures outlined below when using the Analog Input Unit There is no restriction regarding the sequence of Programs and software settings and Hardware set ting and Rack assembly These tasks may be carried out concurrently or in the reverse order Use Sysmac Studio to create and set programs For operations of Sysmac Studio refer to the Sysmac Studio Version 1 Operation Manual Cat No W504 e Programs and software settings 7 Create POU and global variables Create Unit Configuration e Create and register global variables and each POU e Create algorithms for each POU and register local variables of each POU e Register the Unit in the Unit Configuration on the CPU Expansion Racks screen in Configura tion and Setup At this time set both the device name and the unit number of the unit to be registered e Create device variable for CJ series Unit by using I O Map Create Unit initial setting parameters Create the Unit settings by using Special Unit Setup Editing e Set the number of analog inputs to be used e Set the input signal ranges e Set the number of mean value processing samplings e Set upper and lower limits for scaling Whe
36. Ana log I O Unit oDueuox4 ejeq Jo aullINO L S Analog Input Units NJ series CPU Unit CJ ae User program I O port Operation Data Operation data Operation data Conversion values Automatic creation HO refresh of analog input etc Device variable for CJ series Unit AT MD pa non specification I O refresh Device variable for CJ series Unit n Refer to Operation Data in 3 5 3 Allocating Device Vari able for CJ series Unit Initial setting parameters Initial setting parameters Initial setting parameters Automatic creation ana Device variable for CJ series Unit AT with Unit registration operational mean Analog input signal range VT samplings etc specification Controller is reset PE or Unit restarts Refer to Initial Setting Parame ters in 3 5 3 Allocating Device Variable for CJ series Unit CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 15 3 CJ series Analog Input Units CJ1W AD042 3 5 2 Accessing from the User Program The user program uses device variables for CJ series Unit to control the Analog Input Unit Use device variables for CJ series Unit with AT specification for the I O port which is explained below e 1 0 port An I O port is a logical interface for data exchange by a CPU Unit with an Analog I O Unit or other configuration unit An I O port has a unique predefined name for each unit model and function An I O port is automatica
37. BOOL 0 No disconnection 1 Disconnection An input number from 1 to 4 is included in place of in the variable name You can also perform batch readout with the device variable for CJ series Unit Disconnection Detected SensErr shown below Variable name Type SensErr BYTE Bit 07 06 05 04 03 02 01 00 C AN st Input Input Input Input 1 The corresponding bit turns ON when a disconnection is detected for a given input When the disconnection is restored the bit turns OFF CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 27 3 CJ series Analog Input Units CJ1W AD042 EN Additional Information The conversion value during disconnection is 32767 3 28 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 CJ series Analog Output Unit CJ1W DA021 041 08V 08C This section explains how to use the CJ1W DA021 041 08V 08C Analog Output Units 4 1 SPECHICAUONS sud auo eade e cao iR ST atibus 3 Bale Sas 4 2 4 1 1 SDeGIITC tole as acu Ta PT DR Ro eas 4 2 4 1 2 Output Function Block Diagram 2 anaana eaaa aaea 4 3 4 1 3 Output Specifications 0 0 RI 4 4 4 2 Operating Procedure suisse 4 6 4 2 1 CUTWEDAO2 1 04 ft vere eid 4 6 4 22 GJIW DAOSV 0806 ja pb aco Pe oed go o ed e CEA ee ALES 4 8 4 3 Components and Switch Settings 4 10 4 3 1 Component Names less 4 10 432 Nda ri Oe eite dd i bem pa da rop
38. Bit remains ON for 3 seconds the output changes by one resolution every 0 1 seconds 6 Check the 0 V 1 V 4 mA output and then set the device variable for CJ series Unit Adjustment Value Set Flag _AdjSet to 1 and then return it to 0 While the device variable for CJ series Unit Offset Flag _AdjOfs is set to 1 the offset value will be save to the Unit s non volatile memory when Adjustment Value Set Flag AdjSet turns ON 7 To finish the offset adjustment set the device variable for CJ series Unit Offset Flag _AdjOfs to 0 LA Precautions for Correct Use e Do not turn OFF the power supply or restart the Unit while the Adjustment Value Set Flag is ON while data is written to the non volatile memory Otherwise illegal data may be written in the Unit s non volatile memory and Non volatile Memory Error may occur when the power supply is turned ON or when the Unit is restarted which will cause a malfunction e To make adjustments be sure to perform both the offset adjustment and gain adjustment at the same time EN Additional Information You can overwrite the non volatile memory 50 000 times CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 Common Items i Gain Adjustment The procedure to adjust the analog output gain is explained below As shown in the following diagram the set value is adjusted so that the analog output is maximized to 10 V 5 V 20 mA Gain adjustment UV VL ee ee
39. CJ series Analog I O Unit CJ1W MAD42 6 3 3 Unit Number Switches Use the unit number switches to set the specific unit number for each Special I O Unit mounted in a CPU Rack or Expansion Rack The unit number must be the one registered in Unit Configurations Turn OFF the Controller before changing the unit number setting Unit number Switch Unit switches setting number 0 Unit 40 MACH s N iS 1 Unit 1 O LO O 10 Re 2 Unit 2 3 Unit 43 ys 4 Unit 4 T LO o i O 5 Unit 45 109 N 26 S 6 Unit 46 3 7 Unit 7 3 8 Unit 48 o i Q 9 Unit 49 T 10 Unit 410 to to S D n Unit n 5 to to ud 95 Unit 95 EN Additional Information e If two or more Special I O Units are assigned the same unit number a Duplicate Unit Num ber major fault level Controller error is generated and the Controller will not operate e After correcting the unit number setting cycle the power to the Controller S co C 2 Z c z c D ep o Dy D o CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 13 6 CJ series Analog I O Unit CJ1W MAD42 6 3 4 Voltage Current Switch Change the pin settings on the voltage current switch located on the back of the terminal block to switch the analog conversion input from voltage input to current input OFF Voltage input ON Current input 1 Input 2 1 Input 1 1 Input 4 1 Input 3 Precautions for Safe Use Be sure to turn OFF the power to the Contro
40. CPU Rack or Expansion Rack The unit number must be the one registered in Unit Configurations Turn OFF the Controller before changing the unit number setting ei vila Switch setting Unit number MACH 0 No E KA 1 1 x10 Need 3 3 3 3 v 8 o i x109 122 5 5 6 6 7 7 8 8 9 9 10 10 to to n n to to 95 95 EN Additional Information e f two or more Special I O Units are assigned the same unit number a Duplicate Unit Num ber major fault level Controller error is generated and the Controller will not operate e After correcting the unit number setting cycle the power to the Controller CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 9 e O O 3 3 O 5 D 5 0 9 5 2 o e O gt 0 D 5 a 0 SJO EOIpU Z E 3 CJ series Analog Input Units CJ1W AD042 3 4 Wiring Precautions for Safe Use Always connect surge suppressors to inductive loads in the system e g magnetic contactors relays and solenoids Always separate devices that generate surge from the Analog Input Unit Faulty Unit operation may cause unexpected system operation If inductive loads are connected to output signals from Relay Contact Output Units connect a surge suppressor in an AC circuit and a diode in a DC circuit close to the inductive load to absorb the counter electromotive force Inductive Inductive load Output Unit Output Unit Connect a surge suppressor i
41. CPU Unit W490 4 7 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C 4 2 2 CJ1W DA08V 08C e Programs and software settings 4 8 7 Create POU and global variables Create Unit Configuration e Create and register global variables and each POU e Create algorithms for each POU and register local variables of each POU e Register the Unit in the Unit Configuration on the CPU Expansion Racks screen in Configura tion and Setup At this time set both the device name and the unit number of the unit to be registered e Create device variable for CJ series Unit by using I O Map Create Unit initial setting parameters Create the Unit settings by using Special Unit Setup Editing e Set the output numbers to be used e Set the output signal ranges Not required for the CJ1W DA08C e Set the output hold function e Set the conversion cycle and resolution e Set the scaling function When the program is transferred the items set here will be reflected in the initial setting param eters e Hardware setting and Rack assembly 7 2 3 4 Use the unit number switches on the front panel of the Unit to set the unit number Set the same unit number as in the Unit Configuration settings Mount and wire the Unit to either a CPU Rack or Expansion Rack Turn ON the power to the Controller At this time an I O Setting Check Error occurs when there is a Unit Configuration in the CPU Unit which does not match the actual
42. Ch4 SensErr Input 4 Disconnection BOOL Detected 08 to 15 AdjUnitErr Error Flags BYTE AdjAveErr Mean Value Processing Set BOOL ting Error 2 AdjInErr Input Value Adjustment BOOL Range Exceeded 3 AdjInNoErr Input Value Adjustment Num BOOL ber Setting Error AdjMemErr Non volatile Memory Error BOOL AdjMd Starting Adjustment Mode BOOL O le OT A h Aowa pue SHUN SALIS 10 SIVULA SINNIG 10 SAB S0UIPUOASI110D p Y SHU S9LIIS 10 sessoJppy h Special I O Unit DM Area common to both Normal Mode and Adjustment Mode zi t N O gt O O 2 lt CJ series I O memory address NJ series device variable for CJ series Unit Dim WORD CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A 23 Appendices CJ series I O memory address NJ series device variable for CJ series Unit D m 1 00 to 15 InRngCfg Input Signal Range Settings WORD 00 to 01 Input 1 Input Signal Range Setting 02 to 03 Input 2 Input Signal Range Setting 04 to 05 Input 3 Input Signal Range Setting 06 to 07 Input 4 Input Signal Range Setting 08 to 09 Input 5 Input Signal Range Setting 10 to 11 Input 6 Input Signal Range Setting 12 to 13 Input 7 Input Signal Range Setting 14 to 15 Input 8 Input Signal Range Setting D m 2 00 to 15 Ch AveCfg Input 1 Number of Samplings UINT for Mean Value Processing D m 3 00 to 15 Ch2 AveCf
43. Config uration in the CPU Unit are different from the ones actually mounted CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 19 7 Com mon Items 7 2 4 Restarting Special I O Units To restart operation after you change initial setting parameters or remove the cause of an error perform the following to restart the Unit Initial setting parameters are reflected after restart Reset the Controller from Sysmac Studio Restart from Sysmac Studio when initial setting parameters are transferred from Sysmac Studio Turn the Controller power supply OFF and ON to reset the Controller Issue a ResetUnit instruction to restart from the program Restart with system defined variables Restart from 0 to 1 Variable name CJB SIO Restart Type BOOL LA Precautions for Correct Use 7 2 5 00 to 95 appears in place of to indicate the unit number e f the error is not cleared even after restart then replace the Unit e Input data will be 0000 and output will be 0 V or 0 mA during restart Troubleshooting The following tables explain the probable causes of troubles that may occur and the countermeasures for dealing with them Troubleshooting for Analog Input amp Conversion Data Does Not Change Countermeasure Set the input to be used 7 20 Probable cause The input is not set to be used The peak value hold function is in operation The input device does not work the input
44. Conversion Values i Setting Outputs and Signal Ranges e Output Numbers The Analog Output Unit converts only the analog outputs specified among output numbers 1 to 8 1 to 4 for CJ1W DA041 or 1 and 2 for CJ1W DA021 and skips unused outputs Accordingly the conversion cycle per unit is calculated by conversion cycle x used output points EX O gt 5 2 O O c eut gt c F Tl c 3 O ct O 5 D A 3 2 O o O D ct 3 U O O D Q c 0 For the conversion cycle setting refer to Conversion Cycle Resolution Setting CJ1W DA08V 08C Only on page 4 27 Use the Output Use Setting ChZ OutChUseCfg to set the analog outputs to be used Variable name Type Setting Ch OutChUseCfg BOOL 0 Not used 1 Used An output number from 1 to 8 is included in place of in the variable name 1 to 4 for DA041 and 1 to 2 for DAO21 You can also perform batch settings with Output Use Setting OutChUseCfg Variable name Type Setting OutChUseCfg WORD 1640000 to 16200FF To 164000F for DA041 and 1620003 for DAO21 Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Sen eA UOISIBAUOD pue shuas indino 9 p Output 5 Output 4 Output 3 Output 2 I Output 1 vs 0 Not used 1 Used The output value of the output number set to Not used will be O V Output Signal Ranges You can select any of four types of output signal range 10 to 10 V O to 10 V 1 to 5 V 4 to 20
45. Create the Unit settings by using Special Unit Setup Editing e Set the I O numbers to be used e Set the input and output signal ranges e Set the number of mean value processing samplings Set the output hold function Set the scaling function Set the ratio conversion usage the ratio set value and the bias value e Set the conversion cycle and resolution When the program is transferred the items set here will be reflected in the initial setting parameters e Hardware setting and Rack assembly 7 Set the voltage current switch at the back of the terminal block Mount and wire the Unit to either a CPU Rack or Expansion Rack 3 Use the unit number switches on the front panel of the Unit to set the unit number Set the same unit number as in the Unit Configuration settings Turn ON the power to the Controller At this time an I O Setting Check Error occurs when there is a Unit Configuration in the CPU Unit which does not match the actual Unit Configuration In this case reset the Controller in steps 2 4 and 7 Reset the Controller or restart the Unit of the following process to cancel the error CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 9 6 CJ series Analog I O Unit CJ1W MAD42 6 10 e Program transfer and adjustment 1 2 3 Transfer programs Unit Configuration and Setup and variable information Reset the Controller or restart the Unit Set Operating Mode Settings MdCfg to th
46. D Q c D o Accordingly the conversion cycle per unit is calculated by conversion cycle x used input points For the conversion cycle setting refer to 2 6 2 Mean Value Processing on page 2 27 Use the Input Use Setting ChZ InChUseCfg to set the analog inputs to be used Variable name Type Ch InChUseCfg BOOL 0 Not used 1 Used An input number from 1 to 8 is included in place of in the variable name Sen eA uois19AuO pue sDumes indu 9 7 You can also perform batch settings with Input Use Setting nChUseCfg Variable name Type Setting InChUseCfg WORD 1640000 to 16400FF To 164000F for AD041 V1 Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 D m Input 8 Input 7 Input 6 Input 5 Input 4 Input 3 Input 2 Input 1 0 Not used 1 Used EN Additional Information The input conversion value set to Not used will be 0 at all times CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 25 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 e Input Signal Ranges For input numbers 1 to 8 1 to 4 for AD041 V1 select from four types of input signal ranges 10 to 10 V 0 to 10 V 1 to 5 V 4 to 20 mA and 0 to 5 V Use the Input Signal Range Settings _InRngCfg to set the used input signal ranges Variable name Type Setting InRngCfg WORD 16 0000 to 16 FFFF To 16 00FF for AD041 V1 Bit 15 14 13 12 11 10 09
47. Description This section provides an introduction to the NJ series Controllers and their features and gives the NJ series Controller specifications This section provides information that is necessary to use the CPU Unit including how the CPU Unit works and the operations that it performs depending on the status of the CPU Unit This section describes how to use I O ports how to create the slave configuration and unit configuration and how to assign functions This section describes the initial settings of the function modules This section describes the task system and types of tasks This section describes programming including the programming languages and the variables and instructions that are used in programming This section describes the items and procedures for checking the operation of an NJ series Controller including offline debugging procedures This section describes the functionality provided by the CPU Unit This section describes how to go online with the CPU Unit and how to connect to other devices This section describes the procedures that are used to actually operate an NJ series Controller This section describes the event codes error confirmation methods and corrections for errors that can occur The appendices provide the CPU Unit specifications task execution times specifica tions of individual system defined variables data attribute lists CJ series Unit mem ory information CJ series Unit
48. Ja 3 5 SUOITEJBPISUOD BULIM indu G v z CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 17 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 2 5 Exchanging Data with the CPU Unit 2 5 1 Outline of Data Exchange The CPU Unit and Analog Input Unit CJ1W AD041 V1 AD081 V1 exchange operation data and initial setting parameters via the I O port generated for this Analog Input Unit The table and figure below show the data exchange method for each data type Data exchange type AT specification How to access Timing of data Unit data type Data contents n destination from user program exchange Operation data Analog input conver I O port operation Device variable for At I O refreshing sion value etc data CJ series Unit Initial setting param Analog input signal I O port initial set Device variable for When the Controller eters range number of ting parameters CJ series Unit is reset or the Unit operational mean restarts samplings etc Unit Restart Bit etc Unit Restart Bit etc System defined vari At I O refreshing able The initial setting parameters are retained in the CPU Unit by the battery even during power interruptions e Device Variable for CJ series Unit Device variables for CJ series Unit are variables used for data exchange between a user program and Special I O Units The user program uses device variables for CJ series Unit to control the Ana log I O Un
49. Limit Function Output 2 Scaling Lower Limit 32000 to 32000 Set lower limit value upper limit Output 2 Scaling Upper Limit MN PP Output 3 Scaling Lower Limit Can also set lower limit value gt INT Output 3 Scaling Upper Limit upper limit value INT Output 4 Scaling Lower Limit Output 4 Scaling Upper Limit CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 5 15 q e m gt lt o gt D 5 e 5 e U D Fr D 5 F 3 O U c c 5 HUN S9119S PD 10 SSJQBIIBA SINS Buleso y 6 G G 5 CJ series Analog Output Unit CJ1W DA042V i Operation Data Operation data includes data such as analog output setting values etc Operation data is exchanged constantly during I O refreshing i List of Operation Data BITES ELG ons Type R W Feature reference page CJ series Unit name yp pag Chi WrAO INT RW Output 1 Set Value Refer to Writing Set Values in 5 6 1 Output Set Ch2 WrAO INT RW Output 2 Set Value tings and Conversion Values Ch3 WrAO Output 3 Set Value Ch4 WrAO Output 4 Set Value WORD type variable that combines ConvCmd WORD HW Conversion Enable Settings the following BOOL type variables Chi ConvCmd BOOL type variable that specifies 00 Ch2 ConvCmd each output for conversion enable 01 Ch3 ConvCmd 0 Stop copvetsion output 02 Ch4 ConvCmd 1 Start conversion output 03 MVErr BYTE Output Set Value Error Refer to 5 6 4 Output Setting Errors
50. Module Source details Continuously Stm User program Continues Operation The conversion a DS will be 0 or 32767 depending on the model of Analog I O Unit Operation will continue and the conversion value will return to normal when the connec tion is restored Error attributes Effects s6o7 1uanI Z 7 variables COS CT i CO eel ertet Input wiring is broken Check the wiring for any inputs for Check to see if the wiring is broken Co which the I O Disconnection Detec m tion error indicates a disconnection to o see if the line is broken Replace the O cable if necessary 2 Input wiring disconnection Check the wiring for any inputs for Confirm that the wiring is connected 3 which the I O Disconnection Detec securely 3 tion error indicates a disconnection to see if the lines are connected securely Reconnect any lines with faulty connections Attached Attached information 1 Input number where error was detected information Precautions Check the manual of the Unit for information on the conversion value when an error occurs You can change the event Remarks level to the observation level If you change the level to the observation level recovery procedures are not required CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 33 7 Common Items Event name Output Set Value Error 64790000 hex Meaning The output setting is out of range Source PLC Function Module Source details CJ series Unit Co
51. OutRngCfg Output 4 Output Signal Range USINT Setting D m 15 00 to 07 Ch4_HdMdCfg Output 4 Output Status When USINT Conversion Stops D m 16 00 to 15 Ch4 Scl L Cfg Output 4 Scaling Lower Limit INT D m 17 00 to 15 Ch4 Scl H Cfg Output 4 Scaling Upper Limit INT The Direct Conversion Mode cannot be used with the NJ series CPU Unit On the Special Unit Setup Editing of Sysmac Studio set Conversion Mode Setting to Cyclic Conversion Mode Kiowa pue spun seuoes f2 10 SA QLIEA 301IN9 10 sajqej eouepuodsau02 p Y SHU S9 9S P 10 sessoJppy gt T NJ O J gt O K no lt CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A 35 Appendices A 4 8 CJ1W MAD42 Special I O Unit CIO Area in Normal Mode NJ series device variable for CJ series Unit I O I O memory address CIONo BitNo Variabiename Description Datatype CPU to this Conversion Enable Settings 04 Ch1 PkHdCmd Input 1 Peak Value Hold Exe BOOL cution 05 Ch2 PkHdCmd Input 2 Peak Value Hold Exe BOOL cution Ch3_PkHdCmd Input 3 Peak Value Hold Exe BOOL cution Ch4 PkHdCmd Input 4 Peak Value Hold Exe BOOL cution 00 to 15 Ch WrAO Output 1 Set Value INT 00 to 15 Ch2 WrAO Output 2 Set Value INT Input 00 to 15 Ch1_RdAl Input 1 Conversion Data INT This Unitto n46 00 to 15 Ch2 RaAI Input 2 Conversion Data INT Cristo ne 7 E n4 7 00 to 15 Ch3_RdAl Input 3 Conversion Data INT
52. RW Input Signal Range Settings Refer to 2 6 1 Input Settings and Conversion Values Ch AveCfg UINT RW Input 1 Number of Samplings Refer to 2 6 2 Mean Value Processing for Mean Value Processing 0 Number of samplings 2 Ch2 AveCfy UINT HW Input 2 Number of Samplings No mean value processing for Mean Value Processing Ch3 AveCfg UINT RW Input 3 Number of Samplings for Mean Value Processing Number of samplings 16 RW Input 4 Number of Samplings Ve beror i 32 for Mean Value Processing PE EP Ch5 AveCfg UNT RW InputS Number of Samplings amp Number of samplings 64 for Mean Value Processing Ch5 to Ch8 are used only for AD081 V1 Ch6 AveCfg UINT RW Input 6 Number of Samplings for Mean Value Processing RW Input 7 Number of Samplings for Mean Value Processing Ch8 AveCfg UINT RW Input 8 Number of Samplings for Mean Value Processing MdCfg BYTE RW Operating Mode Settings Refer to 2 3 4 Operating Mode Switch 16400 Normal Mode 164C1 Adjustment Mode ResolutionCfg BYTE Resolution Conversion Time Refer to Conversion Cycle Resolution Setting Settings in 2 6 1 Input Settings and Conversion Val ues 16400 4 000 resolutions 1 ms cycle 16 C1 8 000 resolutions 250 us cycle CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 21 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 j Operation Data Operation data includes data such as analog input conversion value etc Operation data is e
53. Racks screen in Configuration and Setup of Sysmac Studio Operating mode Initial setting parameters Normal Mode Resolution conversion time 4000 1 ms settings Use input 1 1 to 5 V 4 to 20 mA Current 4 to 20 mA 0 500 Use settings Input signal range settings Voltage current input switch gt N o D 3 je O v O e 9 3 a Input 1 scaling lower limit Input 1 scaling upper limit I Not Using the Scaling Function e Outline Use broken line approximation instructions to convert A D conversion values 400 to 4400 to temperature data 15 to 315 0 e The following example uses a resolution of 4 000 and an input signal range of 1 to 5 V where 1 to 5 Vis scaled to 0 C to 300 C Buleos e z v CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A 7 Appendices 315 AY 0 I 15 X1 Y1 200 4000 4200 0 li T 1 0 8V 5V 52V 4200 AX e Unit settings Name Setting target Setting contents Unit Configuration CPU Expansion Racks in Configura Mount CJ1W AD081 V1 in slot 0 of the tion and Setup of Sysmac Studio CPU Rack Device name of this unit J01 Unit number Unit number switch and Unit Config Unit number 0 101 0 X100 0 uration CPU Expansion Racks screen in Configuration and Setup of Sysmac Studio Operating mode Operating mode switch Normal Mode Initial setting parameters Resolution conversion time Initial setting parameters 4000
54. This Unit to Ch1_MVErr Output 1 Output Set Value BOOL CPU Error 01 Ch2_MVErr Output 2 Output Set Value BOOL Error 02 Ch3_MVErr Output 3 Output Set Value BOOL Error Ch4_MVErr Output 4 Output Set Value BOOL Error 08 to 15 Error Flags BYTE A 28 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Appendices Special I O Unit CIO Area in Adjustment Mode lo 1 0 open pr NJ series device variable for CJ series Unit CPUtotmis ar o agos orseireg ES Input 00 to 15 AdjPV Conversion value for adjust This Unit to ment CPU 081015 AdUntEr ErorFlags BYTE LE AdjOutNoErr Output Value Adjustment BOOL Number Setting Error AdjMemErr Non volatile Memory Error BOOL UNUS Starting Adjustment Mode BOOL Special I O Unit DM Area common to both Normal Mode and Adjustment Mode CJ series I O memory address NJ series device variable for CJ series Unit Dm WORD D m 1 00 to 15 OutRngCfg Output Signal Range Setting Signal Range Setting Output Signal Range Setting WORD 00 to 01 Output 1 Output Signal Range Setting 02 to 03 Output 2 Output Signal Range Setting 04 to 05 Output 3 Output Signal Range Setting 06 to 07 Output 4 Output Signal Range Setting D m 2 00 to 07 Ch1_HdMdCfg Output 1 Output Status When USINT Conversion Stops D m 3 00 to 07 Ch2_HdMdCfg Output 2 Output Status When USINT Conversion Stops D m 4 00 to 07 Ch3_HdMdCfg Output 3 Output Status When USINT Conve
55. Unit Configuration In this case reset the Controller in steps 2 4 and 7 Reset the Controller or restart the Unit to cancel the error Turn ON the power to the external devices e Program transfer and adjustment 7 2 3 Transfer programs Unit Configuration and Setup and variable information Reset the Controller or restart the Unit Set Operating Mode Settings _MdCfg to the Adjustment Mode 16 C1 and transfer the data setup file Set the operating mode switch to Adjustment Mode Reset the Controller or restart the Unit e The Special Unit is restarted and operates in the Adjustment Mode In the Adjustment Mode the ADJ indicator flashes e Set the CPU Unit to PROGRAM Mode CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C 5 Adjust the offset and gain Adjusting Offset and Gain is performed if the input must be calibrated for the connected device 6 Set Operating Mode Settings MdCfg to the Normal Mode 16400 and transfer the data setup file Set the operating mode switch to Normal Mode 7 Reset the Controller or restart the Unit The Special Unit is restarted and operates in the Normal Mode In the Normal Mode the ADJ indicator remains unlit e Main operation 1 Main operation T N O o O S ct 3 ae U o D Q c o e Read or write set values from the user program e Write set values e Start and
56. Unit by using I O Map 2 Create Unit initial setting parameters Create the Unit settings by using Special Unit Setup Editing e Set the input numbers to be used e Set the input signal ranges e Set the number of mean value processing samplings e Set the conversion cycle and resolution When the program is transferred the items set here will be reflected in the initial setting parameters e Hardware setting and Rack assembly 7 Set the operating mode to Normal Mode Set DIP switch on the front panel to Normal Mode Set the voltage current switch at the back of the terminal block Use the unit number switches on the front panel of the Unit to set the unit number Set the same unit number as in the Unit Configuration settings Mount and wire the Unit to either a CPU Rack or Expansion Rack Q A GO N Turn ON the power to the Controller At this time an I O Setting Check Error occurs when there is a Unit Configuration in the CPU Unit which does not match the actual Unit Configuration In this case with the step Turn OFF the power to the Controller turn off the power to the Controller or reset the Controller to cancel the error CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 7 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 2 8 e Program transfer and adjustment 7 2 A O NO Q Transfer programs Unit Configuration and Setup and variable information Turn OFF the power to the C
57. Unit model Unit model Unit version Unit version Lot number Lot number Rack number slot number and unit number e EtherCAT Slaves 1 Double click EtherCAT under Configurations and Setup in the Multiview Explorer Or right click EtherCAT under Configurations and Setup and select Edit from the menu The EtherCAT Configuration Tab Page is displayed for the Controller Configurations and Setup layer 2 Right click the master in the EtherCAT Configurations Editing Pane and select Display Produc tion Information The Production Information Dialog Box is displayed E Production Information E3 Type information Serial number Node R33D KNO1L ECT Rev 2 1 OMRON Corporation 000000000 The following items are displayed Node address Type information Serial number If the model number cannot be determined such as when there is no ESI file the vendor ID product code and revision number are displayed 36 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Related Manuals Related Manuals The following manuals are related to the NJ series Controllers Use these manuals for reference Manual name NJ series CPU Unit Hardware User s Manual NJ series CPU Unit Soft ware User s Manual Sysmac Studio Version 1 Operation Manual CJ series Analog I O Units Operation Manual for NJ series CPU Unit This Manual CS CJ Series Analog I O Units Operation Manual Model numbers Applicatio
58. Units Operation Manual for NJ series CPU Unit W490 2 5 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 2 6 Range 10 to 10 V Conversion value 2200 4400 32800004000 Fo ee Resolution 4 000 Resolution 8 000 0 0 2000 4000 47 p 4 2200 4400 I 10V OV 10V 1 Analog input signal 11V 11V CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 2 2 Operating Procedure Follow the procedures outlined below when using the Analog Input Unit There is no restriction regarding the sequence of Programs and software settings and Hardware set ting and Rack assembly These tasks may be carried out concurrently or in the reverse order Use Sysmac Studio to create and set programs For operations of Sysmac Studio refer to the Sysmac Studio Version 1 Operation Manual Cat No W504 IR N O o o S ct 3 ae U O o D Q c e Programs and software settings 1 Create POU and global variables Create Unit Configuration e Create and register global variables and each POU e Create algorithms for each POU and register local variables of each POU e Register the Unit in the Unit Configuration on the CPU Expansion Racks screen in Configura tion and Setup At this time set both the device name and the unit number of the unit to be registered e Create device variable for CJ series
59. Units Operation Manual for NJ series CPU Unit W490 3 19 3 CJ series Analog Input Units CJ1W AD042 3 6 Analog Input Functions and Operating Procedures 3 6 1 Input Settings and Conversion Values i Setting Inputs and Signal Ranges e Number of Inputs The Analog Input Unit performs conversion processing only for the specified number of analog inputs Use Number of Analog Inputs Used InChUseCfg to set the analog inputs to be used Variable name Type Setting InChUseCfg USINT 0 No inputs used 1 One input used input 1 used 2 Two inputs used inputs 1 and 2 used 3 Three inputs used inputs 1 2 and 3 used 4 Four inputs used inputs 1 2 3 and 4 used The sampling interval per Unit changes according to this setting To use 1 point 20 us to use 2 points 25 us to use 3 points 30 us to use 4 points 35 us EN Additional Information The conversion value for unused analog input number will be 0 at all times 3 20 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 CJ series Analog Input Units CJ1W AD042 e Input Signal Ranges You can set each of inputs 1 to 4 to one of the following input signal ranges 10 to 10 V 0 to 10 V 4 to 20 mA 5 to 5 V 1 to 5 V Use Input Input Signal Range Settings Ch _InRngCfg to set the used input signal ranges Variable name Type Setting Ch _InRngCfg USINT 0 10to 10 V 2 0to 10 V 3 4 to 20 mA 6 5to 5 V 7 1to5V An input numb
60. WIRING EXample ao 5 11 5 4 4 Output Wiring Considerations ooooccnnnnnccnnoncccnononononnnnonnnnnnnnnonononononnnnnnnnnnnnnnnononnrnnnnnannnnnnnnenons 5 12 Exchanging Data with the CPU Unica 5 13 5 5 1 Q tline OF Data Beans 5 13 5 5 2 Accessing from the User Program ccccccssssseeececcceneeseeeceeceeeesececessseueseeeeeessaaaeeeeeessanansesess 5 14 5 5 3 Allocating Device Variables for CJ series Unit occccccccccccconccooconononccnnoncnnnnononononnononannnnnnnnnanononons 5 15 Analog Output Functions and Operating Procedures ees 5 17 5 6 1 Output Settings and Conversion Valu sS ooooccononnccncnnnnnccnconononononnnnnnnnnnnonononononnnanenennnenenininns 5 17 5 6 2 Output Hold FUNCION mn 5 18 5 6 3 Output Scalig RUNCION coito 5 19 5 6 4 Output Setting Eros ads 5 21 CJ series Analog I O Unit CJ1W MAD42 SPECINCAUONS see 6 3 6 1 1 SPE CANON SERBERE NEN SENESTE ESRB SEERE e a na 6 3 6 1 2 OFFunction Block DEAN RR 6 5 6 1 3 PUES ECC INS laa 6 5 6 1 4 OUPUESPEGNGA NONE Lene 6 7 Operanng Procedure a ideal 6 9 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 CONTENTS 6 3 Components and Switch Settings rnnernnnnnnnnnrnnnnnnnnnnnnnnnnnnnnennnnnnnnnnnennnnnnnnnvennnnnnnnnnennnnnnnnr 6 11 6 3 1 GOMponen NAMES sagene eroderte ua 6 11 6 3 2 A O ge NE ERE NE 6 12 6 3 3 IJrucNurmber Wichita 6 13 6 3 4 Voliage Current SUN ai 2 6 14 SD Rc 6
61. aces mice rad 6 11 6 32 AGCA 2 bero o US RB A EA RIS RE 6 12 6 3 3 Unit Number Switches lille 6 13 6 3 4 Voltage Current Switch 0 0 0 0 0 ces 6 14 BJ mMe 6 15 6 4 1 Terminal Arrangement 014 wk RUE ERES MERE EXER RP EE 6 15 642 peral Circuit ui at ceed oh s BOR e RUE UE Aa 6 15 6 4 3 Voltage Input Disconnection 2 0 cee 6 17 6 4 4 l OWiring Example ed rn BEDE EN dekan RII 6 18 6 4 5 I O Wiring Considerations 0 0 ces 6 19 6 5 Exchanging Data with the CPU Unit 0 0000 o 6 20 6 5 1 Outlinesof Data ExXChande iue uum ekt el eee eyes 6 20 6 5 2 Accessing from the User Program 0 0 ccc es 6 21 6 5 3 Allocating Device Variables for CJ series Unit 6 22 6 6 Analog Input Functions and Operating Procedures 6 26 6 6 1 Input Settings and Conversion Values 0 00 cece eee eee 6 26 6 6 2 Mean Value Processing 0 00 cece ee eee ee eee eens 6 28 6 6 3 Peak Value Hold Function 0 0 ccc eee eee eens 6 31 6 6 4 Input Scaling Function n anaa dsc aw ee die hae be Gwe bee 6 32 6 6 5 Input Disconnection Detection Function 000 eee eee 6 34 6 7 Analog Output Functions and Operating Procedures 6 35 6 7 1 Output Settings and Conversion Values 0000 cece eee eens 6 35 6 7 2 Output Hold Function ss dit E E we
62. all inputs e Internal Configuration Indicators Switch a MPU Bus interface cm T NO 5 D 3 C O A D Input converter circuit External connection Digital isolator terminal Input Non Oscillator Oscillator volatile memory 5V Insulating Regulator DC to DC converter I O Bus CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 11 3 CJ series Analog Input Units CJ1W AD042 3 4 3 Voltage Input Disconnection Connected device 1 Connected device 2 24 VDC When voltage inputs are used and a disconnection occurs separate the power supply at the side of the connected devices or use an insulating device isolator for each input to avoid the following problems When the power supply at the connected devices is shared and section a or b is disconnected power will flow in the direction of the dotted line and the output voltage of the other connected devices will be reduced to between a third to a half of the voltage If 1 to 5 V is used and reduced voltage occurs dis connection may not be detectable If section c is disconnected the power at the negative input terminal will be shared and disconnection will not be detectable For current inputs you can share the power supply between the connected devices without causing any problems 3 4 4 Input Wiring Example Wiring Example for a Voltage Input OJO Z T Input 2 m i A2 A A n O
63. and 6 8 bias Offset and gain adjustment Adjusts the offset and gain and uses the I O functions 7 1 1 10 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 CJ series Analog Input Units CJ1W AD041 V1 081 V1 This section explains how to use the CJ1W AD041 V1 081 V1 Analog Input Units 2 1 SDpecifICallols 2 ad sos Oo cic Sire whee oe IA abaax s Rd 2 2 2 1 1 SpeciliCallOMS tarotista cacaos 2 2 2 1 2 Input Function Block Diagram llus 2 4 2 1 3 Input Specifications llle 2 4 2 2 Operating Procedure o 2 7 2 3 Components and Switch Settings 2 9 2 3 1 Component Names cece eee 2 9 270 2 ridic alolS od ook dos rss Ce De eS oe TE PES De vq 2 10 2 3 3 Unit Number Switches 0 0 cc eens 2 11 2 3 4 Operating Mode Switch visast coria e a Shen 2 11 2 3 5 Voll ge Curr nt Switch v cesius ar GR seere Kar eek de can 2 12 2 4 WINO sarte A A AA AA N 2 13 2 4 1 Terminal Arrangement tic A A EXER RP ees 2 13 2 4 2 Internal Grim stos e bras a Aa 2 14 2 4 3 Voltage Input Disconnection llle 2 15 2 4 4 Input Wiring Example 0 cc eee ees 2 16 2 4 5 Input Wiring Considerations 0 0 0 0 0c es 2 17 2 5 Exchanging Data with the CPU Unit 00sec 2 18 2 5 1 Outlinesof Data ExXchande io sum Ree Sce See LAS 2 18 2 5 2 Accessing from the User Program 2 00
64. and other Units must be completely locked until they click into place after connecting the adjacent Unit connectors I Installation Always connect to a ground of 100 Q or less when installing the Units A ground of 100 Q or less must be installed when shorting the GR and LG terminals on the Power Supply Unit i Wiring Follow the instructions in this manual to correctly perform wiring Double check all wiring and switch settings before turning ON the power supply Use crimp terminals for wiring Do not connect bare stranded wires directly to terminals Do not pull on the cables or bend the cables beyond their natural limit Do not place heavy objects on top of the cables or other wiring lines Doing so may break the cables Mount terminal blocks and connectors only after checking the mounting location carefully Be sure that the terminal blocks expansion cables and other items with locking devices are properly locked into place Always remove any dustproof labels that are on the top of the Units when they are shipped before you turn ON the power supply If the labels are not removed heat will accumulate and malfunctions may occur Before you connect a computer to the CPU Unit disconnect the power supply plug of the computer from the AC outlet Also if the computer has an FG terminal make the connections so that the FG terminal has the same electrical potential as the GR terminal on the Power Supply Unit A difference in electri
65. exchange with CPU Unit Data exchange with I O ports For details see 3 5 Exchanging Data with the CPU Unit Inputs Number of analog 4 specifica inputs tions Input signal range 4 1 to 5 V 0 to 10 V 5 to 5 V 10 to 10 V 4 to 20 mA 5 Maximum rated input 6 Voltage Input 15 V Current Input 130 mA Input impedance Voltage Input 1 MQ min Current Input 250 Q typical Resolution 1 10 000 full scale 1 20 000 full scale 1 20 000 full scale 1 40 000 full scale 1 10 000 full scale A D conversion data 16 bit integer INT Accuracy 25 C Voltage Input 0 2 of full scale Current Input 0 4 of full scale 0 to 55 C Voltage Input 0 4 of full scale Current Input 0 6 of full scale Conversion cycle 7 20 us for 1 point 25 us for 2 points 30 us for 3 points 35 us for 4 points Input Mean value processing Stores the last n sampling data in the buffer and stores the mean value of the functions conversion values Number of samplings n 2 4 8 16 32 64 128 256 512 Peak value hold Stores the maximum conversion value includes value after mean value process ing while the specified Peak Value Hold Execution bit is ON Scaling Set values in any specified Unit within a range of 32 000 as the upper and lower limits to allow A D conversion to be executed and analog signals to be output using the set values as full scale Input disconnection Detects a disconnection and turns ON the Disconnection Detec
66. in the output signal range setting or in the number of out puts setting Conversion will not start for the Unit and the output will be e If you set the number of analog out puts to use in device variable OutChUseCfg set the value to between 0 and 4 If you set the output range in device variable _Ch _OutRngCfg set the value to 1 3 or 6 Name If you set the number of analog out puts to use in device variable OutChUseCfg set the value to between 0 and 4 If you set the output range in device variable Ch OutRngCig set the value to 1 3 or 6 1 0to 10V 1 0to 10 V 3 10 to 10 V 3 10 to 10 V 6 1to5V 6 1to5V in the variable name is the out put number in the variable name is the out put number None None Scaling Data Setting Error Ratio Conversion Use Setting 3801 0000 hex Error There is an error in the scaling data setting or ratio conversion use setting PLC Function Module Source details CJ series Unit Detection At power ON timing Controller reset or restart User program Continues Operation Conversion will not start at the Unit The output will be 0 V for D A conversion and the data will be O for A D conver sion The upper or lower limit data for scal Correct the set values of the scaling Set the set values of the scaling ing is outside the setting range Or upper limit and scaling lower limit so upper limit and scaling lower limit so the maxim
67. level If you change the level to the minor fault level the Recovery col Remarks umn above will be changed to Error reset 7 34 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 Common Items Event name Input Number Specification Error in Adjustment Mode 34820000 hex Meaning The input number specified in Adjustment Mode is not enabled or the input number is wrong Source PLC Function Module Source details CJ series Unit Detection When adjust timing ment is started User program Continues Operation The Unit retains the immediately previous input values and does not update the data Error attributes Effects System defined Data type Name ae E OE correction The input number that was specified Correct the use setting of the input Set the use setting of the input that is in Adjustment Mode is not enabled that is specified by the Adjustment used for adjustment to enable using Input Number device variable the input AdjCh to enable using the input The setting of the Adjustment Input Correct the Adjustment Input Number Set the Adjustment Input Number Number device variable AdjCh is device variable Adj Ch to between device variable AdjCh to between incorrect so adjustment is not possi 16421 and 16424 for the CJ1W 16421 and 16424 for the CJ1W ble ADO41 V1 and to between 16421 and AD041 V1 and to between 16421 and 16428 for other Units 16428 for other Units Attached None informati
68. level Partial fault Partial fault level Minor fault Minor fault level Observation Information One of the following Automatic recovery Normal status is restored automatically when the cause of the error is removed Error reset Normal status is restored when the error is reset after the cause of the error is removed Cycle the power supply Normal status is restored when the power supply to the Controller is turned OFF and then back ON after the cause of the error is removed Controller reset Normal status is restored when the Controller is reset after the cause of the error is removed Depends on cause The recovery method depends on the cause of the error One of the following System System event log Access Access event log One of the following Continues Execution of the user program will continue Stops Execution of the user program stops Starts Execution of the user program starts 7 26 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 Common Items i Error Descriptions Event name Meaning Source Error attributes Effects System defined variables Cause and correction Attached information Precautions Remarks Event name Meaning Source Error attributes Effects System defined variables Cause and correction Attached information Precautions Remarks CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A D Conversion Err
69. limit upper limit INT RW digs Mek d al SEA Can also set lower limit gt Input 3 Scaling Lower Limit upper limit Input 3 Scaling Upper Limit INT Input 4 Scaling Lower Limit INT Input 4 Scaling Upper Limit Operation Data Operation data includes data such as analog input conversion value etc Operation data is exchanged constantly during I O refreshing List of Operation Data Name of device variable for CJ series Unit Chi RdAI Ch2 RdAI Ch3 RdAI Ch4 RaAI PkHdCmd Chi PkHdCmd Ch2 PkHdCmd Ch3 PkHdCmd Ch4 PkHdCmd me aw ee INT R Input1 Conversion Data Refer to 3 6 1 Input Settings and Conversion NT R input Conversion Data NT R inputa Conversion Data RW Peak Value Hold Execution Settings WORD Feature reference page Refer to 3 6 4 Peak Value Hold Bit Function Number WORD type variable that com bines the following BOOL type variables BOOL RW Input 1 Peak Value Hold Exe BOOL type variable that instructs cution each input for execution of peak BOOL RW Input 3 Peak Value Hold Exe 1 Perform peak value hold cution Input 2 Peak Value Hold Exe value hold ied 0 Do not perform peak value hold Input 4 Peak Value Hold Exe cution CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 CJ series Analog Input Units CJ1W AD042 Name of device variable for Type R W Feature reference page CJ
70. mA and 0 to 5 V for each of the outputs only voltage output for the CJ1W DAOSV The output signal range for the CJ1W DAOSC is 4 to 20 mA only To specify the output signal range for each output use Output Signal Range Setting OutHngCfg Variable name Type Setting QutRngCig WORD 1640000 to 16 FFFF CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 25 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Output 8 Output 7 Output 6 Output 5 BE Output 4 Output 3 Output 2 Output 1 DAO8V DA08C 00 10 to 10 V 01 0to 10 V pA 10 1 to 5 V 4 to 20 mA 11 0t05 V DA021 e For CJ1W DA021 041 change the terminal connections to switch the output signal range 1 to 5 V and the output signal range 4 to 20 mA e For CJ1W DA08V only the voltage output is valid The output signal range 4 to 20 M is invalid e For CJ1W DA08G only the output signal range 4 to 20 M is valid The voltage output is invalid Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller is reset or when the Unit restarts i Writing Set Values Use the device var
71. malfunction CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 3 6 CJ series Analog I O Unit CJ1W MAD42 4 The accuracy is given for full scale For example when the resolution is set to 4 000 an accuracy of 0 2 means a maximum error of 8 5 The A D conversion cycle is the time it takes for analog signals to be stored in the internal memory of the CPU Unit to be converted and output It takes at least one task period for data to be read into the CPU Unit 6 The resolution can be set to 8 000 and the conversion cycle to 250 us in the initial setting parameter e Output Specifications and Functions Item Voltage output Current output Number of analog outputs 2 Output signal range 1 1to5V 4 to 20 mA 0 to 5 V 0to 10V 10 to 10 V Output mpadance Maximum external output cur 2 4 mA EVE rent for 1 point Maximum allowed load resis 600 Q tance Resolution 4 000 8 000 full scale 5 Set data 16 bit integer INT Accuracy 2 0 3 of full scale 0 3 of full scale 0 C to 55 C 0 5 of full scale 0 6 of full scale D A conversion cycle 3 1 0 ms 500 us max per point Output hold function Outputs the specified output status CLR HOLD or MAX under any of the following circumstances e When the Conversion Enable Bit is OFF 4 e In Adjustment Mode when a value other than the output number is output during adjustment e When an output setting error occurs and CPU Unit operations stops
72. n 8 00 to 15 Ch4_RdAl n 9 00 to 07 MVSensErr Input 4 Conversion Data INT Set Value Errors and Discon BYTE nection Detected Output 1 Output Set Value BOOL Error Output 2 Output Set Value BOOL Error Ch1 MVErr Ch2_MVErr ER O NO OT Ch1_SensErr Input 1 Disconnection BOOL Detected Input 2 Disconnection BOOL Detected Input 3 Disconnection BOOL Detected Input 4 Disconnection BOOL Detected Error Flags BYTE Scaling Data Setting BOOL Error Ratio Conversion Use Setting Error Ratio Set Value Error BOOL Output Hold Setting Error BOOL Mean Value Processing Set BOOL ting Error Ch2_SensErr Ch3_SensErr N Ch4 SensErr 08 to 15 UnitErr SclErr RatioCfgErr HaErr AveErr bh MaErr Conversion Time Resolution BOOL or Operation Mode Setting Error A 36 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Appendices Special I O Unit CIO Area in Adjustment Mode lo 1 0 uobis pi NJ series device variable for CJ series Unit CPU to this Adjusted This Unit to ment CPU n 9 08 to 15 AdjUnitErr Error Flags BYTE 1 AdjAveErr Mean Value Processing Set BOOL ting Error 1 AdjInMaErr Conversion Time Resolution BOOL or Operation Mode Setting Error 13 AdjlIONoErr Input Output Value Adjust BOOL ment Number Setting Error AdjMemErr Non volatile Memory Error BOOL AdjMd Starting Adjust
73. need to provide a numeric conversion program It is only enabled however for a conversion cycle of 1 ms and a resolution of 4 000 It is not enabled for a conversion cycle of 250 us and a resolution of 8 000 EN Additional Information e The upper limit is normally set to be greater than the lower limit but it is also possible to set the lower limit to be greater than the upper limit for reverse scaling e Actual D A conversion is executed at up to 5 to 105 of full scale If values that exceed this range are set an output setting value error will occur and the output hold function will operate EX O gt 5 2 O O c eut gt c F Tl c 3 O ct O 5 D D 3 a O o O 9 ct 3 U O O D Q 0 LA Precautions for Correct Use e f the scaling upper limit equals the lower limit or if the scaling upper limit or lower limit is out side the range of 32 000 a scaling data setting error is generated and the Controller will not operate e f both the upper limit and lower limit are 0 scaling is not performed e Setting Upper and Lower Limits for Output Scaling Use the initial setting parameters shown below to set the output scaling upper and lower limit values Variable name Type Setting Ch _Scl_L_Cfg INT Scaling lower limit 32 000 to 32 000 Ch _Scl_H_Cfg INT Scaling upper limit 32 000 to 32 000 Variable name is output number 1 to 8 1 to 4 for DA041 and 1 to 2 for D
74. number e The input number that was U S page 35 Specification specified in Adjust specified in Adjustment Mode is Error in ment Mode is not not enabled Adjustment enabled or the input The setting of the Adjustment Mode number is wrong Input Number device variable AdjCh is incorrect so adjust ment is not possible 34880000 hex Output Num The output number The output number that was U S page 35 ber Specifi specified in Adjust specified in Adjustment Mode is cation Error ment Mode is not not enabled in Adjustment enabled or the out The setting of the Adjustment Mode put number is Output Number device variable wrong AdjCh is incorrect so adjust ment is not possible 348C 0000 hex I O Number The I O numbers The I O numbers that were U S page 36 Specification specified in Adjust specified in Adjustment Mode Error in ment Mode are not are not enabled Adjustment enabled or the O The setting of the Adjustment Mode numbers are wrong I O Number device variable AdjCh is incorrect so adjust ment is not possible CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 25 so 1u8 3 Z 7 9 qe1 1043 c Z 7 Common Items 7 3 3 Error Descriptions This section describes the information that is given for individual errors i Controller Error Descriptions The items that are used to describe individual errors events are described in the following copy of an
75. of Out puts Used Setting Conversion Time Resolution or Operation Mode Setting Error Error in Setting of Conversion Mode The I O number for the ratio con version function has been to be not Conversion does not start and data becomes 0 Check the setting ranges of initial set ting parameters spec ified in the section of each model and cor rect the settings used There is a mis take in the upper or lower limit set ting when scaling is used The set value is exceeded the upper limit equals the lower limit not 0000 etc Data outside the setting range was specified for the ratio set value with the ratio conver sion function The wrong output status for when conversion is stopped has been specified The wrong num ber of samplings has been specified for mean value processing The setting for the number of analog inputs used or the input signal range is wrong The number of analog outputs used or output sig nal range setting is wrong The conversion cycle resolution setting or Opera tion Mode setting is incorrect The conversion mode setting is wrong On the Special Unit Setup Editing of Sys mac Studio set Con version Mode Setting to Cyclic Conversion Mode CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 Common Items 7 2 3 Errors in the CPU Unit When errors occur in the CPU Unit or I O bus and I O refresh with th
76. of the main section 2 The yellow sliders at the top and bottom of each Unit lock the Units together Move the sliders toward the back of the Units as shown below until they click into place Move the sliders toward the back until they lock into place sjuauodWon 19j041u02 Bunoaeuuon L S y Special information i Precautions for Correct Use eee eee The sliders on the tops and bottoms of the Power Supply Unit CPU Unit I O Units Special I O i 1 Units and CPU Bus Units must be completely locked until they click into place after connecting Icons indicate the adjacent Unit connectors precautions additional information or reference information 008 M z n u al n am e NJ series CPU Unit Hardware User s Manual W500 This illustration is provided only as a sample It may not literally appear in this manual Special Information Special information in this manual is classified as follows Precautions for Safe Use Precautions on what to do and what not to do to ensure safe usage of the product Precautions for Correct Use Precautions on what to do and what not to do to ensure proper operation and performance EN Additional Information Additional information to read as required This information is provided to increase understanding or make operation easier Note References are provided to more detailed or related information 6 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490
77. range AdjMemErr BOOL Non volatile Memory Error 0 No error 1 Adjustment data could not be written properly AdjMd BOOL Starting Adjustment Mode 0 Running in the Normal Mode 1 Running in the Adjustment Mode CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 25 6 CJ series Analog I O Unit CJ1W MAD42 6 6 Analog Input Functions and Operating Procedures 6 26 Input Settings and Conversion Values Setting Inputs and Signal Ranges e Input Numbers The Analog I O Unit converts only the analog inputs specified among input numbers 1 to 4 and skips unused inputs for sampling Accordingly the conversion cycle per unit is calculated by conversion cycle x used input points For the conversion cycle setting refer to Conversion Cycle and Resolution Setting on page 6 28 Use Input Use Setting Ch _InChUseCfg to set the analog inputs to be used Variable name Type Setting Ch _InChUseCfg BOOL 0 Not used 1 Used An input number from 1 to 4 is included in place of in the variable name In addition to output usage specification you can also perform batch settings with Inout and Output Use Settings _ChUseCtg Variable name Type Setting ChUseCfg BYTE 16400 to 164F3 Bit 07 06 05 04 03 02 01 00 Input 4 Input 3 Input 2 Input 1 Output 2 Output 1 0 Not used 1 Used e Input Signal Ranges You can select any of four types of input signal range 10 to 10 V 0 to 10 V 1 to
78. s Manual el o Setting devices and hardware Using CJ series Units Software settings Using motion control Using EtherCAT Programming Testing operation and debugging Using motion control Using EtherCAT Using EtherNet IP Troubleshooting and managing relevant errors in an NJ series Controller manuals for references according to any error that Maintenance Using EtherCAT Using EtherNet IP Using CJ series Units i AT Qi LE kem AG NJ series User s Manuals NJ series CPU Unit Software User s Manual NJ series Instructions Reference Manual NJ series CPU Unit Motion Control User s Manual NJ series CPU Unit Built in EtherCAT Port User s Manual NJ series Motion Control Instructions Reference Manual NJ series CPU Unit Built in EtherNet IP Port User s Manual NJ series Troubleshooting Manual CJ series Special Unit Operation Manuals for NJ series CPU Unit y v O I gt CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Manual Configuration Manual Configuration i NJ series CPU Unit Hardware User s Manual Cat No W500 Section Section 1 Introduction Section 2 System Configuration Section 3 Configuration Units Section 4 Installation and Wiring Section 5 Troubleshooting Section 6 Inspection and Maintenance Appendices Description This section provides an introduction to the NJ series Controllers and their features and give
79. series Analog I O Unit CJ1W MAD42 6 7 4 Output Setting Errors Use the device variable for CJ series Unit Output Output Set Value Error _Ch MVErr shown below to acquire the error status of the analog output setting value Variable name Type Setting Ch _MVErr BOOL 0 No error 1 Setting error An output number from 1 to 2 is included in place of ff in the variable name In addition to input disconnection detected you can perform batch readout with the device variable for CJ series Unit Set value Errors and Disconnection Detected MVSensErr shown below Variable name Type MvSensErr BYTE Bit 07 06 05 04 03 02 01 00 M NA ou oo gt 3 gt 3 2 Q Q CE Q Q Q dee O O 0 No disconnection oa 1 Disconnection 0 No error 1 Output setting error EN Additional Information The voltage for an output number at which a setting error occurred will be output according to the output hold function CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 6 8 Ratio Conversion Function The Analog I O Unit has a ratio conversion function that enables it to perform analog to analog conver sions by itself without use of the PLC It can use either Loop 1 input number 1 output number 1 or Loop 2 input number 2 output number 2 Input 1 gt Ratio bias calculation gt Output 1 Input 2 gt Ratio bias calculation g
80. signal 0 25V 5 25V Values in parentheses are for a resolution of 8 000 e Range 10 to 10 V Conversion value 2200 4400 2000 4000 AT 0 0 Resolution 4 000 8 000 2000 4000 i 2200 4400 10V 10V 1 Analog input signal 6 6 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 6 1 4 Output Specifications If the set value is outside the specified range provided below the output setting will be fixed at the max imum or the minimum value e Range 1 to 5 V 4 to 20mA Analog output signal 5 2V 20 8mA 5V 20mA 1V 4mA 0 8V 3 2mA gt A rod Set value i i 200 Resolution 4 000 8 000 4200 TT 8400 o O 4000 3 8000 3 Values in parentheses are for a resolution of 8 000 o e Range 0 to 10 V Analog output signal 10 5V gt 10V A O c CD D D O S o OV 0 5V n Fog Set value 200 Resolution 4 000 8 000 4200 lt lt tp 400 1 1 8400 l 0 4000 8000 Values in parentheses are for a resolution of 8 000 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 7 6 CJ series Analog I O Unit CJ1W MAD42 6 8 e Range 0 to 5V Analog output signal T a a a EN ae eee Se LE Pee EEE A I I I I og 4200 1 8400 0 4000 8000 Values in parentheses are for a resolution of 8 000 Set value 200 Resolut
81. start for the Unit and the output will be Operation 0 V Name Assumed cause Correction Prevention Set the Output Status When Conver sion Stopped device variable Ch _HdMdCfg to O 1 or 2 The setting for output status when conversion stops is incorrect None None Conversion Time Resolution or Operation Mode Setting Error PLC Function Module Correct the setting of the Output Sta tus When Conversion Stopped device variable _Ch _HdMdCfg to 0 1 or 2 CLR Output 0 or minimum value of range HOLD Hold output value prior to stop MAX Output maximum value of range FP in the variable name is the output number Source details CJ series Unit 0 CLR Output 0 or minimum value of range 1 HOLD Hold output value prior to stop 2 MAX Output maximum value of range FP in the variable name is the output number There is a mistake in the conversion time resolution or operation mode setting Detection At power ON timing Controller reset or restart Conversion will not start at the Unit The output will be 0 V for D A conversion and the data will be 0 for A D conver User program Continues Operation sion variables Cause and correction Attached information Precautions Remarks There is a mistake in the conversion time resolution or operation mode set ting None None e f you set the conversion time and resolution in
82. stop the conversion output e Obtain an error flag Note Turn external power ON or OFF while the Controller power is ON or turn both power supplies ON or OFF at the same time Do not turn the external power ON or OFF while the Controller is OFF O80 N80VA MLID c cv CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 9 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C 4 3 Components and Switch Settings 4 3 1 Component Names CJ1W DA021 CJ1W DA041 CJ1W DAO8V Front Side CJ1W DA08C With Terminal Block Indicators m i GI Unit number switches a Co eder bodai Expansion connector AoAo le Terminal block Lied di Terminal block lock lever pull down to release terminal block Slider Operating mode switch not applicable to DAO8V DIN Track mounting pin EN Additional Information e Use a connector to attach the terminal block Press down on the lever at the bottom of the ter minal block to remove the connector e Normally the lever should be in the raised position NENENEN IG WE 7 I A Ys Re LN Y aig aa m ve A F NE Wy 4 P AR a 4 Z gt 4 10 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C 4 3 2 Indicators The indicators show the operating status of the U
83. the following circumstances hold When the Conversion Enable Bit is OFF 8 MACHO 1 In Adjustment Mode when a value other than the output number is output during adjustment e When an output set value error occurs and CPU Unit operations stop Output Specifications Output functions Scaling Set values in any specified Unit within a range of 32 000 as the Available only when using conversion cycle of 1ms function upper and lower limits to allow A D conversion to be executed and and resolution of 4 000 analog signals to be output using the set values as full scale Set value in any specified Unit within a range of With the CJ1W DAO8V DA0O8C this function is enabled only for a 32 000 as the upper and lower limits to allow D A conversion cycle of 1 0 s and a resolution of 4 000 conversion to be executed and analog signals to be output using the set values as full scale 1 Do not apply a voltage higher than 600 V to the terminal block when you perform a withstand voltage test on this Unit 4 2 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C 2 Select a 24 VDC power supply based on the surge current The following OMRON power supplies are recom mended S82K 05024 100 VAC 50 W S82K 10024 100 VAC 100 W 3 Refer to A 1 Dimensions for details on the Unit s dimensions 4 The maximum number of Analog Output Units that you can mount to one Rack depe
84. to manage all of the events that occur on the NJ series Controller The events include errors and information You can use the Sysmac Studio or an NS series PT to confirm current Controller events and the logs of events that have occurred These logs are called event logs Controller errors that occur for this Unit are also reported as events in the NJ series CPU Unit Refer to the NJ series CPU Unit Software User s Manual Cat No W501 for details on the event logs in an NJ series CPU Unit Refer to the NJ series Troubleshooting Manual Cat No W503 for details on Controller errors confirmation methods and corrections Check current Controller events and the event log of past events je NJ series CPU Unit PLC Function Motion Control EtherCAT Master EtherNet IP i Pene Function Module Function Module Function Module E User program Create User defined AAA Error instruction Event logs SetAlarm NS series PT Create User defined Information instruction Setlnfo S507 1u9 3 Z Backup battery Check current Controller events and the event log of past events 7 To use an NS series PT to check events connect the PT to the built in EtherNet IP port on the CPU Unit so 1u9 3 y JO MSIAJOAQ L E Z CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 23 7 Common Items 7 3 2 Error Table The errors that may occur for this Unit are listed below
85. 0 7 Common Items Offset Adjustment The procedure to adjust the analog input offset is explained below As shown in the following diagram the offset is adjusted by sampling inputs so that the conversion value becomes 0 4000 T omn rmm Input signal range 0 to 10 V Offset adjustment input range The following example uses input number 1 adjustment 1 Set the device variable for CJ series Unit Inputs to Be Adjusted Ad Ch to 16421 Adjustment of input 1 2 Set the device variable for CJ series Unit Offset Flag AdjOfs to 1 The device variable for CJ series Unit Conversion value for adjustment AdjPV will monitor the analog input s digital conversion values while the Offset Flag is ON 3 Check whether the input devices are connected Voltage input Current input A O Cc 3 For current input check that the voltage current switch is ON 4 Input the voltage or current so that the conversion value becomes 0 The following table shows the offset adjustment voltages and currents to be input according to the input signal range Input signal range AdjPV monitor value LE a Values in parentheses are for a resolution of 8 000 5 After you input the voltage or current so that the conversion value for the analog input terminal is O set the device variable for CJ series Unit Adjustment Value Set Flag _AdjSet to 1 and then return it to 0 While the device variable for CJ series Unit O
86. 00 500 10000 Conversion result Output signal 10 000 OV 0 10 V 10 500 0 5 V 500 10 5 V 4 30 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C 4 6 4 Output Set Value Error Acquire the error status of the analog output setting value with the device variable for CJ series Unit Output Output Set Value Error Ch MVErr shown below Variable name Type Setting Ch MVErr BOOL 0 No error 1 Setting error An output number from 1 to 8 is included in place of in the variable name 1 to 4 for DA041 and 1 to 2 for DAO21 You can also perform batch readout with the device variable for CJ series Unit Output Set Value Error MVErr shown below Variable name Type MVErr BYTE Bit 07 06 05 04 03 02 01 00 EX gt 5 2 O O c eut gt c T c 5 ct O 5 D m 3 a O o O m ct 3 U O o D 2 D 0 Output 8 Output 7 Gi Output 6 Output 5 Output 4 WE Output 3 EET Output 2 Output 1 EN Additional Information The output for an output number at which a setting error occurred will be output according to the output hold function 1043 en eA Jes IndINQ 4 9 7 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 31 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C 4 32 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 CJ seri
87. 00 c cee eee 2 19 2 5 3 Allocating Device Variable for CJ series Unit 2 20 2 6 Analog Input Functions and Operating Procedures 2 25 2 6 1 Input Settings and Conversion Values 0 00 cece eee eee 2 25 2 6 2 Mean Value Processing 0 0c ccc eee ee eee eee eens 2 27 2 6 3 Peak Value Hold Function 0 00 llle 2 31 2 6 4 Input Disconnection Detection Function 00 cee eee ees 2 32 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 1 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 2 1 Specifications 2 1 1 Specifications Item CJ1W AD041 V1 CJ1W AD081 V1 Unit type CJ series Special I O Unit Isolation 1 Between inputs and internal signals Photocoupler No isolation between input signals External connection terminal 18 point detachable terminal block M3 screws Current consumption 420 mA at 5 VDC Dimensions mm 2 31 x 90 x 65 W x H xD Weight 140 g max General specifications Conforms to general specifications for NJ Series Mounting position NJ Series CPU Rack or NJ Series Expansion Rack Maximum number of Units Per CPU Rack or Expan Power Supply Unit No of mountable Units sion Rack 3 NJ PA3001 Max 10 units on CPU Rack Max 10 units per Expansion Rack NJ PD3001 Max 3 units on CPU Rack Max 4 units per Expansion Rack Data exchange with the CPU Unit Data exchange with I O ports Refer to 2 5 Exchanging Dat
88. 1 2 4 3 Voltage Input Disconnection Connected device 1 Ja 3 5 e QmP Connected device 2 Meee et uonoeuuoosiq Indu eDeyoA e p z 24 VDC Example If the connected device 2 in the above example outputs 5 V and the power supply is shared by 2 chan nels as shown in the above diagram approximately one third of the voltage or 1 6 V will be input at input 1 When voltage inputs are used and a disconnection occurs separate the power supply at the side of the connected devices or use an insulating device isolator for each input to avoid the following problems When the power supply at the connected devices is shared and section A or B is disconnected power will flow in the direction of the broken line and the output voltage of the other connected devices will be reduced to between a third to a half of the voltage If 1 to 5 V is used and the reduced voltage output disconnection may not be detectable If section C is disconnected the power at the input terminal will be shared and disconnection will not be detectable For current inputs you can share the power supply between the connected devices without causing any problems CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 15 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 2 4 4 Input Wiring Example CJ1W AD081 V1 gt P F O B1 ee Input 2 E E AA o A J a i d y iios t
89. 15 6 4 1 Terminal Alrange ment aa sere NENNE 6 15 6 4 2 Internal Se us RE TU TX 6 15 6 4 3 voltage Input DISCONNECU ON ec 6 17 6 4 4 HOR Vale EEX AT ONG isa adorado 6 18 6 4 5 FO NViniInG Considera ON Sii 6 19 6 5 Exchanging Data with the CPU Unit snrennnnnnernnnnnnvennnnnnnnnnnnnnvennnnnnnnnnnnnnnennnnnnnnennnnnennnnnnnnnen 6 20 6 5 1 Outline of Data Exchange 2 6 20 6 5 2 Accessing from the User Program cccccccccssssseceececeesseceeeecseuesseeceeseaeaseeceesesaaaseeeeeesseansesess 6 21 6 5 3 Allocating Device Variables for CJ series Unit 6 22 6 6 Analog Input Functions and Operating Procedures esee 6 26 6 6 1 Input Settings and Conversion Values senke a e a 6 26 6 6 2 Meam value F FOCESSING gaa arie ie be a a a a E S TD 6 28 6 6 3 Peak Valle Hold FUNTONES 6 31 6 6 4 Input Sealina FUNCION sssaaa e a e Cee 6 32 6 6 5 Input Disconnection Detection Function ccccccssseceeccssseececeseeecceuseseeceuaeeeeseaseeesesanseesssaaes 6 34 6 7 Analog Output Functions and Operating Procedures sss 6 35 6 7 1 Output Settings and Conversion Values ccccccccecseccaeseeeeeeeeeeeeceeeesaeeeeeeeesceeeeeeeeesesssaaaaeeeeeeess 6 35 6 7 2 oumu geek FUNCIO tasn RE RE EE EE ANE 6 39 6 7 3 OutoutreSealiing F UNCUG NM 422 6 40 6 7 4 Output Setting EOS Hasard ER ERE ERE REE 6 42 6 8 Ratio Conversion Function mic A 6
90. 1W MAD42 Mean value Data 3 Data 2 Data 1 Data 1 4 4 With the fourth cycle the Data 4 is stored in the first history buffer Data 3 Mean value Conversion value processing Mean value Data 4 Data 3 Data 2 Data 1 4 9 With the fifth cycle Data 5 is stored in the first history buffer Data 4 Mean value Conversion value processing Mean value Data 5 Data 4 Data 3 Data 2 4 e When a disconnection is restored the mean value processing function begins again from step 1 EN Additional Information e When the mean value processing function is used the delay to refresh converted data for input signal changes is as shown in the following diagram e Specify no mean value processing to follow conversion of a rapid change in input signals Input signal Vr For V z 20 V 10 to 10 V to the Unit V When Resolution is 1 ms 4 000 For One Word t n 2 to 3 e For m Words 1 lt m lt 4 No mean value processing n 1 or 2 samplings n 2 t nx m 2 Number of samplings n 4 lt n lt 64 t n 2 xm 10 5 When Resolution is 500 us 8 000 e For One Word t n 2 to 3 x 1 2 e Form Words 1 lt m lt 4 No mean value processing n 1 or 2 samplings n 2 t nx m 2 x 1 2 Number of samplings n 4 lt n lt 64 gt Time ms t Mm 2 x m 10 5 x 1 2 Time ms Conversion data 6 30 CJ series Analog I O Units Operation M
91. 2 2 Mounting Procedure Analog I O Units are connected as l O Units at the location of the Configuration Unit as shown below CPU Rack KE laca E Wu E AY Power Supply Unit CPU Unit I O Units 10 max End Cover included with CPU Unit Use the following procedure to connect Analog I O Units to a CJ series Rack 1 Align the connectors and press in firmly on the Units to connect them completely Hooks Hook holes Connector VP a 1 8 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 1 System Design 2 Move the sliders on the top and bottom of the Unit to the lock position to secure the Units The sliders should click into place Move the sliders to the back m N O c until they click into place a 5 O c 2 F suollneo ld E Z 3 Attach an End Cover to the Unit on the right end of the Rack Precautions for Safe Use The NJ series function may not operate properly if the sliders are not locked firmly into place 1 2 3 Precautions e Be sure to turn OFF the power supply to the Controller before you install or disconnect Units or con nect lines e To reduce the risk of malfunction due to electrical noise wire input and output lines in separate ducts from high voltage and power lines e Prevent wire clippings cutting chips or other materials from getting inside the Unit They could cause scorching failure and malfunction Pay particular atte
92. 4 To specify the output signal range also set the input signal range with Signal Range Settin gs RngCfg Variable name Type Setting RngCfg WORD 1640000 to 16 FFOF Bit 10 09 08 07 06 05 04 03 02 01 00 N Co N I 3 I 3 2 a 2 E 3 E 3 S E 00 10 to 10 V 01 0 to 10 V 10 1 to 5 V 4 to 20 mA 11 0to5V Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller is reset or when the Unit restarts i Voltage Current Range Setting When 1 to 5 V 4 to 20 mA is selected for the output signal range settings set the 1 to 5 V or 4 to 20 mA range for both the input voltage and current settings with the Voltage Current Input Switch RngVICfg Variable name Type Setting RngVICfg BYTE 16400 to 16 F3 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 i EERSTE TT Input 4 Input 3 Input 2 Input 1 Output 2 Output 1 0 Voltage 1 V to 5 V 1 Current 4 mA to 20 mA 6 36 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 i Writing Set Values Use the device variable for CJ series Unit Output Set Value Ch WrAO shown below to set the analog output sett
93. 42 CJ1W DA021 DA041 DA08V DA08C DA042V CJ1W MAD42 31 ET e CJ series Unit Terminal Block Dimensions w 3 lala 90 Co 74 77 eee ear Sacar d 2 7 Note The appearance varies with the model A 2 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Appendices A 2 Sample Programs A 2 1 Upper and Lower limit Alarm Constant Monitoring e Outline Comparisons are made to the upper and lower limits of the A D conversion values or D A output val ues from the beginning of operation If they fall outside the specified range the Alarm Flag will turn ON In this example the upper limit is 3 900 and the lower limit is 100 Upper limit Lower limit AN e 3 Alarm Flag OFF e Unit Settings Name Setting target Setting contents Unit Configuration CPU Expansion Racks in Configura Mount CJ1W AD081 V1 in slot 0 of the tion and Setup of Sysmac Studio CPU Rack J01 Unit number Unit number switch and Unit Config Unit number 0 lt 10 0 X100 0 uration CPU Expansion Racks screen in Configuration and Setup of Sysmac Studio Operating mode Operating mode switch Normal Mode Initial setting parameters Resolution conversion time Initial setting parameters 4000 1 ms settings Device name of this unit di N o D 3 O U O e 9 3 a Use input 1 Oto 10 V Use settings Input signal range settings e Defined
94. 43 Section 7 Common Items 71 Adjusting Offset and Gain Peer eld 7 2 7 1 1 Adjustment Mode Operational FIOW ctae is co 7 3 7 1 2 Input Offset and Gain Adjustment Procedures ooooncccnccococonnccnnccnonancnnnnnnonononennnnonnancnnnononnnnncenons 7 4 7 1 3 Output Offset and Gain Adjustment Procedures ooooooccccccccccccccccccnonnnnnnanonnnnncnnnnnnnnnnnnnnnnnnnnnnnnnnnes 7 9 72 When Errors and Alarms Ocean 7 14 7 2 1 Indicators and ETO TsIOWOPDAT vr 7 14 7 2 2 Alarms Occuring atthe UN uredde 7 16 7 2 3 Errors NINE GPU NL 7 19 7 2 4 Restarting Special TO UNS uvasssva desserter been 7 20 7 2 5 ToOUBESNOONN eR o T 7 20 LES 2 dcorum cn 7 23 7 3 1 Overviewor te Even OOS ii A EE 7 23 7 3 2 Error BADE Gaarde 7 24 7 3 3 Enor DESCHDIONS pan 7 26 Appendices A T DIMENSTON See A 2 A 2 Sample Programs save A 3 A 2 1 Upper and Lower limit Alarm Constant Monitoring cccccccccccoccccnncnccnnonnnonononononnnccnnnnnnnncnnnnnos A 3 A 2 2 Upper and Lower limit Alarm with Standby Sequence rrnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn A 4 A 2 3 3 825 2 Lo ME EEE E ENER A 7 A 2 4 Square Root Calcula On e en A 10 A 2 5 MEAN VALE PFOS Hae A 12 A 2 6 HI EEE RE RE Det A 14 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 13 14 CONTENTS A 3 Functional Differences due to CPU Units NJ CJ series to be Connected A 16 A 4 Correspondence Tables for Device Variables for CJ seri
95. 5 V and 4 to 20 mA for each of the inputs i e input numbers 1 to 4 To specify the input signal range for each out put along with the output range use Range Settings RngCfg Variable name Type Setting RngCfg WORD 1640000 to 16 FFOF Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Input 4 Input 3 Input 2 Input 1 Output 2 Output 1 1 00 10 to 10 V 01 0to 10 V 10 1 to 5 V 4 to 20 mA 11 0to5V CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 Voltage Current Range Setting When 1 to 5 V 4 to 20 mA is selected for the input signal range settings set the 1 to 5V or 4 to 20 mA range for both the output voltage and current settings with Voltage Current Input Switch HngVICfg Variable name Type Setting RngVICfg WORD 16400 to 164F3 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 i LETTET HIHIL I S S amp o a a oa 5 5 sS sS sS sS O O 0 Voltage 1 V to 5 V 1 Current 4 mA to 20 mA EN Additional Information For the input signal ranges 1 to 5 V and 4 to 20 mA it is necessary to set the voltage current switch according to the setting made with the device variables for CJ series Unit rk gt gt 5 m o O 5 3 c F Tl c 5 o ct o 5 D o 5 2 O o o S ct 3 e U O o D Q c D 0 Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sy
96. 8 Input 1 pM LL LL A2 o E p 2 Ato B3 es E teed Input 4 A3 o 3 i lt 2 i to B4 rd ri Input 3 DM T 4 A4 ol dl a B e bp B5 HH ee gt A5 gt gt 4 pO i loge EN Input 6 E A6 ol n e a p mi Input 5 nn Sooo A7 ol i i E dE o B8 y i vr Input 8 A8 04 LEN lt z J TE o Bo pa Input 7 Moe i A9 I 7 There are only four inputs for the CJ1W AD041 V1 Inputs 5 to 8 are not used The AG terminal need not be connected in normal conditions but if noise is of concern connect the shielded wire for each input by one of the following methods e Connect the end of the shielded wire on AD Unit side to the AG terminals as shown in the above diagram Use a wire that is 30 cm or shorter if possible In this case do not connect the end of the shielded wire on output device side to any other device or FG e Ground the end of the shielded wire on AD Unit side to the FG on the control panel In this case keep the AG terminal open and do not connect the end of the shielded wire on output device side to any other device or FG Precautions for Safe Use Crimp type terminals must be used for terminal connections and the screws must be tightened securely Use M3 screws and tighten them to a torque of 0 5 N m Fork type M3 screw 6 2 mm max DS i S Round type 6 2 mm max OST LA Precautions for Correct Use e When you use current inputs turn ON the voltag
97. AO21 Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller is reset or when the Unit restarts AJUO 380 A80VQ MLf 2 uonounJ Buleds indino 9 p CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 29 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C e Example Setting 1 If the output 1 signal of 0 to 10 V is to be scaled to a set value of 0 to 10000 set as follows Set Output 1 Scaling Lower Limit Ch1 Scl L Cfo to 0 Set Output 1 Scaling Upper Limit Ch1 Scl H Cfg to 10 000 The following diagram shows the correspondence between output signals and converted scaling val ues 410500 10000 Output set value Output signal 0 OV 10 000 10 V 500 0 5 V 10 500 10 5 V e Example Setting 2 Reverse Scaling If the output 2 signal of 0 to 10 V is to be scaled to a set value of 10000 to 0 set as follows Set Output 2 Scaling Lower Limit Ch2 Scl L Cfg to 410 000 Set Output 2 Scaling Upper Limit Ch2 Scl H Cfg to O The following diagram shows the correspondence between output signals and converted scaling val ues 10 5 V HOV 4 5 Scaling line 4105
98. ATO01 Battery Set i SD Memory Cards e Insert the SD Memory Card all the way Do not turn OFF the power supply to the Controller during SD Memory Card access The files may be corrupted If there is a corrupted file in the SD Memory Card the file is automatically deleted by the restoration function when the power supply is turned ON CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 31 Regulations and Standards Regulations and Standards Conformance to EC Directives I Applicable Directives EMC Directives Low Voltage Directive i Concepts e EMC Directive OMRON devices that comply with EC Directives also conform to the related EMC standards so that they can be more easily built into other devices or the overall machine The actual products have been checked for conformity to EMC standards Whether the products conform to the standards in the system used by the customer however must be checked by the customer EMC related performance of the OMRON devices that comply with EC Directives will vary depending on the configuration wiring and other conditions of the equipment or control panel on which the OMRON devices are installed The customer must therefore perform the final check to confirm that devices and the overall machine conform to EMC standards Applicable EMC Electromagnetic Compatibility standards are as follows EMS Electromagnetic Susceptibility EN 61131 2 and EN 61000 6 2 E
99. Al detection C O Input 1 Conversion Data Analog input 2 Same as above Analog input 3 Same as above Analog input 4 Same as above 3 1 3 I O refresh Inputs Specifications If signals that are outside the specified range provided below are input the conversion values 16 bit integer used will be either the maximum or minimum value i Range 1to5V Conversion value 10500 10000 a ne ca I I I I l I l Resolution 10 000 I I I I l 0 e men 500 L i 1V 5V Analog input signal 0 8 V 5 2M CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 3 p o y D o D ct o D wesbeig 490jg uonoun4 1ndu 2 1L 3 CJ series Analog Input Units CJ1W AD042 i Range 0 to 10 V Conversion value 391000 EEE EEE 400000 Leese AE EE Resolution 20 000 OV 10V Analog input signal 0 5V 10 5 V Range 5 to 5 v Conversion value 411000 10000 si da dn Resolution 20 000 E e e O Analog input signal i Range 10 to 10 V Conversion value 22000 20000 r b R Resolution 40 000 I N e e e e l l I 10 V OV 10V i Analog input signal 3 4 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 CJ series Analog Input Units CJ1W AD042 Range 4 to 20 mA Conversion value 10500 10000 Resolution 10 000 2 o gt n gt o JA
100. Basic System Configuration 0 0 0 0 0 eens 1 7 1 2 2 Mounting Procedure curia ds aaa ados 1 8 t23 A AR IO 1 9 FUNCHON APPICGAUONS ca A a 1 10 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 1 1 1 System Design 1 1 Features and Functions i CJ series Analog I O Units Analog Input Unit Analog Output Unit Analog I O Unit CJ1W AD041 V1 CJ1W DA021 CJ1W DA08V CJ1W MAD42 CJ1W AD081 V1 CJ1W DA041 CJ1W DA08C The CJ Series includes CJ1W AD041 V1 CS1W AD081 V1 and CJ1W AD042 Analog Input Units that convert analog signals to digital signals and transfer them to CJ series CPU Units It also includes CJ1W DA041 CS1W DA021 CJ1W DA042V CJ1W DAOS8V and CJ1W DA08C Analog Output Units that convert digital data from CJ series CPU Units into analog signals for output and CJ1W MAD42 Analog I O Units that have both analog input and output function The main specifications are listed in the following table Analog input Analog output Unit Maximum Input signal xum output Input points range points Analog CJ1W AD041 V1 10 to 10 V 1 ms point Input CJ1W AD081 V1 0to 10 V Can be set to 250 Units 0to 5 V us point 1to5V 4 to 20 mA CJ1W AD042 4 10 to 10 V 20 us for 1 point Oto 10 V 25 us for 2 points 5 to 5 V 30 us for 3 points 1to5V 35 us for 4 points 4 to 20 mA 1 2 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Output Conversion cycle signal range
101. Bit BYTE type variable that combines the Number following BOOL type variables Chi MVErr BOOL Output 1 Output Set Value BOOL type variable to check the error 00 Error status in Unit of bits per output Ch2 MVErr BOOL Output 2 Output Set Value 0 No error 01 Error 1 Setting made Ch3 MVErr BOOL Output 3 Output Set Value 02 Error Ch4 MVErr BOOL Output 4 Output Set Value Error UnitErr BYTE Error Flags Refer to 7 2 2 Alarms Occurring at Bit the Unit Number BYTE type variable that combines the following BOOL type variables SclErr BOOL KE Scaling Data Setting Error 0 No error CfgErr BOOL Output Signal Range Set 1 Error in initial setting parameters ting Error or Error In Num ber of Outputs Used Setting HdErr BOOL BOOL R Output Hold Setting Error MdErr han El in Setting of Conver EB Mode ConvMd han Direct Conversion Mode O HON Conversion Mode 05 Direct Conversion Mode The Direct Conversion Mode cannot be used with the NJ series CPU Unit On the Special Unit Setup Editing of Sysmac Studio set Conversion Mode Setting to Cyclic Conversion Mode Refer to Starting and Stopping Con Bit version in 5 6 1 Output Settings and Number Conversion Values 03 5 16 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 5 CJ series Analog Output Unit CJ1W DA042V 5 6 Analog Output Functions and Operating Procedures 5 6 1 Output Settings
102. C e Internal Configuration Indicators Switch Oo S 2 e Bus 5 ee interface o 3 O O s lt oO Non volatile Memory Division lt eo Regulator 24 V Insulation type DC to DC converter External power supply 24 VDC I O Bus 4 4 3 Output Wiring Example CJ1W DA041 T i ow O O c 3 m x lt o 3 gt D Output 2 voltage output Output 1 voltage output Output 4 current output Output 3 current output power supply CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 15 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C Precautions for Safe Use Crimp terminals must be used for terminal connections and the screws must be tightened securely M3 terminal screws are used The applicable tightening torque is 0 5 N m Fork type x DL 6 2 mm max M3 screw Round type SS 6 2 mm max 0 5 EN Additional Information To minimize output wiring noise ground the output signal line to the input device 4 4 4 Output Wiring Considerations 4 16 When you wire outputs apply the following points to avoid noise interference and optimize Analog Out put Unit performance e Use two core shielded twisted pair cables for output connecting lines e Route output cables separately from the power cables e g AC and three phase lines and do not run the Unit s cables near a main circuit cable or a high voltage cable D
103. CPU Unit W490 7 7 7 Common Items 7 8 i Clearing Offset and Gain Adjusted Values Follow the procedure outlined below to return the offset and gain adjusted values to their default set tings The following example uses input number 1 adjustment The unit number is 0 7 Set the device variable for CJ series Unit Inputs to Be Adjusted AdjCh to 16421 Adjustment of input 1 2 Set the device variable for CJ series Unit Adjustment Value Clear Flag AdjClr to 1 Regardless of the input value the device variable for CJ series Unit Conversion Value for Adjustment AdjPV will monitor 0 3 Set the device variable for CJ series Unit Adjustment Value Set Flag AdjSet to 1 and return it to 0 While the device variable for CJ series Unit Adjustment Value Clear Flag AdjCir is set to 1 the adjustment value will be cleared and reset to the default offset and gain values when Adjust ment Value Set Flag AdjSet turns ON 4 To finish clearance of adjustment values set the device variable for CJ series Unit Adjustment Value Clear Flag AdjClr to 0 i Precautions for Correct Use Do not turn OFF the power supply or restart the Unit while the Adjustment Value Set Flag is ON while data is written to the non volatile memory Otherwise illegal data may be written in the Unit s non volatile memory and Non volatile Memory Error may occur when the power supply is turned ON or when the Unit is restarted which will cause a malf
104. Ch2_AveCfg Input 2 Number of Samplings UINT for Mean Value Processing D m 8 00 to 15 Ch2_Scl_L_Cfg Input 2 Scaling Lower Limit INT D m 9 00 to 15 Ch2_Scl_H_Cfg Input 2 Scaling Upper Limit INT D m 10 00 to 07 Ch3_InRngCfg Input 3 Input Signal Range USINT Setting D m 11 00 to 07 Ch3_AveCfg Input 3 Number of Samplings UINT for Mean Value Processing D m 12 00 to 15 Ch3 Scl L Cfg Input 3 Scaling Lower Limit INT D m 13 00 to 15 Ch3 Scl H Cfg Input 3 Scaling Upper Limit INT D m 14 00 to 07 Ch4 InRngCfg Input 4 Input Signal Range USINT Setting D m 15 00 to 07 Ch4 AveCfg Input 4 Number of Samplings UINT for Mean Value Processing D m 16 00 to 15 Ch4 Scl L Cfg Input 4 Scaling Lower Limit INT D m 17 00 to 15 Ch4 Scl H Cfg Input 4 Scaling Upper Limit INT The Direct Conversion Mode cannot be used with the NJ series CPU Unit On the Special Unit Setup Editing of Sysmac Studio set Conversion Mode Setting to Cyclic Conversion Mode A 26 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Appendices A 4 4 CJ1W DA021 Special I O Unit CIO Area in Normal Mode VO 1 0 Puis ETE NJ series device variable for CJ series Unit putos foo omcomomd Output Y Conversion Enabie BOOL This Unit to Ch1_MVErr Output 1 Output Set Value BOOL CPU Error Ch2 MVErr Output 2 Output Set Value BOOL Error 08 to 15 Error Flags BYTE Special I O Unit CIO Area in Adjustme
105. D MAX range 1to5V 0 8 V 5 full scale Voltage that was 5 2 V 5 full scale output just prior to stopping 0to 10 V 0 5 V 5 full scale Voltage that was 10 5 V 5 full output just prior scale to stopping 0 0 V Voltage that was 11 0 V 5 full output just prior scale 10 to 10 V to stopping Use Output Output Status When Conversion Stops _Ch _HdMdCfg to set the output hold function Variable name Type Setting Ch _HdMdCfg USINT 0 CLR 1 HOLD 2 MAX An output number from 1 to 4 is included in place of in the variable name Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller is reset or when the Unit restarts 5 6 3 Output Scaling Function When upper and lower limits are preset within a decimal range of 32 000 to 32 000 D A conversion of analog output setting values is performed with the upper and lower limits taken as full scale This scaling eliminates the previous need to provide a numeric conversion program EN Additional Information e The upper limit is normally set to be greater than the lower limit but it is also possible to set the lower limit to be greater than the uppe
106. IABILITY In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted INNO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY REPAIR OR OTHER CLAIMS REGARDING THE PRODUCTS UNLESS OMRON S ANALYSIS CONFIRMS THAT THE PRODUCTS WERE PROPERLY HANDLED STORED INSTALLED AND MAINTAINED AND NOT SUBJECT TO CONTAMINATION ABUSE MISUSE OR INAPPROPRIATE MODIFICATION OR REPAIR CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 15 Read and Understand this Manual Application Considerations SUITABILITY FOR USE OMRON shall not be responsible for conformity with any standards codes or regulations that apply to the combination of products in the customer s application or use of the products At the customer s request OMRON will provide applicable third party certification documents identifying ratings and limitations of use that apply to the products This information by itself is not sufficient for a complete determination of the suitability of the products in combination with the end product machine system or other application or use The following are some examples of applications for which particular attention must be given This is not intended to be an exhaustive list of all possible uses of the products nor is it intended to imply that the uses listed may be suitable for the products e Outdoor use uses involving potential chemical contaminatio
107. Input 1 Input Signal Range Set Refer to Input Signal Ranges in 3 ting 6 1 Input Settings and Conver Ch2 InRngCfg USINT RW Input 2 Input Signal Range Set S ON Values ting 0 10 to 10 V Ch3 InRngCfg USINT RW Input 3 Input Signal Range Set 2 0to 10 V ting 3 4 to 20 mA Ch4 InRngCfg USINT RW Input 4 Input Signal Range Set 6 5 to 5 V ting 7 1to5V CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 17 Q e m gt lt o gt D 5 e 5 e U D r D pg 5 F gt O U c c 5 UN SALSS Y JO ejqeueA eoweq Buneoovy e S 3 CJ series Analog Input Units CJ1W AD042 Name of device variable for CJ series Unit Ch1 AveCfg Ch2 AveCfg Ch3 AveCfg Ch4 AveCfg Ch1 Scl L Cfg Ch1 Scl H Cfg Ch2 Sel L Cfg Ch2 Scl H Cfg Ch3 Scl L Cfg Ch3 Scl H Cfg Ch4 Sel L Cfg Ch4 Scl H Cfg RW Refer to 3 6 2 Mean Value Pro Mean Value Processing cessing UINT RW Input 2 Number of Samplings for 0 No mean value processing Mean Value Processing Number of samplings 8 2 3 UINT RW Input 4 Number of samplings for 4 Number of samplings 16 EAN NANG TOG SING 5 Number of samplings 32 6 Number of samplings 64 7 Number of samplings 128 8 Number of samplings 256 9 Number of samplings 512 Input 1 Scaling Lower Limit Refer to 3 6 3 Input Scaling Input 1 Scaling Upper Limit Function Input 2 Scaling Lower Limit DP INT RW nout 2 Scalina U Limit Set lower
108. J SIVULA SINNIG 10J SAB eouepuodsaJ4102 p Vv SHU S9 9S P 10J sessoJppy P T N O gt O E lt CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A 21 Appendices lo 1 0 koere re NJ series device variable for CJ series Unit mo NT n 7 00 to 15 Input 7 Conversion Data INT n 8 00 to 15 Input 8 Conversion Data INT n 9 00 to 07 Disconnection Detected BYTE Ch1_SensErr Input 1 Disconnection BOOL Detected Ch2 SensErr Input 2 Disconnection BOOL Detected 2 Ch3 SensErr Input 3 Disconnection BOOL Detected 3 Ch4 SensErr Input 4 Disconnection BOOL Detected 4 Ch5 SensErr Input 5 Disconnection BOOL Detected 5 Ch6 SensErr Input 6 Disconnection BOOL Detected Ch7 SensErr Input 7 Disconnection BOOL Detected 7 Ch8 SensErr Input 8 Disconnection BOOL Detected 08 to 15 Error Flags BYTE AveErr Mean Value Processing Set BOOL ting Error A 22 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Appendices Special I O Unit CIO Area in Adjustment Mode lo 1 0 open pr NJ series device variable for CJ series Unit CPUtotis ar o EZ O orseireg ES Input n 8 00 to 15 AdjPV Conversion value for adjust INT This Unit to ment n 9 CPU 00 to 07 Disconnection Detected BYTE Ch1_SensErr Input 1 Disconnection BOOL Detected Ch2 SensErr Input 2 Disconnection BOOL Detected 2 Ch3 SensErr Input 3 Disconnection BOOL Detected 3
109. LEE 3 5 Exchanging Data with the CPU Unit ociosa li decidi 3 5 1 Une or Daa ENN EN 3 5 2 Accessing rom NE USErProqan users eee ss Geer 3 5 3 Allocating Device Variable for CJ series UNit ooconnnccccccccoonncnnncococononnnnnononononnnnnonononnnnnnnnnnnnos 3 6 Analog Input Functions and Operating Procedures serere 3 6 1 Input Settings and Conversion Values ccccccccccccnccnnnccccononcnnnnnonononnnnnnnnononanennnnonnnonnnnnnnnnnnnnnnnos 3 6 2 Mean Value Processing EET Sea 3 6 3 KOGES CNT Fit 3 6 4 Peak Value Hold Function rrrrannnnnnnnnonnnnnonnnnnnnnnnnrennnnnennnnnennnnnennnnnennnnnennnnnsnnnnnnennansennnnnsnennnnee 3 6 5 Input DISCONNECTION Detection FUNCTION Lus veer Een EL iera Section 4 CJ series Analog Output Unit 41 Speck aL OASE eR 4 1 1 SEIE INNS ANE 4 1 2 Output Function Block D g m sone een octo uere eae ec ESN 4 1 3 Output SPECIICATOMNS s staae leende Die de tuens deem pinu fed pene cuisse itat pnus dac at e seer 4 2 Operating Procedure icio Peer 4 2 1 ETA Mee 4 2 2 CITADAS OG se CJ1W DA021 041 08V 08C CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 11 Section 5 CONTENTS 4 3 4 4 4 5 4 6 Section 6 5 1 5 2 5 3 5 4 5 5 5 6 12 6 1 6 2 Components and Switch SettingsS xxrrrnnnnnnnnnnnnnnnnnnnnnnennnnnnnennnnnnnernnnnnnennnnnnvennnnnnnennnnnnvennnnn 4 10 4 3 1 Component NANTES sarte is
110. Limi NT ne rug Output 2 Scaling Upper Limit Set lower limit upper limit Can Ch3 Scl L Cfg Output 3 Scaling Lower Limit also set lower limit upper limit Ch3 Scl H Cfg Output 3 Scaling Upper Limit Ch4 Scl L Cfg Output 4 Scaling Lower Limit Ch4 Scl H Cfg Output 4 Scaling Upper Limit Ch5 Scl L Cfg Output 5 Scaling Lower Limit Ch5 Scl H Cfg Output 5 Scaling Upper Limit Ch6 Scl L Cfg Output 6 Scaling Lower Limit Ch6 Scl H Cfg Output 6 Scaling Upper Limit Ch7 Scl L Cfg Output 7 Scaling Lower Limit Ch7 Scl H Cfg Output 7 Scaling Upper Limit Ch8 Scl L Cfg Output 8 Scaling Lower Limit Ch8 Scl H Cfg Output 8 Scaling Upper Limit MdCfg BYTE RW Operating Mode Settings Refer to Switching Operating Mode in 4 5 2 Accessing from the User Program 16400 Normal Mode 162C1 Adjustment Mode ResolutionCfg BYTE RW Resolution Conversion Time Set Refer to Conversion Cycle Reso tings lution Setting CJ1W DA08V 08C Only in 4 6 1 Output Settings and Conversion Values 16400 4 000 resolutions 1 ms cycle 16 C1 8 000 resolutions 250 us cycle Operation Data Operation data includes data such as analog output conversion values etc Operation data is exchanged constantly during I O refreshing T e m gt lt O gt D 3 e 5 e U D D 3 P F gt OD O U c c 5 3 HUN S3119S PD 10 SJQe ueN 90119 Duneooj v Sg rv CJ series Analog I O Units Operation Manual for NJ series CP
111. M O O O E s Input 4 E A6 gt E e Jeg EAD gr O B9 ecccoccccccccccccceccececcedt CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 CJ series Analog Input Units CJ1W AD042 Wiring Example for a Current Input AA Di o PA Input 2 AZ Y 3 at gf O B pl Input 1 o UU 3 E T 4 A3 gt TE 5 A EN TEE TEE Lue EE pr TT I mua lo Bg A7 O 9 E Connect the positive current input terminal and positive voltage input terminal with the enclosed short bar The AG terminal need not be connected in normal conditions but if noise is of concern connect the shielded wire for each input by one of the following methods e Connect the end of the shielded wire on AD Unit side to the AG terminals as shown in the above diagram Use a wire that is 30 cm or shorter if possible In this case do not connect the end of the shielded wire on output device side to any other device or FG e Ground the end of the shielded wire on AD Unit side to the FG on the control panel In this case keep the AG terminal open and do not connect the end of the shielded wire on output device side to any other device or FG Precautions for Safe Use Crimp terminals must be used for terminal connections and the screws must be tightened securely Use M3 screws and tighten them to a torque of 0 5 N m Fork type Round type 6 2 mm max DA 6 2 mm max 050 LA Precautions for Correct Use
112. MI Electromagnetic Interference EN 61131 2 and EN 61000 6 4 Radiated emission 10 m regulations e Low Voltage Directive Always ensure that devices operating at voltages of 50 to 1 000 VAC and 75 to 1 500 VDC meet the required safety standards The applicable directive is EN 61131 2 e Conformance to EC Directives The NJ series Controllers comply with EC Directives To ensure that the machine or device in which the NJ series Controller is used complies with EC Directives the Controller must be installed as fol lows e The NJ series Controller must be installed within a control panel You must use reinforced insulation or double insulation for the DC power supplies connected to DC Power Supply Units and I O Units NJ series Controllers that comply with EC Directives also conform to the Common Emission Stan dard EN 61000 6 4 Radiated emission characteristics 10 m regulations may vary depending on the configuration of the control panel used other devices connected to the control panel wir ing and other conditions You must therefore confirm that the overall machine or equipment complies with EC Directives 32 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Regulations and Standards i Conditions for Conforming to EMC Directives The following immunity test conditions apply to CS CJ series Analog I O Units Overall Accuracy Analog Input Unit CS1W AD161 4 6 CJ1W AD041 V1 AD081 V1 3 6
113. Manual Structure Precaution on Terminology In this manual download refers to transferring data from the Sysmac Studio to the physical Controller and upload refers to transferring data from the physical Controller to the Sysmac Studio For the Sysmac Studio synchronization is used to both upload and download data Here synchronize means to automatically compare the data for the Sysmac Studio on the computer with the data in the physical Controller and transfer the data in the direction that is specified by the user CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Manual Structure CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Sections in this Manual Sections in this Manual System Design CJ series Analog Input Units CJ1W AD041 V1 081 V1 CJ series Analog Input Units CJ1W AD042 CJ series Analog Output Unit CJ1W DA021 041 08V 08C CJ series Analog Output Unit CJ1W DA042V CJ series Analog I O Unit CJ1W MAD42 Common Items Appendices CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 9 CONTENTS CONTENTS 10 i INTO CIO Narra do 1 Relevant Man Sii 2 Manual Goniguratloh uns 3 Manual STUCIOG seeren ed 6 Sections IN NS Malal ee 9 CONTENTS seende 10 Read and Understand this Manual eee esee esee 15 Safely uice np Lm
114. OMRON Machine Automation Controller CJ series Analog I O Units Operation Manual for NJ series CPU Unit CJ1W ADOL 1 1 1 CJ1W DAOL II CJ1W MAD42 Analog I O Units W490 E1 03 OMRON 2011 All rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or by any means mechanical electronic photocopying recording or otherwise without the prior written permission of OMRON No patent liability is assumed with respect to the use of the information contained herein Moreover because OMRON is constantly striving to improve its high quality products the information contained in this manual is subject to change without notice Every precaution has been taken in the preparation of this manual Nevertheless OMRON assumes no responsibility for errors or omissions Neither is any liability assumed for damages resulting from the use of the information contained in this publication Introduction Introduction Thank you for purchasing an CJ series Analog I O Unit This manual contains information that is necessary to use with the NJ series CPU Unit Please read this manual and make sure you understand the functionality and performance of the NJ series CPU Unit before you attempt to use it in a control system Keep this manual in a safe place where it will be available for reference during operation Intended Audience This manual is intended for the fo
115. Procedures 7 9 7 2 When Errors and Alarms Occur 00 00 cece eee ees 7 14 7 2 1 Indicators and Error Flowchart 0c cece eee eee eee 7 14 7 2 2 Alarms Occurring at the Unit 0 0 0 ee 7 16 723 BrosnieCPUUN S vasta ees ok et ee Be eek eh awd eka eee 7 19 7 2 4 Restarting Special I O Units 0 0 ens 7 20 7 2 5 Troubleshooting zs des SOROR brake eee E ma oes baa 7 20 159 EVenLbLbOUS A PST 7 23 7 3 1 Overview of the Event Logs ccc eee ee eens 7 23 Toas Bror Tableau i wart be eye et he te b d ee ad ea ha 7 24 70 90 ESFOF DESCHIDUONS 2d ete Eas ete eee E RAE EE oe 7 26 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 1 7 Common Items 7 1 Adjusting Offset and Gain You can use these functions to calibrate inputs or outputs according to the devices that are connected e Input Calibration Function When the resolution is set to 4 000 this function takes an output device s offset voltage or current and gain voltage or current as the analog input conversion data 0 and 4000 or 2000 when the range is 10 V For example when used in a range of 1 to 5 V a range of 0 95 to 4 98 V may be output even if the external device specifications are for 1 to 5 V In such cases when the external device outputs an offset voltage of 0 95 V the conversion data at the Analog Input Unit will be 50 at the resolution of 4 000 When a gain voltag
116. S es Input 4 Conversion Data Ch RdAI Buffer 4 ti tt It Buttern t Discarded EN Additional Information e The first conversion data is stored for all buffers for the set number of samplings for mean value processing immediately after data conversion has begun and after a disconnection is restored e When mean value processing is used together with the peak value hold function the peak mean value will be held 3 22 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 CJ series Analog Input Units CJ1W AD042 Use Input Number of Samplings for Mean Value Processing Ch AveCf g to set whether to per form the mean value processing and the number of samplings in the case the process is performed Variable name Type Setting Ch _AveCfg UINT 0 ND OF fF W DP O No mean value processing Mean value processing with 2 buffers Mean value processing with 4 buffers Mean value processing with 8 buffers Mean value processing with 16 buffers Mean value processing with 32 buffers Mean value processing with 64 buffers Mean value processing with 128 buffers Mean value processing with 256 buffers 9 Mean value processing with 512 buffers An input number from 1 to 4 is included in place of ff in the variable name Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Un
117. SS ae etd eee 6 39 6 7 3 Output Scaling FUNCION uti cs ees RE EE eee eet eb eee ve 6 40 6 7 4 Output Setting Errors 2 ics ee eed A A ee At AA 6 42 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 1 6 CJ series Analog I O Unit CJ1W MAD42 6 2 6 8 Ratio Conversion Function 000 cee eee eee IRR 6 43 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 6 1 Specifications 6 1 1 Specifications Item CJ1W MAD42 Unit type CJ series Special I O Unit Isolation Between I O and internal signals Photocoupler No isolation between I O signals External connection terminal 18 point detachable terminal block M3 screws Current consumption 580 mA max at 5 V DC Dimensions mm 1 31 x 90 x 65 W x H x D Weight 150 g max General specifications Conforms to general specifications for NJ Series Mounting position NJ series CPU Rack or Expansion Rack Maximum number of Units Per CPU Rack or Expansion No of mountable Units MAE NJ PA3001 Max 7 units on CPU Rack Max 8 units per Expansion Rack NJ PD3001 Max 7 units on CPU Rack Max 8 units per Expansion Rack Data exchange with CPU Units Data exchange with I O ports For details refer to 6 5 Exchanging Data with the CPU Unit p o y D o S ct o D 1 Refer to A 1 Dimensions for details on the Unit s dimensions 2 The maximum number of Analog I O Units that you c
118. Samplings UINT for Mean Value Processing 00 to 15 Ch4 AveCtg Input 4 Number of Samplings UINT for Mean Value Processing 00 to 15 Ch Cfg Const A Loop 1 Ratio Conversion WORD Constant A 00 to 15 Ch2 Cfg Const A Loop 2 Ratio Conversion WORD Constant A 00 to 15 Ch2 Cfg Const B Loop 2 Ratio Conversion INT Constant B 00 to 07 MdCfg Operating Mode Settings BYTE 08 to 15 ResolutionCfg Resolution Conversion Time BYTE Settings 00 to 15 Output 1 Scaling Lower Limit INT 00 to 15 Output 1 Scaling Upper Limit INT 00 to 15 Output 2 Scaling Lower Limit INT 00 to 15 Output 2 Scaling Upper Limit INT 00 to 15 Input 1 Scaling Lower Limit INT 00 to 15 Ch Cfg Const B Loop 1 Ratio Conversion INT Constant B 00 to 15 Input 1 Scaling Upper Limit INT 00 to 15 Input 2 Scaling Lower Limit INT 00 to 15 Input 2 Scaling Upper Limit INT 00 to 15 Input 3 Scaling Lower Limit INT 00 to 15 Input 3 Scaling Upper Limit INT 00 to 15 Input 4 Scaling Lower Limit INT 00 to 15 Input 4 Scaling Upper Limit INT 00 to 07 Voltage Current Input Switch WORD CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Index CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Index 1 Index Index A A D conversion data jade 2 2 3 2 A D Conversion Error occccncccoccncnncccccocncnnncnocononennncnononos 7 16 PACCUIACY rense 2 2 3 2 4 2 5 2 6 4 DEE EEE EE 7 14
119. Supported Supported N rre Supported ist Supported Analog CJ1W MAD42 Supported Supported Supported Supported Supported Supported Supported I O Units CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 1 3 1 System Design e Input Disconnection Detection Function You can use the input disconnection detection function for analog inputs within an input signal range of 1 to 5 V 4 to 20 mA Any input under 0 3 V 1 2 mA will be regarded as a disconnection For details refer to 2 6 4 3 6 5 or 6 6 5 Analog Input Unit CPU Unit Disconnection Detected Bit Peak Value Hold Function The peak value hold function holds the maximum digital conversion value for every input this includes mean value processing You can use this function with analog input The following diagram shows how digital conversion values are affected when the peak value hold function is used For details refer to 2 6 3 3 6 4 or 6 6 3 I I l I I Peak Value Hold Execution bit ll ot Output Hold Function You can use the output hold function to hold the analog output value at any preset value during a major fault level Controller error at the CPU Unit or when specified by the CPU Unit When output stops you can select CLR HOLD or MAX for output For details refer to 4 6 2 5 6 2 or 6 7 2 Analog Output Unit CPU Unit Output Enable Flag OFF CLR HOLD MAX CJ series Analog I O Units Ope
120. The following example uses output number 1 adjustment 7 2 Set the device variable for CJ series Unit Outputs to Be Adjusted AdjCh to 16 11 Adjust ment of output 1 Set the device variable for CJ series Unit Adjustment Value Clear Flag AdjClr to 1 Regardless of the output value the device variable for CJ series Unit Conversion value for adjustment AdjPV will monitor 0 Set the device variable for CJ series Unit Adjustment Value Set Flag AdjSet to 1 and return it to 0 While the device variable for CJ series Unit Adjustment Value Clear Flag AdjCir is set to 1 the adjustment value will be cleared and reset to the default offset and gain values when Adjust ment Value Set Flag AdjSet turns ON To finish the clearance of adjustment values set the device variable for CJ series Unit Adjust ment Value Clear Flag AdjClr to 0 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 Common Items VI Precautions for Correct Use Do not turn OFF the power supply or restart the Unit while the Adjustment Value Set Flag is ON while data is written to the non volatile memory Otherwise illegal data may be written in the Unit s non volatile memory and Non volatile Memory Error may occur when the power supply is turned ON or when the Unit is restarted which will cause a malfunction EN Additional Information You can overwrite the non volatile memory 50 000 times uled pue Joso Bu
121. U Unit W490 4 21 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C f List of Operation Data during Normal Mode Name of device variable Chi WrAO Refer to Writing Set Values in 4 6 1 Out Ch2 WrAO put Settings and Conversion Values Cha WAO Mu inns Ch5 to Ch8 are used only for DAO8V 08C bines the following BOOL type ConvCmd WORD RW Conversion Enable Settings variables Chi ConvCmd BOOL Output 1 Conversion Enable BOOL type variable that speci 00 Ch2 ConvCmd BOOL Output 2 Conversion Enable bou output for conversion 01 Ch3 ConvCmd BOOL Output 3 Conversion Enable 0 Stop conversion output 92 Ch4 ConvCmd BOOL Output 4 Conversion Enable 1 Start conversion output 03 Ch5 ConvOmd BOOL Output 5 Conversion Enable Ch3 and Ch4 are used only for 04 Ch6 ConvOmd BOOL Output 6 Conversion Enable DA041 08V 08C 05 Ch5 to Ch8 are used only for Ch7 ConvCmd BOOL Output 7 Conversion Enable DAO8V OSC 06 Refer to Starting and Stopping Bit Conversion in 4 6 1 Output Number Settings and Conversion Val ues WORD type variable that com Ch8 ConvCmd BOOL Output 8 Conversion Enable 07 Refer to 4 6 4 Output Set Value Bit Error Number BYTE type variable that com bines the following BOOL type variables MVErr BYTE hj Output Set Value Error Ch1 MVErr BOOL Output 1 Output Set Value BOOL type variable that Error checks each output for error Ch2 MVErr BOOL Output 2 Output Set Value coneion Error
122. Unit CJ1W DA021 041 08V 08C 4 5 2 Accessing from the User Program The user program uses device variables for CJ series Unit to control the Analog Output Unit Use device variables for CJ series Unit with AT specification for the I O port which is explained below e 1 0 port An I O port is a logical interface for data exchange by a CPU Unit with an Analog I O Unit or other configuration unit An I O port has a unique predefined name for each unit model and function An I O port is automatically created by preparing the Unit Configuration with Sysmac Studio e How to specify device variables for CJ series Unit Specify the AT specifications to I O ports for device variables for CJ series Unit with the I O Map from Sysmac Studio opecify the variable name for the AT specification with one of the following methods 1 Select a variable already registered in the variable table 2 Input a new variable name 3 Automatically create a variable name with Device variable creation When a device variable name for CJ series Unit is assigned with method 2 or 3 the variable input by Sysmac Studio is automatically registered in the variable table The following is the configuration of variable names created with automatic creation in method 3 Name of device variable for CJ series Unit Ch ConvCmd This is an I O port name The name identifies the unit function status and parameter This is the device name when this unit is register
123. Units Operation Manual for NJ series CPU Unit W490 5 9 7 C32 O o 3 o gt D gt 0 D gt oa o O gt o O 4 gt e 0 SJOJEOIPU Z E G 5 CJ series Analog Output Unit CJ1W DA042V 5 4 Wiring Caution relays and solenoids Always separate devices that generate surge from the Analog I O Units Always connect surge suppressors to inductive loads in the system e g magnetic contactors Faulty Unit operation may cause unexpected system operation O If inductive loads are connected to output signals from Relay Contact Output Units connect a surge suppressor in an AC circuit and a diode in a DC circuit close to the inductive load to absorb the counter electromotive force Inductive load Output Unit Output Unit Connect a surge suppressor in an AC circuit and a diode in a DC circuit 5 4 1 Terminal Arrangement The signal names that correspond to the connecting terminals are as shown in the following diagram Sapul E in CIDER Output 2 Output 1 osag Teee ee NG fe f d ine NG e ASIN EN Additional Information e Use the device variable for CJ series Unit Output Use Settings _OutChUseCtg to set the number of analog outputs that you can use e Set the output signal range for each analog output with the device variable for CJ series Unit Output Signal Range Setting ChZ OutHngCfg The output signal range can be set se
124. a AAA 5 21 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 5 1 5 CJ series Analog Output Unit CJ1W DA042V 9 1 Specifications AAA 5 1 1 Specifications Unit model CJ1W DA042V Unit type CJ series Special I O Unit Isolation Between outputs and internal signals Digital isolator No isolation between output signals 1 External connection terminal 18 point detachable terminal block M3 screws Current consumption 400 mA max at5 VDC Dimensions mm 2 31 x 90 x 65 W x Hx D Weight 150 g max General specifications Conforms to general specifications for NJ Series Mounting position NJ Series CPU Rack or Expansion Rack Maximum number of Units Per CPU Rack or No of mountable Units Expansion Rack 3 Max 10 units on CPU Rack Max 10 units per Expansion Rack Max 10 units on CPU Rack Max 10 units per Expansion Rack Data exchange with the CPU Unit Data exchange with I O ports For details refer to 5 5 Exchanging Data with the CPU Unit Dom Output signal range 4 1to5V 0 to 10 V 10 to 10 V 5 kQ min per output tance Resolution 1 10 000 full scale 1 20 000 full scale 1 40 000 full scale 16 bit integer INT Accuracy 25 C 0 3 full scale e ESO 0 5 full scale Conversion period 5 20 us for 1 point 25 us for 2 points 30 us for 3 points 35 us for 4 points Output Output hold function Outputs the specified output status CLR HOLD or MAX under any of the follow functions ing circumstanc
125. a duds bota me ENE dt AED dd 4 10 4 3 2 Ln E 4 11 4 3 3 IJorEN mber 9SWIIPIIBS inside 4 11 4 3 4 Operating Mode SWIIGN saneren aar 4 12 WIPIDIQ EN EE EE iii 4 13 4 4 1 Terminal Arrangement ladede bee 4 13 4 4 2 PEST da AAC 00 EEE T 4 14 4 4 3 Output Wiring BANDENE 4 15 4 4 4 Output Wiring Considerations sjaa dence anda 4 16 Exchanging Data with the CPU Unit iii ica dar 4 17 4 5 1 Ouilirie of Data Exchange ee 4 17 4 5 2 Accessing from the User Program A ii 4 18 4 5 3 Allocating Device Variable for CJ series Unit ccccccccccesccsseeseeeeeeeeeeeseeesaeeeeeeeeeeeeeeeeeeseesaaas 4 19 Analog Output Functions and Operating Procedures cssseeceeseeeeeseeeeeeseesenneeseees 4 25 4 6 1 Output Settings and Conversion Valu s oooocconcnncnncononnnonconnononnnnnnnnnnnnnnononononnononnnnnnnnnnnnnnnnss 4 25 4 6 2 eios eager E 4 28 4 6 3 Output Scaling Function CJ1 W DAO8V 08C Only rrrrrnnnrnvnnnrrrrnrnnnnnnnnnnrrrrrnnvrnrnrnnnnnnnnnnnnnnee 4 29 4 6 4 Output Set Value Bror sved bie o e 4 31 CJ series Analog Output Unit CJ1W DA042V DECIAS 5 2 5 1 1 SPECIE AMO MS ee 5 2 5 1 2 OUTBUTIFUNGCTION BOCK DEAN uer 5 3 5 1 3 OUIDUE SPECINCAN ONS ae 5 4 Operating Proc dure Lanserer ie 5 6 Components and Switch Setting S 222 EEN 5 8 5 3 1 Component NANSEN 5 8 5 3 2 e Un e 5 9 5 3 3 UATNIMDEFSMIONES avenue 5 9 WIN 5 10 5 4 1 Terminal ATA MEN 5 10 5 4 2 a A e 5 11 5 4 3 Quiput
126. a is not commu nicated and the intended operation is sometimes not achieved If noise countermeasures are required use the EC InDatalnvalid Input Data Disable system defined variable as an interlock condition in the user program Refer to the NJ series CPU Unit Built in EtherCAT Port User s Manual Cat No W505 for details The slave outputs behave according to the slave settings Refer to the manuals for the slaves for details e When an EtherCAT slave is disconnected communications will stop and control of the outputs will be lost not only for the disconnected slave but for all slaves connected after it Confirm that the system will not be adversely affected before you disconnect a slave f you disconnect the cable from an EtherCAT slave to disconnect it from the network any current communications frames may be lost If frames are lost slave I O data is not communicated and the intended operation is sometimes not achieved Perform the following processing for a slave that needs to be replaced Program the EC InDatalnvalid Input Data Disable system defined variable as an interlock con dition oet the Impermissible Number of Continuous Timeouts setting in the EtherCAT master to at least 2 Refer to the NJ series CPU Unit Built in EtherCAT Port User s Manual Cat No W505 for details Motion Control Confirm the axis number carefully before you perform an MC Test Run The motor is stopped if communications are interrup
127. a with the CPU Unit specifica Input signal range 4 1to5V tlons 0to 5 V 0to 10 V 10 to 10 V 4 to 20 mA 5 Current Input 130 mA Input impedance Voltage Input 1 MQ min Current Input 250 Q rated value Converted output data 16 bit integer INT Accuracy 8 23 2 C Voltage Input 0 2 of full scale Current Input 0 4 of full scale 0 C to Voltage Input 0 4 of full scale 55 C Current Input 0 6 of full scale A D conversion cycle 9 1 ms 250 us 7 1 ms 250 us 7 Inputs Mean value processing Stores the last n sampling data in the buffer and stores the mean value of functions the conversion values Number of samplings n 2 4 8 16 32 64 Peak value hold Stores the maximum conversion value while the specified Peak Value Hold Execution bit is ON Input disconnection detec Detects the disconnection and turns ON the Disconnection Detected Bit 10 tion Maximum rated input 6 Voltage Input 15 V ion 7 1 Do not apply a voltage higher than 600 V to the terminal block when you perform a withstand voltage test on this Unit Otherwise internal elements may deteriorate 2 Refer to A 1 Dimensions for details on the Unit s dimensions 2 2 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 58 4 5 6 7 8 9 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 The maximum number of Analog Input Units that you can mount to one Rack depends on the current con sumption o
128. ac Studio After downloading data that contains forced refreshing change to RUN mode and then use the Sys mac Studio to perform the operation for forced refreshing Depending on the difference in the forced status the control system may operate unexpectedly Do not specify the same address for the AT specification for more than one variable Doing so would allow the same entity to be accessed with different variable names which would make the user program more difficult to understand and possibly cause programming mistakes i General Communications When you use data link communications check the error information that is given in ErrSta Control ler Error Status to make sure that no error has occurred in the source device Write the user program to use the received data only if there is no error If there is an error in the source device the data for the data link may contain incorrect values Unexpected operation may result if inappropriate data link tables are set Even if appropriate data link tables have been set confirm that the controlled system will not be adversely affected before you transfer the data link tables The data links start automatically after the data link tables are trans ferred All CPU Bus Units are restarted when routing tables are transferred from Support Software to the CPU Unit Confirm that the system will not be adversely affected by restarting before you transfer the routing tables Tag data lin
129. ac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller reset or when the Unit restarts i List of Initial Setting Parameters Name of device variable for CJ series Unit OutChUseCfg Chi_OutRngCfg Ch2_OutRngCfg Ch3_OutRngCfg Ch4_OutRngCfg Ch HdMdCfg Ch2 HdMaCfg Ch3 HdMdCfg Ch4 HdMaCfg Ch Scl L Cfg Ch1 Scl H Cfg Ch2 Scl L Cfg Ch2 Scl H Cfg Ch3 Scl L Cfg Ch3 Scl H Cfg Ch4 Scl L Cfg Ch4 Scl H Cfg USINT RW Number of Analog Outputs Used Refer to Number of Output in 5 6 1 Output Settings and Conversion Values USINT RW Output 1 Output Signal Range Refer to Output Signal Ranges in Setting 5 6 1 Output Settings and Con USINT RW Output 2 Output Signal Range version Values Setting 0 0 to 10V USINT RW Output 3 Output Signal Range 3 10 to 10V Setting 6 1 to 5V USINT RW Output 4 Output Signal Range Setting USINT RW Output 1 Output Status When Refer to 5 6 2 Output Hold Func Conversion Stops tion USINT RW Output 2 Output Status When 0 CLR Conversion Stops 1 HOLD USINT RW Output 3 Output Status When 2 MAX Conversion Stops USINT RW Output 4 Output Status When Conversion Stops Output 1 Scaling Lower Limit Refer to 5 6 3 Output Scaling Output 1 Scaling Upper
130. aled to 0 to 10000 set as follows Set Input 1 Scaling Lower Limit _Ch3_Scl_L_Cfg to 0 Set Input 1 Scaling Upper Limit Ch3 Scl H Cfo to 10 000 The following diagram shows the correspondence between input signals and converted scaling val ues Offset upper limit 10500 Scaling upper limit 10000 Scaling lower limit 0 Offset lower limit 500 p O gt 5 A o O 5 3 c F Tl c 5 O ct o 5 D o 5 2 O o o S ct 3 e U O o D Q c D 0 Input signal Conversion result OV 0 10 V 10 000 0 5 V 500 10 5 V 10 500 e Example Setting 2 Reverse Scaling If the input 2 signal of 0 to 10 V is to be scaled to 10000 to 0 set as follows Set Input 2 Scaling Lower Limit Ch4 Scl L Cfo to 10 000 Set Input 2 Scaling Upper Limit Ch4 Scl H Cfg to O The following diagram shows the correspondence between input signals and converted scaling values Offset lower limit 10500 Scaling lower limit 10000 p NC777777777 7 7 743 uonouny Buljeog indu p 9 9 Scaling line Scaling upper limit 0 Offset upper limit 500 Input signal Conversion result 0V 10 000 10 V 0 0 5 V 10 500 10 5 V 500 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 33 6 34 6 CJ series Analog I O Unit CJ1W MAD42 6 6 5 Input Disconnection Detection Function When an input signal range of 1 to 5 V 4 to 20 mA is used you can detect input circuit d
131. alue The scaling function is enabled for only a conversion cycle of 1 ms and a resolution of 4 000 and not for a conversion time of 500 us and a resolution of 8 000 ES Additional Information e The upper limit is normally set to be greater than the lower limit but it is also possible to set the lower limit to be greater than the upper limit for reverse scaling e Actual A D conversion is executed at up to 596 to 105 of full scale LA Precautions for Correct Use e You cannot use the scaling function when the ratio conversion function is used e f the scaling upper limit equals the lower limit or if the scaling upper limit or lower limit is out side the range of 32 000 a scaling data setting error is generated and the Unit will not oper ate Operation is performed without scaling if both the upper and lower limits are set to 0 e Setting Upper and Lower Limits for Input Scaling Use the initial setting parameters shown below to set the input scaling upper and lower limit values Variable name Type Setting Ch Scl L Cfg INT Scaling lower limit 32 000 to 432 000 Ch amp Scl H Cfg INT Scaling upper limit 32 000 to 432 000 The I O number from 1 to 6 is included in place of ff in the variable name Output 1 to 2 Input 3 to 6 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 e Example Setting 1 If the input 1 signal of 0 to 10 V is to be sc
132. am and external controls to ensure that safety is maintained in the controlled system if one of the function modules stops The relevant outputs will stop if a partial fault level error occurs in one of the function modules e Always confirm safety at the connected equipment before you reset Controller errors with an event level of partial fault or higher for the EtherCAT Master Function Module When the error is reset all slaves that were in any state other than Operational state due to a Con troller error with an event level of partial fault or higher in which outputs are disabled will go to Oper ational state and the outputs will be enabled Before you reset all errors confirm that no Controller errors with an event level of partial fault have occurred for the EtherCAT Master Function Module e Always confirm safety at the connected equipment before you reset Controller errors for a CJ series opecial Unit When a Controller error is reset the Unit where the Controller error with an event level of observation or higher will be restarted Before you reset all errors confirm that no Controller errors with an event level of observation or higher have occurred for the CJ series Special Unit Observation level events do not appear on the Controller Error Tab Page so it is possible that you may restart the CJ series Special Unit without intending to do so You can check the status of the CJB UnitErrSta 0 0 to CJB UnitErrSta 3 9 error status variab
133. an mount to one Rack depends on the current consump tion of other units that are mounted P e Input Specifications and Functions D Item Voltage input Current input o Number of analog inputs 4 Q Input signal range 1 1to5V 4 to 20 mA 2 S Oto5V 0to 10 V 10 to 10 V 8 Resolution 4 000 8 000 full scale 6 Converted output data 16 bit integer INT Accuracy 4 0 2 of full scale 0 C to 55 C 0 4 of full scale A D conversion cycle 5 1 0 ms 500 us max per point Mean value processing Sampling data for the past N times is stored in the buffer and the average value is stored as the con version value Number of samplings N 2 4 8 16 32 64 Peak value hold Stores the maximum conversion value while the specified Peak Value Hold Execution bit is ON Scaling Enabled only for conversion cycle of 1 ms and resolution of 4 000 Setting any values within a range of 32 000 as the upper and lower limits allows the A D conversion result to be output with these val ues as full scale Input disconnection detection Detects the disconnection and turns ON the Disconnection Detected Bit 1 You can set input and output signal ranges for each input and output 2 Use the voltage current switch at the back of the terminal block to choose voltage input or current input 3 Operate the Analog I O Unit according to the input specifications provided here Operating the Unit outside these specifications will cause the Unit to
134. and Conversion Values i Setting Outputs and Signal Ranges e Number of Output The Analog Output Unit performs conversion processing only for the specified number of analog out puts Use Number of Analog Outputs Used _OutChUseCfg to set the number of analog outputs Variable name Type Setting OutChUseCfg USINT 0 No outputs used 1 One output used output 1 used 2 Two outputs used outputs 1 and 2 used 3 Three outputs used outputs 1 2 and 3 used 4 Four outputs used outputs 1 2 3 and 4 used vi O gt 5 m O O O E pt gt c eb Tl c 5 ct o 5 D A 5 2 O o O D ct 3 e U O o D Q c D 0 e n Cyclic Conversion Mode set fewer analog outputs to shorten the conversion period for analog out puts 20 us for 1 point 25 us for 2 points 30 us for 3 points 35 us for 4 points e Output numbers that you do not use will be output at 0 V e Output Signal Ranges You can set each of outputs 1 to 4 to one of the following output signal ranges 1 to 5 V 0 to 10 V or 10 to 10 V Use Output Output Signal Range Setting _Ch _OutRngCfg to specify the output signal range for each output Variable name Type Setting Ch _OutRngCtig USINT 1 0 to 10V 3 10 to 10V 6 1 to 5V An output number from 1 to 4 is included in place of in the variable name Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac St
135. anual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 e Response Time for a Resolution of 1 ms 4 000 Unit ms m n aa say T i gt gt Heus ms xs zs ws s h e Response Time for a Resolution of 500 us 8 000 nmi co Unit ms Je DW Da 3 12025 osas ss 172 0 o 3 sms us ss ss s fa is The above response times are not affected by the number of analog I O points that are used m Po oo p O gt 5 D o O 5 3 c F Tl c 5 O ct o 5 D D 5 2 O o o D ct 3 e U O O D Q c D 0 e Symbols m Number of input words used in initial setting parameters n Average number of samplings set for the input number for which to find the response time e Calculation Example The following example calculations are for a resolution of 8 000 with an application using inputs 1 and 4 64 samplings set for input 1 and no averaging set for input 4 e Response time for input 1 t 64 2 x 2 10 5 x 1 2 67 25 ms e Response time for input 4 t 1 x 2 2 x 1 2 2 ms 6 6 3 Peak Value Hold Function The peak value hold function holds the maximum digital conversion value for every input this includes mean value processing uondun4 pjoH SNJLA ALI 9 9 Digital conversion value Conversion value when the peak value hold function is used at Peak value hold t Time The peak value hold function is executed wit
136. anual for NJ series CPU Unit W490 4 11 gt e O O 3 3 O 5 D 5 0 9 5 2 o O gt o D 5 a 0 SJOJEOIPU z y 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C 4 3 4 Operating Mode Switch 4 12 The operating mode switch on the front panel of the Unit is used to set the operating mode to either Normal Mode or Adjustment Mode to adjust offset and gain In the case of CJ1W DAO8V 08C you can set Operating Mode Settings MaCfg to the Adjustment Mode 16 C1 and transfer the data setup file to switch to the Adjustment Mode Refer to Switching Operating Mode in 4 5 2 Accessing from the User Program e CJ1W DA021 041 4 IN MODE Pin number Mode 1 me OFF OFF Normal Mode ON OFF Adjustment Mode Note The default settings for SW1 and SW2 are both OFF Precautions for Safe Use Be sure to turn OFF the power of the Controller before operating the operating mode switch LA Precautions for Correct Use e Do not set the pins to any combination other than those shown in the above table e Be sure to set pin 2 to OFF CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C 4 4 Wiring 4 4 1 Terminal Arrangement The signal names that correspond to the connecting terminals are as shown in the following diagram e CJ1W DA021 CE T A 3 Q e CJ1W DA041 Kom jJuawaBueJIy jeuiuJ9 L p p e
137. any Unit when power is being supplied or immediately after the power supply is turned OFF Doing so may result in burn injury I Wiring Be sure that all terminal screws and cable connector screws are tightened to the torque specified in the relevant manuals The loose screws may result in fire or malfunction Dp Online Editing Execute online editing only after confirming that no adverse effects will be caused by deviations in the timing of I O If you perform online editing the task execution time may exceed the task period I O may not be refreshed with external devices input signals may not be read and output timing may change gt Using Analog I O Units With the CJ1W AD042 DA042V always connect surge suppressors to inductive loads in the system e g magnetic contactors relays and sole noids Always separate devices that generate surge from the Analog I O Units Faulty Unit operation may cause unexpected system operation gt 22 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Precautions for Safe Use Precautions for Safe Use i Disassembly and Dropping Do not attempt to disassemble repair or modify any Units Doing so may result in malfunction or fire Do not drop any Unit or subject it to abnormal vibration or shock Doing so may result in Unit malfunc tion or burning T Mounting The sliders on the tops and bottoms of the Power Supply Unit CPU Unit I O Units
138. ata type Data contents n destination from user program exchange Operation data Analog input conver I O port operation Device variable for At I O refreshing sion values analog data CJ series Unit output setting val ues etc Initial setting param Analog input signal I O port initial set Device variable for When the Controller eters range analog out ting parameters CJ series Unit is reset or the Unit put signal range etc restarts Unit Restart Bit etc Unit Restart Bit etc System defined vari At I O refreshing able The initial setting parameters are retained in the CPU Unit by the battery even during power interruptions e Device Variable for CJ series Unit Device variables for CJ series Unit are used for data exchange between a user program and Special I O Units The user program uses device variables for CJ series Unit to control the Analog I O Unit CJ1W MAD42 NJ series CPU Unit Analog I O Unit User program I O port Operation Data Operation data Operation data Conversion values of eee VO refresh analog input Device variable for CJ series Unit AT with Unit registration Set values of specification analog output etc I O refresh Device variable for CJ series Unit Refer to Operation Data in 6 5 3 Allocating Device Variables for CJ series Unit Initial setting parameters Initial setting parameters Initial setting parameters Automatic creation Analog input signal range Device va
139. awisn py ules pue las JO INdINO 1 Z 7 Common Items 7 12 7 With both the Up Flag and Down Flag the output changes by one resolution every 0 5 second while the Bit is ON If the Bit remains ON for 3 seconds the output changes by one resolution every 0 1 seconds Check the 10 V 5 V 20 mA output and then set the device variable for CJ series Unit Adjust ment Value Set Flag AdjSet to 1 and then return it to 0 While the device variable for CJ series Unit Gain Flag AdjGain is set to 1 the gain value will be saved to the Unit s non volatile memory when Adjustment Value Set Flag AdjSet turns ON To finish the offset adjustment set the device variable for CJ series Unit Offset Flag AdjOfs to 0 LA Precautions for Correct Use e Do not turn OFF the power supply or restart the Unit while the Set Flag is ON while data is written to the non volatile memory Otherwise illegal data may be written in the Unit s non volatile memory and Non volatile Memory Error may occur when the power supply is turned ON or when the Unit is restarted which will cause a malfunction e To make adjustments be sure to perform both the offset adjustment and gain adjustment at the same time EN Additional Information You can overwrite the non volatile memory 50 000 times i Clearing Offset and Gain Adjusted Values Follow the procedure outlined below to return the offset and gain adjusted values to their default set tings
140. before you remove the SD Memory Card Do not disconnect the cable or turn OFF the power supply to the Controller when downloading data or the user program from Support Software Always turn OFF the power supply to the Controller before you attempt any of the following Mounting or removing I O Units or the CPU Unit Assembling the Units e Setting DIP switches or rotary switches CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Precautions for Safe Use Connecting cables or wiring the system Connecting or disconnecting the connectors The Power Supply Unit may continue to supply power to the rest of the Controller for a few seconds after the power supply turns OFF The PWR indicator is lit during this time Confirm that the PWR indicator is not lit before you perform any of the above I Operation Confirm that no adverse effect will occur in the system before you attempt any of the following e Changing the operating mode of the CPU Unit including changing the setting of the Operating Mode at Startup Changing the user program or settings e Changing set values or present values Forced refreshing Always sufficiently check the safety at the connected devices before you change the settings of an EtherCAT slave or Special Unit f two different function modules are used together such as when you use CJ series Basic Output Units and EtherCAT slave outputs take suitable measures in the user progr
141. c potential between the computer and Controller may cause failure or malfunction If the external power supply to an Output Unit or slave has polarity connect it with the correct polar ity If the polarity is reversed current may flow in the reverse direction and damage the connected devices regardless of the operation of the Controller i Power Supply Design Do not exceed the rated supply capacity of the Power Supply Units in the NJ series Controller The rated supply capacities are given in the NJ series CPU Unit Hardware User s Manual Cat No W500 If the capacity is exceeded operation may stop malfunctions may occur or data may not be backed up normally for power interruptions Use NJ series Power Supply Units for both the NJ series CPU Rack and Expansion Racks Operation is not possible if a CJ series Power Supply Unit is used with an NJ series CPU Unit or an NJ series Power Supply Unit is used with a CJ series CPU Unit CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 23 24 Precautions for Safe Use Do not apply voltages or connect loads to the Output Units or slaves in excess of the maximum rat ings Surge current occurs when the power supply is turned ON When selecting fuses or breakers for external circuits consider the above precaution and allow sufficient margin in shut off performance Refer to the relevant manuals for surge current specifications Refer to the NJ series CPU Unit Hard ware Us
142. cessing Mean value Data 2 Data 1 Data 1 Data 1 4 2 28 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 3 With the third cycle data 3 is stored in the first history buffer Data 2 Mean value gt Conversion value processing Mean value Data 3 Data 2 Data 1 Data 1 4 Bunelado pue suonoun4 Indu bojeuy 9 2 U o O D Q c o o 4 With the fourth cycle data 4 is stored in the first history buffer Data 3 Mean value Conversion value processing Mean value Data 4 Data 3 Data 2 Data 1 4 5 With the fifth cycle data 5 is stored in the first history buffer DuisseooJg en eA VEN 2 9 2 Data 4 Mean value Conversion value processing Mean value Data 5 Data 4 Data 3 Data 2 4 e When a disconnection is restored the mean value processing function begins again from step 1 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 29 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 2 30 EN Additional Information e f the mean value processing function is used the delay in the conversion data in comparison to changes in the input signals will be as shown below e Specify no mean value processing to follow conversion of a rapid change in input signals Input signal to the Unit V Conversion data V Tim
143. command file do not change any thing in the file except for the yes and no specifications for the selectable data groups If you change anything else in the file the Controller may perform unexpected operation when you restore or automatically transfer the data I Unit Replacement e f you replace a CPU Bus Unit or Special I O Unit refer to operation manual for the Unit for informa tion on the data required for individual Units and redo the necessary settings e The absolute encoder home offset is backed up with a Battery in the CPU Unit When you change the combination of the CPU Unit and Servomotor e g when you add or replace a Servomotor define home again To restore the information without changing the CPU Unit Servomotor combination remove the absolute encoder home offset from the data to restore I Task Settings e f a Task Period Exceeded error occurs shorten the programs to fit in the task period or increase the setting of the task period r Motion Control Use the system defined variable in the user program to confirm that EtherCAT communications are established before you attempt to execute motion control instructions Motion control instructions are not executed normally if EtherCAT communications are not established Use the system defined variables to monitor for errors in communications with the slaves that are controlled by the motion control function module Motion control instructions are not executed
144. conversion value is maximized Gain adjustment 4000 f gt input range Input signal range 0 to 10 V 0 The following example uses input number 1 adjustment 7 Set the device variable for CJ series Unit Inputs to Be Adjusted _AdjCh to 16421 Adjustment of input 1 2 Set the device variable for CJ series Unit Gain Flag _AdjGain to 1 The device variable for CJ series Unit Conversion value for adjustment AdjPV will monitor the analog input s digital conversion values while the Gain Flag is ON 3 Check whether the input devices are connected Voltage input Current input J lt C QLG RE A a a For current input check that the voltage current switch is ON 7 6 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 Common Items 4 Input the voltage or current so that the conversion value is maximized 4000 or 8000 for a resolution of 8 000 The following table shows the gain adjustment voltages and currents to be input according to the input signal range Input signal range AdjPV monitor value O to 10 V 3800 to 4200 7600 to 8400 10 V to 10 V 1800 to 2200 3600 to 4400 1to5V 3800 to 4200 7600 to 8400 Oto5V 3800 to 4200 7600 to 8400 4 to 20 mA 3800 to 4200 7600 to 8400 Values in parentheses are for a resolution of 8 000 5 After inputting the voltage or current so that the conversion value is maxi
145. ctly set all of the EtherCAT slaves The NJ series Controller continues normal operation for a certain period of time when a momentary power interruption occurs This means that the NJ series Controller may receive incorrect signals from external devices that are also affected by the power interruption Accordingly take suitable actions such as external fail safe measures and interlock conditions to monitor the power supply voltage of the external device as required You must take fail safe measures to ensure safety in the event of incorrect missing or abnormal signals caused by broken signal lines momentary power interruptions or other causes Not doing so may result in serious acci dents due to incorrect operation eS Oooo Voltage and Current Inputs Make sure that the voltages and currents that are input to the Units and slaves are within the specified ranges Inputting voltages or currents that are outside of the specified ranges may cause accidents or fire o Downloading Always confirm safety at the destination before you transfer a user program configuration data setup data device variables or values in memory used for CJ series Units from the Sysmac Studio The devices or machines may perform unexpected operation regardless of the operating mode of the CPU Unit e CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 21 Safety Precautions Application Do not touch
146. ddresses for CJ series Unit A 17 Mounting position ess 2 2 3 2 4 2 5 2 Mounting Procedure rrrrrrnnnnnnvvnnrnnnnnnvvnnnnnnnnnnenennnnnnnnene 1 8 Mounting Restrictions ooonccccccoonccnnconnnnnnnnnanonnnnnanonnnos 1 7 N NOSO See 7 15 Non volatile memory sarene a a 1 5 Non volatile Memory Error in Adjustment Mode 7 16 Normal Mode escrit setene enes 7 3 Number of Analog Inputs Used 3 20 Number of Analog Outputs Used 5 17 Number of mean value processing 2 28 3 23 Number of samples for mean value processing 6 29 Number of sampling 2 28 3 23 6 29 O Offset Adjustment ouo aa tacna 7 5 7 9 Offset and Gain Adjustment rrrrnnnnnnnvnrnnnrrrnnnnnnnnnrrvenn 1 5 Succ Fig IEEE E I TM 7 4 7 9 Ofset volage user 7 2 ODGI OEC ee 7 14 Operating Mode Switch 2 11 4 12 Operation Mode Setting Error in Adjustment Mode rrrnnrrnnnnnnnvvnnrnnnnnnnnrnnvnnnnnnnre 7 17 Output CAlb loh seat corio ee caos 7 2 Output Function Block Diagram 4 3 5 3 OUTOUE HOT eM 1 4 4 28 Output Hold Setting Error sss 7 18 Output impedance uc expats 4 2 5 2 6 4 Output NuUmMDErS sus 4 25 OUPUL STANG earna 4 29 6 40 Output Set Value Error
147. device variable ResolutionCfg set the value to 16400 or 16 C1 16400 1 ms with resolution of 4 000 164C1 250 us with resolution of 8 000 If you set the operation mode in device variable MdCfg set the value to 16400 or 164C1 16400 Normal Mode 164C1 Adjustment Mode CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 If you set the conversion time and resolution in device variable ResolutionCfg set the value to 16400 or 164C1 16400 1 ms with resolution of 4 000 164C1 250 us with resolution of 8 000 If you set the operation mode in device variable MdCfg set the value to 16400 or 16 C1 16400 Normal Mode 164C1 Adjustment Mode 7 31 so 1uanIJ Z 7 suonduose 043 Z 7 Common Items Event name Meaning Source Error attributes Effects System defined variables Cause and correction Attached information Precautions Remarks Event name Meaning Source Error attributes Effects System defined variables Cause and correction Attached information Precautions Remarks 7 32 Output Signal Range Setting Error or Error In Number of Event code 348A 0000 hex Outputs Used Setting There is a mistake in the output signal range setting or in the number of outputs setting PLC Function Module Source details CJ series Unit Detection At power ON timing Controller reset or restart Level 0 V There is a mistake
148. device variable for CJ series Unit for example Ch1 PkHdCmd 3 16 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 CJ series Analog Input Units CJ1W AD042 3 5 3 Allocating Device Variable for CJ series Unit Initial Setting Parameters Perform Unit settings such as the analog input signal range number of operational mean samplings etc Initial setting parameters settings are set from Special Unit Setup Editing of Sysmac Studio Unit settings can also be performed by setting the values in the device variables for CJ series Unit Unit settings are reflected only when the Controller is reset or when the Unit restarts The initial setting parameters are retained in the CPU Unit by the battery even during power interruptions Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller reset or when the Unit restarts List of Initial Setting Parameters Name of device variable for InChUseCfg USINT RW Input Use Settings Refer to Setting Inputs and Signal Ranges in 3 6 1 Input Settings and Conversion Values 0 No inputs used 1 1 input used 2 2 inputs used 3 3 inputs used 4 4 inputs used Ch1 InRngCfg USINT RW
149. ditional Information e Use the device variable for CJ series Unit Input Use Settings Ch _InChUseCfg to set the analog input number that you can use e Use the device variable for CJ series Unit Input Signal Range Settings _ nRngCfg to set the input signal range for each analog input The input signal range can be set separately for each input number e The AG terminals are connected to the 0 V analog circuit in the Unit Connect the input line shield to improve noise resistance LA Precautions for Correct Use Do not make any connections to the N C terminals CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 13 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 2 4 2 Internal Circuit The following diagrams show the internal circuit of the analog input section e Input Circuit Q 15 KQ I TE Input circuiti rand i conversion circuit I I Input m Input Voltage current AG input switch analog 0 V AG common to all inputs e Internal Configuration Indicators Switch MPU interface RANJE Non volatile Oscillator Memory Division Multi plexer and amplifier c 9 amp gt o c w ES Q gt O O O O lt A Insulation type DC to DC converter I O Bus 2 14 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 CJ series Analog Input Units CJ1W AD041 V1 081 V
150. e ms Time ms For V 20 V 10 to 10 V 1 ms Conversion cycle 4 000 Resolution Using One Word t n 2 to 3 Using m Words 1 lt m x 8 No mean value processing n 1 or 2 samplings n t nx m 2 Number of samplings 4 lt n lt 64 t n 2 xm 10 5 250 us Conversion cycle 8 000 Resolution Using One Word t n 2 to 3 x 1 4 Using m Words 1 x m x 8 No mean value processing n 1 or 2 samplings n t nx m 2 x 1 4 Number of samplings 4 lt n lt 64 t n 2 x m 10 5 x 1 4 e Response Time at 1 ms Conversion cycle 4 000 Resolution Unit ms n m EN NUN TOS IO O DND O AJOI OINI C 220 5 Heus rs ss ms Ms e 444 5 108 5 52 5 24 5 18 Oo AI oO OD NI oOo oO gt e Response Time at 250 us Conversion cycle 8 000 Resolution Unit ms n m Cw x 137 3 317 1 NIOO AJOI O J CO 6 125 5 625 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 e Symbols m Number of input words used in initial setting parameters n Average number of samplings set for the input number for which to find the response time e Calculation Example The following example calculations are for a resolution of 8 000 with an application of inputs 1 and 8 64 samplings set for input 1 and no mean value processing set for input 8 e Response time for input 1 t 2 64 2
151. e Adjustment Mode 16 C1 and transfer the data setup file Set the operating mode switch to Adjustment Mode Reset the Controller or restart the Unit e The Special Unit is restarted and operates in the Adjustment Mode In the Adjustment Mode the ADJ indicator flashes e Set the CPU Unit to PROGRAM Mode Adjust the offset and gain Adjusting Offset and Gain is performed if the input must be calibrated for the connected device Set Operating Mode Settings MdCfg to the Normal Mode 16400 and transfer the data setup file set the operating mode switch to Normal Mode Reset the Controller or restart the Unit The Special Unit is restarted and operates in the Normal Mode In the Normal Mode the ADJ indicator remains unlit e Main Operation 7 Main Operation e Read or write set values from the user program e Start and stop conversion output e Specify the peak value hold function e Obtain disconnection detection and error flag CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 6 3 Components and Switch Settings 6 3 1 Component Names e Front With Terminal Block With Terminal Block Removed Indicators Terminal block UJ Jio oll Jio QI User cating switch Co Co 6 Voltage current switch EEG Jesse 6 Terminal block bn M3 screws DIN Track mo
152. e Special I O Unit is not performed correctly resulting in the Unit malfunctioning the ERH indicator will light e ERH and RUN Indicators Lit RUN T ERC B ERH Oi Lit ADJ W Bl Not lit The ERH and RUN indicators will light if an error occurs in the I O bus causing a WDT watchdog timer error in the CPU Unit resulting in incorrect I O refresh with the Unit Correct the cause of error and then reset the Controller or cycle the power I O bus check error An error occurred during Conversion data becomes Output value set by output data transmission with the 0000 hold function CPU Unit CPU Unit monitoring No response from CPU Maintains the condition Status from before error is error see note Unit during fixed period existing before the error maintained CPU Unit WDT error An error was generated in Changes to undefined Output value set by output CPU Unit state hold function e ERH Indicator Lit RUN Indicator Not Lit MAD42 RUN lg ANIDO SUMEIV pue S10113 USym Z Z 7 ERC MI ERH L1 tit ADJ NM B Notit The unit number for the Unit has not been set correctly Duplicate Unit Number The same unit number Conversion does not start The output value will be O has been assigned to and data becomes 0000 V more than one Unit or the HUN MdO 9y Ul S404 c Z unit number was set to a value other than 00 to 95 I O Setting Check The Special I O Units reg Error istered in the Unit
153. e The analog output when conversion is stopped depends on the output signal range setting and output hold function setting Refer to Output Signal Ranges on page 5 17 5 6 2 Output Hold Function e Conversion will not begin under the following conditions even if the Conversion enable function is turned ON and the output hold function will operate Refer to 5 6 4 Outout Setting Errors 1 When there is an output setting error 2 When a major fault level Controller error occurs e When the CPU Unit changes from the RUN Mode to PROGRAM Mode all output for the device variable for CJ series Unit ConvCmd will change to the status of conversion disabled This also happens when the Controller is reset including when the power is turned ON The output status at this time depends on the output hold function 5 6 2 Output Hold Function The Analog Output Unit stops conversion under the following conditions and outputs the value set for the output hold function 7 When the Conversion Enable Bit is OFF in Cyclic Conversion Mode Refer to 5 6 1 Output Settings and Conversion Values 2 When there is an output setting error Refer to 5 6 4 Output Setting Errors on page 5 21 3 When a major fault level Controller error occurs 5 18 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 5 CJ series Analog Output Unit CJ1W DA042V You can select CLR HOLD or MAX for the output status when conversion stops Output signal CLR HOL
154. e as above Analog output 3 Same as above Analog output 4 Same as above n kh o y D o S ct o D I O refresh ueJ6eiq y2ojg uonouny 1ndino 2 L G CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 5 3 5 CJ series Analog Output Unit CJ1W DA042V 5 1 3 Output Specifications If the set value is outside the specified range given below an output setting error will occur and the out put specified by the output hold function will be output i Range 1to 5 V Analog output signal Set value i 0 410 000 i Resolution 10 000 i Range 0 to 10 V Analog output signal 105V 10V 5 4 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 5 CJ series Analog Output Unit CJ1W DA042V Range 10 to 10 V Analog output signal 11 V 10 V 0 V A AA ER esse 10 V 11 V 4 l 20 000 0 sn 420 000 Set value 1 22 000 i Resolution 40 000 22 000 n kh o y D o S ct o D suoneoioeds INdino 1 S CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 5 5 5 CJ series Analog Output Unit CJ1W DA042V 5 2 Operating Procedure Follow the procedures outlined below when using the Analog Output Unit There is no restriction regarding the sequence of Programs and software settings and Hardware set ting and Rack assembly These tasks may be carried out concurrently
155. e current switches Refer to 2 3 5 Volt age Current Switch for further details e For inputs you do not use set them to Not Used in the input number settings refer to Setting Use Settings and Input Signal Ranges in 2 6 1 Input Settings and Conversion Values If they are set to Used and actually not used unintended conversion data may be input To prevent this short circuit the voltage input terminals V and V Take note that in the case of a range from 1 to 5 V or 4 to 20 mA short circuiting V and V causes the Disconnec tion Detected bit to turn ON e Do not connect anything to N C terminals shown in the wiring diagram on 2 4 1 Terminal Arrangement CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 2 4 5 Input Wiring Considerations When you wire inputs apply the following points to avoid noise interference and optimize Analog Input Unit performance e Use two core shielded twisted pair cables for input connecting lines e Route input cables separately from the AC cable and do not run the Unit s cables near a main circuit cable high voltage cable or a non PLC load cable e f there is noise interference from power lines for example the power supply is shared with electrical welding devices or electrical discharge machines or there is a high frequency generation source nearby install a noise filter at the power supply input area 9
156. e default settings for SW1 and SW2 are both OFF CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 11 n2 e O O 3 o O 5 o 0 o 3 2 o O gt ee D 5 e 0 SOY9HMS JOQUINN HUN E E C 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 Precautions for Safe Use Be sure to turn OFF the power of the Controller before operating the operating mode switch Lal Precautions for Correct Use Do not set the pins to any combination other than those shown in the above table e Be sure to set pin 2 to OFF 2 3 5 Voltage Current Switch Change the pin settings on the voltage current switch located on the back of the terminal block to switch the analog conversion input from voltage input to current input OFF Voltage input ON Current input JI Input 2 4 Input 1 J Input 4 4 Input 3 Input 6 4 Input 5 J Input 8 4 Input 7 Note There are only four inputs for the CJ1W AD041 V1 Precautions for Safe Use Be sure to turn OFF the power to the Controller before you mount or remove the terminal block 2 12 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 2 4 Wiring 2 4 1 Terminal Arrangement The signal names that correspond to the connecting terminals are as shown in the following diagram Ja 3 5 e e CJ1W ADO041 V1 JUSUWISBue uy euiuJ9 L p 2 EN Ad
157. e ds 4 11 4 3 3 Unit Number Switches llllllleeelee es 4 11 4 3 4 Operating Mode Switch 0 0 cc ee ees 4 12 AxA WANING idos SeeD 4 13 4 4 1 Terminal ARANGEMEN vadere gs en STN 4 13 442 Internal Cwreu uersus S E eee bandt edlere 4 14 4 4 3 Output Wiring Example o o o o ooooooonoo nes 4 15 4 4 4 Output Wiring Considerations llle 4 16 4 5 Exchanging Data with the CPU Unit L L 4 17 4 5 1 Outline or Data EXChande xis Rt ccce Ree Ra are eae ea 4 17 4 5 2 Accessing from the User Program 0 0 00 eee ee 4 18 4 5 3 Allocating Device Variable for CJ series Unit 4 19 4 6 Analog Output Functions and Operating Procedures 4 25 4 6 1 Output Settings and Conversion Values eee eee 4 25 A 6 2 gt Owuro FUNCION said Terek BG Ee VEE oe e 4 28 4 6 3 Output Scaling Function CU1W DAO8V 08C Only 4 29 4 6 4 Output Set Value Error 0 eens 4 31 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 1 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C 4 1 Specifications 4 1 1 Specifications Item CJ1W DA021 CJ1W DA041 CJ1W DA08V CJ1W DA08C Unit type CJ series Special I O Unit Isolation Between outputs and internal signals Photocoupler 1 No isolation between output signals External connection terminal 18 point detachable terminal block M3 screws Cur
158. e following information is provided on a Con troller built with an NJ501 CPU Unit CPU Unit operation CPU Unit features Initial settings Programming based on IEC 61131 3 lan guage specifications Use this manual together with the NJ series CPU Unit Hardware User s Manual Cat No W500 Describes the operating procedures of the Sys mac Studio The functions and usage of the CJ series Ana log Input Units Analog Output Units and Ana log I O Units for using them in an NJ series configuration are described The functions and usage of the CJ series Ana log Input Units Analog Output Units and Ana log I O Units for using them in a CJ series configuration are described 37 Revision History Revision History A manual revision code appears as a suffix to the catalog number on the front and back covers of the manual Cat No W490 E1 03 A Revision code Revision code Date Revised content 01 July 2011 Original production 02 March 2012 Corrected errors 03 August 2012 Made changes accompanying release of unit version 1 03 of the CPU Unit 38 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 System Design This section describes the features and system configurations of the CJ series Analog I O Units which you can connect to the NJ series CPU Unit 1 1 1 2 1 3 Features and Functions 000 cee eee es 1 2 Mouting the Uni de UE NET ERU 1 7 1 2 1
159. e for CJ series Unit by using I O Map 2 Create Unit initial setting parameters Create the Unit settings by using Special Unit Setup Editing e Set the output numbers to be used e Set the output signal ranges e Set the output hold function When the program is transferred the items set here will be reflected in the initial setting parameters e Hardware setting and Rack assembly 7 Set the operating mode switch on the front panel of the Unit to Normal Mode Use the unit number switches on the front panel of the Unit to set the unit number Set the same unit number as in the Unit Configuration settings 3 Mount and wire the Unit to either a CPU Rack or Expansion Rack Turn ON the power to the Controller At this time an I O Setting Check Error occurs when there is a Unit Configuration in the CPU Unit which does not match the actual Unit Configuration In this case in steps 2 and 6 Turn the external power OFF Turn OFF the power to the Controller of the following process turn off the power to the Controller or reset the Controller to cancel the error 5 Turn ON the power to the external devices e Program transfer and adjustment 7 Transfer programs Unit Configuration and Setup and variable information 2 Turn the external power OFF 4 6 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C Turn OFF the power to the Controller Reset the Controller fro
160. e of 4 98 V is output the conversion data will be 3980 With the offset and gain adjustment functions the values are converted from 0 95 V to 4 98 V to O to 4000 respectively instead of 50 to 3980 Output device offset and gain Converted data before Converted data after voltage adjustment adjustment 100 0 50 100 0 500 0 3980 47960 4000 8000 Resolution 8 000 Output Calibration Function This function adjusts output voltages according to input device offset values and gain values and takes the presently set values of the Unit to be 0 and 4000 or 2000 when the range is 10 V respectively For example assume that the specifications for an external input device such as a display device are 100 0 to 500 0 If voltage is output by the Analog Output Unit at a set value of 0000 and the actual display at the external input device shows not 100 0 but 100 5 you can adjust the output volt age lowered in this case so that the display will show 100 0 and you can set the set value 5 in this case when the display shows exactly 100 0 to 0 Similarly for the gain value if the Analog Output Unit outputs voltage at a set value of 4000 and the actual display at the external input device shows not 500 0 but 500 5 you can adjust the output voltage lowered in this case so that the display will show 500 0 and you can set the set value 3995 in this case when the display shows exactly 500 0 to 4000 Display at e
161. e processing with 32 samplings 6 Mean value processing with 64 samplings An input number from 1 to 4 is included in place of in the variable name Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller is reset or when the Unit restarts P O gt 5 m o O 5 3 c F Tl c 5 o ct o 5 D o 5 2 O o O S ct 3 e U O o D Q c D 0 EN Additional Information The history buffer moving average is calculated as shown in the following diagram In this exam ple there are four buffers 1 With the first cycle Data 1 is stored in all the history buffers Data 1 Mean value Conversion value processing Mean value Data 1 Data 1 Data 1 Data 1 4 BuIssa201q en eA uee N Z 9 9 2 With the second cycle Data 2 is stored in the first history buffer Data 1 Mean value Conversion value processing Mean value Data 2 Data 1 Data 1 Data 1 4 3 With the third cycle Data 3 is stored in the first history buffer Data 2 Mean value Conversion value processing CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 29 6 CJ series Analog I O Unit CJ
162. ed in Unit Configuration By default a device name is assigned from J01 in the order of registration in the Unit Configuration This identifies the individual unit For details on creation of device variables for CJ series Unit refer to Sysmac Studio Version 1 Opera tion Manual Cat No W504 There are two types of device variables for CJ series Unit Operation Data and Initial Setting Param eters In the explanations from here on the device name automatically created is used as the device variable for CJ series Unit for example Ch ConvCmd 4 18 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C i Switching Operating Mode You can switch between the Normal Mode and Adjustment Mode during offset and gain adjustments etc depending on the model as follows Model Setting method Normal Mode Adjustment Mode CJ1W DA021 041 Set the front DIP switch ON OFF E MODE CJ1W DA08V 08C Set device variable for CJ series MdCfg 16 00 MdCfg 16 C1 Unit 4 5 3 Allocating Device Variable for CJ series Unit i Initial Setting Parameters Perform unit setting such as output use setting analog output signal range etc gt e m gt lt o gt D 5 e 5 e U D F D F gt pg gt OD O U c c 5 Initial setting parameters settings are set from Special Unit Setup Editing of Sysmac Studio Unit settin
163. ed in places where the power supply is unstable Make sure that the current capacity of the wire is sufficient Otherwise excessive heat may be gener ated When cross wiring terminals the total current for all the terminals will flow in the wire When wiring cross overs make sure that the current capacity of each of the wires is not exceeded Do not touch the terminals on the Power Supply Unit immediately after turning OFF the power sup ply Residual voltage may cause electrical shock f you use reed switches for the input contacts for AC Input Units use switches with a current capac ity of 1 A or greater If the capacity of the reed switches is too low surge current may fuse the contacts CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 29 Precautions for Correct Use i Error Processing e n applications that use the results of instructions that read the error status consider the affect on the system when errors are detected and program error processing accordingly For example even the detection of a minor error such as Battery replacement during operation can affect the system depending on how the user program is written e f you change the event level of a Controller error the output status when the error occurs may also change Confirm safety before you change an event level i Restoring and Automatically Transferring Data When you edit the restore command file or the automatic transfer
164. efer to Switching Operating Mode in 6 5 2 Accessing from the User Program 16400 Normal Mode 16 C1 Adjustment Mode Refer to Conversion Cycle and Resolution Setting in 6 6 1 Input Settings and Conver sion Values 16 00 4 000 resolutions 1 ms cycle 16 C1 8 000 resolutions 500 us cycle CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 23 P a m gt lt o D 3 e 5 e U D P D 3 eb 3 O U c c 5 2 HUN S9119S PD 10 SSJQBIBA SINS Duneoo v 8 9 6 CJ series Analog I O Unit CJ1W MAD42 i Operation Data during Normal Mode Name of device variable for CJ series Type R W Feature reference page Unit Chi WrAO KJ RE Output 1 Set Value Refer to Setting Use Settings and Output Sig Ch2 WrAO RW Output 2 Set Value nal Ranges and Writing Set Values in 6 7 1 Ch1 RdAI INT R Input 1 Conversion Data Refer to Reading Conversion Values in 6 6 1 Ch2_RdAl INT R Input 2 Conversion Data Input Settings and Conversion Values Ch3 RaAI INT R Input 3 Conversion Data ConvPkHdCmd BYTE RW Peak Value Hold and Output BYTE type variable that com Bit Conversion Enable Settings bines the following BOOL type Number variables Ch2 ConvCmd BOOL RW Output 2 Conversion Enable Conversion In 6 7 1 Output Set cm tings and Conversion Values 1 Start conversion output Ch1 PkHdCmd kar 1 Peak Value Hold Exe Refer to 6 6 3 Peak Value Hold
165. emory failed If the above cause does not apply None replace the Unit None are nearby sources of noise None 7 27 so 1uanI Z 7 suonduose 044 Z 7 Common Items Event name Mean Value Processing Setting Error 34800000 hex Meaning There is a mistake in the setting of the number of samplings for mean value processing Source PLC Function Module Source details CJ series Unit Detection At power ON timing Controller reset or restart Error attributes Effects Conversion will not start for the Unit and the data will be 0 liene None GEO There is a mistake in the setting of the Correct the number of average sam Set the number of average samplings number of samplings for mean value plings to a value between 0 and 6 to a value between 0 and 6 processing Change the setting and then restart the Unit Attached None information Precautions None Remarks Event name Scaling Data Setting Error 34830000 hex Meaning There is a mistake in the scaling data settings Source PLC Function Module Source details CJ series Unit Detection At power ON timing Controller reset or restart Error attributes Effects EN program Continues Operation Conversion will not start at the Unit The output will be 0 V for D A conversion and the data will be 0 for A D conver sion System defined Cause and Prevention COME on The upper or lower limit data for scal Correct the set values of the scali
166. enced engineer replace the Battery Make sure that an expe rienced engineer is in charge of Battery replacement CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 27 28 Precautions for Safe Use Apply power for at least five minutes before changing the Battery Install a new Battery within five minutes at 25 C of turning OFF the power supply If power is not supplied for at least 5 minutes the saved data may be lost i Unit Replacement e We recommend replacing the Battery with the power turned OFF to prevent the CPU Unit s sensitive internal components from being damaged by static electricity and to prevent malfunctions The Bat tery can be replaced without turning OFF the power supply To do so always touch a grounded piece of metal to discharge static electricity from your body before you start the procedure After you replace the Battery connect the Sysmac Studio and clear the Low Battery Voltage error Make sure that the required data including the user program configurations settings variables and memory used for CJ series Units is transferred to a CPU Unit that was replaced and to externally connected devices before restarting operation Be sure to include the routing tables network parameters and other CPU Bus Unit data which are stored in the CPU Unit Disposal Dispose of the product and Batteries according to local ordinances as they apply 1 va FEE th iA EG e The following i
167. entifies the unit function status and parameter This is the device name when this unit is registered in the Unit Configuration By default a device name is assigned from J01 in the order of registration in the Unit Configuration This identifies the individual unit For details on creation of device variables for CJ series Unit refer to Sysmac Studio Version 1 Opera tion Manual Cat No W504 There are two types of device variables for CJ series Unit Operation Data and Initial Setting Param eters In the explanations from here on the device name automatically created is used as the device variable for CJ series Unit for example Ch ConvCmd 5 14 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 5 CJ series Analog Output Unit CJ1W DA042V 5 5 3 Allocating Device Variables for CJ series Unit Initial Setting Parameters Perform Unit settings such as output usage setting analog output signal range etc Initial setting parameters settings are set from Special Unit Setup Editing of Sysmac Studio Unit settings can also be performed by setting the values in the device variables for CJ series Unit Unit settings are reflected only when the Controller is reset or when the Unit restarts The initial setting parameters are retained in the CPU Unit by the battery even during power interruptions Precautions for Safe Use e When initial setting parameters are set and transferred from Sysm
168. er Program 0 000 cee ees 3 16 3 5 3 Allocating Device Variable for CJ series Unit 3 17 3 6 Analog Input Functions and Operating Procedures 3 20 3 6 1 Input Settings and Conversion Values 0 00 cece eee ee eens 3 20 3 6 2 Mean Value Processing 0 00 ccc eee eee eee eee ees 3 22 3 6 3 Input Scaling Function 2 2 6 cs 26 es I bi wee 93 3 33 3 24 3 6 4 Peak Value Hold Function 0 0c eee ees 3 26 3 6 5 Input Disconnection Detection Function llli 3 27 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 1 3 CJ series Analog Input Units CJ1W AD042 3 1 Specifications 3 1 1 Specifications Unit model CJ1W AD042 Unit type CJ series Special I O Unit Isolation 1 Between inputs and internal signals Digital isolator No isolation between input signals External connection terminal 18 point detachable terminal block M3 screws Current consumption 520 mA at 5 VDC Dimensions mm 2 31 x 90 x 65 W x H x D Weight 150 g max General specifications Conforms to general specifications for NJ Series Mounting position NJ series CPU Rack or NJ series Expansion Rack Maximum number of Units Per CPU Rack or Power Supply Unit No of mountable Units EXPANSION RACK NJLRASOOI Max 7 units on CPU Rack 3 Max 9 units per Expansion Rack NJ PD3001 Max 7 units on CPU Rack Max 9 units per Expansion Rack Data
169. er from 1 to 4 is included in place of in the variable name Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller is reset or when the Unit restarts i Reading Conversion Values Analog input conversion values are output to the device variable for CJ series Unit Input Conversion Data Ch RdAl shown below q O gt 5 O O 3 c T c 5 o o 5 D D 5 2 O O D ct 3 e U O o D Q c D 0 Variable name Type Ch _RdAl INT An input number from 1 to 4 is included in place of in the variable name Sen eA UOISIBAUOD pue Sullas indu 9 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 21 3 CJ series Analog Input Units CJ1W AD042 3 6 2 Mean Value Processing In Cyclic Conversion Mode the Analog Input Unit can compute the mean value of the conversion values of previously sampled analog inputs Mean value processing involves an operational mean value in the history buffers so it has no effect on the data refresh cycle The number of history buffers that you can set for mean value processing is 2 4 8 16 32 64 128 256 or 512 Buffer 2 Buffer 3 Mean value MU
170. er s Manual Cat No W500 for surge current specifications If the full dielectric strength voltage is applied or turned OFF using the switch on the tester the gener ated impulse voltage may damage the Power Supply Unit Use the adjustment on the tester to grad ually increase and decrease the voltage Apply the voltage between the Power Supply Unit s L1 or L2 terminal and the GR terminal when test ing insulation and dielectric strength Do not supply AC power from an inverter or other device with a square wave output Internal temper ature rise may result in smoking or burning Always input a sinusoidal wave with the frequency that is given in the NJ series CPU Unit Hardware User s Manual Cat No W500 Install external breakers and take other safety measures against short circuiting in external wiring i Turning ON the Power Supply It takes up to approximately 10 to 20 s to enter RUN mode after the power is turned ON During that time outputs will be OFF or will be the values specified in the Unit or slave settings and external communications cannot be performed Use the RUN output on the Power Supply Unit for example to implement fail safe circuits so that external devices do not operate incorrectly Configure the external circuits so that the power supply to the control system turns ON only after the power supply to the Controller has turned ON If the power supply to the Controller is turned ON after the control power supply tempo
171. eries Unit Output Output Set Value Error _Ch MVErr shown below to acquire the error status of the analog output setting value s10113J Bunes 1ndino p 9 G Variable name Type Setting Ch MVErr BOOL 0 No error 1 Setting error An output number from 1 to 4 is included in place of in the variable name You can also perform batch readout with the device variable for CJ series Unit Output Set Value Error MVErr shown below Variable name Type MVErr BYTE Bit 07 06 05 04 03 02 01 00 C QU st Output Output Output Output 1 EN Additional Information The voltage for an output number at which a setting error occurred will be output according to the output hold function CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 5 21 5 CJ series Analog Output Unit CJ1W DA042V 5 22 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 CJ series Analog I O Unit CJ1W MAD42 This section explains how to use the CJ1W MAD42 Analog I O Unit GT SOECITICATONS ooet 20 pekes TTS Feb 6 3 6 1 1 SPECITICATIONS aa Nede 6 3 6 1 2 1 0 Function Block Diagram aavauvv arr ees 6 5 6 13 Inp t SpeCiiCaliOns 2 sd Foe ee oe hes o erd 6 5 6 1 4 Output Specifications Lucus sv 9e REY Eu e A uobx REY 6 7 6 2 Operating Procedure i 03 2 04 ari da edd ez ue See 6 9 6 3 Components and Switch Settings 6 11 6 3 1 Component Names vetta dre
172. error table Event name Gives the name of the error Gives the code of the error Meaning Gives a short description of the error Source Gives the source of the error Source details Gives details on Detection Tells when the Error attributes Tells the level of Recovery Gives the recov Log category Effects User program Tells what will hap Operation variables the source of the timing error is detected error Tells which log influence on con ery method 2 the error is saved trol 1 in 3 Provides special information on the operation that results pen to execution of from the error event the user pro gram 4 System defined Variable Data type Name Lists the variable names data types and meanings for system defined variables that provide direct error notification that are directly affected by the error or that contain settings that cause the error Cause and cor Assumed cause Correction Prevention rection Lists the possible causes corrections and preventive measures for the error Attached This is the attached information that is displayed by the Sysmac Studio or an NS series PT information Precautions Provides precautions restrictions and supplemental information If the user can set the event level the event levels Remarks that can be set the recovery method operational information and other information are also provided 1 One of the following 2 3 4 Major fault Major fault
173. es 2 26 3 21 6 27 SE 4 P 7 20 Restano UNS ae 7 20 O A see ER nen 7 14 S SANG LOS 1 6 A 7 Scaling Data Setting Error esses 7 18 Special Unit Setup Editing 2 20 3 17 4 19 5 15 6 22 Square Root Calculation oooccccccccccnconconcnnnnncnnnnnnnnos A 10 Standby Sequence van ie ede hee ke A 4 Starting and Stopping Conversion 4 27 5 18 6 38 Switching Operating Mode 2 20 4 19 6 21 System defined variable ssseeesssse 7 20 U Unit Configuration 2 19 3 16 4 18 5 14 6 21 Upper and Lower limit Alarm A 3 A 4 V Voltage Input Disconnection 2 15 3 12 6 17 Voltage current for disconnection detection 2 32 3 27 Voltage Current Range Setting 6 27 6 36 Voltage Current Switch sueueuss 2 12 6 14 W Words allocated in CIO Area esssssse A 17 Words allocated in DM Area sssssssse A 17 Writing Set Values 4 26 5 17 6 37 Index 3 Index Index 4 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Authorized Distributor
174. es 5 2 e When the Conversion Enable Bit is OFF 6 Output Set Value Error major fault level Controller error of the CPU Unit Scaling Setting values in any specified unit within a range of 32 000 as the upper and lower limits allows D A conversion to be executed and analog signals to be output with these values as full scale 1 Do not apply a voltage higher than 600 V to the terminal block when you perform a withstand voltage test on this Unit Otherwise internal elements may deteriorate 2 Heferto A 1 Dimensions for Unit dimensions 8 The maximum number of Analog Input Units that you can mount to one Rack depends on the Power Supply Unit mounted 4 You can set output signal ranges for each output 5 Conversion time is the time required for converting and outputting the CPU Unit data At least one task period is required for CPU Unit data to be read into an Analog Output Unit CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 5 CJ series Analog Output Unit CJ1W DA042V 6 The Output Conversion Enable Flag turns OFF when the CPU Unit shifts from RUN Mode to PROGRAM Mode as well as when the Controller is reset including when the power turns ON The output status specified according to the output hold function will be output 5 1 2 Output Function Block Diagram Analog Output Unit CPU Unit I O port Chi_WrAO Analog output 1 evasion Output value hold Output 1 Set Value Analog output 2 Sam
175. es Analog Output Unit CJ1W DA042V This section explains how to use the CJ1W DA042V Analog Output Units 5 1 SDECITICATIONS 2 25 dnm ria a see 5 2 5 1 1 SDECINICATIONS ae iaa ea oa ee 5 2 5 1 2 Output Function Block Diagram 0 0 ees 5 3 54 3 Output SpeciflCcallOns 2534 vr 424 ar es bos kee Oe ker 5 4 5 2 Operating Procedure isse TF 5 6 5 3 Components and Switch Settings oo ooooooomoooooo 5 8 5 3 1 Component Names excu a e Re ae RO C ACRI 5 8 J92 gdlCalolS as Nea 5 9 5 3 3 Unit Number Switches 0 0 0 ccc eens 5 9 5 4 NVNING Sat A eee eet AAA E A 5 10 5 4 1 Terminal Arrangement scort rele ort co aa oe eee ee co UR Men eee 5 10 542 MENA GIIQUIE oo Deu xoi A SS ee eee So 5 11 5 4 3 Output Wiring Example 0 0 eens 5 11 5 4 4 Output Wiring Considerations 0 0 0 cc ee ees 5 12 5 5 Exchanging Data with the CPU Unit L 5 13 5 5 1 Outline of Data Exchange ti re NE eens 5 13 5 5 2 Accessing from the User Program 0 0 cee eee eee 5 14 5 5 3 X Allocating Device Variables for CJ series Unit ooo 5 15 5 6 Analog Output Functions and Operating Procedures 5 17 5 6 1 Output Settings and Conversion Values ee eens 5 17 5 6 2 Output Hold Function 0 0 ccc ees 5 18 5 6 3 Output Scaling Function so da A AAA need Ve 5 19 5 6 4 Output Setlirig Errors xi
176. es Units and Memory Addresses for CJ series Units rrrrrnnnnnvrvnnnnnnnnnnnnnnnennnnnnnnnnnnnnnnnnnnnnenennnnnnner A 17 A 4 1 A EE er ra A 18 BAD A T A 21 TN eee A 25 P OM A 27 AAS CU ED EEE EE A 28 A 4 6 WWE AOS DS di A 30 F NS AN A 34 A 4 8 EIN NNN A 36 Index CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Read and Understand this Manual Read and Understand this Manual Please read and understand this manual before using the products Please consult your OMRON representative if you have any questions or comments Warranty and Limitations of Liability WARRANTY OMRON s exclusive warranty is that the products are free from defects in materials and workmanship for a period of one year or other period if specified from date of sale by OMRON OMRON MAKES NO WARRANTY OR REPRESENTATION EXPRESS OR IMPLIED REGARDING NON INFRINGEMENT MERCHANTABILITY OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS ANY BUYER OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE OMRON DISCLAIMS ALL OTHER WARRANTIES EXPRESS OR IMPLIED LIMITATIONS OF LIABILITY OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS WHETHER SUCH CLAIM IS BASED ON CONTRACT WARRANTY NEGLIGENCE OR STRICT L
177. es that are displayed when you check pro gram on the Sysmac Studio and how to correct those errors The appendices describe the following Driver Installation for Direct USB Cable Connection Specifying One of Multiple Ethernet Interface Cards Online Help Simulation Instructions CJ series Analog I O Units Operation Manual for NJ series CPU Unit Cat No W490 This Manual Section Section 1 System Design Section 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 Section 3 CJ series Analog Input Units CJ1W AD042 Section 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C Section 5 CJ series Analog Output Unit CJ1W DA042V Section 6 CJ series Analog I O Unit CJ1W MAD42 Section 7 Common Items Appendices Description This section provides a brief description of the features and the functionality of the Analog I O Units and describes where and how to install the Units This section provides the specifications of the CJ1W AD041 V1 081 V1 Analog Input Units and describes how to wire and use the Units This section provides the specifications of the CJ1W AD042 Analog Input Units and describes how to wire and use the Units This section provides the specifications of the CJ1W DA021 041 08V 08C Analog Output Units and describes how to wire and use the Units This section provides the specifications of the CJ1W DA042V Analog Output Units and describes how to wire and use the Units This
178. ether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller reset or when the Unit restarts 2 20 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 List of Initial Setting Parameters common to both Normal Mode and Adjustment Mode Y al m gt lt o gt D 5 e 5 e U D D 3 gt OD O U c c 5 Number of samplings 4 Hun SALSS Y JO ejqeueA aomeg Bugeoollv G 7 1 2 3 Number of samplings 8 4 9 Ch4 AveCfg UINT Ch7 AveCfg UINT Name of device variable for Type R W Feature reference page CJ series Unit InChUseCfg WORD RW Input Use Settings Refer to 2 6 1 Input Settings and Bit Conversion Values Number WORD type variable that com bines the following BOOL type variables Chi_InChUseCfg BOOL Input 1 Use Setting BOOL type variable that specifies Ch2 InChUseCtg BOOL Input 2 Use Setting each input for use setting 0 Not used Ch3 InChUseCfg BOOL RW Input 3 Use Setting Ch4 InChUseCfg BOOL Input 4 Use Setting Ch5 to Ch8 are used only for Ch5 InChUseCfg BOOL Input 5 Use Setting ADOSEVI Ch6 InChUseCfg BOOL Input 6 Use Setting Ch7 InChUseCfg BOOL Input 7 Use Setting Ch8 InChUseCfg BOOL Input 8 Use Setting nRngCfg WORD
179. etting UseRatioBias Variable name Type Setting UseRatioBias BYTE 16400 to 16 FF Bit 07 06 05 04 03 02 01 00 QW o o O O O O 00 Not used 01 Use positive gradient conversion 10 Use negative gradient conversion 11 Same as 00 above EN Additional Information The response time of ratio conversion input to output conversion is 850 us for a resolution of 4 000 and 420 us for a resolution of 8 000 6 44 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 I Specifying Ratio Set Value and Bias oet the initial setting parameters shown below for ratio conversion constant A ratio set value and ratio conversion constant B bias value e Ratio conversion constant A Loop Ratio Conversion Constant A Ch Cfg Const A Variable name Type Setting Ch amp Cfg Const A WORD 1640000 to 1649999 0 00 to 99 99 Variable name ff is Loop 1 to 2 e Ratio conversion constant B Loop Ratio Conversion Constant B ChZ Cfg Const B Variable name Type Setting Ch Cfg Const B INT 32768 to 432767 Variable name ff is Loop 1 to 2 Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Uni
180. ettings Name Setting target Setting contents Unit Configuration CPU Expansion Racks in Configura Mount CJ1W AD081 V1 in slot 0 of the tion and Setup of Sysmac Studio CPU Rack Device name of this unit J01 Unit number Unit number switch and Unit Config Unit number 0 X101 0 X100 0 uration CPU Expansion Racks screen in Configuration and Setup of Sysmac Studio Operating mode Operating mode switch Normal Mode Initial setting parameters Resolution conversion time Initial setting parameters 4000 1 ms settings Use settings Use input 1 Input signal range settings 0to 10 V e Defined variables System defined variable Name Data type Factory setting Contents P On BOOL pe Always ON Flag ON when the power is supplied User defined variables To be defined before or when creating a program Name Data type Factory setting MR CE Comments OverUnder BOOL False Alarm Flag indicating value is Limit outside the range of upper lower limits MaxLimit ET 3900 Sets the upper limit Wait Seq BOOL False Indicates that the value has entered the range of upper lower limits once after the start of oper ation CmpOut BOOL False Indicates the results of compari son between the upper and lower limits Device variables for CJ series Unit Create them on the I O Map screen after the Unit Configuration is created Allocated i Name Data type Factory setting address AT Details J01 Ch1 RdAI INT IOBus rackstO0 Ind
181. f other units that are mounted You can set input signal ranges for each input Use the voltage current switch at the back of the terminal block to choose voltage input or current input Use within the specified input range Exceeding the specified range may result in failure With Analog Input Units the resolution can be set to 8 000 and the conversion cycle to 250 us in the initial set ting parameter Note that the settings for resolution and conversion cycle are changed simultaneously The accuracy is given for full scale For example when resolution is 4 000 an accuracy of 0 2 means a maximum error of 8 BCD The default setting is adjusted for voltage input To use current input perform the offset and gain adjustments as required The A D conversion cycle is the time it takes for an analog signal to be stored in the Analog Input Unit memory as conversion data after it has been input It takes at least one task period before the conversion data is read by the CPU Unit 10 Line disconnection detection is supported only when the range is set to 1 to 5 V or 4 to 20 mA If there is no input signal when the 1 to 5 V or 4 to 20 mA range is set the Line Disconnection Flag will turn ON CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 3 NO L o Lo D O O O gt o suoneogmeds 1 3 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 2 1 2 Input Function Block Diagram Anal
182. fety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller is reset or when the Unit restarts CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 e Example Setting 1 If the output 1 signal of 0 to 10 V is to be scaled to a set value of 0 to 10000 set as follows Set Output 1 Scaling Lower Limit Ch1 Scl L Cfo to 0 Set Output 1 Scaling Upper Limit Ch1 Scl H Cfg to 10 000 The following diagram shows the correspondence between output signals and converted scaling values P I gt 5 O O O c eb gt c T c 3 O ct O 5 D o 3 2 O gt O S ct 3 e U O o D Q c D 0 Output set value Output signal 0 OV 10 000 10 V 500 0 5 V 10 500 10 5 V e Example Setting 2 Reverse Scaling If the output 2 signal of 0 to 10 V is to be scaled to a set value of 10000 to 0 set as follows Set Output 2 Scaling Lower Limit Ch2 Scl L Cfg to 410 000 Set Output 2 Scaling Upper Limit Ch2 Scl H Cfg to O The following diagram shows the correspondence between input signals and converted scaling values HOSV 2235232 HON A ET uonouny Bues indmoO 9 Scaling line Conversion result Output signal 10 000 0 V 0 10 V 10 500 0 5 V 500 10 5 V CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 41 6 42 6 CJ
183. ffset Flag _AdjOfs is set to 1 the offset value will be saved to the Unit s non volatile memory when Adjustment Value Set Flag AdjSet turns ON 6 To finish the offset adjustment set the device variable for CJ series Unit Offset Flag AdjOfs to 0 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 5 uled pue josyo bunsnipy L Z 7 seJnpoeooJg 1ueuusn py urec pue Jos JO 1ndu 2 1L Z 7 Common Items Y Precautions for Correct Use e Do not turn OFF the power supply or restart the Unit while the Adjustment Value Set Flag is ON while data is written to the non volatile memory Otherwise illegal data may be written in the Unit s non volatile memory and Non volatile Memory Error may occur when the power supply is turned ON or when the Unit is restarted which will cause a malfunction e To make adjustments be sure to perform both the offset adjustment and gain adjustment at the same time EN Additional Information e You can overwrite the non volatile memory 50 000 times e While the Offset Flag or the Gain Flag is ON the present conversion data displays in device variable for CJ series Unit Conversion value for adjustment Ad PV If the Offset Flag is OFF the value immediately before you turned the bit OFF is held i Gain Adjustment The procedure to adjust the analog input gain is explained below As shown in the following diagram the gain is adjusted by sampling inputs so that the
184. g Input 2 Number of Samplings UINT for Mean Value Processing D m 4 00 to 15 Ch3_AveCfg Input 3 Number of Samplings UINT for Mean Value Processing D m 5 00 to 15 Ch4 AveCfg Input 4 Number of Samplings UINT for Mean Value Processing D m 6 00 to 15 Ch5 AveCfg Input 5 Number of Samplings UINT for Mean Value Processing D m 7 00 to 15 Ch6 AveCfg Input 6 Number of Samplings UINT for Mean Value Processing D m 8 00 to 15 Ch7 AveCfg Input 7 Number of Samplings UINT for Mean Value Processing D m 9 00 to 15 Ch8_AveCfg Input 8 Number of Samplings UINT for Mean Value Processing D m 18 00 to 07 MdCfg Operating Mode Settings BYTE 08 to 15 ResolutionCfg Resolution Conversion Time BYTE Settings A 24 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Appendices A 4 3 CJ1W AD042 Special I O Unit CIO Area PE NJ series device variable for CJ series Unit I O I O memory address Output n 00 to 15 PkHdCmd Peak Value Hold Execution WORD CPU to this Settings Unit Ch1 PkHdCmd Input 1 Peak Value Hold Exe BOOL cution 01 Ch2 PkHaCmd Input 2 Peak Value Hold Exe BOOL cution 02 Ch3 PkHdCmd Input 3 Peak Value Hold Exe BOOL cution Ch4 PkHdCmd Input 4 Peak Value Hold Exe BOOL cution pen NT Cha n 9 00 to 07 Disconnection Detected BYTE Ch1_SensErr Input 1 Disconnection BOOL Detected Ch2_SensErr Input 2 Disconnection BOOL Detected Ch3 SensErr Input 3 Disc
185. g the Unit Configuration with Sysmac Studio e How to specify device variables for CJ series Unit Specify the AT specifications to I O ports for device variables for CJ series Unit with the I O Map from Sysmac Studio Specify the variable name for the AT specification with one of the following methods 1 Select a variable already registered in the variable table 2 Input a new variable name 3 Automatically create a variable name with Device variable creation When a device variable name for CJ series Unit is assigned with method 2 or 3 the variable input by Sysmac Studio is automatically registered in the variable table welbolgq Jasp ay w01 Buissadoy Z G 7 The following is the configuration of variable names created with automatic creation in method 3 Name of device variable for CJ series Unit Ch1_PkHaCma This is an I O port name The name identifies the unit function status and parameter This is the device name when this Unit is registered in the Unit Configuration By default a device name is assigned from J01 in the order of registration in the Unit Configuration This identifies the individual unit For details on creation of device variables for CJ series Unit refer to Sysmac Studio Version 1 Opera tion Manual Cat No W504 There are two types of device variables for CJ series Unit Operation Data and Initial Setting Param eters In the explanations from here on the device name automatically c
186. g the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller is reset or when the Unit restarts e Example Setting 1 If the output 1 signal of 0 to 10 V is to be scaled to a set value of 0 to 10000 set as follows Set Output 1 Scaling Lower Limit Ch1 Scl L Cfg to 0 Set Output 1 Scaling Upper Limit Ch1 Scl H Cfg to 10 000 The following diagram shows the correspondence between output signals and converted scaling val ues Scaling line OV 0 5V 10 500 Conversion result Output signal 0 OV 10 000 10 V 500 0 5V 10 500 10 5V 5 20 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 5 CJ series Analog Output Unit CJ1W DA042V e Example Setting 2 Reverse Scaling If the output 2 signal of 0 to 10 V is to be scaled to a set value of 10000 to 0 set as follows Set Output 2 Scaling Lower Limit Ch2 Scl L Cfo to 10 000 Set Output 2 Scaling Upper Limit Ch2 Scl H Cfo to 0 The following diagram shows the correspondence between output signals and converted scaling val ues 410 5 V ATIUM eee Scaling line 7 o gt gt O Q O c Lo c Tl c 3 O O gt o fo I a O Lo D pa gt Q U 10 500 4 c D o Conversion result Output signal 10 000 0V 0 10 V 10 500 0 5 V 500 10 5 V 5 6 4 Output Setting Errors Use the device variable for CJ s
187. gistered in the variable table 2 e m gt lt o gt D 5 e 5 e U D r D F gt gt O U c c 5 The following is the configuration of variable names created with automatic creation in method 3 Name of device variable for CJ series Unit Ch1_ConvCmd This is an I O port name The name identifies the unit function status and parameter This is the device name when this unit is registered in the Unit Configuration By default a device name is assigned from J01 in the order of registration in the Unit Configuration This identifies the individual unit For details on creation of device variables for CJ series Unit refer to Sysmac Studio Version 1 Opera tion Manual Cat No W504 There are two types of device variables for CJ series Unit Operation Data and Initial Setting Param eters welbolgq 1SN ey w014 Duisseooy Z G 9 In the explanations from here on the device name automatically created is used as the device variable for CJ series Unit for example Ch1_ConvCma Switching Operating Mode You can switch between the Normal Mode and Adjustment Mode during offset and gain adjustments etc with Operating Mode Settings MdCfg Variable name Type Setting MdCfg BYTE 16400 Normal Mode 164C1 Adjustment Mode CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 21 6 CJ series Analog I O Unit CJ1W MAD42 6 5 3 Allocating Device Variables f
188. gs can also be performed by setting the values in the device variables for CJ series Unit Unit settings are reflected only when the Controller is reset or when the Unit restarts The initial setting parameters are retained in the CPU Unit by the battery even during power interruptions Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller reset or when the Unit restarts HUN S3119S PD 10 SJQe EN 90119 Buneoojv Sg rv CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 19 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C List of Initial Setting Parameters common among models for both Normal Mode and Adjustment Mode Name of device variable OutChUseCfg WORD RW Output Use Settings Refer to Setting Outouts and Bit Signal Ranges in 4 6 1 Output Number Settings and Conversion Val ues WORD type variable that com bines the following BOOL type variables Ch1_OutChUseCfg BOOL Output 1 Use Setting Variable to specify usage in Ch2 OutChUseCfg BOOL Output 2 Use Setting Unit of bits per output Ch3_OutChUseCfg BOOL Output 3 Use Setting 7 bran Use Ch4 OutChUseCf BOOL RW Output 4 Use Settin So EIE L
189. h the device variable for CJ series Unit Input Peak Value Hold Execution Settings Ch PkHaCmd shown below Variable name Type Setting Ch PkHaCmd BOOL 0 Do not perform peak value hold 1 Perform peak value hold An input number from 1 to 4 is included in place of in the variable name CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 31 CJ series Analog I O Unit CJ1W MAD42 In addition to output conversion enable you can also perform batch settings with the device variable for CJ series Unit Peak Value Hold and Output Conversion Enable Settings ConvPkHdCmd shown below Variable name Type Setting ConvPkHdCmd BYTE 16 00 to 16 F3 Bit 07 06 05 04 03 02 01 00 0 Do not perform peak value hold 1 Perform peak value hold Input 4 Input 3 Input 2 Input 1 Output 2 Output 1 0 Output conversion disable 1 Output conversion enable EN Additional Information e When mean value processing is used together with the peak value hold function the mean value will be held e As long as the peak value hold function is executing the peak value hold will be held even in the event of a disconnection 6 6 4 Input Scaling Function 6 32 When upper and lower limits within a range of 32 000 to 432 000 are preset analog input values can then be automatically converted into a user specified industrial unit with the upper and lower limits taken as full scale based on that resolution v
190. hange the event level to the minor fault level If you change the level to the minor fault level the Recovery col Remarks umn above will be changed to Error reset CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 35 7 Common Items Event name I O Number Specification Error in Adjustment Mode 348C 0000 hex Meaning The I O numbers specified in Adjustment Mode are not enabled or the I O numbers are wrong Source PLC Function Module Source details CJ series Unit Detection When adjust timing ment is started Effects User program Continues Operation The Unit retains the immediately previous input values and does not update the data The output from the Unit will ea aa 0 V or 0 mA GEO The I O numbers that were specified Correct the use setting of the Set the use setting of the input output in Adjustment Mode are not enabled input output that is specified by the that is specified by the Adjustment I O Adjustment I O Number device vari Number device variable AdjCh to able AdjCh to enable using the enable using the input output input output The setting of the Adjustment I O Correct the Adjustment I O Numbers Set the Adjustment I O Numbers Number device variable AdjCh is device variable AdjCh to 16411 device variable AdjCh to between incorrect so adjustment is not possi 16412 or between 16 21 and 16424 16 11 16412 or between 16421 and ble 16 24 Attached None informati
191. iable for CJ series Unit Output Set Value Ch WrAO shown below to set ana log output setting Variable name Type Setting Chit WrAO INT Refer to 4 1 3 Output Specifications An output number from 1 to 8 is included in place of in the variable name 1 to 4 for DA041 and 1 to 2 for DA021 EN Additional Information If the set value has been written outside the setting range an output setting error will occur and the value set by the output hold function will be output 4 26 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C i Conversion Cycle Resolution Setting CJ1W DA08V 08C Only You can switch the conversion cycle and resolution with Resolution Conversion Time Settings ResolutionCfg This setting is common to analog output 1 to 8 Variable name Type Setting ResolutionCfg BYTE 16400 4 000 resolutions 1 ms cycle 164C1 8 000 resolutions 250 us cycle Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller is reset or when the Unit restarts EX O gt 5 2 O O c eut gt c F T c 3 O ct O 5 D D 3 a O o O 9 ct 3 U
192. ic electricity or other forms of noise Locations subject to strong electromagnetic fields Locations subject to possible exposure to radioactivity Locations close to power lines Before touching a Unit be sure to first touch a grounded metallic object in order to discharge any static build up e Install the Controller away from sources of heat and ensure proper ventilation Not doing so may result in malfunction in operation stopping or in burning An I O bus check error will occur and the Controller will stop if an I O Connecting Cable s connector is disconnected from the Rack Be sure that the connectors are secure Do not allow foreign matter to enter the openings in the Unit Doing so may result in Unit burning electric shock or failure Do not allow wire clippings shavings or other foreign material to enter any Unit Otherwise Unit burning failure or malfunction may occur Cover the Units or take other suitable countermeasures especially during wiring work For EtherCAT and EtherNet IP use the connection methods and cables that are specified in the NJ series CPU Unit Built in EtherCAT Port User s Manual Cat No W505 and the NJ series CPU Unit Built in EtherNet IP Port User s Manual Cat No W506 Otherwise communications may be faulty Use the rated power supply voltage for the Power Supply Units Take appropriate measures to ensure that the specified power with the rated voltage and frequency is suppli
193. icates the input 1 slot 0 Ch1 RdAI Conversion Data A D conversion value P N o Q 3 D U O Q Q 3 o eouenbes qpuelS YNM uue y ywij 19m07 pue Jaddn z z v CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A 5 Appendices e Program Example Wait Seq P On ZoneCmp MinLimit J01 Ch1 RdAI MaxLimit Wait Seq CmpOut OverUnderLimit A 6 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Appendices A 2 3 Scaling i Using the Scaling Functions This function is supported only by the CJ1W MAD42 CJ1W DA08V 08C 042V and CJ1W AD042 e Outline pressure sensor is connected to analog input 1 of CJ1W MAD42 The pressure sensor outputs an analog signal of between 4 and 20 mA for a pressure between 0 and 500 Pa Therefore for a 4 to 20 mA input a value of 0 to 500 in industrial units for the pressure in Pa is directly set The analog input scaling function of the CJ1W MAD42 is used here Therefore scaling in the user program is not required to convert the solution value 0000 to 4000 to the industrial units value 0000 to 500 e Unit Settings Name Setting target Setting contents Unit Configuration CPU Expansion Racks in Configura Mount CJ1W MAD42 in slot 0 of the tion and Setup of Sysmac Studio CPU Rack Device name of this unit J01 Unit number Unit number switch and Unit Configu Unit number o X101 0 x109 0 ration CPU Expansion
194. ing can only be used with DAO8V 08C CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 3 ureJBeiq 490jg uonounJ 1ndino 2 1 p 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C 4 1 3 Output Specifications If the set value is outside the specified range provided below an output setting error will occur and the output specified by the output hold function will be output i Range 1 to 5 V 4 to 20 mA Analog output signal 5 2V 20 8mA 5V 20mA 1V 4mA 0 8V 3 2mA 900 Resolution 4 000 8 000 14200 Set value PA a MAR 8400 400 40 8000 Values in parentheses are for a resolution of 8 000 Only the CJ1W DAO8V 08C i Range 0 to 10 V Analog output signal 10 5V 10V OV 0 5V AA Foy Set value 200 Resolution 4 000 8 000 4200 Se 400 1 1 8400 0 4000 8000 Values in parentheses are for a resolution of 8 000 Only the CJ1W DA08V 08C 4 4 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C i Range 0 to 5 V Analog output signal 5 25V 5V gt o To OV 3 0 25V zi HE Lg Set value o 200 Resolution 4 000 8 000 4200 D I gt 400 4 8400 0 4000 8000 Values in parentheses are for a resolution of 8 000 Only the CJ1W DA08V 08C i Range 10 to 10 V Analog output signal 11V 10V F
195. ing values Variable name Type Setting Chit WrAO INT Refer to 6 1 4 Output Specifications Variable name ff is output number 1 to 2 EN Additional Information If the set value is written outside the specified range an output setting error will occur and output hold function will activate i Conversion Cycle and Resolution Setting You can use Resolution Conversion Time Settings ResolutionCfg to set the conversion cycle and resolution for the CJ1W MAD42 This setting is common to all analog input and output settings Variable name Type Setting ResolutionCfg BYTE 16400 4 000 resolutions 1 ms cycle 16 C1 8 000 resolutions 500 us cycle Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller is reset or when the Unit restarts P I gt 5 O O O c eb gt c T c 3 O ct O 5 D o 3 2 O gt O S ct 3 e U O o D Q c D 0 San eA UOISISAUOD pue shuas INdINO 9 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 37 6 CJ series Analog I O Unit CJ1W MAD42 i Starting and Stopping Conversion To begin analog output conversion it is necessary to set the output used to conversi
196. inputs is converted and output to linear data 0000 to 4000 e Unit settings Name Setting target Setting contents Unit Configuration CPU Expansion Racks in Configura Mount CJ1W AD081 V1 in slot 0 of the tion and Setup of Sysmac Studio CPU Rack J01 Unit number Unit number switch and Unit Config Unit number 0 X101 0 X100 0 uration CPU Expansion Racks screen in Configuration and Setup of Sysmac Studio Operating mode Operating mode switch Normal Mode Initial setting parameters Resolution conversion time Initial setting parameters 4000 1 ms settings Device name of this unit Use settings Use input 1 Oto 10 V Input signal range settings e Defined variables System defined variable Name Data type Factory setting Contents P On BOOL mM Always ON Flag ON when power is supplied User defined variables To be defined before or when creating a program Name Data type Factory setting Comments SCLOut INT 10 J Raised value corresponding to the negative portion 5 MulOut DINT O Multiplies the raised value by 4 400 SqrOut LREAL HO cu Calculates the square root Ch1 AI LREAL Returns the raised portion 5 and extracts the square root Note Ch1 Alis the LREAL data type After the data conversion perform type conversion if neces sary Device variables for CJ series Unit Create them on the I O Map screen after the Unit Configuration is created Allocated Name Data type Factory
197. ion 4 000 8 000 400 e Range 10 to 10 V Analog output signal 11V SOM po SS SS ae 0 EE SEES Set value of 2200 Resolution 4 000 8 000 1 22 4400 Peders rd A 2000 2000 4000 4000 Values in parentheses are for a resolution of 8 000 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 6 2 Operating Procedure Follow the procedures outlined below when using the Analog I O Unit There is no restriction regarding the sequence of Programs and software settings and Hardware set ting and Rack assembly These tasks may be carried out concurrently or in the reverse order Use Sysmac Studio to create and set programs For operations of Sysmac Studio refer to the Sysmac Studio Version 1 Operation Manual Cat No W504 e Programs and software settings 1 Create POU and global variables Create Unit Configuration e Create and register global variables and each POU e Create algorithms for each POU and register local variables of each POU e Register the Unit in the Unit Configuration on the CPU Expansion Racks screen in Configura tion and Setup At this time set both the device name and the unit number of the unit to be registered e Create device variable for CJ series Unit by using I O Map T N O o O S ct 3 ae U o D Q c 2 Create Unit initial setting parameters
198. is compatible in the slave manuals or other references You can check the actual slave revisions from the Sysmac Studio or on slave nameplates e After you transfer the user program the CPU Unit is restarted and communications with the Ether CAT slaves are cut off During that period the slave outputs behave according to the slave settings The time that communications are cut off depends on the EtherCAT network configuration If the EtherCAT network configuration contains only OMRON EtherCAT slaves communications are cut off for a maximum of 45 seconds Before you transfer the user program confirm that the system will not be adversely affected CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Precautions for Safe Use e f the Fail soft Operation parameter is set to stop operation process data communications will stop for all slaves when an EtherCAT communications error is detected in a slave For this reason if Servo Drives are connected the Servos for all axes will be turned OFF Make sure that the Fail soft Operation parameter setting results in safe operation when a device error occurs e EtherCAT communications are not always established immediately after the power supply is turned ON Use the system defined variables in the user program to confirm that communications are estab lished before attempting control operations e f frames sent to EtherCAT slaves are lost due to noise or other causes slave I O dat
199. isconnections The detection conditions for each of the input signal ranges are shown in the following table Range Current voltage 1to5V 0 3 V max 4 to 20 mA 1 2 mA max The current voltage level will fluctuate according to the offset gain adjustment The disconnection detection status of each input is output to the device variable for CJ series Unit Input Disconnection Detected Ch SensErr shown below Variable name Type Setting Ch SensErr BOOL 0 No disconnection 1 Disconnection An input number from 1 to 4 is included in place of ff in the variable name In addition to output set value error you can also perform batch readout with the device variable for CJ series Unit Set value Errors and Disconnection Detected MVSensErr shown below Variable name Type MvSensErr BYTE Bit 07 06 05 04 03 02 01 00 Y MN et 4 w o E 5 5 gt gt gt 2 Q Q Cc O O 0 No disconnection o 1 Disconnection 0 No error 1 Output setting error EN Additional Information The conversion value during a disconnection will be 0 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 6 7 Analog Output Functions and Operating Procedures 6 7 1 Output Settings and Conversion Values i Setting Use Settings and Output Signal Ranges e Output Use Settings The Analog I O Unit converts only the analog outputs specified among output n
200. it Analog Input Units CJ1W AD041 V1 NJ series CPU Unit CJ1W ADO081 V1 User program I O port Operation Data Operation data Operation data Conversion values Automatic creation O refresh of analog input etc Device variable for CJ series Unit AT sd specification fresh 7 Device variable for CJ series Unit TONGS Refer to Operation Data in 2 5 3 Allocating Device Variable for CJ series Unit Initial setting parameters Initial setting parameters Initial setting parameters Analog input signal range Automatic creation number of operational mean AT with Unit registration samplings conversion specification Controller is reset cycle resolution or or operating mode etc Unit restart Referto Initial Setting Parame ters in 2 5 3 Allocating Device Variable for CJ series Unit 2 18 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 2 5 2 Accessing from the User Program The user program uses device variables for CJ series Unit to control the Analog Input Unit e O port An I O port is a logical interface for data exchange by a CPU Unit with an Analog I O Unit or other configuration unit a e m gt lt o gt D 5 e 5 e U D D F gt gt OD O U c c 5 An I O port has a unique predefined name for each unit model and function An I O port is automatically created by preparin
201. it Configuration In this case reset the Controller in step 2 Reset the Controller or restart the Unit of the following process to cancel the error e Program transfer 1 Transfer programs Unit Configuration and Setup and variable information 2 Reset the Controller or restart the Unit 5 6 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 5 CJ series Analog Output Unit CJ1W DA042V e Main operation 7 Main operation Read or write set values from the user program e Write set values e Start and stop the conversion output e Obtain an error flag v N O y o 9 ct 3 ae U O o Q c e CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 5 7 5 CJ series Analog Output Unit CJ1W DA042V 5 3 Components and Switch Settings 5 3 1 Component Names Front Side With Terminal Block i Slider Indicators Unit number switches Expansion connector Terminal block SY Terminal block lock lever pull down to release terminal block laer DIN Track mounting pin EN Additional Information Use a connector to attach the terminal block Press down on the lever at the bottom of the ter minal block to remove the connector e Normally put the lever in the raised position Confirm this before operation y VY AAA i at YES I c i i y lt gt CJ series Analog I O Units Operati
202. it must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller is reset or when the Unit restarts EN Additional Information e The mean value is calculated as shown in the following diagram In this example there are four buffers 1 With the first cycle data 1 is stored in all the history buffers Mean value p Conversion value value id Mean value Data 1 Data 1 Data 1 Data 1 4 2 With the second cycle data 2 is stored in the first history buffer Mean value Conversion value value pue Mean value Data 2 Data 1 Data 1 Data 1 4 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 23 g O gt 5 O O 3 c Tl c 5 o o 5 D o 5 2 O O D ct 3 e U O o D Q c D 0 BuIssa9014 en eA uee N 2 9 3 CJ series Analog Input Units CJ1W AD042 3 6 3 3 24 3 With the third cycle data 3 is stored in the first history buffer Mean value Data 3 Data 2 Data 1 Data 1 4 4 With the fourth cycle data 4 is stored in the first history buffer Mean value Conversion value rocessin Hus Mean value Data 4 Data 3 Data 2 Data 1 4 9 With the fifth cycle data 5 is stored in the first history buffer rocessin m Mean value Data 5 Data 4 Data 3
203. ks will stop between related nodes while tag data link parameters are transferred during Controller operation Confirm that the system will not be adversely affected before you transfer the tag data link parameters i EtherNet IP Communications All related EtherNet IP nodes are reset when you transfer settings for the built in EtherNet IP port including IP addresses and tag data links settings Confirm that the system will not be adversely affected by resetting nodes before you transfer the settings e f EtherNet IP tag data links cyclic communications are used with a repeating hub the communica tions load on the network will increase This will increase collisions and may prevent stable communi cations Do not use repeating hubs on networks where tag data links are used Use an Ethernet switch instead EtherCAT Communications e Make sure that the communications distance number of nodes connected and method of connection for EtherCAT are within specifications Do not connect EtherCAT communications to EtherNet IP a standard in house LAN or other net works An overload may cause the network to fail or malfunction e Malfunctions or unexpected operation may occur for some combinations of EtherCAT revisions of the master and slaves If you disable the revision check in the network settings use the Sysmac Studio to check the slave revision settings in the master and the actual slave revisions and then make sure that functionality
204. le for CJ series Unit AdjCh AdjOfs AdjGain AdjDwn AdjUp AdjSet AdjClr AdjPV AdjUnitErr AdjAveErr AdjlnErr AdjlnNoErr AdjMemErr AdjMd 2 24 Refer to 7 1 Adjusting Offset and Gain d and instruction flag for input adjust INT Conversion value for adjust ment BYTE Error Flags Refer to7 2 2 Alarms Occurring Bit at the Unit Number BYTE type variable that com bines the following BOOL type variables BOOL Mean Value Processing Setting 0 No error 1 Error in initial setting parame ters BOOL Input Value Adjustment Range 0 No error Exceeded 1 Input outside adjustable range BOOL Input Value Adjustment Number 0 No error Setting Error 1 Setting AdjCh is out of range BOOL Non volatile Memory Error 0 No error 1 Adjustment data could not be written properly BOOL Starting Adjustment Mode 0 Running in the Normal Mode 1 Running in the Adjustment Mode CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 2 6 Analog Input Functions and Operating Procedures 2 6 1 Input Settings and Conversion Values i Setting Use Settings and Input Signal Ranges e Input Use Settings Analog Input Unit converts only the analog inputs specified among input numbers 1 to 8 1 to 4 for AD041 V1 The Unit skips samplings with unused input Bunelado pue suonouny Indu bojeuy 9 2 U o o
205. les on a Watch Tab Page to see if an observation level Controller error has occurred i Battery Backup e The user program and initial values for the variables are stored in non volatile memory in the CPU Unit The present values of variables with the Retain attribute and the values of the Holding DM and EM Areas in the memory used for CJ series Units are backed up by a Battery If the Battery is not connected or the Battery is exhausted the CPU Unit detects a Battery backup Memory Check Error If that error is detected variables with a Retain attribute are set to their initial values and the Holding DM and EM Areas in memory used for CJ series Units are cleared to all zeros Perform thorough verifications and provide sufficient measures to ensure that the devices perform safe operation for the initial values of the variables with Retain attributes and the resulting operation 1 Debugging e Forced refreshing ignores the results of user program execution and refreshes I O with the specified values If forced refreshing is used for inputs for which I O refreshing is not supported the inputs will first take the specified values but they will then be overwritten by the user program This operation differs from the force set reset functionality of the CJ series PLCs CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 25 Precautions for Safe Use You cannot upload or download information for forced refreshing with the Sysm
206. ller before you mount or remove the terminal block 6 14 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 6 4 Wiring 6 4 1 Terminal Arrangement The signal names that correspond to the connecting terminals are as shown in the following diagram Voltage output 2 Voltage output 1 Output 2 3 A2 Output 1 Current output 2 B pa A Cur Current output 1 N C TITS Input 2 BE pp se fe LECT Input 4 o B9 pe Input 3 EN Additional Information e You can set the analog I O numbers you use and each I O signal range of analog I O from the Special Unit Setup Editing of Sysmac Studio e They can also be set through a setting of appropriate values in the corresponding device vari ables for CJ series Unit The analog I O numbers to be used are set in Input and Output Use Settings ChUseCfg and the I O signal ranges for analog I Os are set in Range Settings _RngCfg The setting can be made for each I O number e The AG terminal A7 B7 is connected to the 0 V analog circuit in the Unit Connect shielded input lines to improve noise resistance e The N C terminals A4 B4 are not connected to internal circuit P A 3 Q jJuawaBueJIy euruJ9 y 9 6 4 2 Internal Circuit The following diagrams show the internal circuit of the analog I O section e Internal Circuit
207. llowing personnel who must also have knowledge of electrical sys tems an electrical engineer or the equivalent e Personnel in charge of introducing FA systems e Personnel in charge of designing FA systems e Personnel in charge of installing and maintaining FA systems e Personnel in charge of managing FA systems and facilities For programming this manual is intended for personnel who understand the programming language specifications in international standard IEC 61131 3 or Japanese standard JIS B3503 Applicable Products This manual covers the following products e CJ series Analog I O Units e CJ1W AD041 V1 081 V1 042 e CJ1W DA021 041 08V 08C 042V e CJ1W MAD42 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 1 Relevant Manuals Relevant Manuals There are three manuals that provide basic information on the NJ series CPU Units the NJ series CPU Unit Hardware User s Manual the NJ series CPU Unit Software User s Manual and the NJ series Instructions Reference Manual Most operations are performed from the Sysmac Studio Automation Software Refer to the Sysmac Studio Version 1 Operation Manual Cat No W504 for information on the Sysmac Studio Other manuals are necessary for specific system configurations and applications Read all of the manuals that are relevant to your system configuration and application to make the most of the NJ series CPU Unit NJ series CPU Unit Hardware User
208. llowing points to avoid noise interference and optimize Analog Out put Unit performance e Use two core shielded twisted pair cables for output connecting lines e Route output cables separately from the power cables e g AC and three phase lines and do not run the Unit s cables near a main circuit cable high voltage cable Do not insert these cables into the same duct e f there is noise interference from power lines for example the power supply is shared with electrical welding devices or electrical discharge machines or there is a high frequency generation source nearby install a noise filter at the power supply input area 5 12 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 5 CJ series Analog Output Unit CJ1W DA042V 5 5 Exchanging Data with the CPU Unit 5 5 1 Outline of Data Exchange The CPU Unit and Analog Output Unit CJ1W DA042V exchange operation data and initial setting parameters via the I O port generated for this Analog Output Unit The table and figure below show the data exchange method for each data type Data exchange type Unit data type EE AT specification How to access Timing of data destination from user program exchange Operation data Analog output set I O port operation Device variable for At I O refreshing ting values etc data CJ series Unit Initial setting param Analog output sig I O port initial set Device variable for When the Controller eters nal range output
209. lly created by preparing the Unit Configuration with Sysmac Studio e How to specify device variables for CJ series Unit Specify the AT specifications to I O ports for device variables for CJ series Unit with the I O Map from Sysmac Studio Specify the variable name for the AT specification with one of the following methods 1 Select a variable already registered in the variable table 2 Input a new variable name 3 Automatically create a variable name with Device variable creation When a device variable name for CJ series Unit is assigned with method 2 or 3 the variable input by Sysmac Studio is automatically registered in the variable table The following is the configuration of variable names created with automatic creation in method 3 Name of device variable for CJ series Unit Ch1 PkHdCmd This is an I O port name The name identifies the unit function status and parameter This is the device name when this unit is registered in the Unit Configuration By default a device name is assigned from JO1 in the order of registration in the Unit Configuration This identifies the individual unit For details on creation of device variables for CJ series Unit refer to Sysmac Studio Version 1 Opera tion Manual Cat No W504 There are two types of device variables for CJ series Unit Operation Data and Initial Setting Param eters In the explanations from here on the device name automatically created is used as the
210. m 29 00 to 15 Output 6 Scaling Lower Limit INT 00 to 15 Output 6 Scaling Upper Limit INT m 31 00 to 15 Output 7 Scaling Lower Limit INT A 32 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Appendices CJ series I O memory address NJ series device variable for CJ series Unit Dima NT Dimas NT Dim NT A1oWwon pue spun seuoes f2 10 SIJQBINLA 301IN9 10 sajqej eouepuodsau02 p Y SHU S9 9S P 10 sessoJppy X o O U gt O amp S amp O CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A 33 Appendices A 4 7 CJ1W DA042V Special I O Unit CIO Area I O 1 0 ER NJ series device variable for CJ series Unit CPUs oo gt om Canoa Output Y Conversion Enable BOOL 00 to 15 Ch4 WrAO Output 4 Set Value INT Input n 9 00 to 07 MVErr Output Set Value Error BYTE This Unit to Ch1_MVErr Output 1 Output Set Value BOOL CPU Error 01 Ch2_MVErr Output 2 Output Set Value BOOL Error 02 03 08 to 15 13 The Direct Conversion Mode cannot be used with the NJ series CPU Unit On the Special Unit Setup Editing of Sysmac Studio set Conversion Mode Setting to Cyclic Conversion Mode Ch3 MVErr Output 3 Output Set Value BOOL Error Ch4 MVErr Output 4 Output Set Value BOOL Error j Special I O Unit DM Area CJ series I O memory address NJ series device variable for CJ series Unit UnitErr Error Flags BYTE SclErr Scaling Data Se
211. m Sysmac Studio if adjusting off set and gain is not required The power need not be cycled 3 Set the operating mode switch to Adjustment Mode Set DIP switch on the front panel to Adjustment Mode 4 Turn the power to the Controller OFF and ON Turn the external power back ON e The Special Unit is restarted and operates in the Adjustment Mode In the Adjustment Mode the ADJ indicator flashes e Set the CPU Unit to PROGRAM Mode 5 Adjust the offset and gain Adjusting Offset and Gain is performed if the output must be calibrated for the connected device 6 Turn the external power OFF Turn OFF the power to the Controller T N O o O S ct 3 ae U o D Q c o oet the operating mode switch to Normal Mode oet DIP switch on the front panel to Normal Mode 8 Turn the power to the Controller OFF and ON Turn the external power back ON The Special Unit is restarted and operates in the Normal Mode In the Normal Mode the ADJ indicator remains unlit e Main operation 170 LCOWd MIPI L c p 1 Main operation e Read or write set values from the user program e Write set values e Start and stop the conversion output e Obtain an error flag Note Turn external power ON or OFF while the Controller power is ON or turn both power supplies ON or OFF at the same time Do not turn the external power ON or OFF while the Controller is OFF CJ series Analog I O Units Operation Manual for NJ series
212. memory allocation methods and version information Manual Configuration I Sysmac Studio Version 1 Operation Manual Cat No W504 Section Section 1 Introduction Section 2 Installation and Uninstallation Section 3 System Design Section 4 Programming Section 5 Online Connections to a Controller Section 6 Debugging Section 7 Other Functions Section 8 Reusing Programming Section 9 Support Software Provided with the Sysmac Studio Section 10 Troubleshooting Appendices Description This section provides an overview and lists the specifications of the Sysmac Studio and describes its features and components This section describes how to install and uninstall the Sysmac Studio This section describes the basic concepts for designing an NJ series System with the Sysmac Studio and the basic operating procedures This section describes how to create programs with the Sysmac Studio This section describes how to go online with a Controller This section describes how to debug the programs online on the Controller or debug it offline with the Simulator This section describes other functions that are supported by the Sysmac Studio including security functions and troubleshooting functions This section describes how to reuse the programs that you create with the Sysmac Studio This section describes the Support Software that is provided with the Sysmac Studio This section describes the error messag
213. ment Mode BOOL 1 2 3 4 5 1 2 Special I O Unit DM Area common to both Normal Mode and Adjustment Mode Aowa pue SHUN seues f2 10J SIVULA SINNIG 10J SAB eouepuodsa14102 p Vv SJUN S9 9S P 10J sessoJppy CJ series I O memory address NJ series device variable for CJ series Unit Dim BYTE 08 to 09 UseRatioBias Loop 1 Ratio Conversion Use BYTE Setting 10 to 11 Loop 2 Ratio Conversion Use Setting gt T 00 O lt gt UO K no CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A 37 Appendices CJ series I O memory address NJ series device variable for CJ series Unit DM No D m 1 D m 2 D m 3 D m 6 D m 7 D m 8 D m 9 D m 10 D m 11 D m 12 A 38 00 to 15 RngCtg Range Settings WORD 00 to 01 Output 1 Output Signal Range Setting 02 to 03 Output 2 Output Signal Range Setting 08 to 09 Input 1 Input Signal Range Setting 10 to 11 Input 2 Input Signal Range Setting 12 to 13 Input 3 Input Signal Range Setting 14 to 15 Input 4 Input Signal Range Setting 00 to 07 Ch1_HdMdCfg Output 1 Output Status When USINT Conversion Stops 00 to 07 Ch2_HdMdCfg Output 2 Output Status When USINT Conversion Stops 00 to 15 Ch AveC g Input 1 Number of Samplings UINT for Mean Value Processing 00 to 15 Ch2 AveCtg Input 2 Number of Samplings UINT for Mean Value Processing 00 to 15 Ch3 AveC g Input 3 Number of
214. mized 4000 or 8000 for a resolution of 8 000 set the device variable for CJ series Unit Adjustment Value Set Flag AdjSet to 1 and then return it to O While the device variable for CJ series Unit Gain Flag AdjGain is set to 1 the gain value will be saved to the Unit s non volatile memory when Adjustment Value Set Flag AdjSet turns ON 6 To finish the gain adjustment set the device variable for CJ series Unit Gain Flag Ad Gain to 0 LA Precautions for Correct Use e Do not turn OFF the power supply or restart the Unit while the Adjustment Value Set Flag is ON while data is written to the non volatile memory Otherwise illegal data may be written in the Unit s non volatile memory and Non volatile Memory Error may occur when the power supply is turned ON or when the Unit is restarted which will cause a malfunction e To make adjustments be sure to perform both the offset adjustment and gain adjustment at the same time uled pue josyo Bunsnipy L Z 7 EN Additional Information e You can overwrite the non volatile memory 50 000 times e While the Offset Flag or the Gain Flag is ON the present conversion data will be displayed in the device variable for CJ series Unit Conversion value for adjustment AdjPV If the Gain Flag OFF the value immediately before you turned the Bit OFF is held seJnpoeooJg 1ueuusn py urec pue las JO 1ndu 2 1L Z CJ series Analog I O Units Operation Manual for NJ series
215. n W500 W501 W504 W490 W345 NJ501 LIL TL IE NJ301 LIL TL IL Learning the basic specifi cations of the NJ series CPU Units including intro ductory information designing installation and maintenance Mainly hard ware information is pro vided NJ501 LIL TL IL NJ301 LIL TL IL Learning how to program and set up an NJ series CPU Unit Mainly software information is provided SYSMAC SE2LI I Learning about the operat ing procedures and func tions of the Sysmac Studio CJ1W ADOL 1 ET CJ1W DAOL IL JL CJ1W MAD42 Learning about the func tions and usage of CJ series Analog Input Units Analog Output Units and Analog I O Units for using them in an NJ series con figuration Learning about the func tions and usage of CJ series Analog Input Units Analog Output Units and Analog I O Units CS1W AD041 V1 081 V1 161 CS1W DA041 08V 08C CS1W MAD44 CJ1W AD041 V1 081 V1 042 CJ1W DA021 041 08V 08C 042V CJ1W MAD42 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Description An introduction to the entire NJ series system is provided along with the following information on the CPU Unit Features and system configuration Introduction e Part names and functions e General specifications Installation and wiring e Maintenance and inspection Use this manual together with the NJ series CPU Unit Software User s Manual Cat No W501 Th
216. n an AG circuit and a diode in a DC circuit 3 4 1 Terminal Arrangement The signal names that correspond to the connecting terminals are as shown in the following diagram Current input 2 B1 E Ky Current input 1 Voltage input 2 er Voltage input 1 NPU E Current input 4 l Current input 3 Voltage input 4 B6 Input 4 C Voltage input 3 NC Bo To use a Current input connect the positive current input terminal and positive voltage input terminal with the enclosed short bar EN Additional Information e The number of analog inputs that can be used is set in the device variable for CJ series Unit Input Use Setting nChUseCfg e Set the input signal range for each analog input with the device variable for CJ series Unit Input Signal Range Settings _Ch _InRngCfq e The AG terminals are connected to the 0 V analog circuit in the Unit Connect the input line shield to improve noise resistance LA Precautions for Correct Use Do not make any connections to the NC terminals 3 10 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 CJ series Analog Input Units CJ1W AD042 3 4 2 Internal Circuit The following diagrams show the internal circuit of the analog input section e Input Circuit Current input Input circuit I I e and I RB I conversion 7 P I circuit l I Q analog 0 V common to
217. n or electrical interference or conditions or uses not described in this manual Nuclear energy control systems combustion systems railroad systems aviation systems medical equipment amusement machines vehicles safety equipment and installations subject to separate industry or government regulations e Systems machines and equipment that could present a risk to life or property Please know and observe all prohibitions of use applicable to the products NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO ADDRESS THE RISKS AND THAT THE OMRON PRODUCTS ARE PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM PROGRAMMABLE PRODUCTS OMRON shall not be responsible for the user s programming of a programmable product or any consequence thereof 16 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Read and Understand this Manual Disclaimers CHANGE IN SPECIFICATIONS Product specifications and accessories may be changed at any time based on improvements and other reasons It is our practice to change model numbers when published ratings or features are changed or when significant construction changes are made However some specifications of the products may be changed without any notice When in doubt special model numbers may be assigned to fix or establish key s
218. n the Analog I O Unit is used in Adjustment Mode If the CPU Unit is in RUN Mode operation of the Unit stops and the input and output values that existed immediately before this stoppage will be retained e To make adjustments be sure to perform both the offset adjustment and gain adjustment at the same time EN Additional Information You can perform input adjustments more accurately in conjunction with mean value processing CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 3 uled pue Joso Bunsnipy L Z 7 NO jeuoneJedo pop 1ueunsn py L L Z 7 Common Items 7 1 2 Input Offset and Gain Adjustment Procedures i Specifying Input Number to be Adjusted Use the device variable for CJ series Unit Inputs to Be Adjusted AdjCh shown below to specify the input number to be adjusted Variable name Type AdjCh BYTE Setting 16221 to 16428 Bit 76543210 I O specification Input to be adjusted 2 Input 1to8 i Bits Used for Adjusting Offset and Gain Use the device variables for CJ series Unit shown below to adjust offset and gain Variable name Type Function AdjOfs BOOL Offset Flag AdjGain BOOL Gain Flag AdjSet BOOL Adjustment Value Set Flag Confirm the adjustment off set gain AdjCir BOOL Adjustment Value Clear Flag Cancel the adjusted value cur rently set and restore the original adjusted value CJ series Analog I O Units Operation Manual for NJ series CPU Unit W49
219. n the program is transferred the items set here will be reflected in the initial setting param eters e Hardware setting and Rack assembly 7 2 3 Use the unit number switches on the front panel of the Unit to set the unit number Set the same unit number as in the Unit Configuration settings Mount and wire the Unit to either a CPU Rack or Expansion Rack Turn ON the power to the Controller At this time an I O Setting Check Error occurs when there is a Unit Configuration in the CPU Unit which does not match the actual Unit Configuration In this case reset the Controller in step 2 Reset the Controller or restart the Unit of the following process to cancel the error e Program transfer 7 Transfer programs Unit Configuration and Setup and variable information 2 Reset the Controller or restart the Unit 3 6 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 CJ series Analog Input Units CJ1W AD042 e Main operation 1 Main operation e Read or write set values from the user program Acquire conversion value and status disconnection detection and error flag e Specify the peak value hold function q N O y O 9 ct 3 ae U O o Q c CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 7 3 CJ series Analog Input Units CJ1W AD042 3 3 Components and Switch Settings Procedure Examples 3 3 1 Component Names Front With Termi
220. n2 AryMean Buff 1 UINT 64 Buissa901d en eA VEAN G z v CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A 13 Appendices A 2 6 Limit e Outline If the output value range is exceeded the output voltage is held when the Conversion Enable Bit turns OFF In this example the upper limit is 3 900 and the lower limit is 100 Upper limit Set value Lower limit 50 mr m ii e e Actual output value When program is started e Unit settings Name Setting target Setting contents Unit Configuration CPU Expansion Racks in Configura Mount CJ1W DA08V in slot O of the tion and Setup of Sysmac Studio CPU Rack Device name of this unit J01 Unit number Unit number switch and Unit Config Unit number 0 10 0 X100 0 uration CPU Expansion Racks screen in Configuration and Setup of Sysmac Studio Operating mode Initial setting parameters Normal Mode Resolution conversion time 4000 1 ms settings Use output 1 0to 10 V HOLD Use settings Output signal range settings Output 1 output status when conversion stops e Defined variables System defined variable Name Data type Factory setting Contents P On BOOL DERI Always ON Flag ON when power is supplied User defined variables To be defined before or when creating a program MinLimit Sets the lower limit MaxLimit Sets the upper limit OutData INT o Indicates the ou
221. nal Block Indicators 2 E JOG lell Unit number switches ee gle la El Co Co Expansion connector TO Terminal block EIE Mess de Terminal block lock lever pull down to release terminal block DIN Track mounting pin EN Additional Information e Use a connector to attach the terminal block Lower the lever at the bottom of the terminal block to remove the connector e Normally the lever should be in the raised position y VE k 3 Sr FE F NS tate AN E EJ AA A rE E a W v 3 8 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 CJ series Analog Input Units CJ1W AD042 3 3 2 Indicators The indicators show the operating status of the Unit The following table shows the meanings of the indicators Indicator Meaning Indicator status Operating status RUN green Operating Operation normal Not lit Unit has stopped exchanging data with the CPU Unit ERC red Error detected Lit Alarm has occurred Such as disconnection detection or initial settings are incorrect Not lit Operating normally ERH red Error in the Lit Error has occurred during CPU Unit data exchange with the CPU Unit Not lit Operating normally 3 3 3 Unit Number Switches Use the unit number switches to set the specific unit number for each Special I O Unit mounted in a
222. nalog Input Units CJ1W AD041 V1 081 V1 Use Input Number of Samplings for Mean Value Processing Ch AveCfg to set whether to per form the mean value processing and the number of samplings in the case the process Is performed Variable name Type Setting Ch _AveCfg UINT Mean value processing with 2 samplings No mean value processing Mean value processing with 4 samplings Mean value processing with 8 samplings Mean value processing with 16 samplings Mean value processing with 32 samplings 6 Mean value processing with 64 samplings Variable name is input number 1 to 8 1 to 4 for AD041 V1 Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller is reset or when the Unit restarts 0O A OO NO EN Additional Information e The history buffer moving average is calculated as shown below In this example there are four buffers 1 With the first cycle data 1 is stored in all the history buffers Data 1 Mean value Conversion value processing Mean value Data 1 Data 1 Data 1 Data 1 4 2 With the second cycle data 2 is stored in the first history buffer Data 1 Mean value Conversion value pro
223. nce CJ1W DA042V The direct conversion function using the AODC instruction cannot be used Analog I O Units CJ1W MAD42 There is no difference A 16 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Appendices A 4 Correspondence Tables for Device Variables for CJ series Units and Memory Addresses for CJ series Units If this Unit is used with an NJ series CPU Unit the user program uses device variables for CJ series Unit that reference the CJ series Unit memory to use the functions Correspondence for word addresses bit numbers and device variables of the CJ series Unit between the I O memory of the CJ series CPU Unit and CJ series Unit memory of the NJ series CPU Unit is shown below Start address of the words allocated in CIO Area n 2000 Unit number x 10 Unit number 0 to 95 Start address of the words allocated in DM Area m D20000 Unit number x 100 Unit number 0 to 95 Set the unit number switches on the front panel of the Unit to set the words that are allocated to each Analog I O Unit in the Special I O Unit Area in the CIO Area and DM Area Switch No ee Words allocated in Data Memory Area Area in CIO Area in DM Area Cloz070toClO2070 Unit 7 CIO 2070 to CIO 2079 D20700 to D20799 Unit 48 CIO 2080 to CIO 2089 D20800 to D20899 Unit 9 CIO 2090 to CIO 2099 D20900 to D20999 Unit Zn CIO 2000 n x 10 to CIO 2000 nx D20000 n x 100 to D20000 n x 10 9 100 99
224. ndicator Lit ADJ Indicator Flashing RUN T ERC T1 O Lit ERH M ld Flashing ADJ Bl Not lit This alarm will occur in the case of incorrect operation while in the Adjustment Mode The alarm information is output to the device variables for CJ series Unit shown below Alarm name Error contents I O status Countermeasure Variable name applicable model AjdinErr Adjustment In Adjustment Conversion data If you make the ADOL 1 V1 Mode Conver Mode you cannot that corresponds adjustment by means AdjlnMdErr sion Time Resolu adjust offset or to the input signal of a connected input MAD42 tion or Operation gain because is monitored in the device first adjust the AdjInNoErr Mode Setting Error Adjustment input value is out of the permissible range for adjust ment In Adjustment device variable for CJ series Unit AdjPV Values immedi input device before adjusting the Analog I O Unit e Check whether the ADOL 11 V1 Mode Input Value Mode you cannot ately prior to error device variable for AdjOutNoErr Adjustment Num perform adjust held No data is CJ series Unit ber Setting Error ment because the changed AdjCh is set DAOL 4 DAO8l Sage n Output Value specified input or correctly _AQJIONOErr Adjustment Num output number is e Check whether the MAD42 ber Setting Error not set for use or input or output num RUN B ERC CI ERH MM ADJ N In
225. nds on the current con sumption of other units that are mounted 5 You can set output signal ranges for each output 6 The accuracy is given for full scale For example an accuracy of 0 3 means a maximum error of 12 ata resolution of 4 000 For the CJ1W DA021 041 the accuracy is at the default setting for a current output When you use a voltage output adjust the offset and gain as required 7 The A D conversion cycle is the time it takes for an analog signal to be stored in the Analog Output Unit mem ory as conversion data It takes at least one task period before the conversion data is read by the CPU Unit 8 The Output Conversion Enable Flag turns OFF when the CPU Unit shifts from RUN Mode to PROGRAM Mode as well as when the Controller is reset including when the power turns ON 9 The resolution can be set to 8 000 and the conversion cycle to 250 us initial setting parameter for CJ1W DA08V 08C gt e y D o D ct O 5 0 4 1 2 Output Function Block Diagram CPU Unit Analog Output Unit D A i Conversion I O port Analog output 1 Output value hold Analog output 2 Same as above Analog output 3 Same as above Analog output 4 Same as above Analog output 5 Analog output 6 Analog output 7 Analog output 8 Same as above Same as above Same as above Same as above With the CJ1W DA021 output 1 and output 2 can lO refresh be used with the DA041 outputs 1 to 4 can be used Scal
226. nected devices or use an insulating device isolator for each input to avoid the following problems When the power supply at the connected devices is shared and section A or B is disconnected power will flow in the direction of the broken line and the output voltage of the other connected devices will be reduced to between a third to a half of the voltage If 1 to 5 V is used and reduced voltage output dis connection may not be detectable If section C is disconnected the power at the input terminal will be shared and disconnection will not be detectable uonoeuuoosiq Indu e8ejoA p 9 For current inputs you can share the power supply between the connected devices without causing any problems CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 17 6 CJ series Analog I O Unit CJ1W MAD42 6 4 4 I O Wiring Example Output 2 CJ1W MAD42 Voltage output amo mmm mm m m PEE E o oa aa a Wt m Input 2 Voltage input Input 1 Current input Auf um mm um um mm um mm um oum m m mm mm mm mm The input AG terminal need not be connected in normal conditions but if noise is of concern connect the shielded wire for each input by one of the following methods e Connect the end of the shielded wire on AD Unit side to the AG terminals as shown in the above diagram use a wire that is 30 cm or shorter if possible In this case do not connect the end of the shielded wi
227. nformation must be displayed for all products that contain primary lithium batteries with a perchlorate content of 6 ppb or higher when shipped to or transported through the State of Califor nia USA Perchlorate Material special handling may apply See www dtsc ca gov hazardouswaste perchlorate e The CPU Unit contains a primary lithium battery with a perchlorate content of 6 ppb or higher Place the above information on the individual boxes and shipping boxes when shipping finished products that contain a CPU Unit to the State of California USA CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Precautions for Correct Use Precautions for Correct Use n Storage Mounting and Wiring Do not operate or store the Controller in the following locations Operation may stop or malfunctions may occur Locations subject to direct sunlight Locations subject to temperatures or humidity outside the range specified in the specifications Locations subject to condensation as the result of severe changes in temperature Locations subject to corrosive or flammable gases Locations subject to dust especially iron dust or salts Locations subject to exposure to water oil or chemicals Locations subject to shock or vibration Take appropriate and sufficient countermeasures when installing the Controller in the following loca tions Locations subject to strong high frequency noise Locations subject to stat
228. ng Power Supply Do not touch any of the terminals or terminal blocks while the power is being supplied Doing so may result in electric shock Do not attempt to take any Unit apart In particular high voltage parts are present in the Power Supply Unit while power is supplied or immediately after power is turned OFF Touching any of these parts may result in electric shock There are sharp parts inside the Unit that may cause injury P Fail safe Measures Provide safety measures in external circuits to ensure safety in the system if an abnormality occurs due to malfunction of the CPU Unit other Units or slaves or due to other external factors affecting operation Not doing so may result in serious accidents due to incorrect operation Emergency stop circuits interlock circuits limit circuits and similar safety measures must be provided in external control circuits The Controller outputs may remain ON or OFF due to deposition or burning of the output relays or destruction of the output transistors As a countermea sure for such problems external safety measures must be provided to ensure safe operation of the system The CPU Unit will turn OFF all outputs from Basic Output Units in the follow ing cases The remote I O slaves will operate according to the settings in the Slaves e If an error occurs in the power supply e If the power supply connection becomes faulty e If a CPU watchdog timer error or CPU reset occurs
229. ng Set the set values of the scaling ing is outside the setting range Or upper limit and scaling lower limit so upper limit and scaling lower limit so the maximum value and minimum that they are within the setting range that they are within the setting range value are not 0 and they are the Set the ranges so that the upper limit Set the ranges so that the upper limit same does not equal the lower limit does not equal the lower limit Attached None information Precautions None Remarks 7 28 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Event name Meaning Source Error attributes Effects 7 Common Items Input Signal Range Setting Error or Error in Number of Event code 34840000 hex Inputs Setting There is a mistake in the input signal range setting or in the number of inputs setting PLC Function Module Source details CJ series Unit Detection At power ON timing Controller reset or restart Conversion will not start for the Unit and the data will be 0 variables Cause and correction Attached information Precautions Remarks The settings of the input signal range or the setting of the number of analog inputs that are used is incorrect None None e If you set the number of analog inputs to use in device variable InChUseCfg set the value to between 0 and 4 If you set the input signal range in device variable _Ch _InRngCfg set the value to 0 2
230. nges to the RUN Mode the result will become TRUE for only one task period User defined variables To be defined before or when creating a program Name Data type Factory setting Comments Sample BOL False Mean value acquisition command StartSample EE Mean value acquisition processing start flag EndSample BOOL Mean value processing completion flag Buff ARRAY 0 64 OF INT 64 EAT ERT INT 65 0 Mean value processing data buffer SmapmleCount UINT Mean value processing data acquisition counter Device variables for CJ series Unit Create them on the I O Map screen after the Unit Configuration is created Allocated Name Data type Factory setting address AT Details J01 Ch1_RdAI INT lOBus rack 0 Indicates the input 1 slot 0 Ch1 RdAI Conversion Data A D conversion value A 12 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Appendices e Program Example Initialization of mean value processing data buffer and counter P First RunMode Clear EN ENO In0ut InOut EndSample Out SmapmleCount Acceptance of mean value processing instruction StartSample EndSample Sample t Sample Perform mean value processing Sample JO1 Ch1 RdAI Out Buff 0 Buff 0 UINT 65 UINT 1 ji N o fo 3 D U o e fo 3 o0 EndSample EN EN SmapmleCount In1 SmapmleCount SmapmleCount In1 UINT 1 In2 UINT 64 I
231. nit The following table shows the meanings of the indicators Indicator Indicator Operating status status RUN Operating Operating in Normal Mode green Not lit Unit has stopped exchanging data with the CPU Unit Lit ERC red Error Alarm has occurred such as disconnec detected by tion detection or initial settings are incor Unit rect Not lit Operating normally ERH red Errorinthe Lit Error has occurred during data exchange CPU Unit with the CPU Unit Not lit Operating normally ADJ yel Adjusting Flashing Operating in offset gain Adjustment low Mode Not lit Other than the above 4 3 3 Unit Number Switches Use the unit number switches to set the specific unit number for each Special I O Unit mounted in a CPU Rack or Expansion Rack The unit number must be the one registered in Unit Configurations Turn OFF the Controller before changing the unit number setting Switch setting Unit number 0 Unit 0 MACH 8 1 vad 1 No C es 2 Unit 2 107 NC SZ 3 Unit 3 4 Unit 4 Lo 5 Unit 5 109 6 Unit 6 7 Unit 7 8 Unit 48 9 Unit 9 10 Unit 410 to to n Unit n to to 95 Unit 95 EN Additional Information e f two or more Special I O Units are assigned the same unit number a Duplicate Unit Num ber major fault level Controller error is generated and the Controller will not operate e After correcting the unit number setting cycle the power to the Controller CJ series Analog I O Units Operation M
232. nnnnnnnns 2 4 4 INUEVO Xa IM DIG ae cmm 2 4 5 Input Wiring Considerations ccccccccccccesseeeeseeeeececeeeeeesceaeaesseeeseceeeeeeseesaaeaeaeeeeseeeeeeeeeeeeeess 2 5 Exchanging Data with the CPU Unit eseessansaresnannnsennnnnavennnnsnnennnnnanannesnnennnnnnnveannnnnnennnnannnen 2 5 1 Oline dl Dala EXollarige use sees 2 5 2 Accessing from the User Pr eA ae Re 2 5 3 Allocating Device Variable for CJ series UNil occccccccccnnnccnnnccccooonccnnnnonononnnnnnnnnnononanonnnnnnnnnnns 2 6 Analog Input Functions and Operating Procedures cconnccccnncccncnccononocenonanenonnnnnonnnnennnnnnos 2 6 1 Input Settings and Conversion Values coooococcncncccnonnnnnononononononnnnnnnnnnnnnnnnonnnnnnnnnnnnnnnnnnnnnnnnnnnos 2 6 2 Meam Value Processing ua Re 2 6 3 Peak Valle Hold FUNCION Husene 2 6 4 Input Disconnection Detection Function ccccoocnnnncccccnonccccncnoncnnnnnonononnnnncnonanonnnnnnncnnnonannnnnnnnos Section 3 CJ series Analog Input Units CJ1W AD042 SL Spear a 3 2 3 1 1 jer e li eli c RUNE DET T Tm oem 3 1 2 Input Function Block Dad Mesas 3 1 3 Inputs SPE GIN NN 3 2 Operating Procedur ui eee 3 6 3 3 Components and Switch Settings iii id 3 8 3 3 1 ENN NNN 3 3 2 HACIO NN 3 3 3 Unit Number SWIICIIGS Lara esse J WING AA 3 4 1 Terminal ARAN MN add 3 4 2 Mena ECU ill etse rete ii E E 3 4 3 Voltage INPUT DISCO EGON a e e alada 3 4 4 Input VITIO BANNE He 3 4 5 Mou Wiring Sonsiderall piS renam e EAM LM s MEE Le
233. nor mally if an error occur in slave communications Before you start an MC Test Run make sure that the operation parameters are set correctly Do not download motion control settings during an MC Test Run i EtherCAT Communications Do not disconnect the EtherCAT slave cables during operation The outputs will become unstable e Set the Servo Drives to stop operation if an error occurs in EtherCAT communications between the Controller and a Servo Drive Make sure that all of the slaves to be restored are participating in the network before you reset a Net work Configuration Verification Error Process Data Communications Error or Link OFF Error in the EtherCAT Master Function Module If any slave is not participating when any of these errors is reset the EtherCAT Master Function Module may access slave with a different node address than the spec ified node address or the error may not be reset correctly 30 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Precautions for Correct Use i Battery Replacement Be sure to install a replacement Battery within two years of the production date shown on the Battery label e Turn ON the power after replacing the Battery for a CPU Unit that has been unused for a long time Leaving the CPU Unit unused again without turning ON the power even once after the Battery is replaced may result in a shorter Battery life e When you replace the Battery use the CJ1W B
234. nput number 1 to 4 Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller is reset or when the Unit restarts q O gt 5 m O O 3 c Tl c 5 o o 5 D D 5 2 O gt O D ct 3 e U o D Q c D 0 Example Setting 1 Set the following conditions for scaling O to 10 V signal of input 1 in set value of O to 10 000 Set Input 1 Scaling Lower Limit Ch1 Scl L Cfo to 0 Set Input 1 Scaling Upper Limit Ch1 Scl H Cfo to 10 000 The following diagram shows the correspondence between input signals and converted scaling val ues uonouny Buljeog indu 9 Offset upper limit 10 500 2904 7 Scaling upper limit 10 000 2710 7 Scaling line Scaling lower limit 0 0000 Offset lower limit 500 FEOC The conversion results Input signal range shown in parentheses are 16 bit binary data 0 V 0 10V 10 000 0 5 V 500 10 5 V 10 500 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 25 3 CJ series Analog Input Units CJ1W AD042 3 6 4 3 26 Example Setting 2 Reverse Scaling Set the following conditi
235. nsnipy L Z 7 seJnpeooJg 1ueuusn py uren pue Jesuo 1ndino L 7 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 13 7 Common Items 7 2 When Errors and Alarms Occur 7 2 1 Indicators and Error Flowchart i Indicators If an alarm or error occurs in the Analog Input Analog Output or Analog I O Units the ERC or ERH indi cators on the front panel of the Unit will light Front panel of Unit MAD42 RUN ERC ERH ADJ LED Operating status RUN green A et uu in Normal Mode lit Unit has stopped exchanging data with the CPU Unit ERC red Error detected by Unit Alarm has occurred such as disconnection detection or initial settings are incorrect Not lit Operating normally ERH red Error in the CPU Unit Error has occurred during data exchange with the CPU Unit Not lit Operating normally ADJ yellow Adjusting Flashing Operating in offset gain Adjustment Mode Not lit Other than the above 7 14 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 Common Items i Troubleshooting Procedure Use the following procedure for troubleshooting the Unit errors Error occurs Is the ERC indicator lit p is the RUN indicator gt gt gt lit No No Yes Yes Is the ERH indicator lit Is the RUN indicator lit No No Yes Is the RUN indicator No Error in internal circui
236. nt Mode lo 1 0 euis S NJ series device variable for CJ series Unit putos fn Tay Ados OfseFas BOO AdjCir Adjustment Value Clear Flag BOOL Input n 8 00 to 15 AdjPV Conversion value for adjust INT This Unit to ment n 9 CPU 08 to 15 AdjUnitErr Error Flags BYTE AdjOutNoErr Output Value Adjustment BOOL Number Setting Error Aowa pue SHUN seues f2 10J SIVULA SINNIG 10 SAB eouepuodsea14102 p v SJUN S9LIIS 10J sessoJppy gt T BA O J gt O bn AdjMemErr Non volatile Memory Error BOOL AdjMd Starting Adjustment Mode BOOL 0j gt oo CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A 27 Appendices Special I O Unit DM Area common to both Normal Mode and Adjustment Mode CJ series I O memory address NJ series device variable for CJ series Unit Dm WORD CET Outhngc Output Signal Range Seting WORD 00 to 01 Output 1 Output Signal Range Setting 02 to 03 Output 2 Output Signal Range Setting D m 2 00 to 07 Ch1_HdMdCfg Output 1 Output Status When USINT Conversion Stops D m 3 00 to 07 Ch2_HdMdCfg Output 2 Output Status When USINT Conversion Stops A 4 5 CJ1W DA041 Special I O Unit CIO Area in Normal Mode lo 1 0 ss NJ series device variable for CJ series Unit CPUs oo gt om omom Output Conversion Enable BOOL 00 to 15 Ch4_WrAO Output 4 Set Value INT Input n 9 00 to 07 Output Set Value Error BYTE
237. ntinuously timing The output values of the Unit will follow the output hold function Error attributes Effects hers AA A E GE An output set value setting is out of Correct the program so that the out Make sure the set value does not range put set value is within range exceed the setting range Attached Attached information 1 Output number where error was detected information Precautions You can change the event level to the observation level If you change the level to the observation level recovery proce Remarks dures are not required Event name Input Value Exceeded Adjustment Range in Adjustment Event code 34810000 hex Mode Meaning In Adjustment Mode the input value exceeded the range for which adjustment is possible Source PLC Function Module Source details CJ series Unit Detection When adjust timing ment is started User program Continues Operation The Unit stores the data converted from the input signal in device variable AdjPV Error attributes Effects SESJON In Adjustment Mode the input value Adjust the input device so that the Adjust the input device in advance so exceeded the range for which adjust input value does not exceed the range that the input value does not exceed ment is possible so the offset and for which adjustment is possible the range for which adjustment is pos gain cannot be adjusted sible Attached None information Precautions You can change the event level to the minor fault
238. ntion to this during installation and take mea sures such as covering with a cover e f the Unit was shipped from the factory with the dust protection label on top of the unit be sure to remove that label before switching ON the power The label prevents heat dissipation and could cause a malfunction Remove the label after the wiring is complete g Y Fr du NN NS G ae ARR je O PA Y G A 4 A NE Ne LZ CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 1 9 1 System Design 1 3 Function Applications gt See Function Application Section Mean value processing Performs a smooth conversion when the input fluctuation is too extreme 2 6 2 3 6 2 Example Removes noise interference from data such as flow pressure 6 6 2 Peak value hold Holds the maximum value that was read 2 6 3 3 6 4 Holds the data that is less than the maximum value 6 6 3 Disconnection detection Detects disconnection of input signals 2 6 4 3 6 5 6 6 5 Output hold function Holds the output signal at the previous value for certain conditions such as 4 6 2 5 6 2 errors 6 7 2 Holds the output signal in the lower limit value or 0 V for certain conditions such as errors Holds the output signal in the upper limit value for certain conditions such as errors Ratio conversion Uses the Analog I O Unit as a gradient setting device for setting ratio
239. o CJ1W DAOSV Voltage Output and CJ1W DA08C Current Output Output 2 Output 2 Output 4 Output 6 Output 6 Output 8 Output 8 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 13 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C EN Additional Information e Use the device variable for CJ series Unit Output Use Setting _Ch _OutChUseCfg to set the analog output number that you can use e Set the output signal range for each analog output with the device variable for CJ series Unit Output Signal Range Setting OutRngCfg The output signal range can be set separately for each output number e The N C terminals are not connected to internal circuit e We recommend the following external power supplies Specifications 100 VAC 50 W 100 VAC 100 W 4 4 2 Internal Circuit The following diagrams show the internal circuit of the analog output section e Voltage Output Circuit Voltage output section i Output switch and Voltage conversion output circuit Voltage Lo m output AG common to all outputs e Current Output Circuit Current output section Current output Fr ee ee eH Current version i output Laa a 4 14 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08
240. o not insert these cables into the same duct e f there is noise interference from power lines for example the power supply is shared with electrical welding devices or electrical discharge machines or there is a high frequency generation source nearby install a noise filter at the power supply input area e Use a separate power supply for the external power supply from the one used for Basic I O Units If the same power supply is used noise may cause Units to malfunction CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 CJ series Analog Output Unit CJ1W DA021 041 08V 08C 4 5 Exchanging Data with the CPU Unit 4 5 1 Outline of Data Exchange The CPU Unit and Analog Output Unit CJ1W DA021 041 08V 08C exchange operation data and initial setting parameters via the I O port generated for this Analog Output Unit The table and figure below show the data exchange method for each data type Data exchange type Unit data type EE AT specification How to access Timing of data destination from user program exchange Operation data Analog output set I O port operation Device variable for At I O refreshing ting values etc data CJ series Unit Initial setting param Analog output sig I O port initial set Device variable for When the Controller eters nal range output ting parameters CJ series Unit is reset or the Unit status when conver restarts sion stops etc Unit Restart Bit etc Unit Restart Bit e
241. ock Diagram 2 4 3 3 Input impedance eeeeeeeeeeeeeen nnn 2 2 3 2 Nou INU ONS garage ratto dote 6 26 INPUT SCAN aei ieaic ceu SER 3 24 6 32 Input signal range cccccooncnnccconcnnconncnnnnnnnnnnnnonnnncnnnos 2 2 3 2 Input signal range setting 2 26 3 21 6 26 Input Signal Range Setting Error 7 18 Input Specifications Luse 6 5 Input Use Settings sss 2 25 Input Value Adjustment Number Setting Error in Adjustment Mode cccccccsssseeeeeeeesaeeeeeeeeesaeas 7 17 Input Output Value Adjustment Number Setting Error in Adjustment Mode ccccecsssseeeeeeeeseeeeeeeeeeeeeas 7 17 Inputs Specifications eese 3 9 Inputs to Be Adjusted sssss 7 4 7 5 7 6 Internal Configuration 2 14 3 11 4 15 5 11 6 16 L A 6 43 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 M MAN ca E GES EEFIGER 1 4 4 28 6 39 Max output current eee 4 2 Maximum external output Current sssssse 6 4 Maximum number of Units 2 2 3 2 4 2 5 2 Maximum rated input cccoooncnnccccnncnccnnnccnnnoncnnnncnnnns 2 2 3 2 MEN VALE T c 1 5 Mean Value Processing 2 27 3 22 6 28 A 12 Mean Value Processing Setting Error 7 18 Memory A
242. og Input Unit CPU Unit Input dis M seal Analog input 1 B ion Connection CD Peak value Chi RdAI Analog input 2 Same as above Analog input 3 Same as above Analog input 4 Same as above Analog input 5 Same as above Analog input 6 oame as above Analog input 7 Same as above Analog input 8 Same as above I O refresh Note There are only four analog inputs for the CJ1W AD041 V1 2 1 3 Input Specifications If signals that are outside the specified range provided below are input the conversion values 16 bit integer used will be either the maximum or minimum value i Range 1 to 5 V 4 to 20 mA Conversion value 4200 8400 4000 8000 F A 1 p Resolution 4 000 Resolution 8 000 0 0 200 400 I I I I I I I I I I I I I I I I I J I I I I 1V AmA 5V 20m 0 8V 3 2mA Analog input signal 2V 20 8mA oc 2 4 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 Range 0 to 10 V Conversion value 4200 8400 4000 8000 N L o o O O ES et O 5 0 Resolution 4 000 Resolution 8 000 0 0 200 400 suoleoyioads Indu L Z Range 0 to 5 V Conversion value 4200 8400 4000 4000 l l gt l l Resolution 4 000 Resolution 8 000 0 0 200 400 Analog input signal 0 25V 5 25V CJ series Analog I O
243. on Precautions You can change the event level to the minor fault level If you change the level to the minor fault level the Recovery col Remarks umn above will be changed to Error reset 7 36 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Appendices AL DIMENSIONS vibes eae e eae Reo doe Eee A 2 A 2 Sample Programs iri trees tat a ia ess A 3 A 2 1 Upper and Lower limit Alarm Constant Monitoring A 3 A 2 2 Upper and Lower limit Alarm with Standby Sequence A 4 huc MEN oT A 7 A 2 4 Square Root Calculation aravvvv ravner A 10 A 2 5 Mean Value Processing llli A 12 Ae 5 SEI ess ecce oe MENE Se he e ue Oe hlc tu ec arg hee eee A 14 A 3 Functional Differences due to CPU Units NJ CJ series to be COMM CLO c re A 16 A 4 Correspondence Tables for Device Variables for CJ series Units and Memory Addresses for CJ series Units A 17 A 4 1 GIWADIH Varer A ee Er Ga A 18 P2 CITW ADOST MVT dues daa dux read GS A 21 pod OI ND E qt oe ase deir tou Ud SAS A 25 A 4 4 CJIW DAO21 lise hahahaha res A 27 Aado KIND ae ve oscar tes A 28 A 4 6 CJ1W DAQ08V 08C TP A 30 Ad GITVW DA2N sanar rd be dv A 34 Aedes CXUJTNVSMAD AO dace die Sci AAA AA A ae a er A 36 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A 1 Appendices A 1 Dimensions CJ series Units CJ1W AD041 V1 AD081 V1 AD0
244. on Precautions You can change the event level to the minor fault level If you change the level to the minor fault level the Recovery col Remarks umn above will be changed to Error reset N Event name Output Number Specification Error in Adjustment Mode 34880000 hex Meaning The output number specified in Adjustment Mode is not enabled or the output number is wrong Source PLC Function Module Source details CJ series Unit Detection When adjust 3 timing ment is started e Error attributes System defined Data type Name eee None EE The output number that was specified Correct the use setting of the output Set the use setting of the output that ui in Adjustment Mode is not enabled that is specified by the Adjustment is specified by the Adjustment Output m output Number device variable Number device variable AdjCh to 3 AdjCh to enable using the output enable using the output 5 The setting of the Adjustment Output Correct the setting of the Adjustment Set the Adjustment Output Number 3 Number device variable AdjCh is Output Number device variable device variable AdjCh to within the 5 incorrect so adjustment is not possi AdjCh to within the following range following range o ble CJ1W DA021 16411 to 16412 CJ1W DA021 16411 to 16412 CJ1W DA041 16211 to 16414 CJ1W DA041 16411 to 16414 CJ1W DA08V DA08G 16411 to CJ1W DAO8V DAOSC 16411 to 16418 16418 Attached None information Precautions You can c
245. on Manual for NJ series CPU Unit W490 5 CJ series Analog Output Unit CJ1W DA042V 5 3 2 Indicators The indicators show the operating status of the Unit The following table shows the meanings of the indicators Indicator Meaning Indicator Operating status status RUN green Operating Lit Operation normal LN lit Unit has stopped exchanging data with the CPU Unit ERC red Error Lit Initial settings are incorrect detected by O lit Operating normally Unit ERH red Error in the Error has occurred during data exchange CPU Unit with the CPU Unit Not lit Operating normally 5 3 3 Unit Number Switches Use the unit number switches to set the specific unit number for each Special I O Unit mounted in a CPU Rack or Expansion Rack The unit number must be the one registered in Unit Configurations Turn OFF the Controller before changing the unit number setting Unit number Switch Unit switches setting number MACH G 8 0 2n 0 No se 1 Unit 1 x10 CST 2 Unit 2 3 Unit 43 ens 4 Unit 4 LO O x10 AM 5 Unit 5 6 Unit 46 7 Unit 7 8 Unit 48 9 Unit 49 10 Unit 410 to to n Unit n to to 95 Unit 95 EN Additional Information e If two or more Special I O Units are assigned the same unit number a Duplicate Unit Num ber major fault level Controller error is generated and the Controller will not operate e After correcting the unit number setting cycle the power to the Controller CJ series Analog I O
246. on enable with the device variable for CJ series Unit Output Conversion Enable Settings _Ch _ConvCmd shown below Variable name Type Setting Ch _ConvCmd BOOL 0 Conversion disable 1 Conversion enable An output number from 1 to 2 is included in place of ff in the variable name In addition to input peak value hold you can also perform batch settings with the device variable for CJ series Unit Peak Value Hold and Output Conversion Enable Settings ConvPkHdCmd shown below Variable name Type Setting ConvPkHdCmd BYTE 16400 to 164F3 Bit 07 06 05 04 03 02 01 0 Do not perform peak value hold 1 Perform peak value hold Input 4 Input 3 Input 2 Output 2 Output 1 Input 1 0 Output conversion disable 1 Output conversion enable n 2000 unit number x 10 EN Additional Information e The analog output when conversion is stopped will differ depending on the output signal range setting and output hold setting Refer to Outout Signal Ranges on page 6 36 6 7 2 Output Hold Function e Conversion will not begin under the following conditions even if the Conversion Enable Bit is turned ON In Adjustment Mode when something other than the output number is output during adjust ment 2 When there is an output setting error 3 When a major fault level Controller error occurs at the CPU Unit e When the CPU Unit changes from the RUN Mode to PROGRAM Mode all output for the device variable f
247. onnection BOOL Detected Ch4 SensErr Input 4 Disconnection BOOL Detected 08 to 15 Error Flags BYTE Aowa pue SHUN seues f2 10J SIVULA SINNIG 10J SAB eouepuodsa14102 p Vv SJUN S9 9S P 10J sessoJppy 0 0 0 Scaling Data Setting Error BOOL CfgErr Input Signal Range Setting BOOL Error or Error in Number of Inputs Setting AveErr Mean Value Processing Set BOOL ting Error MaErr Error in Setting of Conversion BOOL Mode Direct Conversion Mode BOOL A D Conversion Error BOOL The Direct Conversion Mode cannot be used with the NJ series CPU Unit On the Special Unit Setup Editing of Sysmac Studio set Conversion Mode Setting to Cyclic Conversion Mode gt ja oO O gt U O ER no 1 2 3 11 12 13 14 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A 25 Appendices f Special I O Unit DM Area CJ series I O memory address NJ series device variable for CJ series Unit D m 00 to 07 InChUseCfg Number of Analog Inputs USINT Used D m 1 00 to 07 Conversion Mode Setting D m 2 00 to 07 Ch1_InRngCfg Input 1 Input Signal Range USINT Setting D m 3 00 to 07 Ch1 AveCfg Input 1 Number of Samplings UINT for Mean Value Processing D m 4 00 to 15 Ch Scl L Cfg Input 1 Scaling Lower Limit INT D m 5 00 to 15 Ch1 Scl H Cfg Input 1 Scaling Upper Limit INT D m 6 00 to 07 Ch2_InRngCfg Input 2 Input Signal Range USINT Setting D m 7 00 to 07
248. ons for scaling 0 to 10 V signal of input 2 in set value of 10 000 to 0 Set Input 2 Scaling Lower Limit Ch2 Scl L Cfo to 10 000 Set Input 2 Scaling Upper Limit Ch2 Scl H Cfg to 0 The following diagram shows the correspondence between input signals and converted scaling val ues Offset lower limit 10 500 2904 Scaling lower limit 10 000 2710 Scaling line Scaling upper limit 0 0000 Offset upper limit 500 FEOC OT lt 0 410 5 V The conversion results Input signal range shown in parentheses are 16 bit binary data OV 10 000 10V 0 0 5 V 10 500 10 5 V 500 Peak Value Hold Function The peak value hold function holds the maximum digital conversion value for every input this includes mean value processing Peak value hold Digital conversion value A Conversion value when the peak value hold function is used gt ans Time The peak value hold function is executed with the device variable for CJ series Unit Input Peak Value Hold Execution _Ch _PkHdCmd shown below Peak value hold of the conversion value is performed while this variable is 1 Variable name Type Setting Ch _PkHdCmd BOOL 0 Do not perform peak value hold 1 Perform peak value hold An input number from 1 to 4 is included in place of in the variable name CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 CJ series Analog Input Uni
249. ontroller e Reset the Controller if adjusting offset and gain is not required The power need not be cycled Set the operating mode switch to Adjustment Mode Set DIP switch on the front panel to Adjustment Mode Turn the power to the Controller OFF and ON e The Special Unit is restarted and operates in the Adjustment Mode In the Adjustment Mode the ADJ indicator flashes e Set the CPU Unit to PROGRAM mode Adjust the offset and gain Adjusting Offset and Gain is performed if the input must be calibrated for the connected device Turn OFF the power to the Controller Set the operating mode switch to Normal Mode Set DIP switch on the front panel to Normal Mode Turn the power to the Controller OFF and ON e The Special Unit is restarted and operates in the Normal Mode e In the Normal Mode the ADJ indicator remains unlit e Main operation 7 Main operation Read or write set values from the user program Acquire conversion value and status disconnection detection and error flag Specify the peak value hold function CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 2 3 Components and Switch Settings 2 3 1 Component Names CJ1W AD041 V1 CJ1W AD081 V1 SOWPN 1ueuodulo2 L 2 LE sbunes YOUMS pue sjuauoduio e z e Front With Terminal Block With Terminal Block Removed Indicators Te
250. or 04600000 hex An error occurred in A D conversion PLC Function Module Source details CJ series Unit Detection Continuously timing Level Minor fault Recovery Cycle the power Log category System supply User program Continues Operation Immediately previous values are held in the Unit and data is not updated None EE Assumed cause Correction Prevention There is a source of noise nearby Use the Unit away from sources of noise Implement noise countermea sures A D converter failed If the above cause does not apply None replace the Unit None Implement noise countermeasures AD042 If conversion can be performed normally A D conversion will be performed with the A D Conversion Error Flag turned ON You can change the event level to the observation level If you change the level to the observation level recovery procedures are not required Non volatile Memory Error 04620000 hex An error occurred in non volatile memory PLC Function Module Source details CJ series Unit Detection Continuously timing Minor fault Cycle the power Log category System supply User program Continues Operation The Unit will stop if this error is detected in self diagnosis when the power supply is turned ON Operation continues if the error occurs during operation There is a source of noise nearby Implement countermeasures if there Use the Unit away from sources of noise Implement noise countermea sures Non volatile m
251. or CJ series Unit i Initial Setting Parameters Perform Unit settings such as output usage setting analog output signal range etc Initial setting parameters settings are set from Special Unit Setup Editing of Sysmac Studio Unit settings can also be performed by setting the values in the device variables for CJ series Unit Unit settings are reflected only when the Controller is reset or when the Unit restarts The initial setting parameters are retained in the CPU Unit by the battery even during power interruptions Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller reset or when the Unit restarts List of Initial Setting Parameters common to both Normal Mode and Adjustment Mode Name of device variable for CJ series Type R W Feature reference page Unit ChUseCfg BYTE Input and Output Use Settings Refer to Input Numbers in 6 6 1 Input Settings and Conversion Values 6 7 1 Output Settings and Conversion Values Chi_OutChUseCfg BOOL Output 1 Use Setting BOOL type variables to specify 00 Ch2 OutChUseCfg BOOL Output 2 Use Setting usage per output and input 01 Chi InChUseCfg BOOL Input 1 Use Settin Meg 04 Chi seCfg pu g 1 Used
252. or CJ series Unit ConvCmd will change to the status of conversion disabled This also happens when the Controller is reset including when the power is turned ON The output status at this time depends on the output hold function 6 38 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 6 7 2 Output Hold Function The Analog Output Unit stops conversion under the following circumstances and outputs the value set by the output hold function 7 When the Conversion Enable Bit is OFF Refer to 6 7 1 Output Settings and Conversion Values 2 In Adjustment Mode when something other than the output number is output during adjustment Refer to 6 5 2 Accessing from the User Program 3 When there is an output setting error Refer to 6 7 4 Output Setting Errors on page 6 42 4 When a major fault level Controller error occurs 5 When there is an input disconnection during ratio conversion You can select CLR HOLD or MAX for the output status when conversion is stopped Output signal CLR HOLD MAX range 0to 10 V 0 5 V Voltage that was output just prior to stop 10 5 V Min 5 of full scale Max 5 of full scale 10 to 10 V 0 0 V Voltage that was output just prior to stop 11 0 V Max 5 of full scale P I gt 5 O O O c eb gt c Tl 5 O 5 D o 3 2 O gt O D ct 3 e U O O D Q c D 0 1to5V 0 8V Voltage
253. or in the reverse order Use Sysmac Studio to create and set programs For operations of Sysmac Studio refer to the Sysmac Studio Version 1 Operation Manual Cat No W504 e Programs and software settings 7 Create POU and global variables Create Unit Configuration e Create and register global variables and each POU e Create algorithms for each POU and register local variables of each POU e Register the Unit in the Unit Configuration on the CPU Expansion Racks screen in Configura tion and Setup At this time set both the device name and the unit number of the unit to be registered e Create device variable for CJ series Unit by using I O Map 2 Create Unit initial setting parameters Create the Unit settings by using Special Unit Setup Editing e Set the number of analog outputs to be used e Set the output signal ranges e Set the output hold function e Set upper and lower limits for scaling When the program is transferred the items set here will be reflected in the initial setting parameters e Hardware setting and Rack assembly 7 Use the unit number switches on the front panel of the Unit to set the unit number Set the same unit number as in the Unit Configuration settings 2 Mount and wire the Unit to either a CPU Rack or Expansion Rack 3 Turn ON the power to the Controller At this time an I O Setting Check Error occurs when there is a Unit Configuration in the CPU Unit which does not match the actual Un
254. ous need to provide a numeric conversion program It is only enabled however for a conversion cycle of 1 ms and a resolution of 4 000 and not for a conversion cycle of 500 us and a resolution of 8 000 EN Additional Information e Besides setting the upper limit gt lower limit it is also possible to set the lower limit lt upper limit Reverse scaling is supported e Actual D A conversion is executed at up to 5 to 105 of full scale e You cannot use the scaling function when the ratio conversion function is used e f the scaling upper limit equals the lower limit or if the scaling upper limit or lower limit is out side the range of 32 000 a scaling data setting error is generated and scaling cannot be exe cuted Operation starts normally when both the upper and lower limits are set to 0000 the default values e Setting Upper and Lower Limits for Output Scaling Use the initial setting parameters shown below to set the output scaling upper and lower limit values Variable name Type Setting Ch amp Scl L Cfg INT Scaling lower limit 32 000 to 432 000 Ch Scl H Cfg INT Scaling upper limit 32 000 to 432 000 The I O number is included in place of in the variable name Output 1 to 2 Input 3 to 6 Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the sa
255. output range Output signal range 0 to 10 V 0 4000 The following example uses output number 1 adjustment 1 Set the device variable for CJ series Unit Outputs to Be Adjusted AdjCh to 16411 Adjust ment of output 1 2 Set the device variable for CJ series Unit Gain Flag Ad Gain to 1 3 Check whether the output devices are connected Current output PREPA ARA 1 Output 1 4 Monitor the device variable for CJ series Unit Conversion value for adjustment Ad PV and check the output value while the Gain Flag is ON 5 Change the output value so that the output voltage reaches the standard value You can adjust the output value within the indicated ranges in the following table Output signal range Output range 0to 10 V 3800 to 4200 7600 to 8400 10 V to 10 V 1800 to 2200 3600 to 4400 1to5V 3800 to 4200 7600 to 8400 0 to 5 V 3800 to 4200 7600 to 8400 4 to 20 mA 3800 to 4200 7600 to 8400 Values in parentheses are for a resolution of 8 000 Use bit operation of the device variables for CJ series Unit shown below to adjust the output value Variable name Type Function AdjDwn BOOL Adjustment Value Down Flag Decrease the adjusted value by one resolution AdjUp BOOL Adjustment Value Up Flag Increase the adjusted value by one resolution CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 11 uled pue josyo Bunsnipy L Z 7 seJnpeooJg ju
256. pa rately for each output number V Precautions for Correct Use Do not make any connections to the N C terminals 5 10 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 5 CJ series Analog Output Unit CJ1W DA042V 5 4 2 Internal Circuit The following diagrams show the internal circuit of the analog output section e Output circuits Output circuit and conversion circuit b mm me eee e common to all outputs e Internal Configuration Indicators Switch MPU Bus interface i Non Oscillator Oscillator EG memory 15 V 45 V Insulating Regulator 5 V DC to DC converter 15V T A 3 e D A Output Converter circuits External connection terminal Digital isolator Output noo BUJSJU z p S I O Bus 5 4 3 Output Wiring Example Output 2 Output 1 Output 4 ids Output 3 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 5 11 5 CJ series Analog Output Unit CJ1W DA042V Precautions for Safe Use Crimp terminals must be used for terminal connections and the screws must be tightened securely M3 terminal screws are used The applicable tightening torque is 0 5 N m Fork type Round type EN Additional Information To increase noise resistance for analog output wiring ground the shield on the output signal cable at the input device 5 4 4 Output Wiring Considerations When you wire outputs apply the fo
257. pecifications for your application on your request Please consult with your OMRON representative at any time to confirm actual specifications of purchased products DIMENSIONS AND WEIGHTS Dimensions and weights are nominal and are not to be used for manufacturing purposes even when tolerances are shown PERFORMANCE DATA Performance data given in this manual is provided as a guide for the user in determining suitability and does not constitute a warranty It may represent the result of OMRON s test conditions and the users must correlate it to actual application requirements Actual performance is subject to the OMRON Warranty and Limitations of Liability ERRORS AND OMISSIONS The information in this manual has been carefully checked and is believed to be accurate however no responsibility is assumed for clerical typographical or proofreading errors or omissions CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 17 Safety Precautions Safety Precautions Definition of Precautionary Information 18 The following notation is used in this manual to provide precautions required to ensure safe usage of a CJ series Analog I O Unit The safety precautions that are provided are extremely important to safety Always read and heed the information provided in all safety precautions The following notation is used Indicates a potentially hazardous situation which if not avoided could result in death or se
258. plings UINT for Mean Value Processing D m 4 00 to 15 Ch3 AveCfg Input 3 Number of Samplings UINT for Mean Value Processing Aowa pue SHUN SALIS 10 SIVULA 29143A 10 SAB S0UIPUOASI110D p Y sun S9LIIS 10 sessoJppy zi P O gt O O um lt CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A 19 Appendices CJ series I O memory address NJ series device variable for CJ series Unit D m 5 00 to 15 Ch4 AveCfg Input 4 Number of Samplings UINT for Mean Value Processing D m 18 00 to 07 MdCfg Operating Mode Settings BYTE 08 to 15 ResolutionCfg Resolution Conversion Time BYTE Settings A 20 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Appendices A 4 2 CJ1W AD081 V1 Special I O Unit CIO Area in Normal Mode 1 0 NJ series device variable for CJ series Unit Output n 00 to 15 PkHdCmd Peak Value Hold Execution WORD CPU to this Settings Unit Ch1 PkHdCmd Input 1 Peak Value Hold Exe BOOL cution 01 Ch2 PkHaCmd Input 2 Peak Value Hold Exe BOOL cution 02 Ch3 PkHdCmd Input 3 Peak Value Hold Exe BOOL cution 03 Ch4 PkHaCmd Input 4 Peak Value Hold Exe BOOL cution 04 Ch5 PkHdCmd Input 5 Peak Value Hold Exe BOOL cution 05 Ch6 PkHdCmd Input 6 Peak Value Hold Exe BOOL cution Ch7 PkHaCmd Input 7 Peak Value Hold Exe BOOL cution Ch8 PkHdCmd Input 8 Peak Value Hold Exe BOOL cution Aowa pue SHUN SALIS 10
259. ply input area 3 14 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 3 CJ series Analog Input Units CJ1W AD042 3 5 Exchanging Data with the CPU Unit 3 5 1 Outline of Data Exchange The CPU Unit and Analog Input Unit CJ1W AD042 exchange operation data and initial setting parame ters via the I O port generated for this Analog Input Unit The table and figure below show the data exchange method for each data type Data exchange type Unit data type EE AT specification How to access Timing of data destination from user program exchange Operation data Analog input conver I O port operation Device variable for At I O refreshing sion value etc data CJ series Unit Initial setting param Analog input signal I O port initial set Device variable for When the Controller eters range operational ting parameters CJ series Unit is reset or the Unit mean samplings restarts etc Unit Restart Bit etc Unit Restart Bit etc System defined vari At I O refreshing able The initial setting parameters are retained in the CPU Unit by the battery even during power interruptions e e m gt lt o gt D 5 e 5 e U D r D pg 5 F gt O U c c 5 e Device Variable for CJ series Unit Device variables for CJ series Unit are variables used for data exchange between a user program and Special I O Units The user program uses device variables for CJ series Unit to control the
260. put Range Set in the output signal signal range setting or in the ting Error or range setting or in number of outputs setting Error In Num the number of out ber of Out puts setting puts Used Setting 38010000 hex Scaling Data There is an error in The upper or lower limit data for Setting the scaling data scaling is outside the setting Error Ratio setting or ratio con range Or the maximum value Conversion version use setting and minimum value are not 0 Use Setting and they are the same Error The I O number for ratio con version is set to Not used in the I O specifications 38020000 hex Ratio Set There is a mistake A value other than 16 0000 to Value Error is the ratio setting 16 9999 0 00 to 99 99 was for ratio conversion specified for the ratio conver sion A constant for ratio conver sion 64780000 hex Input Discon The input is discon Input wiring is broken nection nected e Input wiring disconnection Detected 64790000 hex Output Set The output setting e An output set value setting is S U page 34 Value Error is out of range out of range 34810000 hex Input Value In Adjustment In Adjustment Mode the input U S page 34 Exceeded Mode the input value exceeded the range for Adjustment value exceeded the which adjustment is possible Range in range for which so the offset and gain cannot Adjustment adjustment is possi be adjusted Mode ble 34820000 hex InputNumber The input
261. put Output Value Adjustment Num ber Setting Error TI Lit B Not lit because the wrong input or out put number is specified e ERC Indicator Lit RUN Indicator Not Lit MAD42 ber to be adjusted is set for use by means of the DM setting The ERG indicator will light when the initial settings for the Unit are not set correctly The alarm information is output to the device variables for CJ series Unit shown below These alarm flags will turn OFF when the error is cleared and the Unit is restarted CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 ANIDO SUMEIV pue S10113 USUM Z Z 7 fun eui ye Buunoo0 suuelv 2 2 2 7 Common Items Variable name applicable model SclErr ADO42 DA08L 1 DA042V MAD42 AdjSclErr DAO8L 1 MADA42 RatioCfgErr AdjRatioCfgErr MAD42 HdErr DAOL 11 DAO8L 1 DA042V MAD42 AdjHdErr DAOL M DAO8L MAD 42 AveErr ADOL I1 V1 ADO042 MAD42 AdjAveErr ADOL11 V1 MADA42 CfgErr AD042 DA042V MaErr DAO8L 1 MAD42 MaErr AD042 DA042V 7 18 Alarm name Error contents I O status Countermeasure Ratio Conversion Use Setting Error MAD42 only Scaling Data Set ting Error Ratio Set Value Error Output Hold Set ting Error Mean Value Pro cessing Setting Error Input Signal Range Setting Error or Error in Number of Inputs Setting Output Signal Range Setting Error or Error In Number
262. r limit Unit restarted Input scaling upper limit Output scaling lower limit Output scaling upper limit CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 1 System Design 1 2 Mouting the Unit I N o c 5 e eh gt O c 5 1 21 Basic System Configuration CPU Unit Analog Input Unit Analog Output Unit x xz 3 393 pu AN CN CICI 6969 6969 6o x XZ x xz o ofS 2 DE NCN CN OOOOH eg o o m o S m x X M x x x x x x x KOSI OS OL SOS OS PE uoneanBuuo was s oiseg L g L ZF Sensor Temperature Regulator Pressure Temperature control iib ES Position control er Sr Sasa Speed control Power factor EE Sensor Note The above diagram is an installation example for the CJ1W AD081 V1 Analog Input Unit and CJ1W DAO41 Analog Output Unit i Mounting Restrictions CJ series Analog I O Units are Special I O Units of the NJ series Controllers You can mount these Analog I O Units to the CJ series CPU Rack or Expansion Racks The number of Analog I O Units that you can mount to each Rack will depend on the current consumption of the other Units in the Rack The number of Analog I O Units that you can mount to one Rack i e a CPU Rack or Expansion Rack depends on the current consumption of other Units CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 1 7 1 System Design 1
263. r limit for reverse scaling e Actual D A conversion is executed at up to 5 to 105 of full scale If values that exceed this range are set an output setting value error will occur and the output hold function will operate LA Precautions for Correct Use If the scaling upper limit equals the lower limit or if the scaling upper limit or lower limit is outside the range of 32 000 a scaling data setting error is generated and the Unit will not operate Operation is performed without scaling if both the upper and lower limits are set to 0 the default values CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 5 19 ri O gt 5 m O O O c pt gt c r Tl c 5 ct o 5 D D 5 o O o O D ct 3 e U O o D Q c D 0 uondun4 Bues inding 9 S 5 CJ series Analog Output Unit CJ1W DA042V e Setting Upper and Lower Limits for Output Scaling Use the initial setting parameters shown below to set the output scaling upper and lower limit values Variable name Type Setting Ch Scl L Cfg INT Scaling lower limit 32 000 to 432 000 Ch amp Scl H Cfg INT Scaling upper limit 32 000 to 32 000 An output number from 1 to 4 is included in place of in the variable name Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirmin
264. rademark and patented technology licensed by Beckhoff Automation GmbH Germany The SD logo is a trademark of SD 3C LLC gt asi Other company names and product names in this document are the trademarks or registered trade marks of their respective companies CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Unit Versions Unit Versions Unit Versions A unit version has been introduced to manage CPU Units in the NJ Series according to differences in functionality accompanying Unit upgrades i Notation of Unit Versions on Products The unit version is given on the ID information label of the products for which unit versions are man aged as shown below Example for NJ series NJ501 LJLILIL CPU Unit lt D information label Unit model Unit version 1 NJ501 1500 SEI Do Lot No I DDMYYG el Lot number and serial number MAC address The following information is provided on the ID information label Item Description Unit model Gives the model of the Unit Unit version Gives the unit version of the Unit Lot number and Gives the lot number and serial number of the Unit serial number DDMYY Lot number LJ For use by OMRON xxxx Serial number M gives the month 1 to 9 January to September X October Y November Z December MAC address Gives the MAC address of the built in port on the Unit i Confirming Unit Versions with Sysmac Studio You can use
265. rary errors may result in incorrect control system signals because the output terminals on Output Units may momentarily turn ON when power supply is turned ON to the Controller If you transfer data from a backup file on an SD Memory Card to the Controller when the power sup ply is turned ON properly select the data groups to transfer If the data for an unintended data group is transferred to the Controller it may cause the equipment to operate unpredictably I Actual Operation Check the user program data and parameter settings for proper execution before you use them for actual operation Turning OFF the Power Supply Never turn OFF the power supply to the Controller when the BUSY indicator is flashing While the BUSY indicator is lit the user program and settings in the CPU Unit are being backed up in the built in non volatile memory This data will not be backed up correctly if the power supply is turned OFF Also a major fault level Controller error will occur the next time you start operation and operation will stop Do not turn OFF the power supply or remove the SD Memory Card while SD Memory Card access is in progress i e while the SD BUSY indicator flashes Data may become corrupted and the Control ler will not operate correctly if it uses corrupted data To remove the SD Memory Card from the CPU Unit while the power supply is ON press the SD Memory Card power supply switch and wait for the SD BUSY indicator to turn OFF
266. ration Manual for NJ series CPU Unit W490 1 System Design e Mean Value Function You can use the mean value function to remove erroneous values that occur due to factors such as noise that is included in analog inputs The operating mean is taken without affecting the data refresh cycle For details refer to 2 6 2 3 6 2 or 6 6 2 Analog Input Unit CPU Unit ol I md Tl D 5 e c D o0 D gt a Tl c gt O O gt o0 Mean value of n his tory buffers e Ratio Conversion Function The CJ1W MAD42 Analog I O Unit can output in analog format the results of analog inputs calcu lated for ratio and bias For details refer to 6 8 Ratio and bias setting device Ratio and bias Xx 69 e Offset and Gain Adjustment Function You can adjust the A D and D A converter offset deviation and gain deviation for each input and out put The offset and gain adjustments are made with the Unit set for the Adjustment Mode and the adjustment values are stored in the Unit s built in non volatile memory For details refer to 7 1 Adjusting Offset and Gain Analog Input Function Analog Output Function Input signal range 0 to 10 V Output signal range 0 to 10 V OU eds ae 4000 8000 Gain Gain adjustment adjustment Analog output t Adjustable range Adjustable range I l 10 V 4000 8000 Offset adjustment Analog input Offset adjustment
267. rcuiting V and V causes the Disconnec tion Detected bit to turn ON CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 6 4 5 1 0 Wiring Considerations When you wire inputs apply the following points to avoid noise interference and optimize Analog I O Unit performance e Use two core shielded twisted pair cables for external connecting lines e Route I O cables separately from the power cables e g AC and three phase lines and do not run the Unit s cables near a main circuit cable or a high voltage cable Do not insert these cables into the same duct e f there is noise interference from power lines for example the power supply is shared with electrical welding devices or electrical discharge machines or there is a high frequency generation source nearby install a noise filter at the power supply input area P A 3 Q SUOIJeIOPISUOD BULIM O I S t 9 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 19 6 CJ series Analog I O Unit CJ1W MAD42 6 5 Exchanging Data with the CPU Unit 6 5 1 Outline of Data Exchange The CPU Unit and Analog I O Unit CJ1W MAD42 exchange operation data and initial setting parame ters via the I O port generated for this Analog I O Unit The table and figure below show the data exchange method for each data type Data exchange type i AT specification How to access Timing of data Unit d
268. re on output device side to any other device or FG e Ground the end of the shielded wire on AD Unit side to the FG on the control panel In this case keep the AG terminal open and do not connect the end of the shielded wire on output device side to any other device or FG To increase noise resistance for analog output wiring ground the shield on the output signal cable at the input device Precautions for Safe Use Crimp terminals must be used for terminal connections and the screws must be tightened securely M3 terminal screws are used The applicable tightening torque is 0 5 N m Fork type M3 screw 6 2 mm max DS S Round type l Precautions for Correct Use e When current inputs are used pins IN1 to IN4 of the voltage current switch must be set to ON Refer to 6 3 4 Voltage Current Switch for further details Also set the voltage and current ranges in the device variable for CJ series Unit Range Settings _RngCfg and Voltage Cur rent Input Switch _RngVICfg Refer to 6 7 1 Output Settings and Conversion Values e For inputs you do not use set them to Not Used in the input number settings refer to Setting Inputs and Signal Ranges in 6 6 1 Input Settings and Conversion Values If they are set to Used and actually not used unintended conversion data may be input To prevent this short circuit the voltage input terminals V and V Take note that in the case of a range from 1 to 5 V or 4 to 20 mA short ci
269. reated is used as the device variable for CJ series Unit for example Ch1 PkHdCmd CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 19 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 i Switching Operating Mode You can switch between the Normal Mode and Adjustment Mode during offset and gain adjustments etc with the operating mode switch on the front panel of the Unit or Operating Mode Settings MdCfg You can also use Operating Mode Settings MdCfg to switch to the Adjustment Mode even when in the Normal Mode Setting method Normal Mode Adjustment Mode Set the front DIP switch ON OFF IND MODE Set device variables for CJ OR Series Unit MdCfg 1 6400 MdCfg 1 6HC1 2 5 3 Allocating Device Variable for CJ series Unit Initial Setting Parameters Perform Unit settings such as the analog input signal range number of operational mean samplings etc Initial setting parameters settings are set from Special Unit Setup Editing of Sysmac Studio Unit settings can also be performed by setting the values in the device variables for CJ series Unit Unit settings are reflected only when the Controller is reset or when the Unit restarts The initial set ting parameters are retained in the CPU Unit by the battery even during power interruptions Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks wh
270. rent consumption 5 VDC 140 mA max External power supply 2 24 VDC 10 15 inrush current 20 A max pulse width 1 ms min Dimensions mm 3 31 x 90 x 65 W x Hx D Weight 150 g max General specifications Conforms to general specifications for NJ Series Mounting position NJ Series CPU Rack or Expansion Rack Maximum number of Units Per CPU Rack or No of mountable Units Expansion Rack 4 Max 10 units on CPU Rack Max 10 units per Expansion Rack Max 10 units on CPU Rack Max 10 units per Expansion Rack Data exchange with CPU Unit Data exchange with I O ports For details see 4 5 Exchanging Data with the CPU Unit 1to5V 4to 20 mA 0to5 V Output signal range 5 1 to 5 V 4 to 20 mA 0to 5 V 0to 10 V 10 to 10 V 0to 10 V 10 to 10 V Output impedance 0 5 Q max for voltage output Max output current for 1 12 mA for voltage output 2 4 mA point for voltage output Maximum permissible load 600 Q current output 350 Q resistance 4 000 full scale 4 000 8 000 9 Data setup file 16 bit integer INT Accuracy 25 C Voltage output 0 3 of full scale 0 3 of full scale 0 3 of full scale 6 Current output 0 5 of full scale 0 C to 55 C Voltage output 0 5 of full scale 0 5 of full scale 0 6 of full scale Current output 0 8 of full scale D A conversion cycle 7 1 0 ms point max 1 0 ms or 250 us max per point Output Outputs the specified output status CLR HOLD or MAX under any of
271. riable for CJ series Unit AT with Unit registration analog output signal range specification Controller is reset etc or Unit restarts Refer to Initial Setting Parame ters in 6 5 3 Allocating Device Variables for CJ series Unit 6 20 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 6 5 2 Accessing from the User Program The user program uses device variables for CJ series Unit to control the Analog I O Unit Use device variables for CJ series Unit with AT specification for the I O port which is explained below e O port An I O port is a logical interface for data exchange by a CPU Unit with an Analog I O Unit or other configuration unit An I O port has a unique predefined name for each unit model and function An I O port is automatically created by preparing the Unit Configuration with Sysmac Studio e How to specify device variables for CJ series Unit Specify the AT specifications to I O ports for device variables for CJ series Unit with the I O Map from Sysmac Studio Specify the variable name for the AT specification with one of the following methods 1 Select a variable already registered in the variable table 2 Input a new variable name 3 Automatically create a variable name with Device variable creation When a device variable name for CJ series Unit is assigned with method 2 or 3 the variable input by Sysmac Studio is automatically re
272. rious injury Additionally there may be severe property damage Indicates a potentially hazardous situation which if not avoided may result in minor or moderate injury or property damage Qi essen for Safe Use Indicates precautions on what to do and what not to do to ensure safe usage of the product la Precautions for Correct Use Indicates precautions on what to do and what not to do to ensure proper operation and performance CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Symbols CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 o eB Safety Precautions The circle and slash symbol indicates operations that you must not do The specific operation is shown in the circle and explained in text This example indicates prohibiting disassembly The triangle symbol indicates precautions including warnings The specific operation is shown in the triangle and explained in text This example indicates a precaution for electric shock The triangle symbol indicates precautions including warnings The specific operation is shown in the triangle and explained in text This example indicates a general precaution The filled circle symbol indicates operations that you must do The specific operation is shown in the circle and explained in text This example shows a general precaution for something that you must do 19 Safety Precautions 20 WARNING Duri
273. rminal block To Era Unit number COR COR IE Voltage current IG switches lore 7 switch IE ra Terminal block E mounting pin unti i Operating mode switch Terminal block lock lever pull down to release ter minal block e Side Expansion connector CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 9 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 EN Additional Information e Use a connector to attach the terminal block Lower the lever at the bottom of the terminal block to remove the connector e Normally keep the lever in the raised position Confirm this before operation O j AR K O PA k e A Y fs a E A O PA O Nat Z AR 2 3 2 Indicators The indicators show the operating status of the Unit The following table shows the meanings of the indicators Indicator necator Operating status status RUN Operating Operating in Normal Mode green Not lit Unit has stopped exchanging data with the CPU Unit Lit ERC red Error Alarm has occurred such as disconnec detected by tion detection or initial settings are incor Unit rect Not lit ERH red Error inthe Lit Error has occurred during data exchange CPU Unit with the CPU Unit Not lit Operating normally ADJ yel Adjusting Flashing Operating in offset gain Adjustment low Mode Not lit Other than the above
274. rocessing 6 28 In Cyclic Conversion Mode the Analog Input Unit can compute the mean value of the conversion values of analog inputs that are previously sampled several times Mean value processing uses operational mean values in the history buffers It has no effect on the data refresh cycle The number of history buffers that can be set for mean value processing is 2 4 8 16 32 64 128 256 or 512 Buffer 1 A Buffer 3 Mean value Conversion value processing Input Conversion Data _Ch _RdAl GL JP Discarded EN Additional Information e The first conversion data is stored for all buffers for the number of mean value processing set immediately after data conversion has begun and after a disconnection is restored e When mean value processing set is used together with the peak value hold function the mean value will be held CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 Use Input 4 Number of Samplings for Mean Value Processing Ch AveCfg to set whether to per form mean value processing and the number of samplings in the case the process is performed Variable name Type Setting Chit AveCfg UINT Mean value processing with 2 samplings No mean value processing Mean value processing with 4 samplings Mean value processing with 8 samplings Mean value processing with 16 samplings oF O N O Mean valu
275. rs SclErr BOOL Scaling Data Setting Error Ratio Conversion Use Setting Error RatioCfgErr BOOL R Ratio Set Value Error HdErr BOOL FR Output Hold Setting Error AveErr BOOL Mean Value Processing Set ting Error MdErr BOOL Conversion Time Resolution or Operation Mode Setting Error i List of Operation Data during Adjustment Mode variable for CJ series Type R W Feature reference page Unit AdjCh Refer to 7 1 Adjusting Offset and Gain Adjusted Instruction setting and flag for I O adjust AdjSet BOOL Adjustment Value Set Flag AdjClr BOOL Adjustment Value Clear Flag INT AdjPV Conversion value for adjust ment P m gt o gt D 5 e 5 U EY P D 5 eb 5 D O U c c 3 AdjUnitErr BYTE Error Flags Refer to 7 2 2 Alarms Occurring Bit at the Unit Number BYTE type variable that com bines the following BOOL type variables 0 No error 1 Error in initial setting parame ters AdjSclErr BOOL Scaling Data Setting Error Ratio Conversion Use Setting Error AdjRatioCfgErr BOOL Ratio Set Value Error AdjHdErr BOOL Output Hold Setting Error AdjAveErr BOOL Mean Value Processing Set ting Error Conversion Time Resolution or Operation Mode Setting Error AdjlONoErr BOOL i Input Output Value Adjust 0 No error yun seues p2 JO sejqeueA SIMS Buneoo v S 9 AdjlnMdErr BOOL ment Number Setting Error 1 AdjCh is outside setting
276. rsion Stops D m 5 00 to 07 Ch4_HdMdCfg Output 4 Output Status When USINT Conversion Stops Aowa pue SHUN SALIS 10 SIVULA SINNIG 10 SAB S0UIPUOASI110D p v SHU S9LIIS 10 sessoJppy 2 KH e O U gt O um CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A 29 Appendices A 4 6 CJ1W DA08V 08C Special I O Unit CIO Area in Normal Mode NJ series device variable for CJ series Unit I O I O memory address GONo BitNo Variabiename Description Datatype Output n 00 to 15 Conversion Enable Settings WORD Putois foo cmcomemd Output Conversion Enable BOOL 05 Ch6 ConvCmd Output 6 Conversion Enable BOOL Ch7 ConvCmd Output 7 Conversion Enable BOOL n4 7 00 to 15 Ch7 WrAO Output 7 Set Value INT 00 to 15 Ch8 WrAO Output 8 Set Value INT Input n 9 00 to 07 MVErr Output Set Value Error BYTE This Unit to CPU Ch1_MVErr Output 1 Output Set Value BOOL Error Ch2 MVErr Output 2 Output Set Value BOOL Error Ch3 MVErr Output 3 Output Set Value BOOL Error Ch4 MVErr Output 4 Output Set Value BOOL Error Ch5 MVErr Output 5 Output Set Value BOOL Error Ch6 MVErr Output 6 Output Set Value BOOL Error Ch7 MVErr Output 7 Output Set Value BOOL Error Ch8 MVErr Output 8 Output Set Value BOOL Error UnitErr Error Flags BYTE SclErr Scaling Data Setting Error BOOL HaErr Output Hold Setting Error BOOL MaErr Conversion Time Resolution BOOL
277. s Operation Manual for NJ series CPU Unit W490 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 Name of device variable for Type Feature reference page CJ series Unit Ch1 SensErr BOOL BOOL R Input 1 Disconnection Detected BOOL type variable that checks 00 Ch2 SensErr BOOL RO Input 2 Disconnection Detected each Input for disconnection 01 Ch3 SensErr BOOL RR Input 3 Disconnection Detected DENIS On 02 1 Disconnection Ch4 SensErr BOOL RO Input 4 Disconnection Detected 03 7 Ch5 to Ch8 are used only for Ch5 SensErr BOOL DR Input 5 Disconnection Detected ADO81 V1 04 Ch6 SensErr BOOL NN NI Input 6 Disconnection Detected 05 Ch7 SensErr BOOL a Input 7 Disconnection Detected 06 Ch8_SensErr BOOL R Input 8 Disconnection Detected 8 Input 8 Disconnection Detected Detected 07 UnitErr ES Error Flags Refer to 7 2 2 Alarms Occurring Bit at the Unit Number BYTE type variable that com bines the following BOOL type variables AveErr BOOL Mean Value Processing Setting 0 No error Error 1 Error in initial setting parame ters Y al m gt lt o gt D 3 e 5 e U D r D gt OD O U c c 5 UN seues f2 JO ejqeueA eoweq Bugeoollv S z CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 23 2 CJ series Analog Input Units CJ1W AD041 V1 081 V1 List of Operation Data during Adjustment Mode Name of device variab
278. s the NJ series Controller specifications This section describes the system configuration used for NJ series Controllers This section describes the parts and functions of the configuration devices in the NJ series Controller configuration including the CPU Unit and Configuration Units This section describes where and how to install the CPU Unit and Configuration Units and how to wire them This section describes the event codes error confirmation methods and corrections for errors that can occur This section describes the contents of periodic inspections the service life of the Bat tery and Power Supply Units and replacement methods for the Battery and Power Supply Units The appendices provide the specifications of the Basic I O Units Unit dimensions load short circuit protection detection line disconnection detection and measures for EMC Directives i NJ series CPU Unit Software User s Manual Cat No W501 Section Section 1 Introduction Section 2 CPU Unit Operation Section 3 I O Ports Slave Configuration and Unit Configuration Section 4 Controller Setup Section 5 Designing Tasks Section 6 Programming Section 7 Checking Operation and Actual Operation Section 8 CPU Unit Functions Section 9 Communications Setup Section 10 Example of Actual Application Pro cedures Section 11 Troubleshooting Appendices CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490
279. section provides the specifications of the CJ1W MAD42 Analog I O Units and describes how to wire and use the Units This chapter explains the operating procedure common among Analog Input Units Output Units and I O Units CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Manual Configuration i CS CJ series Analog I O Units Operation Manual Cat No W345 Section Section 1 System Design Section 2 CS series Analog Input Units CS1W AD041 V1 081 V1 161 Section 3 CJ series Analog Input Units CJ1W AD041 V1 081 V1 Section 4 CJ series Analog Input Units CJ1W AD042 Section 5 CS series Analog Output Units CS1W DA041 08V 08C Section 6 CJ series Analog Output Unit CJ1W DA051 041 08V 08C Section 7 CJ series Analog Output Unit CJ1W DA042V Section 8 CS series Analog I O Unit CS1W MAD44 Section 9 CJ series Analog I O Unit CJ1W MAD42 Appendices CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Description This section provides a brief description of the features and the functionality of the Analog I O Units and describes where and how to install the Units This section provides the specifications of the CS1W AD041 V1 081 V1 161 Analog Input Units and describes how to wire and use the Units This section provides the specifications of the CJ1W AD041 V1 081 V1 Analog Input Units and describes how to wire and use the Units This section provides
280. series Unit SensErr BYTE Disconnection Detected Refer to 3 6 5 Input Disconnection Bit Detection Function Number BYTE type variable that combines the following BOOL type variables s e m gt lt O gt D 3 e 5 e U D F D 3 F gt gt O U c c 5 Chi SensErr BOOL Input 1 Disconnection BOOL type variable that checks 00 Detected each input for disconnection Ch2 SensErr BOOL Input 2 Disconnection 0 No disconnection 01 Detected 1 Disconnection Ch3 SensErr BOOL Input 3 Disconnection 02 Detected 03 Ch4 SensErr BOOL Input 4 Disconnection Detected UnitErr BYTE Error Flags Refer to 7 2 2 Alarms Occurring at Bit the Unit Number BYTE type variable that combines the following BOOL type variables SclErr BOOL E Scaling Data Setting Error 0 No error CfgErr BOOL Input Signal Range Setting 1 Error in initial setting parameters Error or Error in Number of Inputs Setting AveErr BOOL Mean Value Processing Set ting Error MdErr bud Error in Setting of Conversion Mode ConvMd ag Direct Conversion Mode 0 odes Conversion Mode Direct Conversion Mode ConvErr BOOL A D Conversion Error 0 No error 1 A D conversion error The Direct Conversion Mode cannot be used with the NJ series CPU Unit On the Special Unit Setup Editing of Sysmac Studio set Conversion Mode Setting to Cyclic Conversion Mode UN seues f2 JO ejqeueA eoe Bugeoollv e S CJ series Analog I O
281. set out Set the data within the range Refer to 4 6 1 Output Settings and Con version Values Refer to 5 6 1 Output Settings and Con version Values Refer to 6 7 1 Output Settings and Con version Values side of the permissible range CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 21 7 Common Items e Output Does Not Change as Intended The output signal range setting is Correct the output signal range Refer to 4 6 1 Output Settings and Con wrong setting version Values Refer to 5 6 1 Output Settings and Con version Values Refer to 6 7 1 Output Settings and Con version Values The I O specifications of the out Change the output device Refer to 4 1 1 Specifications put device do not match those of Refer to 5 1 1 Specifications the Unit e g input signal range Refer to 6 1 1 Specifications input impedance The offset or gain is not adjusted Adjust the offset or gain Refer to 7 1 Adjusting Offset and Gain The ratio conversion function is Correct the conversion settings Refer to 6 8 Ratio Conversion Function set to be used e Outputs are Inconsistent The output signals are affected by Change the shielded cable con external noise nection e g the grounding at the output device 7 22 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 Common Items 7 3 Event Logs 7 3 1 Overview of the Event Logs You use the same methods
282. setting There is a mistake in the setting of the number of sam plings for mean value processing There is a mistake is the Conversion Mode setting There is a mistake in the output hold setting e There is a source of noise page 27 nearby A D converter failed There is a source of noise page 27 nearby Non volatile memory failed There is a mistake in the setting page 28 of the number of samplings for mean value processing The upper or lower limit data for page 28 scaling is outside the setting range Or the maximum value and minimum value are not 0 and they are the same The settings of the input signal page 29 range or the setting of the num ber of analog inputs that are used is incorrect There is a mistake in the setting page 30 of the number of samplings for mean value processing The specification of the Cyclic page 30 Conversion Mode or Direct Conversion Mode is not correct The setting for output status page 31 when conversion stops is incor rect CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 Common Items Leve 34890000 hex Conversion There is a mistake There is a mistake in the con Time Resolu in the conversion version time resolution or oper tion or Oper time resolution or ation mode setting ation Mode operation mode set Setting Error ting 348A 0000 hex Output Signal There is a mistake There is a mistake in the out
283. setting address AT Details J01 Ch1 RdAI INT lOBus rack 0 Indicates the input 1 slot 0 Ch1 RdAI Conversion Data A D conversion value A 10 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Appendices e Program Example P On SCLOut JO1_Ch1_RdAl INT 200 MulOut SCLOut DINT 4400 SqrOut REAL 200 di N o D 3 O U O e e 3 7 uone noeg 1004 alenbs y 2 Y CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A 11 Appendices A 2 5 Mean Value Processing e Outline Data is taken for the set number of samplings and the mean value is calculated e Unit settings Name Setting target Setting contents Unit Configuration CPU Expansion Racks in Configura Mount CJ1W AD081 V1 in slot 0 of the tion and Setup of Sysmac Studio CPU Rack Device name of this unit J01 Unit number Unit number switch and Unit Config Unit number 0 X101 0 X100 0 uration CPU Expansion Racks screen in Configuration and Setup of Sysmac Studio Operating mode Operating mode switch Normal Mode Initial setting parameters Resolution conversion time Initial setting parameters 4000 1 ms settings Use settings Use input 1 Input signal range settings Oto 10 V e Defined variables System defined variable Name Data type Factory setting Contents P First RunMode BOOL First RUN Period When the PROGRAM Mode Flag cha
284. smac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller is reset or when the Unit restarts Reading Conversion Values Analog input conversion values are output to the device variable for CJ series Unit Input Conversion Data Ch RdAI shown below Variable name Type Ch _RdAl INT An input number from 1 to 4 is included in place of ff in the variable name San eEA uois19AuO pue sDunes indu 9 9 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 27 6 CJ series Analog I O Unit CJ1W MAD42 i Conversion Cycle and Resolution Setting For the CJ1W MAD42 you can set the conversion cycle and resolution with Resolution Conversion Time Settings ResolutionCfg This is common to all analog input and output settings Variable name Type Setting ResolutionCfg BYTE 16400 4 000 resolutions 1 ms cycle 16 C1 8 000 resolutions 500 us cycle Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller is reset or when the Unit restarts 6 6 2 Mean Value P
285. t Output 2 The relationship between the analog input and the analog output is expressed by the following conver sion equations e Positive Gradient Conversion Analog output A x Analog input B Analog output p amp J D o O O 5 lt o O 5 i c 5 o ct o 5 Analog input A Ratio set value 0 to 99 99 BCD B Bias 32768 to 32767 The following example is for an I O signal range of 10 to 10 V Constant A 0050 0 5 Constant B 400 400 4000 resolutions x 20V 2 0V Analog input 10 to 10 V Analog output 2 0 5 x 10 to 10 V 2 0 V 3 0 to 7 0 V EN Additional Information You cannot use the scaling function simultaneously with the ratio conversion function CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 43 6 CJ series Analog I O Unit CJ1W MAD42 e Negative Gradient Conversion Analog output F A x Analog input B F B Analog output Analog input F Output signal range maximum value A Ratio set value 0 to 99 99 BCD B Bias 32768 to 32767 The following example is for an I O range of 0 to 10 V Constant A 1000 10 0 Constant B 200 200 4000x10V 0 5V F 10 V Analog input Oto 1 V Analog output 10V 10 x O to 1 V 0 5 V 10 5 to 0 5 V i Specifying Ratio Conversion Function To specify the use of Loop 1 and Loop 2 and their I O relationships set Ratio Conversion Use S
286. t CIO Area in Adjustment Mode VO 1 0 Be NJ series device variable for CJ series Unit CPUtomis n fo agos Joret BOO A 18 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Appendices lo 1 0 Eus MUN NJ series device variable for CJ series Unit Input n 8 00 to 15 AdjPV Conversion value for adjust INT This Unit to ment CPU n 9 00 to 07 Disconnection Detected BYTE Ch1 SensErr Input 1 Disconnection BOOL Detected 01 Ch2 SensErr Input 2 Disconnection BOOL Detected 02 Ch3 SensErr Input 3 Disconnection BOOL Detected 03 Ch4 SensErr Input 4 Disconnection BOOL Detected 08 to 15 AdjUnitErr Error Flags BYTE 11 AdjAveErr Mean Value Processing Set BOOL ting Error 12 AdjInErr Input Value Adjustment BOOL Range Exceeded 13 AdjInNoErr Input Value Adjustment Num BOOL ber Setting Error AdjMemErr Non volatile Memory Error BOOL AdjMd Starting Adjustment Mode BOOL Special I O Unit DM Area common to both Normal Mode and Adjustment Mode CJ series I O memory address NJ series device variable for CJ series Unit Dm WORD CET Inngc isa Signa Range Stings WORD 00 to 01 Input 1 Input Signal Range Setting 02 to 03 Input 2 Input Signal Range Setting 04 to 05 Input 3 Input Signal Range Setting 06 to 07 Input 4 Input Signal Range Setting D m 2 00 to 15 Ch1_AveCfg Input 1 Number of Samplings UINT for Mean Value Processing D m 3 00 to 15 Ch2 AveCfg Input 2 Number of Sam
287. t has occurred preventing operation from continuing Refer to 7 2 4 Restarting Special I O Units Yes Error cleared No Cycle the power supply to the PLC Yes Error cleared Replace the Unit No The Unit is damaged CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 An alarm occurred at the Unit Refer to 7 2 2 Alarms Occurring at the Unit Check whether the initial settings for the Unit are set correctly Refer to 7 2 2 Alarms Occurring at the Unit Error detected by CPU Unit Hefer to 7 2 3 Errors in the CPU Unit Check whether the unit number is set correctly Refer to 7 2 3 Errors in the CPU Unit Refer to 7 2 5 Troubleshooting Noise or other disturbances may cause malfunctions Check the operating environment 7 15 ANIDO SUMEIV pue S10113 USUM Z Z 7 14eu9M0 J 10113 PUB SJOJEDIPU L Z Z 7 Common Items 7 2 2 Alarms Occurring at the Unit When an alarm occurs at the Unit the ERC indicator lights and the error information is output to the device variable for CJ series Unit e ERC and RUN Indicators Lit RUN L ERC 1 ERH li ADJ NI L1 uit la Not lit The ERC and RUN indicators will light if an error occurs while Unit operation is normal The alarm information is output to the device variable for CJ series Unit shown below These alarm flags will turn OFF automatically when the error is cleared
288. t when the Controller is reset or when the Unit restarts ri amp J D o O O 5 lt o O 5 i c 5 o ct o 5 EN Additional Information e During use of the ratio conversion function the device variable for CJ series Unit Input Con version Data Ch RaAlI of the input conversion value outputs the calculation result e f the Conversion Enable Flag is set to disabled the analog output value will be sent accord ing to the output hold function e f an input cable is disconnected the calculation result will become 0 and the analog output value will be output according to the output hold function e f the ratio conversion result exceeds the output signal range the calculation result and analog output value are scaled out to the upper limit or lower limit whichever corresponds to the direction of the limit exceeded by the ratio conversion result CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 45 6 CJ series Analog I O Unit CJ1W MAD42 6 46 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Common Items CA This chapter explains usage common among Analog Input Units Output Units and I O Units 7 1 Adjusting Offset and Gain oocococcccoo ee 7 2 7 1 1 Adjustment Mode Operational Flow llli 7 3 7 1 2 Input Offset and Gain Adjustment Procedures 7 4 7 1 3 Output Offset and Gain Adjustment
289. tc System defined vari At I O refreshing able The initial setting parameters are retained in the CPU Unit by the battery even during power interruptions gt e m gt lt o gt D 5 e 5 e U D F D F gt pg gt OD O U c c 5 e Device Variable for CJ series Unit Device variables for CJ series Unit are variables used for data exchange between a user program and Special I O Units The user program uses device variables for CJ series Unit to control the Ana log I O Unit CJ1W DA021 041 08V 08C NJ series CPU Unit Analog Output Unit oDueuox4 ejeq 10 auljino L G p User program I O port Operation Data Operation data Operation data Set values of analog Automatic creation O refresh output etc Device variable for CJ series Unit AT with Unit registration specification fresh i Device variable for CJ series Unit TOS Refer to Operation Data in 4 5 3 Allocating Device Variable for CJ series Unit Initial setting parameters Initial setting parameters Initial setting parameters Feb Automatic creation Device variable for CJ series Unit AT with Unit registration range output status when conversion stops specification Controller is reset Nn j or l Unit restarts Refer to Initial Setting Parame ters in 4 5 3 Allocating Device Variable for CJ series Unit CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 4 17 4 CJ series Analog Output
290. ted Bit 8 detection 3 2 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 1 2 3 4 5 6 7 8 3 1 2 3 CJ series Analog Input Units CJ1W AD042 Do not apply a voltage higher than 600 VAC to the terminal block when you perform a withstand voltage test on this Unit Otherwise internal elements may deteriorate For the dimensions refer to A 7 Dimensions The maximum number of Analog Input Units that you can mount to one Rack depends on the current con sumption of other units that are mounted You can set input signal ranges for each input To use a Current input connect the positive current input terminal and positive voltage input terminal with the enclosed short bar Use within the specified input range Operation of the Unit outside these specifications may result in failure The A D conversion cycle is the time it takes for an analog signal to be stored in the Analog Input Unit memory as conversion data after it has been input It takes at least one task period before the conversion data is read by the CPU Unit Line disconnection detection is supported only when the range is set to 1 to 5 V or 4 to 20 mA If there is no input signal when the 1 to 5 V or 4 to 20 mA range is set the Line Disconnection Flag will turn ON Input Function Block Diagram Analog Input Units CPU Unit I O port Input i A D discon Mean value G Analog input 1 Conversion nection Scaling Q Ch1_Rd
291. ted between the Sysmac Studio and the CPU Unit during an MC Test Run Connect the communications cable between the computer and CPU Unit securely and confirm that the system will not be adversely affected before you perform an MC Test Run e Always execute the Save Cam Table instruction if you change any of the cam data from the user pro gram in the CPU Unit or from the Sysmac Studio If the cam data is not saved the previous condition will be restored when the power is turned ON again possibly causing unexpected machine opera tion The positive drive prohibit input POT negative drive prohibit input NOT and home proximity input DEC of the Servo Drive are used by the MC Function Module as the positive limit input negative limit input and home proximity input Make sure that the signal widths for all of these input signals are longer than the control period of the MC Function Module If the input signal widths are shorter than the control period the MC Function Module may not be able to detect the input signals resulting in incorrect operation I Battery Replacement he Battery may leak rupture heat or ignite Never short circuit charge disassemble heat or incinerate the Battery or subject it to strong shock Dispose of any Battery that has been dropped on the floor or otherwise subjected to excessive shock Batteries that have been subjected to shock may leak if they are used UL standards require that only an experi
292. that was output just prior to stop 5 2 V Min 5 of full scale Max 5 of full scale 0to5V 0 25 V Voltage that was output just prior to stop 5 25 V Min 5 of full scale Max 5 of full scale 4 to 20 mA 3 2 mA Voltage that was output just prior to stop 20 8 mA op Min 0 5 of full scale Max 5 of full scale gt O The above values may fluctuate if offset gain adjustment has been applied 5 c Use Output Output Status When Conversion Stops _Ch _HdMdCfg to set the output hold function Variable name Type Setting Ch HaMactg USINT 0 CLR 3 1 HOLD o 2 MAX An output number from 1 to 2 is included in place of in the variable name Precautions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller is reset or when the Unit restarts CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 39 6 CJ series Analog I O Unit CJ1W MAD42 6 7 3 Output Scaling Function 6 40 When upper and lower limits within a range of 32 000 to 32 000 are preset analog output setting values with the upper and lower limits taken as full scale are converted from digital to analog This scaling eliminates the previ
293. the Unit Production Information on the Sysmac Studio to check the unit version of the CPU Unit CJ series Special I O Units CJ series CPU Bus Units and EtherCAT slaves The unit versions of CJ series Basic I O Units cannot be checked from the Sysmac Studio e CPU Unit and CJ series Units 1 Double click CPU Expansion Racks under Configurations and Setup in the Multiview Explorer Or right click CPU Expansion Racks under Configurations and Setup and select Edit from the menu The Unit Editor is displayed for the Controller Configurations and Setup layer CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 35 Unit Versions 2 Right click any open space in the Unit Editor and select Production Information The Production Information Dialog Box is displayed E Production information E Model information Lot number NJ501 1500 Ver 1 00 30810 Hardware version DFDDD Software version SYSTEM 1 00 00 23327 BOOT 20110726 IOPFP B 3 0 SENERE IOPPW 1 02 E Production information ie time TT Rack 0 Slot 0 Unit 4 CHW SCU22 Ver 2 0 ERIS er Unit revision Rack 0 Slot 0 Unit 4 CIIW SCUZ2 Ver 2 0 110711 bli ree Rack 0 Slot 1 Unit 1 CIIW DAD41 Ver 031201 Rack 0 Slot 1 Unit 1 CJ1W DAO41 Ver 031201 Model information Simple Display Detailed Display In this example Ver 1 00 is displayed next to the unit model The following items are displayed CPU Unit CJ series Units
294. the specifications of the CJ1W AD042 Analog Input Units and describes how to wire and use the Units This section provides the specifications of the CS1W DA041 08V 08C Analog Output Units and describes how to wire and use the Units This section provides the specifications of the CJ1W DA051 041 08V 08C Analog Output Units and describes how to wire and use the Units This section provides the specifications of the CJ1W DAO42V Analog Output Units and describes how to wire and use the Units This section provides the specifications of the CS1W MAD44 Analog I O Units and describes how to wire and use the Units This section provides the specifications of the CJ1W MAD42 Analog I O Units and describes how to wire and use the Units Manual Structure Manual Structure Page Structure The following page structure is used in this manual 4 Installation and Wiring Level 1 head ng Level 2 heading Level 2 heading 4 3 Mounting Units Level 3 heading Gives the current Level 3 heading 4 3 1 Connecting Controller Components headings The Units that make up an NJ series Controller can be connected simply by pressing the Units together and locking the sliders by moving them toward the back of the Units The End Cover is connected in the same way to the Unit on the far right side of the Controller A step in a procedure 1 Join the Units so that the connectors fit exactly Indicates a procedure re 7 holes L Page tab Gives the number
295. ting parameters CJ series Unit is reset or the Unit status when conver restarts sion stops etc Unit Restart Bit etc Unit Restart Bit etc System defined vari At I O refreshing able The initial setting parameters are retained in the CPU Unit by the battery even during power interruptions e Device Variable for CJ series Unit Device variables for CJ series Unit are variables used for data exchange between a user program and Special I O Units The user program uses device variables for CJ series Unit to control the Ana log I O Unit CJ1W DA042 NJ series CPU Unit Analog Output Unit User program I O port Operation Data Operation data Operation data Set values of analog Greer VO refresh output etc Device variable for CJ series Unit AT IIS Eon specification fresh Device variable for CJ series Unit EE Refer to Operation Data in 5 5 3 Allocating Device Variables for CJ series Unit Initial setting parameters Initial setting parameters Initial setting parameters Automatic creation Device variable for CJ series Unit AT with Unit registration range output status Analog output signal when conversion stops specification Controller is reset ele or UNE Refer to Initial Setting Parame ters in 5 5 3 Allocating Device Variables for CJ series Unit CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 5 13 7 a m gt lt o gt D 5 e 5 e U D
296. tions for Safe Use e When initial setting parameters are set and transferred from Sysmac Studio Sysmac Studio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller is reset or when the Unit restarts Bunelado pue suo oun Indu bojeuy 9 2 soJnpooo0Jd 2 6 2 Mean Value Processing h i PO D e lt m c D ud I o e b o o 2 e The Analog Input Unit can compute the mean value of the conversion values of analog inputs that were previously sampled several times Mean value processing involves an operational mean value in the history buffers so it has no effect on the data refresh cycle The number of history buffers that you can set to use mean value processing is 2 4 8 16 32 or 64 Buffer 1 i Buffer 3 Mean value Conversion value processing Buffer 4 Input 4 Conversion Data _Ch _RdAl GL CAL Discarded EN Additional Information e The first conversion data is stored for all buffers for the set number of mean value processing immediately after data conversion has begun and after a disconnection is restored e When mean value processing is used together with the peak value hold function the mean value will be held CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 2 27 2 CJ series A
297. tput 1 set value CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Appendices Device variables for CJ series Unit Create them on the I O Map screen after the Unit Configuration is created Allocated Name Data type Factory setting address AT Contents JO1 Chi WrAO INT IOBus rackttQ Output 1 Set Value Indicates the slot 0 Ch1 WrAO output 1 D A conversion value J01 Chi ConvCmd BOOL lOBus rack 0 Output 1 Conver slot 0 ConvCmd sion Enable Chi_ConvCmd e Program Example J01 Ch1 ConvCm P On ZoneCmp Out MinLimit OutData MaxLimit OutData di N o D 3 O U O e 9 3 a WWI 9 c v CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A 15 Appendices A 3 Functional Differences due to CPU Units NJ CJ series to be Connected This unit can be used with NJ series CPU Units If this unit is used with the NJ Series some functions become unavailable compared to when it is used with the CJ series The following explains how each function of this unit changes when a CJ series CPU Unit is connected compared to when an NJ series CPU Unit is connected f Functional Difference Type Functional Difference Analog Input Units CJ1W AD041 V1 AD081 V1 There is no difference CJ1W AD042 The direct conversion function using the AIDC instruction cannot be used Analog Output Units CJ1W DA021 DA041 DA08V DA08C There is no differe
298. ts CJ1W AD042 You can also perform batch settings with the device variable for CJ series Unit Peak Value Hold Execu tion Settings PkHdCmd shown below Variable name Type Setting PkHdCmd WORD 16 0000 to 16 000F Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 q O gt 5 m O O 3 c T c 5 o O 5 T 2 a O y D D ct 3 e U O O OD Q c 0 EN Additional Information e When mean value processing is used together with the peak value hold function the peak mean value will be held e If an input signal range is 1 to 5 V or 4 to 20 mA and a disconnection occurs when the peak value hold function is enabled the conversion value will be 32767 When the disconnection is restored the peak value hold function will be executed by using the previous peak value 3 6 5 Input Disconnection Detection Function When an input signal range of 1 to 5 V or 4 to 20 M is used you can detect input wiring disconnec tions The detection conditions for each of the input signal ranges are shown in the following table Voltage current for discon nection detection Less than 0 3 V Less than 1 2 mA Input signal range 1to5V 4 to 20 mA uonoun uonoosje UOINDSUUODSIJ indu G 9 The disconnection detection status of each input is output to the device variable for CJ series Unit Input Disconnection Detected _Ch _SensErr shown below Variable name Type Setting Ch _SensErr
299. ts Operation Manual for NJ series CPU Unit W490 6 CJ series Analog I O Unit CJ1W MAD42 6 1 2 1 0 Function Block Diagram Analog I O Unit CPU Unit I O port Disconne Analog Input 1 n ction Chi RdAI Detection Input 1 Conversion Data Analog Input 2 Same as above Analog Input 3 Same as above Analog Input 4 Same as above conversion 1 0 port D A Analog output 1 Output SM Scaling e e s Ch1_WrAO value hold f Output 1 Set Value Analog output 2 Same as above I O refresh 6 1 3 Input Specifications If signals that are outside the specified range provided below are input the conversion values used will be at either the maximum or minimum value p o y D 2 o D ct o D e Range 1 to 5 V 4 to 20 mA Conversion value 4200 8400 4000 8000 weeg xooig uonounJ O I 2 1 9 Resolution 4 000 8 000 0 0 Ys 200 400 1V 4mA 5V 20mA 1 Analog input signal 0 8V 3 2mA 5 2V 20 8mA CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 5 6 CJ series Analog I O Unit CJ1W MAD42 e Range 0 to 10 V Conversion value 4200 8400 4000 8000 Resolution 4 000 8 000 0 0 i 200 400 OV 10V 1 Analog input signal 0 5V 10 5V Values in parentheses are for a resolution of 8 000 e Range 0 to 5 V Conversion value 4200 8400 4000 8000 747 Resolution 4 000 8 000 0 0 A om 200 400 OV 5V 1 Analog input
300. tting 10 to 11 Output 6 Output Signal Range Setting 12 to 13 Output 7 Output Signal Range Setting 14 to 15 Output 8 Output Signal Range Setting D m 2 00 to 07 Ch1_HdMdCfg Output 1 Output Status When USINT Conversion Stops D m 3 00 to 07 Ch2_HdMdCfg Output 2 Output Status When USINT Conversion Stops D m 4 00 to 07 Ch3_HdMdCfg Output 3 Output Status When USINT Conversion Stops D m 5 00 to 07 Ch4_HdMdCfg Output 4 Output Status When USINT Conversion Stops D m 6 00 to 07 Ch5_HdMdCfg Output 5 Output Status When USINT Conversion Stops D m 7 00 to 07 Ch6 HdMaCfg Output 6 Output Status When USINT Conversion Stops D m 8 00 to 07 Ch7_HdMdCfg Output 7 Output Status When USINT Conversion Stops D m 9 00 to 07 Ch8_HdMdCfg Output 8 Output Status When USINT Conversion Stops D m 18 00 to 07 MdCfg Operating Mode Settings BYTE 08 to 15 ResolutionCfg Resolution Conversion Time BYTE Settings m 19 00 to 15 Output 1 Scaling Lower Limit INT m 20 00 to 15 Output 1 Scaling Upper Limit INT m 21 00 to 15 Output 2 Scaling Lower Limit INT m 22 00 to 15 Output 2 Scaling Upper Limit INT m 23 00 to 15 Output 3 Scaling Lower Limit INT 00 to 15 Output 3 Scaling Upper Limit INT D m 25 00 to 15 Output 4 Scaling Lower Limit INT m 26 00 to 15 Output 4 Scaling Upper Limit INT m 27 00 to 15 Output 5 Scaling Lower Limit INT 00 to 15 Output 5 Scaling Upper Limit INT
301. tting Error BOOL CfgErr Output Signal Range Setting BOOL Error or Error In Number of D m 00 to 07 OutChUseCfg Number of Analog Outputs USINT Used D m 1 00 to 07 Conversion Mode Setting D m 2 00 to 07 Ch1_OutRngCfg Output 1 Output Signal Range USINT Setting D m 3 00 to 07 Ch1_HdMdCfg Output 1 Output Status When USINT Conversion Stops A 34 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Outputs Used Setting HaErr Output Hold Setting Error BOOL MaErr Error in Setting of Conversion BOOL Mode ConvMd Direct Conversion Mode BOOL N O Appendices CJ series I O memory address NJ series device variable for CJ series Unit D m 4 00 to 15 Ch1 Scl L Cfg Output 1 Scaling Lower Limit INT D m 5 00 to 15 Ch1 Scl H Cfg Output 1 Scaling Upper Limit INT D m 6 00 to 07 Ch2 OutRngCfg Output 2 Output Signal Range USINT Setting D m 7 00 to 07 Ch2_HdMdCfg Output 2 Output Status When USINT Conversion Stops D m 8 00 to 15 Ch2 Scl L Cfg Output 2 Scaling Lower Limit INT D m 9 00 to 15 Ch2 Scl H Cfg Output 2 Scaling Upper Limit INT D m 10 00 to 07 Ch3_OutRngCig Output 3 Output Signal Range USINT Setting D m 11 00 to 07 Ch3_HdMdCfg Output 3 Output Status When USINT Conversion Stops D m 12 00 to 15 Ch3 Scl L Cfg Output 3 Scaling Lower Limit INT D m 13 00 to 15 Ch3 Scl H Cfg Output 3 Scaling Upper Limit INT D m 14 00 to 07 Ch4
302. udio checks whether or not the Unit must be restarted Restart the Unit after confirming the safety of the connected destination e The contents of initial setting parameters will be transferred to the Unit when the Controller is reset or when the Unit restarts i Writing Set Values Use the device variable for CJ series Unit Output Set Value Ch WrAO shown below to set the analog output setting values sen eA UOISJEAUON pue shuas INdinQ 9 G Variable name Type Setting Ch _WrAO INT Refer to 5 1 3 Output Specifications An output number from 1 to 4 is included in place of in the variable name CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 5 17 5 CJ series Analog Output Unit CJ1W DA042V i Starting and Stopping Conversion To begin analog output conversion it is necessary to set the output used to conversion enable with the device variable for CJ series Unit Output Conversion Enable _Ch _ConvCmd shown below Variable name Type Setting Ch ConvCmd BOOL 0 Conversion disable 1 Conversion enable An output number from 1 to 4 is included in place of ff in the variable name You can also perform batch settings with the device variable for CJ series Unit Conversion Enable Set tings ConvCmd shown below Variable name Type Setting ConvCmd WORD 1640000 to 164000F Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 Output 4 Output 3 Output 2 Output 1 EN Additional Information
303. um value and minimum that they are within the setting range that they are within the setting range value are not 0 and they are the Set the ranges so that the upper limit Set the ranges so that the upper limit same does not equal the lower limit does not equal the lower limit Set the I O for use Set the I O for use The I O number for ratio conversion is set to Not used in the I O specifica tions None None CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 Common Items Event name Ratio Set Value Error 38020000 hex Meaning There is a mistake is the ratio setting for ratio conversion Source PLC Function Module Source details CJ series Unit Detection At power ON timing Controller reset or restart User program Continues Operation Conversion will not start at the Unit The output will be 0 V for D A conversion and the data will be 0 for A D conver sion Error attributes Effects System defined oe A value other than 16 0000 to Correct the ratio conversion A con Set the ratio conversion A constant for 16 9999 0 00 to 99 99 was speci stant to between 16 0000 and ratio conversion to between 16 0000 fied for the ratio conversion A con 16 9999 0 00 to 99 99 and 16 9999 0 00 to 99 99 stant for ratio conversion Attached None information Precautions None Remarks Event name Input Disconnection Detected 64780000 hex Meaning The input is disconnected Source PLC Function
304. umbers 1 and 2 and skips converting unused outputs Accordingly the conversion cycle per unit is calculated by conversion cycle x number of output used For the conversion cycle setting refer to Conversion Cycle and Resolution Setting on page 6 37 Use the Output Use Setting Ch OutChUseCfg to set the analog outputs to be used Variable name Type Setting Ch _OutChUseCig BOOL 0 Not used 1 Used An input number from 1 to 2 is included in place of in the variable name P I gt 5 O O O c eb gt c Tl c 3 O ct O 5 D o 3 Q O y O S ct 3 e U O o D Q c D 0 In addition to input use setting you can also perform batch settings with Input and Output Use Set tings ChUseCfg Variable name Type Setting ChUseCfg BYTE 16400 to 16 F3 Bit 07 06 05 04 03 02 01 00 Input 4 Input 3 Input 2 Output 2 Output 1 San eA UOISIBAUOD pue shuas INdINO 9 Input 1 0 Not used 1 Used EN Additional Information e The output value of the output number set to Not used will be 0 V e This value will be 500 us when the setting is for 500 us and a resolution of 8 000 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 35 6 CJ series Analog I O Unit CJ1W MAD42 e Qutput Signal Ranges You can select any of four types of output signal range 10 to 10 V 0 to 10 V 1 to 5 V 4 to 20 mA and 0 to 5 V for each of the outputs i e output numbers 1 to
305. unction EN Additional Information You can overwrite the non volatile memory 50 000 times CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 Common Items 7 1 3 Output Offset and Gain Adjustment Procedures i Specifying Output Number to be Adjusted Use the device variable for CJ series Unit Outputs to Be Adjusted AdjCh shown below to specify the output number to be adjusted Variable name Type Setting AdjCh BYTE 16411 to 16418 Bit 76543210 I O specification Input to be adjusted 1 Output 1108 Bits Used to Adjust Offset and Gain Use bit operation of the device variables for CJ series Unit shown below to adjust offset and gain 2 2 Variable name Type Function 5 AdjOfs BOOL Offset Flag 3 AdjGain BOOL Gain Flag e YN AdjDwn BOOL Adjustment Value Down Flag Decrease the adjusted value 2 by one resolution 5 AdjUp BOOL Adjustment Value Up Flag Increase the adjusted value by Q one resolution 5 AdjSet BOOL Adjustment Value Set Flag Confirm the adjustment off set gain 7 AdjClr BOOL Adjustment Value Clear Flag Cancel the adjusted value cur rently set and restore the original adjusted value Offset Adjustment The procedure to adjust the analog output offset is explained below As shown in the following diagram the set value is adjusted so that the analog output reaches the standard value 0 V 1 V 4 mA 10V T Output signal range Oto
306. unting pin d Terminal block lock lever pull down to release terminal block e Side Slider SOWEN 1USUodwWo 9 ES sbunies y91ms pue sjueuoduio3 9 Expansion connector CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6 11 6 CJ series Analog I O Unit CJ1W MAD42 EN Additional Information e Use a connector to attach the terminal block Lower the lever at the bottom of the terminal block to remove the connector Normally put the lever in the raised position Confirm this before operation O j AF K O PA i E vei A Y Y Lj EN A O PA O AY gt SK 6 3 2 Indicators The indicators show the operating status of the Unit The following table shows the meanings of the indicators Operating status RUN green Operating Operating in Normal Mode Not lit Unit has stopped exchanging data with the it CPU Unit ERC red Error L Alarm has occurred such as disconnection detected detection or initial settings are incorrect by Unit Not lit Operating normally ERH red Error inthe Lit Error has occurred during data exchange CPU Unit with the CPU Unit Not lit Operating normally ADJ yellow Adjusting Flashing Operating in offset gain Adjustment Mode Not lit Other than the above 6 12 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 6
307. upper limit value Output 2 Scaling Upper Limit INT RW Input 1 Scaling Lower Limit Refer to 6 6 4 Inout Scaling Function INT RW Input 1 Scaling Upper Limit 32000 to 32000 INT RW Input 2 Scaling Lower Limit Set lower limit value upper limit value Can also set lower limit value gt upper limit value Input 2 Scaling Upper Limit Input 3 Scaling Lower Limit Input 3 Scaling Upper Limit Input 4 Scaling Lower Limit Input 4 Scaling Upper Limit USINT RW Output 1 Output Status When Refer to 6 7 2 Output Hold Function Conversion Stops 0 CLR USINT RW Output 2 Output Status When 1 HOLD Conversion Stops 2 MAX BYTE Ratio Conversion Use Setting Refer to 6 8 Ratio Conversion Function 16400 Not used 16401 Positive gradient conversion 16410 Negative gradient conversion 16411 Not used Ch1 Cfg Const A WORD RW Loop 1 Ratio Conversion Con Refer to Specifying Ratio Set Value and Bias stant A in 6 8 Ratio Conversion Function Ch1 Cfg Const B INT RW Loop 1 Ratio Conversion Con stant B Ch2 Cfg Const A WORD RW Loop 2 Ratio Conversion Con stant A Ch2 Cfg Const B INT RW Loop 2 Ratio Conversion Con stant B MdCfg BYTE Operating Mode Settings ResolutionCfg BYTE RW Resolution Conversion Time Settings i Operation Data Operation data includes data such as analog input conversion value analog output setting etc Opera tion data is exchanged constantly during I O refreshing R
308. variables System defined variable Name Data type Factory setting Contents P On BOOL DERI Always ON Flag ON when the power is supplied User defined variables To be defined before or when creating a program Name Data type Factory setting ai Contents OverUnder BOOL False Alarm Flag indicating value is Limit outside the range of upper lower limits MaxLimit 3900 Sets the upper limit Buuojuo N Jue jsuo gt uue y 1WI 48M0O pue Jedd L zZ Y CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A 3 Appendices Device variables for CJ series Unit Create them on the I O Map screen after the Unit Configuration is created Name Data type Factory setting aes an Contents lOBus rack 0 Indicates the input 1 slot 0 Ch1 RdAI Conversion Data A D conversion value ZoneCmp MinLimit J01 Chi RaAI MaxLimit A 2 2 Upper and Lower limit Alarm with Standby Sequence e Outline Comparisons are made to the upper and lower limits of the A D conversion values or D A output val ues after the value falls within the range between the upper limit and lower limit following the begin ning of operation If they fall outside the specified range the Alarm Flag will turn ON In this example the upper limit is 3 900 and the lower limit is 100 Upper limit Lower limit Alarm Flag A 4 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 Appendices e Unit S
309. wiring is wrong or there is a disconnection Turn OFF the peak value hold function if it is not required Use a tester to check for changes in the input voltage or current Use Unit s error flags to check for a disconnection Page Refer to 2 6 1 Input Settings and Con version Values Refer to 3 6 1 Input Settings and Con version Values Refer to 6 6 1 Inout Settings and Con version Values Refer to 2 6 3 Peak Value Hold Function Refer to 3 6 4 Peak Value Hold Function Refer to 6 6 3 Peak Value Hold Function Refer to 2 6 4 Inout Disconnection Detection Function Refer to 3 6 5 Inout Disconnection Detection Function Refer to 6 6 5 Inout Disconnection Detection Function CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 Common Items e Value Does Not Change as Intended Probable cause Countermeasure Page The input device s signal range Check the specifications of the Refer to 2 6 1 Input Settings and Con does not match the input signal input device and match the input version Values range for the relevant input num signal range settings Refer to 3 6 1 Input Settings and Con ber at the Unit version Values Refer to 6 6 1 Input Settings and Con version Values The offset and gain are not Adjust the offset and gain Refer to 7 1 Adjusting Offset and Gain adjusted The voltage current switch is not Turn ON the voltage current Refer to 2 3 5 Voltage Current Switch
310. words 95 Unit 495 CIO 2950 to CIO 2959 D29500 to D29599 EN Additional Information e f two or more Special I O Units are assigned the same unit number a Duplicate Unit Num ber major fault level Controller error is generated and the Controller will not operate e After correcting the unit number setting cycle the power to the Controller Aowa pue spun seuoes f2 10 SILLA 301IN9 10 SAAB eouepuodsau02 p Y SHU S9LIIS 10 sessoJppy O O0O NIOO oy B O N O 2 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 A 17 Appendices A 4 1 CJ1W AD041 V1 Special I O Unit CIO Area in Normal Mode NJ series device variable for CJ series Unit I O I O memory address Output n 00 to 15 PkHdCmd Peak Value Hold Execution WORD CPU to this Settings Unit Chi PkHdCmd Input 1 Peak Value Hold Exe BOOL cution 01 Ch2 PkHaCmd Input 2 Peak Value Hold Exe BOOL cution 02 Ch3 PkHdCmd Input 3 Peak Value Hold Exe BOOL cution Ch4 PkHdCmd Input 4 Peak Value Hold Exe BOOL cution heute nie opie 18 ORTI paz Corverson Oia Ni ws fowr E puts Conersion taa i Ch SensErr Input 1 Disconnection BOOL Detected 01 Ch2 SensErr Input 2 Disconnection BOOL Detected 02 Ch3 SensErr Input 3 Disconnection BOOL Detected 03 Ch4 SensErr Input 4 Disconnection BOOL Detected 08 to 15 Error Flags BYTE 11 AveErr Mean Value Processing Set BOOL ting Error Special I O Uni
311. x 2 10 5 x 1 4 34 ms e Response time for input 8 t 1 x 2 2 x 1 4 1 ms Bunelado pue suo oun Indu bojeuy 9 2 U o O D Q c D o 2 6 3 Peak Value Hold Function The peak value hold function holds the maximum digital conversion value for every input this includes mean value processing You can use this function with analog input The following diagram shows how digital conversion values are affected when the peak value hold function is used Digital conversion value Conversion value when the peak value hold function is used am ui uonoun J pJoH 9en eA yeed 9 Z Peak value hold t Time The peak value hold function is executed with the device variable for CJ series Unit Input Peak Value Hold Execution ChZ PkHdCmd shown below Peak value hold of the conversion value is performed while this variable is 1 Variable name Type Setting Ch PkHaCmd BOOL 0 Do not perform peak value hold 1 Perform peak value hold An input number from 1 to 8 is included in place of in the variable name 1 to 4 for AD041 V1 You can also perform batch settings with the device variable for CJ series Unit Peak Value Hold Execu tion Settings PkHdCmd shown below Variable name Type Setting PkHdCmd WORD 1640000 to 16 00FF To 16 000F for AD041 V1 Bit 15 14 13 12 11 10 09 08 07 06 05 0403 02 01 00 00 N CO LO mM CN T
312. xchanged constantly during I O refreshing f List of operation data during Normal Mode Name of device variable for Type R W Feature reference page CJ series Unit Ch1_RdAI INT HR Input1 Conversion Data Refer to 2 6 1 Input Settings and Conver Ch3 RaAl INT R Input 3 Conversion Data Input 5 to 8 are used only for AD081 V1 W R bines the following BOOL type PkHdCmd ORD W Peak Value Hold Execution Set tings variables Ch1_PkHdCmd BOOL RW Input 1 Peak Value Hold Execu BOOL type variable that instructs 00 tion each input for execution of peak Refer to 2 6 3 Peak Value Hold Bit Function Number WORD type variable that com Ch2 PkHdCmd BOOL RW Input 2 Peak Value Hold Execu value hold 01 tion 0 Do not perform peak value Ch8 PkHdCmd BOOL RW Input 3 Peak Value Hold Execu 129 02 tion 1 Perform peak value hold Ch4 PkHdCmd BOOL RW Input 4 Peak Value Hold Execu Ch5 to Ch8 are used only for 03 tion AD081 V1 Ch5 PkHdCmd BOOL RW Input 5 Peak Value Hold Execu 04 tion Ch6 PkHdCmd BOOL RW Input 6 Peak Value Hold Execu 05 tion Ch7 PkHdCmd BOOL RW Input 7 Peak Value Hold Execu 06 tion 07 Ch8 PkHdCmd BOOL Input 8 Peak Value Hold Execu tion SensErr BYTE o Disconnection Detected Refer to 2 6 4 Input Disconnec Bit tion Detection Function Number BYTE type variable that com bines the following BOOL type variables 2 22 CJ series Analog I O Unit
313. xternal input device Set value before adjustment Set value after adjustment 100 0 5 10 0 500 0 3995 7990 4000 8000 Resolution 8 000 CJ series Analog I O Units Operation Manual for NJ series CPU Unit W490 7 Common Items 7 1 1 Adjustment Mode Operational Flow The following diagram shows the flow of operations when using the Adjustment Mode to adjust offset and gain Turn ON the Controller Set the operating mode switch to Adjustment Mode The method of switching to the Adjustment Mode varies depending on the model Refer to the section of each model Restart the Unit To adjust another I O number Set the adjustment I O number To adjust the same I O number Offset Adjustment Gain Adjustment AdjOfs 4 AdjGain 4 Input adjustment Output adjustment Input adjustment Output adjustment Adjustment Adjustment Input sampling value setting Input sampling value setting Add inputs so that Operate AdjDwn Add inputs so that Operate AdjDwn conversion value or conversion value is or becomes 0 AdjUp maximized AdjUp Y AdjSet 4 gt y AdjSet 1 gt o AdjOfs o Set the operating mode switch to Normal Mode The method of switching to the Normal Mode varies depending on the model Refer to the section of each model Restart the Unit l Precautions for Correct Use e Set the CPU Unit to PROGRAM Mode whe

Download Pdf Manuals

image

Related Search

Related Contents

Briggs & Stratton 30227 User's Manual  Kenwood KVT-817DVD Portable DVD Player User Manual  Bitte vor Inbetriebnahme sorgfältig lesen!    Reproductor de DVD portátil Guia del usuario  Oricom UHF200 User's Manual  Ils goûtent à l`esprit d`entreprise en créant deux nouveaux produits    ficha técnica  User Manual  

Copyright © All rights reserved.
Failed to retrieve file