16 analog mux module - anaheim automation · pdf filesettings save request ... ** each data is...

21
16 Analog Mux Module 16.1 Summary 16.1.1 Features Analog Mux module receives analog values from 4 channels and outputs the same values to one port at a time. 1) Desired channels can be selected to be enabled or disabled and get operation status. 2) Different relay ON time can be set by each channel from 0.1 to 1000.0 seconds range. 3) Relay count values can be checked for life expectancy for the relay. 4) Easy control with Auto/Manual mode. 5) Power LED blinks by 0.5 second interval when there’s an error with CPU communication. 6) It is not suitable for current signal use since this module switches analog signals repeatedly.

Upload: nguyennguyet

Post on 19-Mar-2018

216 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

16 Analog Mux Module 16.1 Summary

16.1.1 Features

Analog Mux module receives analog values from 4 channels and outputs the same values to one

port at a time.

1) Desired channels can be selected to be enabled or disabled and get operation status.

2) Different relay ON time can be set by each channel from 0.1 to 1000.0 seconds range.

3) Relay count values can be checked for life expectancy for the relay.

4) Easy control with Auto/Manual mode.

5) Power LED blinks by 0.5 second interval when there’s an error with CPU communication.

6) It is not suitable for current signal use since this module switches analog signals repeatedly.

Page 2: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

16.2 Performance Specifications

16.2.1 General Standards

Item Specification Related

Standard

Operating Temp. -10 ~ +65℃

Storage Temp. -25 ~ +80℃

Operating Humidity 5 ~ 95%RH (Non-condensing)

Storage Humidity 5 ~ 95%RH (Non-condensing)

Vibration

For Intermittent Vibrations

Frequency Acceleration Amplitude Number

IEC61131-2

10≤ f <57Hz - 0.075mm

20 times each in

X,Y,Z

57≤ f <150 Hz 9.8m/s2 {1G} -

For Continuous Vibrations

Frequency Acceleration Amplitude

10≤f < 57Hz - 0.035mm

57≤ f < 150

Hz 4.9m/s2 {1G} -

Shock

- Maximum Impact Acceleration : 147 m/s2 {15G}

- Duration Time: 11ms

- Pulse Wave : Sign Half-Wave Pulse (3 times each in X,Y,Z )

IEC61131-2

Noise

Square Wave

Impulse Noise ±2000V KDT Standard

Electrostatic

Discharging Voltage : 4KV (Contact discharging)

IEC61131-2

IEC1000-4-2

Radiated

Electromagnetic

Field Noise

27 ~ 500 MHz. 10 V/m IEC1131-2

IEC1000-4-3

Fast Transient/

Burst Noise Power Module

Digital I/O

(24V or more)

Digital I/O,

(24V or less)

Analog I/O,

Comm. Interface

IEC1131-2

IEC1000-4-4

Voltage 2KV 1KV 0.25KV

Environment Corrosive Gas Free and Excessive Dust Free Environment

Altitude Less than 2,000m

Pollution Degree Less than level 2

Cooling Type Natural Air Cooling

Page 3: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

16.2.2 Performance Specifications

Item Standard

Connectable

Analog Inputs Current (-10V ~ 10V), Voltage (0~20mA), TC and RTD sensor

Max/Min ON time 0.1 sec / 1000.0 sec

Analog Input Pts 4 channels / 1 module

Insulation Method Relay

Number of Ports Input: 12 pts, Ouput: 3 pts

Relay Life

Expectancy Number of Operation of 1018

Page 4: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

16.2.3 Appearance and Dimensions

(Unit: mm)

Page 5: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

16.3 Function

16.3.1 Channel Enable / Disable

1) The user can select enable or disable for each channel

2) Channel conversion time can be reduced by disabling non-used channels

16.3.2 Relay ON Time Settings

1) Possible to set-up different relay ON time for each channel.

2) Anywhere from 0.1 to 1000.0 sec range can be set.

16.3.3 Operation Status

1) Indicates currently used channel information

2) Bit for disabled channels shows as 0.

16.3.4 Relay Count Values

1) Relay count values are shown for each channel

2) By looking at relay count values, the user can check the life expectancy of the relay.

3) Relay count information can be reset.

16.3.5 Auto/Manual Mode

1) Auto/Manual mode set-up for flexible settings of channel conversion time.

16.3.6 Error Detection

1) Error detecting function to monitor any problems in the module.

2) The error code can be reset.

Page 6: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

16.4 Input and Output Flags for the CPU

16.4.1 I/O Flags

