Ir para a página of
Manuais similares
-
Network Card
LG Electronics K7F-PIDA
40 páginas 0.87 mb -
Network Card
LG Electronics LNPAP100T
29 páginas 6.36 mb -
Network Card
LG Electronics G3F-AD3A
78 páginas 1.27 mb -
Network Card
LG Electronics G6F-AD2A
78 páginas 1.27 mb -
Network Card
LG Electronics G4F-AD3A
78 páginas 1.27 mb -
Network Card
LG Electronics MFL40014114
4 páginas 0.24 mb -
Network Card
LG Electronics USB Drive
22 páginas 1.46 mb -
Network Card
LG Electronics K4F-PIDA
40 páginas 0.87 mb
Bom manual de uso
As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto LG Electronics G4F-AD3A. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoLG Electronics G4F-AD3A vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.
O que é a instrução?
A palavra vem do latim "Instructio" ou instruir. Portanto, no manual LG Electronics G4F-AD3A você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.
Infelizmente, pequenos usuários tomam o tempo para ler o manual LG Electronics G4F-AD3A, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.
Então, o que deve conter o manual perfeito?
Primeiro, o manual LG Electronics G4F-AD3A deve conte:
- dados técnicos do dispositivo LG Electronics G4F-AD3A
- nome do fabricante e ano de fabricação do dispositivo LG Electronics G4F-AD3A
- instruções de utilização, regulação e manutenção do dispositivo LG Electronics G4F-AD3A
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes
Por que você não ler manuais?
Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque LG Electronics G4F-AD3A não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos LG Electronics G4F-AD3A e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço LG Electronics na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas LG Electronics G4F-AD3A, como para a versão papel.
Por que ler manuais?
Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo LG Electronics G4F-AD3A, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.
Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual LG Electronics G4F-AD3A. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação
Índice do manual
-
Página 1
User ’ s Manual LG Programmable Logic Controller LG Industrial Systems G3F - AD3A G4F - AD3A G6F - AD2A[...]
-
Página 2
Safety Precautions Be sure to read carefully this safety precaution given in data sheet and user ’ s manual before operating the module and follow them. The precautions explained here only apply to the G3F - AD3A, G4F - AD3A, and G6F - AD2A. For safety precautions on the PLC sys tem, please see the MASTER - K 200S/300S/1000S User ’ s manual and[...]
-
Página 3
Safety Precautions Wiring Precautions When grounding a FG termi nal, be sure to provide class 3 grounding which is dedicated to the PLC. Before the PLC wiring, be sure to check the rated voltage and terminal arrangement for the module and observe them correctly. If a different power, not of the rated voltage, is applie d or wrong wiring is [...]
-
Página 4
◎ CONTENTS ◎ Chapter 1. INTRODUCTION 1.1 Features · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·[...]
-
Página 5
3.2 Wiring · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · [...]
-
Página 6
Chapter 8 . MK Programming 8 .1 Basic Programming · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · [...]
-
Página 7
Chapter 1 Introduction 1 - 1 1 Introduction The G3F - AD3A, G4F - AD3A, and G6F - AD2A modules are ana log - to - d i gital conversion modules for use with the GLOFA PLC GM1/2/3/4 / 6 series and MASTER - K PLC K200S / 300S /1000S series. The G3F - AD3A i s used w ith GM1 / 2 /3 series and K1000S series, G4F - AD 3A is used with GM4 series and K300S[...]
-
Página 8
Chapter 1 Introduction 1 - 2 1.2 Terminology 1.2.1 Analog value : A Ana l og value is a continuously changing value such as voltage, current, te mpera ture, speed pressure, flux, etc. Te m peratur e, for exa m ple, is continuously changing according to the ti me . Because t his te mpe r a ture itself is not available for input of the PLC, the te m [...]
-
Página 9
Chapter 1 Introduction 1 - 3 1.3 Analog - to - Digital conversion characteristics 1.3.1 Voltage input The A/D modu l e converts the analog input fro m external devices to the digital value that can be handled by CPU module. When t he analog input is voltage input, the K4F - AD3A and K7F - AD3A has t wo input ranges such as 1 ~ 5VDC and 0 ~ 10VDC. T[...]
-
Página 10
Chapter 1 Introduction 1 - 4 2) 0 ~ 10VDC range When the A/D modu le operates with 0 ~ 10VDC range, the 0VDC analog input i s conver t ed to d i gital 0, and the 10VDC analog input i s converted into digital output 40 00. Therefore, the resolution per 1 digital value is 0.0025VDC. Figure 1 . 4 A/D conversion ch a racteristic ( 0 ~ 10VDC ) 3) – 10[...]
-
Página 11
Chapter 1 Introduction 1 - 5 1.3.2 Current input When t he ana l og i npu t i s current input, the A/D conversion modu le has only one input ranges such as 4 ~ 20 m A. W ith all analog input range, the digital output is varied in the range of 0 ~ 4000. Therefo re, the resolution of the A/D modu le is obtained by following equation; 1) 4 ~ 20mA rang[...]
-
Página 12
Chapter 2. SPECIFICATIONS 2 - 1 Chapter 2 . SPECIFICATIONS Table 2.1 shows the general specifications of GLOFA GM series and MASTER - K series. Item Specification s Standard Operating ambient temperature 0 ~ 55 ℃ Storage ambient temperature - 25 ~ 7 0 ℃ O perating ambient humidity 5 ~ 95%RH, non - condensing Storage ambient Humidity 5 ~ 95%RH, [...]
-
Página 13
Chapter 2. SPECIFICATIONS 2 - 2 Table 2 - 2 shows performance specifications of A/D conversion modul e. 1) G3F - AD3A, G4F - AD3A Specifications Item s G3F - AD 3 A G4F - AD 3 A I/O points 16 points Voltage 1 ~ 5 VDC (input resistance 600 ㏀ ) 0 ~ 10 VDC (input resistance 600 ㏀ ) Current DC 4 ~ 20 mA (input resistance 250 Ω ) Analog input Volt[...]
-
Página 14
Chapter 2. SPECIFICATIONS 2 - 3 2) G6F - AD2A Item s Specifications I/O points 16 points Volta ge 1 ~ 5 VDC (input resistance 1 ㏁ ) 0 ~ 10 VDC (input resistance 1 ㏁ ) - 10 ~ 10VDC (input resistance 1 ㏁ ) Current DC4 ~ 20 mA (input resistance 250 Ω ) Analog input Voltage/Current selection - Selection with Terminal ( It has to be connected be[...]
-
Página 15
Chapter 2. SPECIFICATIONS 2 - 4 The names of parts and functions of the A/D conversion module are shown as below. 2.3.1 G3F - AD 3 A 2.3 N ames of Parts and Functions[...]
-
Página 16
Chapter 2. SPECIFICATIONS 2 - 5 2.3.2 G4F - AD3A No Description ← RUN LED Indicates the operating status of the G3F - AD3A and G4F - AD3A. ↑ Selection switch of voltage/current 1)The switch status at voltage selection The switch locates off sta tus. 2)The switch statues at current selection The switch locates on status On 1 2 3 4 5 6 7 8 On 1 2[...]
-
Página 17
Chapter 2. SPECIFICATIONS 2 - 6 2.3.3 G 6 F - AD 2 A No Description ← RUN LED Indicates the operating status of the G6F - AD2A. ↑ Selection switch of volta ge/current Analog Input Input Range Selection Switch DC 1~5V DC 0~10V Voltage DC - 1 0~10V Current DC 4~20mA 1 2 3 J1 J2 1 2 3 J1 J2 1 2 3 J1 J2 1 2 3 J1 J2[...]
-
Página 18
Chapter 2. SPECIFICATIONS 2 - 7 Input / Output (hereafter I/O) conversion characteristics are expressed with the angle of the line between analog input(voltage and current) and matched digital value. I/O conversion characteristics of the G3F - AD3A, G4F - AD3A are expressed with Fig 2.1, and I/O conversion characteristics of the G6F - AD2A is expre[...]
-
Página 19
Chapter 2. SPECIFICATIONS 2 - 8 [Fig 2.1] I/O C onversion C haracteristics REMARK 1. The analog output value of over 4047 or – 48(2047 or – 2048) is fixed as 4047 or – 48(2047 or – 2048). 2. Keep the input voltage and current not to exceed +15V and 25mA. 2.4.1 Voltage Input Characteristics 1) G3F - AD3A, G4F - AD3A For voltage input, the co[...]
-
Página 20
Chapter 2. SPECIFICATIONS 2 - 9 (2)Voltage input range : DC 1 ~ 5V Digital output value for input voltage is shown as follows. Analog input voltage (V) 0.952 1 2 3 4 5 5.048 Digital output value - 48 0 1000 2000 3000 4000 4047 2) G6F - A D2A For voltage input, the corresponding input is selected by selection switch and selected input voltage range [...]
-
Página 21
Chapter 2. SPECIFICATIONS 2 - 10 2.4. 2 Current I nput C haracteristics 1) G3F - A D3A, G4F - AD3A For current input, the corresponding input selection switch of each channel should be set to "o n ". - Digital output value for input current is shown as follows. Analog input current( ㎃ ) 3.808 4 8 12 16 20 20.192 Digital output value - 4[...]
-
Página 22
Chapter 2. SPECIFICATIONS 2 - 11 2.4. 3 Simultaneous V oltage and C urrent I nput C haracteristics 1) G3F - AD3A, G4F - AD3A For simultaneous voltage and current input, the input conversion switch of each channel is set to c orresponding voltage and current range. E x) V oltage input range: 0 to 3 C urrent input range: 4 to 7 - Digital outp ut valu[...]
-
Página 23
Chapter 2. SPECIFICATIONS 2 - 12 2.4. 4 Analog input and Digital output characteristics 1) G3F - AD3A, G4F - AD3A 2) G6F - AD2A No Input range Digital output value Resolution Analog input value ℵ DC 0~10V 2.5 mV 5.000 ~ 5.0025 5.0025 ~ 5.005 5.005 ~ 5.0075 5.0075 ~ 5.010 ℑ DC 1~5V 1mV 3.000 ~ 3.001 3.001 ~ 3.002 3.002 ~ 3.003 3.003 ~ 3.004 3.00[...]
-
Página 24
Chapter 2. SPECIFICATIONS 2 - 13 2.5.1 Sampling processing A/D conversion system The anal og values input to the channels designated for sampling processing by the CPU are converted to digital output values one by one and the digital output values are stored in the buffer memory. As the A/D module scans each channel, the value appearing at the inst[...]
-
Página 25
Chapter 3 Installation and wiring 3 - 1 3 Installation and wiring 3.1 Installation 3.1.1 Installation ambiance The A/D module has designed to have high reliability regardless of its installation ambiance. However, please be sure to check the following precautions for higher reliability and stability of s ystem. 1) Ambiance requirements Avoid instal[...]
-
Página 26
Chapter 3 Installation and wiring 3 - 2 3.2 Wiring 3.2.1 Wiring precaution s ① Separate AC and external input signal of A/D module wiring not to be affected by surge or induced noise in the AC. ② External wiring has to be at least AWG32 (0.3mm 2 ), and be selected in consideration of operating ambiance and/or allowable current. ③ Separa te wi[...]
-
Página 27
Chapter 3 Installation and wiring 3 - 3 2) G3F - AD3A / G4F - AD3A ① Voltage input ② Current input *1: Use a two - core twisted pair shielded cable *2 : If noise is expected, ground the cable as shown in figure. R CH7 CH0 Voltage/current sel ection switch *1 *2 R *1 R R R R R Voltage range selection switch R *1 *1 *2 R CH7 CH0 Voltage/current s[...]
-
Página 28
Chapter 4. FUNCTION BLOCK 4 - 1 CHAPTER 4 . FUNCTION BLOCK This shows function block for A/D conversion module on the GMWIN. A kind of function block is as follows. The function block type and functions of input/ou tput parameters of G3F - AD3A and G4F - AD3A are same. Function Block is inserted on the execution of the GMWIN according to following [...]
-
Página 29
Chapter 4. FUNCTION BLOCK 4 - 2 4.2.1 Module Initialization 1) G3F - AD3A, G4F - AD3A Module Initialization function block is used in a program with setting of A/D conversion module located base number, slot number of located module on base, specifying a channel enable, analog input data type and the information of average process ing . F unction b[...]
-
Página 30
Chapter 4. FUNCTION BLOCK 4 - 3 2) G6F - AD2A Module Initializati on function block is used in a program with setting of A/D conversion module located base number, slot number of located module on base, specifying a channel enable, analog input data type and information of average process ing . F unction block I/O Varia ble Data type Descriptions R[...]
-
Página 31
Chapter 4. FUNCTION BLOCK 4 - 4 4.2.2 Module Read ing - Array Type 1) G3F - AD3A, G4F - AD3A Array type of function block for reading the module is performed for every channel in block an d the specified channels are used to read output variable of data displayed from A/D conversion digital value. Function block I/O Variable Data type Descriptions [...]
-
Página 32
Chapter 4. FUNCTION BLOCK 4 - 5 4.2.3 Module Read ing - Single Type 1) G3F - AD3A, G4F - AD3A Single type of func tion block for reading the module is performed for only one channel and the specified channel is used to read output variable of data displayed from A/D conversion digital value. F unction block I/O Variable Data type Descriptions REQ B[...]
-
Página 33
Chapter 4. FUNCTION BLOCK 4 - 6 4 .3 Remote Function Block 4.3.1 Module Initialization 1) G3F - AD3A, G4F - AD3A Module Initialization function block is a program for the use in setting the location number of the slot on which the communi cation module of A/D conversion module of the master station is mount ed, the address number of communication m[...]
-
Página 34
Chapter 4. FUNCTION BLOCK 4 - 7 2) G6F - AD2A Module Initialization function block is a program for the use in setting the location number of the slot on which the communication module of A/D conversion module of the mast er station is mount ed, the address number of communication module which a remote I/O station has, the base location number, and[...]
-
Página 35
Chapter 4. FUNCTION BLOCK 4 - 8 4.3.2 Module R ead ing 1) G3F - AD3A, G4F - AD3A Function block for reading the module is performed for every channel in block and the specified channels are used to read output variable of data displayed from A/D conversion digital value. F unction block I/O Variable Dat a type Descriptions REQ BOOL Function Block E[...]
-
Página 36
Chapter 4. FUNCTION BLOCK 4 - 9 2) G6F - AD2A Function block for reading the module is performed for every channel in block and the specified channels are used t o read output variable of data displayed from A/D conversion digital value. F unction block I/O Variable Data type Descriptions REQ BOOL Function Block Execution Request Area - The executi[...]
-
Página 37
Chapter 4. FUNCTION BLOCK 4 - 10 4 .4 Error s on Function Block This shows errors and resolutions in accordance with them. Function block Read STAT No. Local /Remote Descriptions Initiali - za tion Array type Single type Resolutions 0 Operating with no fault О О О - 1 The base location number is e xceeding the proper setting range О О О Corre[...]
-
Página 38
Chapter 5. GM PROGRAMMING 5 - 1 Chapter 5 . GM PROGRAM MING 5 .1 Program ming for Distinction of A/D Conversion Value 1) System Configuration GM 3 - PA 1A GM 3 - CPUA G 3 F - AD 3 A G 3 Q - RY 4 A 2) Initial Setting s (1) Available channel enable : channel 0, 2, 3 (2) Analog i nput : current input(DC 4 ~ 20 mA) (3) Average processing setting : chan[...]
-
Página 39
Chapter 5. GM PROGRAMMING 5 - 2 4 ) Prog ramming E xample AD_INI AD3INI REQ DONE 0 BASE STAT INI_STAT CH AD_CH TYPE DATATYPE AVG - EN AVG_EN AVG - NUM SLOT ACT 0 러정보 INI_ACT 0 SLOT CH AD_CH RD_STAT STAT RD_ACT ACT DATA DATA ROW 0 0 BASE START LT EN OUT OUT IN2 IN2 2000 GT EN ENO DATA[2] IN1 OUT IN2 IN2 3600 DATA[0] IN1 EQ EN ENO OUT IN2 IN2 2[...]
-
Página 40
Chapter 5. GM PROGRAMMING 5 - 3 5) Spec ifying initial value of input/output variables on the program. ( Specifying channels ) This denotes 4 channels Select this and this screen appears Channel No. To sp ecify channel enable/disable Select this and this screen appears To select previous Ch. To select next Ch. Enabled channel : 1 Disabled channel :[...]
-
Página 41
Chapter 5. GM PROGRAMMING 5 - 4 6) Input/output variables on Programming AD_CH : VAR : ARRAY [0..7] OF BOOL : = { 1,0,1,0,1,0,0,0,0 } AD_INI : VAR : FB instance AD_RD : V AR : FB instance AVG_EN : VAR : ARRAY [0..7] OF BOOL : = { 0,1,0,1,0,0,0,0 } AVG_NUM : VAR : ARRAY [0..7] OF USINT : = { 0,0,100,50,0,0,0,0 } DATA : VAR : ARRAY [0..7] OF INT DATA[...]
-
Página 42
Chapter 5. GM PROGRAMMING 5 - 5 5. 2 Program m ing for Display of A/D Conversion Value and Error Code on BCD Display 1 ) System Configuration GM4 - PA2A GM4 - CPUA G4I - D22A G4Q - RY2A G4Q - RY2A G4F - AD3A 2) Initial Se t tings (1) Available channel enabled : channel 0, (2) Analog input : current i n put(DC 4 to 20 mA) (3) Average processing sett[...]
-
Página 43
Chapter 5. GM PROGRAMMING 5 - 6 4) Programming AD_INI AD3INI %I0.0.0 REQ DONE 0 BASE STAT INI_STAT CH AD_CH TYPE DATATYPE AVG - EN AVG_EN AVG - NUM SLOT ACT 3 러정보 INI_ACT 3 SLOT CH 0 RD_STAT STAT CH0_DATA DATA 0 BASE START S START AD_RD AD3AD REQ DONE AVG_NUM %I0.0.1 INT_TO_BCD EN ENO OUT CH0_DATA IN1 %QW0.1.0 USINT_TO_ BCD EN ENO OUT RD_STAT[...]
-
Página 44
Chapter 5. GM PROGRAMMING 5 - 7 5) Input/output variables on the programming AD_CH : VAR : ARRAY [0..7] OF BOOL : = {1,0,0,0,0,0,0,0} AD_INI : VAR : FB Instance AD_RD : VAR : FB Instance AVG_EN : VAR : ARRAY [0..7] OF BOOL : = {1,0,0,0,0,0,0,0} CH0_DATA : VAR : INT DATA : VAR : DINT DATATYPE : VAR :ARRAY [ 0..7] OF BOOL : = {0,0,0,0,0,0,0,0} INI_AC[...]
-
Página 45
Chapter 5. GM PROGRAMMING 5 - 8 5 .3 Programming for Loading the A/D Conversion Module on Remote I/O St a tion 1) System Configuration 2) Initial Settings (1) A/D conversion enabling channel: channel 0 (2) Conversion data range: DC 4~20mA (3) A verage processing setting : channel 0(setting value: 50 times ) 3) Descriptions of the Program ( 1)The di[...]
-
Página 46
Chapter 5. GM PROGRAMMING 5 - 9 4) Programming example Execution condition and initial setting Execution request when the initializing function block is not operated It indicates on when operated normally, and off when operated abnormally or down from Live data of opposite station It indicates information on power - off state of opposite station. I[...]
-
Página 47
Chapter 5. GM PROGRAMMING 5 - 10 5) Input/output variables used on the programming AD_CH : VAR : ARRAY [0..7] OF BOOL : = {0,0,0,0,0,0,0,0} AD_D ATA : VAR : ARRAY [0..7] OF INT AD_INI : VAR : FB Instance AD_RD : VAR : FB Instance AVG_EN : VAR : ARRAY [0..7] OF BOOL : = {1,0,0,0,0,0,0,0} AV G_SEL : VAR : ARRAY [0..7] OF BOOL : = {1,0,0,0,0,0,0,0} IN[...]
-
Página 48
Chapter 6 Buffer memory 6 - 1 6 Buffer memory The A/D module has buffer memory used for data exchange with CPU module. This chapter describes the configuration and contents of buffer memory. 6.1 The configuration of buffer memory 6.1.1 G6F - AD2A Address (decimal) Name Description Default value Remark 00 Channel enable Enable / disable channel oper[...]
-
Página 49
Chapter 6 Buffer memory 6 - 2 6.1.2 G3F - AD3A / G4F - AD3A The buffer memory of G3F - AD3A and G4F - AD3A has same configuration. Address (decimal) Name Description Default value Remark 00 Channel enable Enable / disable channel operation h00 R / W 01 Input voltage / current type Assign the type of analo g input voltage / current h00 R / W 02 Aver[...]
-
Página 50
Chapter 6 Buffer memory 6 - 3 6.2 The Cont ents and description of buffer memory 6.2.1 G6F - AD2A 1) Channel enable (Address 00) - When the power is on, all bits are set as 0 (off) and all channels are disabled. - In order to enable a channel, set the corresponding bit as 1 (on). For example, turn on the bi t 2 to enable the channel 2. - Because th[...]
-
Página 51
Chapter 6 Buffer memory 6 - 4 3) Average processing enable (Address 02) - To use the average processing, set the corresponding bit as ‘ 1 ’ . - The default va lue is 0 (sampling processing). bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 – – – – – – – – – – – – Ch3 Ch2 Ch1 Ch0 4) Av[...]
-
Página 52
Chapter 6 Buffer memory 6 - 5 6) Digital output value (Address 08 ~ 11) - The digital value converted from analog input value is stored at this area. - If an error occurs, the d igital output value keeps the previous value. Address Description 08 The digital output value of channel 0 09 The digital output value of channel 1 10 The digital output va[...]
-
Página 53
Chapter 6 Buffer memory 6 - 6 6.2.2 G3F - AD3A / G4F - AD3A 1) Channel enable (Address 00) - When the power is on, all bits are set as 0 (off) and all channels are disabled. - In order to enable a channel, set the corresponding bit as 1 (on). For example, turn on the bit 2 to enable the channel 2. - Because the conversion time depends on the number[...]
-
Página 54
Chapter 6 Buffer memory 6 - 7 3) Average processing enable (Address 02) - To use the average processing, set the corresponding bit as ‘ 1 ’ . - The defaul t value is 0 (sampling processing). bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 – – – – – – – – Ch7 Ch6 Ch5 Ch4 Ch3 Ch2 Ch1 Ch0 4) Av[...]
-
Página 55
Chapter 6 Buffer memory 6 - 8 6) Digital output value (Address 12 ~ 19) - The digital value converted from analog input value is stored at this area. - If an error occurs, the digital output value keeps the previous value. Address Description 12 The digital output value of channel 0 13 The digital output value of channel 1 14 The digital output val[...]
-
Página 56
Chapter 7 Buffer read/write instructi ons 7 - 1 7 Buffer read/write instructions 7.1 Buffer read instructions 7.1.1 GET / GETP instruction GET, GETP FUN(230) GET FUN(231) GETP Applicable CPU K200S K300S K1000S Available devices Flag Instructions M P K L F T C S D #D Integer Steps Error (F110) Zero (F111 ) Carry (F112) n1 ¡ S ¡ D ¡ ¡ ¡ ¡ * ¡ [...]
-
Página 57
Chapter 7 Buffer read/write instructi ons 7 - 2 - In the following cases, operation error occurs; a) Special function module is not founded at the slot number specified at ‘ n1 ’ b) The value of ‘ n2 ’ is greater than 512, or [ D + n2 ] is exceeds the range of specified device. - Execu tion conditions Input condition GET GETP 2) Program exa[...]
-
Página 58
Chapter 7 Buffer read/write instructi ons 7 - 3 7.1.2 RGET instructions RGET FUN(232) RGET Applicable CPU K200S K300S K1000S Available devices Flag Instructions M P K L F T C S D #D Integer Steps Error (F110) Zero (F111) Carry (F112) sl ¡ st ¡ D ¡ ¡ ¡ ¡ * ¡ ¡ ¡ ¡ S ¡ n ¡ ¡ RGET SS ¡ ¡ ¡ ¡ * ¡ ¡ ¡ ¡ 13 ¡ Operand setting Upper b[...]
-
Página 59
Chapter 7 Buffer read/write instructi ons 7 - 4 [ Remote station ] [ Self station ] Buffer memory of A/D module CPU module [ S ] [ D ] [ S+n2 - 1 ] ‘ n2 ’ words [ D+n2 - 1 ] ‘ n2 ’ w ords - Code of remote special function modules are as followings; Module Code G3F - AD3A h40 G4F - AD3A hC0 G6F - AD2A h02 ( For the codes of other special fun[...]
-
Página 60
Chapter 7 Buffer read/write instructi ons 7 - 5 2) Program example - Program that reads 8 wo rds, through the Fnet module mounted at the slot 03, from the address 11 of the buffer memory of the G3F - AD3A module mounted at the slot 01 of remote station h1D. Then, stores the read data to the 8 words which begin with D0300 of self - station. The link[...]
-
Página 61
Chapter 7 Buffer read/write instructi ons 7 - 6 7.2 Buffer write instructions 7.2.1 PUT / PUTP instructions PUT, PUTP FUN(234) PUT FUN(235) PUTP Applicable CPU K200S K300S K1000S Available devices Flag Instru ctions M P K L F T C S D #D Integer Steps Error (F110) Zero (F111) Carry (F112) n1 ¡ S ¡ D ¡ ¡ ¡ ¡ * ¡ ¡ ¡ ¡ PUT PUTP n2 ¡ 9 ¡ Op[...]
-
Página 62
Chapter 7 Buffer read/write instructi ons 7 - 7 - In the following cases, operation error occurs; a) Special function module is not founded at the slot number specified at ‘ n1 ’ b) Th e value of ‘ n2 ’ is greater than 512, or [ D + n2 ] is exceeds the range of specified device. - Execution conditions Input condition PUT PUTP 2) Program exa[...]
-
Página 63
Chapter 7 Buffer read/write instructi ons 7 - 8 7.2.2 RPUT instructions RPUT FUN(233) RPUT Applicable CPU K200S K300S K1000S Available devices Flag Instructions M P K L F T C S D #D Integer Steps Error (F110) Zero (F111) Carry (F112) sl ¡ st ¡ S ¡ D ¡ ¡ ¡ ¡ * ¡ ¡ ¡ ¡ n ¡ ¡ RPUT SS ¡ ¡ ¡ ¡ * ¡ ¡ ¡ ¡ 13 ¡ Operand setting Upper b[...]
-
Página 64
Chapter 7 Buffer read/write instructi ons 7 - 9 [ Remote station ] [ Self station ] Buffer memory of A/D module CPU module [ D ] [ S ] [ D+n2 - 1 ] ‘ n2 ’ words [ S+n2 - 1 ] ‘ n2 ’ words - Code of remote special function modules are as followings; Module Code G3F - AD3A h40 G4 F - AD3A hC0 G6F - AD2A h02 ( For the codes of other special fun[...]
-
Página 65
Chapter 7 Buffer read/write instructi ons 7 - 10 2) Program example - Program that write 10 words, through the Fnet module mounted at the slot 02, from the D0200 ~ D0209 of self station to the address 11~20 of the buffer memory of the G3F - AD3A module mounted at the slot 02 of remote station h0E. The link status will be stored at M020 of self stat[...]
-
Página 66
Chapter 7 Buffer read/write instructi ons 7 - 11 Remarks The structure of ‘ SS ’ (Link status) of RPUT/RGET instruction is as foll o wing; bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 Bit 0 : Turns on during 1 scan after the commun ication is completed normally. Bit 1 : Turns on during 1 scan after a com[...]
-
Página 67
Chapter 8 MK Programming 8 - 1 8 MK Programming 8.1 Basic programming The following example program shows how to set the operation condition for buffer memory of A/D conversion module. In this example, assume that the A/D module is mounted on the slot 2. 8.1.1 G6F - AD2A PUT 0002 00000 h000B 00001 PUT 0002 00001 00000 00001 PUT 0002 00002 h0009 000[...]
-
Página 68
Chapter 8 MK Programming 8 - 2 8.1.2 G3F - AD3A / G4F - AD3A PUT 0002 00000 h0019 00001 PUT 0002 00001 00000 00001 PUT 0002 00002 h0009 00001 PUT 0002 00003 00100 00001 PUT 0002 00006 00050 00001 PUT 0002 00011 00001 00001 GET 0002 00012 D0112 00001 GET 0002 00015 D0115 00001 GET 0002 00016 D0116 00001 GET 0002 00020 D0120 00001 GET 0002 00021 D012[...]
-
Página 69
Chapter 8 MK Programming 8 - 3 8.2 Example programming 8.2.1 A program for comparison of A/D converted value 1) System configuration (A/D module is mounted on slot 0) 2) Initial setting for A/D module No Item Setting Buffer memory address Data to be written 1 Channel to be used Ch 0, 2, 4 0 h0015 2 Analog input type and range DC4~20mA 1 h0000 3 Ave[...]
-
Página 70
Chapter 8 MK Programming 8 - 4 4) Programming PUT 0000 00000 h0015 00001 PUT 0000 00001 00000 00001 PUT 00 00 00002 h0014 00001 PUT 0000 00005 00100 00001 PUT 0000 00007 00050 00001 PUT 0000 00011 00001 00001 GET 0000 00012 D0012 00001 GET 0000 00014 D0014 00001 GET 0000 00016 D0016 00001 GET 0000 00021 D0021 00001 GET 0000 0002 3 D0023 00001 GET 0[...]
-
Página 71
Chapter 8 MK Programming 8 - 5 8.2.2 Output the analog input value by 7 - segment display 1) System configuration (A/D module is mounted on slot 2) 2) Initial setting for A/D module No Item Setting Buffer memory address Data to be written 1 Channel to be used Ch 0 0 h0001 2 Analog input type and range DC4~20mA 1 h0000 3 Averaging processing enable [...]
-
Página 72
Chapter 8 MK Programming 8 - 6 4) Programming PUT 0002 00000 h0001 00001 PUT 0002 00001 00000 00001 PUT 0002 00002 h0001 00001 PUT 0002 00003 00010 00001 PUT 0002 00007 00001 00001 GET 0000 00008 D0008 00001 GET 0000 00013 D0013 00001 Slot number Buffer memory Data No. of words Channel to be used (use channel 0) Assign digital output range ( - 48 ~[...]
-
Página 73
Chapter 8 MK Programming 8 - 7 8.2.3 An A/D module mounted on a remote station 1) System configuration Fnet communication module on self - station : slot 2 Fnet remote module o f remote station : station number 01 A/D module of remote station : slot 0, remote code = hC0 2) Initial setting of A/D module No Item Setting Buffer memory address Data to [...]
-
Página 74
Chapter 8 MK Programming 8 - 8 4) Programming MOVP 00001 D0000 RPUT hC002 h0001 D0000 00000 00004 M000 Buffer memory Start address of data No. of words Channel to be used (use channel 0) Assign analog input range (0 ~ 10 VDC) Assign average processing channel (channel 0) Set Averaging count of channel 0 (10 times) Send the setting data to the remot[...]
-
Página 75
Chapter 9 Dimension 9 - 1 9 Dimension 9.1 G3F - AD3A Unit : mm[...]
-
Página 76
Chapter 9 Dimension 9 - 2 9.2 G4F - AD3A Unit : mm[...]
-
Página 77
Chapter 9 Dimension 9 - 3 9.3 G6F - AD2A Unit : mm[...]
-
Página 78
Chapter 9 Dimension 9 - 4[...]