1260 CIMON-PLC CM1-AD08V 0~5V, 1~5V, -10~10V, 0~10V An input signal is converted to a digital value from 0 to 16000 or from 8000 to 8000. Average or sampling is the method used to process input signal. As the resolution for digital value is selected as 1/16000, high-resolution digital values will be gotten. The number of the modules used for one base is not limited. Contents : General Idea Wiring Specifications Internal I/O Table Features of I/O Conversion Buffer Memory 6.4.1 General Idea Digital Value - D
XP / CP Series(CM1) 1261 The value shown as number such as 0, 1, 2 and 3, and varied non-continuously is called digital value. ON signal and OFF signal are shown as the digital value of 0 and 1. BCD values and binary values are also digital values. To operate with digital values, analog values cannot be inputted directly to a CPU module. Therefore, analog values are to be converted to digital values like Picture 1.4, and to be inputted to a CPU. To output analog values, it is necessary to convert the digital values in a CPU to analog values. 6.4.2 Specifications General Specification Technical Specification Dimensions
1262 CIMON-PLC 6.4.2.1 General Specification Item Operating Temperature Storage Temperature Operating Humidity Storage Humidity Vibration Specification -10 ~ 65 o C -25 ~ 80 o C 5 ~ 95%RH, Not condensed. 5 ~ 95%RH, Not condensed. In case of intermittent vibration Frequency Acceleration Amplitude Sweep 10 f< 57Hz - 0.075mm 10 times in each 57 f < 150 Hz 9.8m/s2 {1G} - direction (X,Y,Z) In case of continuous vibration Frequency Acceleration Amplitude Sweep 10 f < 57Hz - 0.035mm 10 times in each 57 f < 150 Hz 4.9m/s2 {1G} - direction (X,Y,Z) Shock - Max. Shock Acc.: 147 m/s2 {15G} Noise Environment Altitude - Time : 11 (3 times in X, Y, Z) - Pulse Wave : Half sine wave pulse Square wave impulse noise Electrostatic discharge Radiated electro-magnetic field Fast Transient Bust Noise ±1500V Voltage: 4 kv(contact discharge) 27 ~ 500 MHz. 10 V/m Item No corrosive gas and no dust. 2,000m or less Pollution Less than 2 Cooling 6.4.2.2 Technical Specification Natural Air cooling Power Modul e Digital I/O (24V or more) Voltage 2KV 1KV 0.25KV Model Item CM1-AD04VI CM1-AD08V CM1-AD08I No. of Analog Input Points Analog Input 4 points 8 points 8 points 0 ~ 20mA 4 ~ 20mA 0 ~ +5V 1 ~ +5V 0 ~ +10V -10V ~ +10V Digital Output 0~16000(-8000~8000) 0 ~ +5V 1 ~ +5V 0 ~ +10V -10V ~ +10V Digital I/O(Less than 24V) Analog I/O Comm. interface 0 ~ 20mA 4 ~ 20mA
XP / CP Series(CM1) 1263 Maximum Resolution Input Range of Analog Input Max. Resolution Digital Output Voltage 0 ~ +5V 0.25mV 0 ~ 16000 1 ~ +5V 0.3125mV -8000 ~ 8000 0 ~ +10V 0.625mV -10V ~ +10V 1.25mV Precision Current 0 ~ 20mA ±0.3%(Full Scale) 1.25mA Conversion Rate 5mS/1ch Absolute Maximum Input Voltage : ±12V Current : ±25mA ±12V ±25mA Type of Insulation Between input terminal and PLC : Photo Coupler Insulation Between Channels : No Insulation Occupied Points 16 points Contact Terminal 18-point Terminal Block Internal +5V 50 50 50 Current +15V 40 40 40 (ma) 0V 35 20 20 6.4.2.3 Dimensions Unit : mm
1264 CIMON-PLC 6.4.3 Features of I/O Conversion Features of I/O conversion mean the gradient of the straight line connecting offset values and gain values when the analog signals (Voltage or current) from the outside of a PLC are converted to digital values. An offset value is the analog input value(voltage or current) corresponding to the digital output value of 0(-8000) and a gain value is the analog input value(voltage or Current) corresponding to the digital output value of 16000(8000). Contents : Feature of Voltage Input (AD04VI) Feature of Voltage Input (AD08I) Feature of Voltage Input (AD08V) 6.4.3.1 AD04VI No. Range of Analog Input Offset Gain Digital Output Value Max. Resolution 1 1 ~ 5V 1V 5V 0 ~ 16000 (-8000~8000) 0.25mV 2 0 ~ 5V 0V 5V 0.3125mV 3 0 ~ 10V 0V 10V 0.625mV
XP / CP Series(CM1) 1265 4-10 ~ 10V -10V 10V 1.25mV In case that the analog inputs corresponding to the digital output values out of the range come, the maximum and the minimum of the digital output values are fixed as 192 and 16191(-8192 & 8191). 6.4.3.2 AD08I No. Range of Analog Input Offset Gain Digital Output Value Max. Resolution 1 0 ~ 20mA 0mA 20mA 1.25mA 0 ~ 16000(-8000~8000) 2 4 ~ 20mA 4mA 20mA 1mA In case that the analog inputs corresponding to the digital output values out of the range come, the maximum and the minimum of the digital output values are fixed as 192 and 16191(-8192 & 8191).
1266 CIMON-PLC 6.4.3.3 AD08V No. Range of Analog Input Offset Gain Digital Output Value Max. Resolution 1 1 ~ 5V 1V 5V 0 ~ 16000(-8000~8000) 0.25mV 2 0 ~ 5V 0V 5V 0.3125mV 3 0 ~ 10V 0V 10V 0.625mV 4-10 ~ 10V -10V 10V 1.25mV In case that the analog inputs corresponding to the digital output values out of the range come, the maximum and the minimum of the digital output values are fixed as 192 and 16191(-8192 & 8191). 6.4.4 Wiring Safety Precautions : Use separate cables for AC and outside input signals of an A/D converter module to keep from the serge
XP / CP Series(CM1) 1267 or the induced noise occurring from the AC. Select a wire, considering ambient temperature and allowable current. AWG22(0.3 ) or more is recommended as the thickness of the wire. Keep the wire out of heat-generating device, toxic substance and oil. They may cause breakdown or malfunction. Make sure polarity before inputting analog value to a terminal block. The wiring together with high-voltage line or power line may cause malfunction or breakdown. Contents : AD04VI AD08V AD08I 6.4.4.1 AD04VI Measured values are inputted to all the channels grouped as Terminal 1-2-3, 5-6-7, 9-10-11 and 13-14-15.
1268 CIMON-PLC [ In case of voltage input ] + Terminal - Terminal Ch 1 Terminal 1 Terminal 3 Ch 2 Terminal 5 Terminal 7 Ch 3 Terminal 9 Terminal 11 Ch 4 Terminal 13 Terminal 15 [ In case of current input ] +Terminal - Terminal Action Ch 1 Terminal 2 Terminal 3 Connect 1-2 Ch 2 Terminal 6 Terminal 7 Connect 5-6 Ch 3 Terminal 10 Terminal 11 Connect 9-10 Ch 4 Terminal 14 Terminal 15 Connect 13-14 +15V and -15V are used for AD04VI, AD08I and AD08V. POWER module is to be CM1-SPB or CM1-SPC.
XP / CP Series(CM1) 1269 6.4.4.2 AD08I Terminal 17 and Terminal 18 are not used. + Terminal - Terminal Ch 1 Terminal 1 Terminal 2 Ch 2 Terminal 3 Terminal 4 Ch 3 Terminal 5 Terminal 6 Ch 4 Terminal 7 Terminal 8 Ch 5 Terminal 9 Terminal 10 Ch 5 Terminal 11 Terminal 12 Ch 7 Terminal 13 Terminal 14 Ch 8 Terminal 15 Terminal 16
1270 CIMON-PLC 6.4.4.3 AD08V Terminal 17 and Terminal 18 are not used. + Terminal - Terminal Ch 1 Terminal 1 Terminal 2 Ch 2 Terminal 3 Terminal 4 Ch 3 Terminal 5 Terminal 6 Ch 4 Terminal 7 Terminal 8 Ch 5 Terminal 9 Terminal 10 Ch 6 Terminal 11 Terminal 12 Ch 7 Terminal 13 Terminal 14 Ch 8 Terminal 15 Terminal 16 6.4.5 Internal I/O Table Direction of Signal(CPU?A/D Module) Direction of Signal(CPU?A/D Module) Input Name of Signal Output Name of Signal X00 A/D module ready Y00 Not use X01 Flag indicating A/D-converted Y01 X02 Flag indicating operation condition set up Y02 Requesting to set up operation condition X03 Flag indicating the channel switched Y03 Requesting to switch an channel X04 Flag indicating offset or gain calibration mode Y04 Requesting to calibrate offset or gain X05 Not use Y05 Assigning offset or gain calibration mode X06 Y06 Not use X07 X08 X09 X0A X0B Y07 Y08 Y09 Y0A Y0B
XP / CP Series(CM1) 1271 X0C Y0C X0D Y0D X0E Y0E Requesting to reset max. value/min. value X0F Flag indicating an error in A/D module Y0F Requesting to clear the error The numbers of I/O signals is for the case an A/D module is mounted on Slot 0 of a local base. Contents : Input Signals Output Signals 6.4.5.1 Input Signals Devic e NO. X00 X01 X02 Signal Name A/D module ready Flag indicating A/D-converted Flag indicating operation condition set up Description 1) If the power is inputted to a CPU or a CPU is reset, A/D conversion will be ready. At this time, this signal is set and A/D conversion is processed. 2) When this signal is off, A/D conversion is not processed. In the following case, A/D module ready will be reset. During Offset/Gain calibration mode If all the enabled channels convert, this signal will be set. 1) This is used as the interlock condition to set/reset request to set up operation condition(y02) when enabling/disabling to A/D-convert is switched. 2) When this signal(x02) is reset, A/D conversion is not processed. In the following case, flag indicating operation condition set up will be reset. When module ready is reset. When requesting to set up operation condition is set. X03 Flag indicating the channel 1) This is used as the interlock condition to set/reset request to switch a channel (Y03) when the channel for calibrating offset and gain is switched.
1272 CIMON-PLC switched 2) Refer to Chapter 7 for offset/gain calibration. X04 Flag indicating Offset or Gain calibration mode 1) This is used as the interlock condition to set/reset requesting to calibrate offset/gain(y04) when registering value after an offset/a gain are calibrated. 2) Refer to Chapter 7 for offset/gain calibration. X0F Flag indicating an error in A/D module 1) If an error occurs in writing to buffer memory, this flag will be set. 2) To clear error code, request to clear the error(y0f) is be set. 6.4.5.2 Output Signals Devi cen O. Y02 Signal Name Requesting to set up operation condition Description 1) This is set when the contents of enabling/disabling to A/D-convert, assigning average process, the average time and the average number of times when average process is assigned are available.
XP / CP Series(CM1) 1273 Y03 Y04 Y05 Y0E Y0F Requesting to switch an channel Requesting to calibrate offset or gain Assigning offset or gain mode Requesting to reset maximum value and minimum value Requesting to clear an error 2) Refer to X02(Flag indicating operation condition set up) for set/reset timing. 1) This is set when switching the channel for offset/gain calibration. 2) Refer to X03(Flag indicating channel switched) for set/reset timing 1) This is set when the calibrated values of offsets/gains are registered to A/D module. 2) Refer to X04(Flag indicating offset/gain calibration mode) for set/reset timing. 1) This is set when assigning offset/gain calibration mode. 2) When it is reset, normal mode(a/d Conversion mode. 3) If offsets/gains are set up, this is to be reset. 1) If the request to reset maximum value and minimum value is set, the maximum value and minimum value stored in buffer memory will be cleared. 2) After this is set, this is to be reset. 1) This is set to clear the error. 2) Refer to X0F(Flag indicating an error in A/D module) for set/reset timing. 6.4.6 Buffer Memory Address Description Address Description Hexa Deci Hexa Deci 0H 0 Enabling/disabling to A/D-convert setup 1H 1 Average time & average number of times of CH1 2H 2 Average time & average number of times of CH2 3H 3 Average time & average number of times of CH3 4H 4 Average time & average number of times of CH4 5H 5 Average time & average number of times of CH5 6H 6 Average time & average number of times of CH6 7H 7 Average time & average number of times of CH7 8H 8 Average time & average number of times of CH8 R/W 17H 23 Channel to calibrate gain R/W R/W 18H 24 Setting up digital output 1 R/W R/W 19H 25 Setting up digital output 2 R/W R/W 1AH 26 Not use R/W 1BH 27 R/W 1CH 28 R/W 1DH 29 R/W 1EH 30 Max. value of CH1 R R/W 1FH 31 Min. value of CH1 R 9H 9 Assigning averaging process R/W 20H 32 Max. value of CH2 R AH 10 Flag indicating A/D-converted R 21H 33 Min. value of CH2 R BH 11 Digital output value of CH1 R 22H 34 Max. value of CH3 R CH 12 Digital output value of CH2 R 23H 35 Min. value of CH3 R DH 13 Digital output value of CH3 R 24H 36 Max. value of CH4 R
1274 CIMON-PLC EH 14 Digital output value of CH4 R 25H 37 Min. value of CH4 R FH 15 Digital output value of CH5 R 26H 38 Max. value of CH5 R 10H 16 Digital output value of CH6 R 27H 39 Min. value of CH5 R 11H 17 Digital output value of CH7 R 28H 40 Max. value of CH6 R 12H 18 Digital output value of CH8 R 29H 41 Min. value of CH6 R 13H 19 Error code R 2AH 42 Max. value of CH7 R 14H 20 Set range(ch1 ~ CH4) R/W 2BH 43 Min. value of CH7 R 15H 21 Set range(ch5 ~ CH8) R/W 2CH 44 Max. value of CH8 R 16H 22 Channel to calibrate offset R/W 2DH 45 Min. value of CH8 R Each data is word type. Buffer memory from CH.5 to CH.8 cannot be used for 4-channel module. R/W indicates whether reading/writing from a PLC is enabled. (R : Reading is enabled. / W : Writing is enabled.) 6.4.6.1 Enabling / Disabling to A/D Convert (Address "0") Buffer Memory Address "0" This is used to set up whether enabling or disabling to A/D-convert by the channels. To make it available to set up enabling/disabling to A/D-convert, requesting to set up operation condition (Y02) is to be set and reset. Default value is set up as disabling A/D conversion. As a set value is stored in EEPROM, the A/D module is operated as previously set value even though the power is on and off. The data from b4 to b15 of AD04VI and the data from b8 to b15 of AD08I and ADO8V are fixed as "0". Example : In case that the channels for A/D conversion are 2,4,6,8, 00AAH(170) is to be written to Buffer Memory Address "0" and requesting to set up operation condition (Y02) is to be set and reset.
XP / CP Series(CM1) 1275 6.4.6.2 Average Time / Average Number of Times (Address "1-8") Buffer Memory Address "1 ~ 8" These are used to set up the average time and the average number of times for an assigned channel. To make the setup available, requesting to set up operation condition (Y02) is to be set and reset. The ranges available to set up are as follows. ( Average process by number of times: 4 ~ 62500 times / Average process by time: 20 ~ 5000ms ) Default value is fixed as "0". As a set value is stored in EEPROM, the A/D module is operated as previously set value even though the power is on and off. 6.4.6.3 Assigning Average Process (Address "9") Buffer Memory Address "9" Use the CICON to select sampling process or average process, and to write a set value to Buffer Memory "9" To make the setup available, requesting to set up operation condition (Y02) is to be set and reset. In case that average process is selected, use the CICON to select average time or number of times. Default value is set up as the sampling process and averaging number of times for all channels. As a set value is stored in EEPROM, the A/D module is operated as previously set value even though the power is on and off. Assigning the channels for average process 1 : Average Process 0 : Sampling Process Assigning time and number of times 1 : Averaging Time 0 : Averaging Number of Times
1276 CIMON-PLC Example : In case that Channel 1 and 5 are assigned to averaging number of times, Channel 2 and 7 to averaging time and the rest to the sampling process, requesting to set up operation condition(y02) is set and reset after 5342H(21314) is stored in Buffer Memory Address "9". 6.4.6.4 A/D Converted (Address "10") Buffer Memory Address "10" If an assigned channel is A/D-converted first, the memory for A/D-converted will be set. And, flag indicating A/D-converted (X02) will be set if all channels are A/D-converted first If requesting to set up operation condition (Y03) is on, the memory will be reset. And if a corresponding channel is A/D-converted, the memory will be set. In case of 4-channel module, the data from b4 to b7(ch5 ~ CH8) are disregarded. 1 : A/D Converted / 0 : A/D Converting or not use The data from b4 of AD04VI and the data from b8 to b15 of AD08I and AD08V are fixed as "0". Example : When Channel 1,2 and 6 are enabled to A/D-convert and all the channels A/D-convert, 0023H(35) is stored in Buffer Memory Address?0?as follows.
XP / CP Series(CM1) 1277 6.4.6.5 Digital OutPut Value (Address "11-18") Buffer Memory Address "11 ~ 18" A/D-converted digital output values are stored in buffer memory addresses from 11 to 18 by channels. Digital output values are indicated in signed 16-bit binary value. The range of output values is from 0(-8000) to 16000(8000). In case that values are out of the range, they are outputted in the range from 192 to 16191 or 8192 to 8191. 6.4.6.6 Error Codes (Address "19") Buffer Memory Address "19" The error codes detected from an A/D module are stored in these addresses. is from 1 to 4 for AD04VI and from 1 to 8 for AD08I and AD08V(The number means the channel.).?is from 1 to 3. If an error occurs, it will be kept till it is cleared or the power is off. If an error is not cleared after it occurs, an newly occurring error will be disregarded. (To clear an error, use the CICON to set or reset the YOF (Requesting to clear error).) [ Error codes are decimal figure.] Error code Description 1 The case that the range of input setup is wrong The case that current is set up in AD08V or voltage is set up in AD08I 2 The case that average process time is out of range 3 The case that number of average process times is out of range 4 The case that an offset value is greater than a gain value 49 The case that offset channels and gain channels are calibrated at the same time 10 Error in system (A/S required)
1278 CIMON-PLC 6.4.6.7 Range of Input Setup (Address "20, 21") Buffer Memory Address "20","21" These are used to set up the range of inputs by channels for an A/D converter module. To make the setup available, requesting to set up operation condition(y02) is to be set and reset. The set values of the channels from 1 to 4 are stored in Buffer Memory Address "20" and the set values of the channels from 5 to 8 are stored in Buffer Memory Address "21". In case of 4-channel module, Buffer Memory Address "21" is disregarded. The range of the default values for AD04VI, AD08I is from 4 to 20(mA) and the range for AD08V is from 1 to 5V. As a set value is stored in EEPROM, the A/D module is operated as previously set value even though the power is on and off. Buffer Memory Address "20" Buffer Memory Address "21" b15 ~ 12 b11 ~ b8 b7 ~ b4 b3 ~ b0 CH 4 CH 3 CH 2 CH 1 CH 8 CH 7 CH 6 CH 5 The set values are as follows. Range of Input Set Value 4 ~ 20(mA) 0 0 ~ 20(mA) 1 1 ~ 5(V) 2 0 ~`5(V) 3-10 ~ 10(V) 4 0 ~ 10(V) 5 6.4.6.8 Offset/Gain Calibration Mode (Address "22, 23") Buffer Memory Address "22", "23" These are used to assign the channel of which offset/gain are calibrated. The channel to calibrate an offset is assigned to Buffer Memory Address "22" and the channel to calibrate an gain is assigned to Buffer Memory Address "23". It is available to set up two channels at the same time. But, an offset and a gain is to be calibrated each. (One of Buffer Memory Address "22" and "23" should be set up as "0".) If both are set up at the same time, an error(error code "49") occurs in offset/gain calibration mode. In case of a 4-channel module, the data from b4 to b7(for channels from 5 to 8) are disregarded.
XP / CP Series(CM1) 1279 6.4.6.9 Digital Output Setup Mode (Address "24, 25") Buffer Memory Address "24, 25" This is used to decide whether the range of digital output value is -192 ~ 16191, -8192 ~ 8191, 0 ~ 16000, -8000 ~ 8000. To make this setup available, requesting to set up operation condition (Y02) is to be set and reset. If the corresponding bit of each channel is 0, the range of values is from 192 to 16191. If it is 1, the range of values is from -8192 to 8191. Default value is set up as 0(-192~16191). As a set value is stored in EEPROM, the A/D module is operated as previously set value even though the power is on and off. Address 24 Address 25 Digital Output 0 0-192 ~ 16191 0 1-8192 ~ 8191 1 0 0 ~ 16000 1 1-8000 ~ 8000