Flag Direction (CPU ← MUX Module) Flag Direction (CPU → MUX Module)

Input Flag Output Flag

X20 Y20

X21 MUX Channel Change Completed Y21 Mux Channel Change Request

X22 Settings Save Completed Y22 Settings Save Request

X23 1CH Relay Open Predict Y23 1CH stoppage Request

X24 2CH Relay Open Predict Y24 2CH stoppage Request

X25 3CH Relay Open Predict Y25 3CH stoppage Request

X26 4CH Relay Open Predict Y26 4CH stoppage Request

X27 1CH Relay Activate Y27

X28 2CH Relay Activate Y28

X29 3CH Relay Activate Y29

X2A 4CH Relay Activate Y2A

X2B 1CH Relay Count Reset Completed Y2B 1CH Relay Count Reset Request

X2C 2CH Relay Count Reset Completed Y2C 2CH Relay Count Reset Request

X2D 3CH Relay Count Reset Completed Y2D 3CH Relay Count Reset Request

X2E 4CH Relay Count Reset Completed Y2E 4CH Relay Count Reset Request

X2F Module Error Y2F Error Clear Request

** Note that I/O flags shown above are applied when the MUX module is installed in the first slot

Page 7: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

16.4.2 Details on Input / Output Flag

1) Input Flag

Device

NO. Flag Contents

X21

MUX Channel

Change Completed

Flag

(1) When in manual mode to ON/OFF the channel change

request (Y21)

Channel Change

Request (Y21)

Channel Change

Completed (X21)

X22 MUX Settings Save

Completed Flag

(1) When enabling/disabling a channel and ON/OFF the

settings save request (Y22)

(2) When settings save completed flag is OFF, MUX

conversion process is not activated

(In case of settings save request (Y22) is ON)

Settings Save

Request (Y22)

Settings Save

Completed (X22)

X23~X26 Relay Open Predict

Flag

(1) The flag get SET 100ms before the relay opens

(2) When the relay opens, it RESETS

Active Relay

Relay Active

Flag (X27~X2A)

Relay Open

Predict Flag (X23~X26)

100ms

Page 8: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

X27~X2A Relay Active Flag

(1) ON when the relay closes.

(2) Signal timing is X23~X26

(Refer to Relay OFF Predict Flag)

X2B~X2E Relay Count Reset

Completed Flag

(1) Used when relay count reset request (Y2B~Y2E) is

ON/OFF

Relay Count Reset

Request (Y2B~Y2E)

Relay Count Reset

Completed (X2B~X2E)

X2F Module Error Flag

(1) ON when there’s an error.

(2) To clear an error, error clear request (Y2F) should be ON.

Clear an error from CICON

Module Error

Flag (X2F)

Error Clear

Request (Y2F)

Read the error code in this interval

3) Output Flag

Device

NO. Flag Contents

Y21 MUX Channel Change

Request

(1) When in MANUAL mode (Buffer memory “9”)

Turn ON when channel change is needed

(2) Refer to X21 (Channel Change Completed) for flag timing

Y22 Settings Save Request (1) Turn ON to save all the settings on the buffer memory.

(2) Refer to X22(Settings Save Completed) for flag timing.

Y23~Y26 Stoppage Request

(1) Turn ON when stoppage is required for enabled channels

(buffer memory “0”)

(2) In OFF state, it is switched back to operating status.

Y2B~Y2E Relay Count Reset

Request

(1) Turn ON when Relay count reset is required

(2) Refer to X0B~X0E(Count Reset Completed) for flag timing

Y2F Error Clear Request (1) Turn ON when Error clear is needed

(2) Refer to X0F (Error Flag) for flag timing

Page 9: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

16.5 Buffer Memory

16.5.1 Buffer Memory Assignment

Address Contents R/W

Hex Dec

0H 0 MUX Channel Enable / Disable R/W

1H 1 CH.1 Relay Count High R

2H 2 CH.1 Relay Count Low R

3H 3 CH.2 Relay Count High R

4H 4 CH.2 Relay Count Low R

5H 5 CH.3 Relay Count High R

6H 6 CH.3 Relay Count Low R

7H 7 CH.4 Relay Count High R

8H 8 CH.4 Relay Count Low R

9H 9 Auto/Manual Mode R/W

AH 10 Operation Status R

BH 11 CH.1 ON time setting value R/W

CH 12 CH.2 ON time setting value R/W

DH 13 CH.3 ON time setting value R/W

EH 14 CH.4 ON time setting value R/W

FH 15 Error Code R

10H 16 -

11H 17 -

12H 18 -

13H 19 -

14H 20 OS Version R

** Each data is 2 bytes.

** R/W shows whether it’s readable or writable from the PLC

R : Readable W : Writable

16.5.2 Buffer Memory Function

(1) Channel enable / disable setting (Buffer memory address "0")

1) Enable or disable by each channel

2) Initial setting is set to disable all the channels.

3) Settings save request flag (Y22) should be ON and then OFF to save the settings on the

module.

4) Set values get saved on a flash memory of the module so when the power restarts, it contains

the latest saved settings. b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0

0 0 0 0 0 0 0 0 0 0 0 0 CH.

4

CH.

3

CH.

2

CH.

1

1 : Channel Enable

Not Used 0 : Channel Disable

Page 10: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

(2) Relay Count Value (Buffer memory address "1"~"8")

1) Display the relay’s number of operation by each channel.

2) Life expectancy of a relay is 10^18 operations.

(3) Auto/Manual Mode Settings ( Buffer memory address "9")

1) Initial setting is set to Auto Mode.

2) Settings save request flag (Y22) should be ON and then OFF to save the settings on the

module.

3) Set values get saved on a flash memory of the module so when the power restarts, it contains

the latest saved settings.

4) Only the lowest bit (b0) is used.

b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .1

Not Used 1 : Manual Mode

0 : Auto Mode

(4) Operation Status (Buffer memory address "10")

1) When the stoppage request flag (Y23 ~ Y26) is activated for an enabled channel, the bit for the

channel turns to 0.

2) The bit for Disabled channel (buffer memory address “0”) gets displayed as 0.

b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0

0 0 0 0 0 0 0 0 0 0 0 0 CH.

4

CH.

3

CH.

2

CH.

1

1 : Operational Status

Not Used 0 : Non-Operational Status

(5) Relay ON Time Settings (Buffer memory address "11"~"14")

1) Relay ON Time can be set by each channel (1~10000 : 0.1~1000.0 seconds)

2) The unit is 100ms.

Ex) When 3 is inputted, Relay ON Time becomes 3 X 100ms = 300ms

(6) Error Code (Buffer memory address "15")

1) Error code that has been detected from the Mux module gets saved.

2) High byte is for channel number, and low byte is for error code.

3) The error remains until the power is off or the user clears the error. When there’s an another

error addition to the error that hasn’t been cleared, the new error gets ignored.

4) The error code is in decimal notation.

Page 11: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

5) Error code 5 will occur when the relay count exceed the amount of Double Word (4294967296).

Ex) when channel 1 counter exceed error occurs, the error code 0x0105 (256) occurs

16.6 MUX Module Settings in CICON

By selecting “Analog Mux Card” of “Special Module Setup” in "Tools" menu OR by double clicking

Mux Card in the project window, a setup window pops up as below. It shows installed base/slot

information automatically.

Current setting information about the mux module shows as below

Page 12: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

16.6.1 Channel Settings

If the user double clicks the channel or after selecting the channel and clicking

in the module setup window, AD MUX Channel Setup pops up as below

① Channel Enable/Disable: Select the check box to Enable the channel and deselect to disable.

② Relay On time settings : 0~10000 (0.1 ~ 1000 seconds)

- Click “OK” after the set-up is complete

Page 13: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

- Select the entire channels as below and then click to configure the settings all

at once.

Click for the Mux module to be able to operate by the configured settings.

A message “Set value was written to PLC” shows up in the message display window.

Configured values get saved in the flash memory so that even when the power restarts, the

saved settings don’t get changed.

Button reads the current values that has been set from the Mux module

- Save after enabling the entire channels

Page 14: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

- Select the entire channels and click to reset the counter.

- Click on the settings windows to have a pop-up window as follows

Page 15: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

Select “Yes” button to change to the manual mode and the button on the right hand side

changes to

16.7 Application Program and Example

To use a Mux module, the desired channels should be enabled and the relay ON time should be set.

There are two ways for configuring the module settings.

- When configuring the settings on the RTD settings window of CICON (refer to page 6), there’s no

need to use scan program as below. However, when the modules get swapped, the settings need to

be reconfigured.

- Module settings configuration can be done by using scan program as below.

Whichever method the user chooses, the settings get saved on the internal memory and it stays even

when the power restarts.

Page 16: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

Row 0: channels 1,2,3,4 of SP04EAM module get enabled

Row 1: channels 1,2,3,4 Relay ON time get set to 1.5 seconds

Row 2: the settings save request (Y22) gets SET

Row 3: when the settings save completed flag (X22) is SET, the settings save request (Y22) resets

Settings Saved

16.7.1 Initialization

(1) Configuration

- Mount CM3-SP32MDT, CM3-SP04ETO, CM3-SP04EAM in order

(2) Initial Settings

- CM3-SP04ETO

Channel Used Channel 1

TC Sensor Type K TYPE

Digital Output Type 0~16000

Maximum Temperature Input Value 1000℃

Minimum Temperature Input Value 0℃

- CM3-SP04EAM

Channel Used Channel 1 Channel 2

Relay ON Time 15 (x100ms) 30 (x100ms)

Page 17: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

(3) Program Description

① Save the settings on the buffer memory by using TO command

② Minimum and maximum temperature range for CM3-SP04ETO channel 1 will be 0~1000℃

(Minimum/Maximum value converts to digital value of 0~16000 range)

○3 Set the relay ON time to 1.5 seconds for channel 1 and 3 seconds for channel 2 of

CM3-SP04EAM

○4 Set Settings Save Request Flag to be ON for CM3-SP04ETO, CM3-SP04EAM

○5 After checking that Settings Save Completed flag is 0 for CM3-SP04ETO, CM3-SP04EAM, then

turn OFF Settings Save Request flag

* Modules operate by the values that are inputted by TO command in the buffer memory when

turning on, off the setting save request flag.

If the settings save request flag don’t get turned on and off, the modules operate by the previous

values.

* Initial setting of the module can be done by going to “Special Module Setup” in CICON

Page 18: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

(4) Program

Row 0: permit SP04ETO module channel 1 conversion

Row 1: channel 1: 0~16000 digital conversion set

Row 2: channel 1: maximum temperature input value -> 1000℃

Row 3: channel 1: minimum temperature input value -> 0℃

Row 4: SP04ETO settings save request (Y22) SET

Row 5: enable SP04EAM module channel 1 and channel 2

Row 6: channel 1 RELAY ON TIME set to 1.5 seconds

Row 7: channel 2 RELAY ON TIME set to 3 seconds

Row 9: SP04EAM settings save request (Y32) SET

Row 10: SP04ETO settings save completed(X22) during falling edge, settings save request(Y22) RESET

TC module settings save complete

Row 11 : SP04EAM settings save complete (X32) during rising edge, settings save request (Y32) RESET

Mux module settings save complete

Row 12 : when channel 1 relay open signal (X33) is ON 0.1 second before channel 1 conversion, save

the TC sensor value

Row 13 : when channel 2 relay open signal (X34) is ON 0.1 second before channel 1 conversion, save

the TC sensor value

Row 14 : end

Page 19: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

16.8 Installation and Wiring

16.8.1 Installation

1) Installation Environment

• Environmental Conditions

Please install in a dust-proof and water-proof control panel.

Please install it where there is without any continuous shock or vibration.

Please avoid locations that are exposed to direct sunlight.

Please avoid locations with rapid temperature change and condensing environment.

Please install it where the ambient temperature is -10 ~ +65℃.

• Installation

Please be careful not to let any wire scraps into the PLC during drilling or wiring.

Please Install the PLC in an ideal position to operate

Please do not install in the same panel as the high voltage equipment

The distance between the duct and any other modules should be at least 50mm.

Ground it in a location where there’s a decent ambient noise level.

2) Handling Precautions

• Please do not let it drop or give strong impact.

• Please do not remove the PCB from the case since it may cause a malfunction

• Please be careful not to let wire scraps to enter the module during wiring.

• Please refrain from detaching the module while the power is ON

16.8.2 Wiring

1) Caution for Wiring

• Please don’t let the AC surge or induction noise to effect the module by connecting a separate

cable between the module’s external input signal and the alternate current.

• The wire should be selected considering the ambient temperature and the current used. The

minimum thickness of the wire should be AWG22 (0.3 mm2).

• When wiring, if the wire is in direct contact with oil, hazardous substances or devices that

generate high temperatures, it might cause a damage or malfunction.

• Please verify the polarity before applying analog input to the terminal.

• When wiring with high voltage line or power line, the malfunction or failure may cause by

induced failure.

• It is not suitable for current signal use since this module switches analog signals repeatedly.

Page 20: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

2) Concept Diagram

Page 21: 16 Analog Mux Module - Anaheim Automation · PDF filesettings save request ... ** Each data is 2 bytes. ... Set values get saved on a flash memory of the module so when the power restarts,

3) Wiring Example