FDA7000C Series STANDARD PROTOCOL (Software Ver 1.33~) 1
Contents 1. INTRODUCTION 2. PROTOCOL FRAME OUTLINE 3. FUNCTION FIELD 4. DATA FIELD 5. CRC CHECK 6. FUNCTION EXAM. 7. EXCEPTION RESPONSE 8. I/O STATUS 9. OPR REGISTER 10. FDA7000C Address Map 11. Appendix 2
1. INTRODUCTION FDA7000C ์๋ฆฌ์ฆ๋ชจ๋ธ์์ ์ฉ๋๋ํต์ PROTOCOL ์๋ํ์ค๋ช ๋ฐ์ฌ์ฉ๋ฒ์ ๋๋ค. 1.1 FDA7000C ์๋ฆฌ์ฆ์ ํ๊ตฌ์ฑ๋ฐํน์ง - FDA7000C ์๋ฆฌ์ฆ์ ํ์ Operator ๋ด์ฅํํตํฉ๋ชจ๋ธ์ ๋๋ค. - ํต์ ์ฑ๋์ RS232C, RS485 ๋ฅผ์ง์ํฉ๋๋ค. - ์ฌ์ฉ๋๋ํต์ Protocol ์ ์ ๋๋ค. - RS232C ์ฑ๋์ D/L, PC/L ์ฉ์ผ๋ก์ฌ์ฉ๋๋ฉฐ, RS485 ์ฑ๋์ํต์ ๋คํธ์ํฌ๊ตฌ์ฑ์ฉ์ผ๋ก์ฌ์ฉ๋ฉ๋๋ค. - ๋ฅผ์ง์ํ๋ PLC, Touch Screen ์๋์์ด๊ฐ๋ฅํฉ๋๋ค. 1.2 ์์คํ ๊ตฌ์ฑ 1.2.1 RS232C ์ฐ๊ฒฐ - ์ง์๋๋ํต์ ์๋๋ 9600bps ์ ๋๋ค. - Digital Loader ๋ฐ P-DORI Station ๊ณผ์ฐ๊ฒฐํ์ฌํ๋ผ๋ฉํ Setup ์ฉ๋๋ก์ฌ์ฉํ์ค์์์ต๋๋ค. 1.2.2 RS485 ์ฐ๊ฒฐ - ์ง์๋๋ํต์ ์๋๋ 9600, 19200, 38400, 57600bps ์ ๋๋ค. - P-DORI Station ๋ฐ์์์์คํ ๊ณผ์ฐ๊ฒฐํ์ฌํ๋ผ๋ฉํ Setup ์ฉ๋๋ก์ฌ์ฉํ์ค์์์ต๋๋ค. - ๋์งํธํต์ ์ง๋ น (OPR CMD) ์์ฌ์ฉํ ๊ฒฝ์ฐ์์ฌ์ฉํฉ๋๋ค. 3
2. PROTOCOL FRAME OUTLINE ํ๋กํ ์ฝ์๊ฐ Field ์๋ํ๋ด์ฉ์๋ค์๊ณผ๊ฐ์ต๋๋ค. 2.1 RTU(Remote Terminal Unit) Frame : Hex Data ํต์ START(logical) ADDRESS FIELD FUNCTION FIELD DATA FIELD CRC CHECK 3.5 Character Times 1 byte 1 byte n x 1 byte 2 bytes 2.1.1 Start - ์๋ก๋ค๋ฅธ Frame ๊ฐ์๊ตฌ๋ณ์์ํ์ต์ํ์์๊ฐ์์๋ฏธํฉ๋๋ค. - ํต์ ์๋ 9600bps ์์ 1bit ์ ์ก์๊ฐ์ 0.104msec ์ด๋ฉฐ, ์์๊ฒฝ์ฐ ( 3.5character times, 1 Character = 10 bits) Start time ์ 3.64msec(Min) ์ ๋๋ค. RS485 ์ฐ๊ฒฐ์์ํ๋ฉํฐํต์ ๊ตฌํ์๋ฐ๋์ Frame ๊ตฌ๋ถ์๊ฐ์์ง์ผ์ฃผ์๊ธฐ๋ฐ๋๋๋ค. ํต์ ์๋๋ณ์ต์ํ์ Frame ๊ตฌ๋ถ์๊ฐ์์๋ํ๋ฅผ์ฐธ์กฐํ์๊ธฐ๋ฐ๋๋๋ค. ํ 1. ํต์ ์๋๋ณ์ต์ Frame ๊ตฌ๋ถ์๊ฐํต์ ์๋ Start Time 9600 bps 3.64ms 19200 bps 1.82ms 38400 bps 0.91ms 57600 bps 0.46ms - Start time ์ด์ ์๋ค๋ฅธ frame ์ด์ ์ก๋๋ฉด, ์ด์ frame ์์ฐ์์ผ๋ก์ธ์ํฉ๋๋ค. - ๊ฐ Field ์ฌ์ด์์๊ฐ์ 10bits ์ด๋ด์ฌ์ผํฉ๋๋ค. 2.1.2 Address Field - Field ๊ตฌ์ฑ์ 1 byte ๋ก๊ตฌ์ฑ๋ฉ๋๋ค. - RS485 ํต์ ์ Slave Device( ์๋ณด๋๋ผ์ด๋ธ ) ์ ID ๋ฅผ์๋ฏธํฉ๋๋ค. - 1 ~ 247 ๊น์ง์ค์ ๊ฐ๋ฅํ์ง๋ง, RS-485 ์ํต์ ๊ท์ฝ์์ํด 1 ~ 31 ๊น์ง์ค์ ํฉ๋๋ค. 2.1.3 Function Field - Field ๊ตฌ์ฑ์ 1 byte ๋ก๊ตฌ์ฑ๋ฉ๋๋ค. - Master( ์์๊ธฐ ) ์์ Slave( ์๋ณด๋๋ผ์ด๋ธ ) ๋ก์ data ์์ฒญ์์ํ์ฌ๋ฌ๊ฐ์ง์ง์ ๋ code ์ ๋๋ค. ( Function Code ์ฐธ์กฐ. ) - ์ฃผ์ฌ์ฉ Code ๋ 03, 06, 16 ์ ๋๋ค. 4
2.1.4 Data Field - Function Code ์๋ฐ๋ผ๋ฌ๋ผ์ง๋ฉฐ Field ๊ตฌ์ฑ์์ต์ 4 bytes ์ ๋๋ค. - Address, Data, Byte-count ๋ฑ์ผ๋ก๊ตฌ์ฑ๋ฉ๋๋ค. 2.1.5 CRC Check - Field ๊ตฌ์ฑ์ 2 bytes ๋ก๊ตฌ์ฑ๋ฉ๋๋ค. (CRC Check ์ฐธ์กฐ ) 2.1.6 Field ์ธ๋ถ๊ตฌ์ฑ - Start bit : 1 bit - Data bit : 8 bits ( 4bit ์ฉ hex ๊ฐ 2 ๊ฐ ) - Parity bit : 1 bit(even, odd), no bit(no parity) - Stop bit : 1 bit, 2 bits - Data ์ ์ก์ LSB bit -> MSB bit ์์์๋ก์ ์ก๋ฉ๋๋ค. 2.2 ํต์ Mode ์ ํ - ์ฌ์ฉ์๋ RTU Mode ์ ASCII Mode ์คํ๋๋ฅผ์ ํํด์ผํฉ๋๋ค. - ํต์ ํฌํธ์ค์ ( baud rate, parity mode, port) ์๊ฐ Slave device ์๋ํํต์ Mode ๋ฅผ์ ํํด์ผํฉ๋๋ค. - ํ๋์ Modbus Network ์์ฐ๊ฒฐ๋ Device ๋ค์๋์ผํํต์ Mode ๋ฅผ์ฌ์ฉํด์ผํฉ๋๋ค. - ์ผ๋ฐ์ ์ผ๋ก, ๋น ๋ฅธํต์ ์๋๋ฐ์์ ๋ data ์ ์ก์์ํด RTU Mode ๋ฅผ์ฌ์ฉํฉ๋๋ค. 2.3 HIGEN ํต์ Mode - ์์ ์ ์ธ Data ์ ์ก์์ํด RTU Mode ๋ฅผํ์ค์ผ๋ก์ง์ํฉ๋๋ค. 5
3. Function Field Function Field ์์์ฃผ๋ก์ฌ์ฉ๋๋ Code ๋๋ค์๊ณผ๊ฐ์ต๋๋ค. 3.1 03 : Read Holding (0x03) - ๋์์ด๋๋ Slave Device ์ํ๋ผ๋ฉํ๊ฐ์์ฝ์ด์ค๋ Code ์ ๋๋ค. - ํ๋์ํ๋ผ๋ฉํ๋๋๋ค์์์ฐ์๋ํ๋ผ๋ฉํ๊ฐ์์ฝ์ด์ฌ์์์ต๋๋ค. - ๋ํ๋ผ๋ฉํ์์ฐจ๋ก (40001 ~ 4xxxx) ์ด๋ฉฐ, ์ด์๋์ํ๋ Data Address ๋ 0000 ~ xxxx-1 ์ ๋๋ค. 3.2 06 : Write Single (0x06) - ๋์์ด๋๋ Slave Device ์ํน์ ํ๋ผ๋ฉํ๊ฐ์ Setting ํ๋ Code ์ ๋๋ค. - ํน์ ํํ๋์ํ๋ผ๋ฉํ๋ฅผ์ง์ ํ์ฌ๊ฐ์ Setting ํฉ๋๋ค. 3.3 16 : Write Multiple (0x10) - ๋์์ด๋๋ Slave Device ์์ฌ๋ฌํ๋ผ๋ฉํ๊ฐ์ Setting ํ๋ Code ์ ๋๋ค. - ์ฐ์์ ์ผ๋ก๋์ด๋ (Address ์์์์ ) ํ๋ผ๋ฉํ๊ฐ์ Setting ํฉ๋๋ค. 3.4 SP Function Code - ๋ฒ์ฉ์ผ๋ก์ฌ์ฉ๋๋ Code ๋์๋์ง๋ง, ์์ฌ์๋ณด์ํน๋ณํ๊ธฐ๋ฅ์์ํ์ฌ์ฌ์ฉํ๋ Function Code ์ ๋๋ค. - ์ฌ์ฉํ๋ Code ๋๋ค์๊ณผ๊ฐ์ต๋๋ค. Code HEX ๋ด์ฉ 70 h46 JOG KEY ๊ธฐ๋ฅ์ํ 73 h49 ์๋๋ด์ฉ์ง์ฐ๊ธฐ 74 h50 ์๋๋ด์ฉ์์ฒญ - ์์ธํ์ฌ์ฉ๋ฒ์ 6.Function Exam. ์์ฐธ์กฐํ์๊ธฐ๋ฐ๋๋๋ค. 6
4. Data Field Data Field ๊ตฌ์ฑ์๋ํ๊ท๊ฒฉ์๋ค์๊ณผ๊ฐ์ต๋๋ค. 4.1 Data Field ๊ตฌ์ฑ - ( ํ๋ผ๋ฉํ ) ์ Address, ๊ฐ์, data ๋ฑ์ผ๋ก๊ตฌ์ฑ๋๋ฉฐ, ๊ฐ Function Code ์๋ฐ๋ผ๊ตฌ์ฑ์ด๋ฌ๋ผ์ง๋๋ค. 4.2 Data ๊ตฌ์ฑ๋ฐ์ฒ๋ฆฌ ๋ชจ๋ ์ data ๋ 4bytes ๋ก๊ตฌ์ฑ๋ฉ๋๋ค. ์๋ฐ๋ผ Data type ์ด Integer ํ, Float ํ์ผ๋ก๊ตฌ๋ถ๋๋ฉฐ, ๊ฐ๊ธฐ๋ค๋ฅด๊ฒ์ฒ๋ฆฌ๋ฉ๋๋ค. 4.2.1 Integer ํ data ์ฒ๋ฆฌ - ๋ถํธ๊ฐ์๋ ๋ 0 ~ 65535 ์ data ๋ฅผ, ๋ถํธ๊ฐ์๋ ๋ -32768 ~ 32767 ์ data ๋ฅผ์ฒ๋ฆฌํฉ๋๋ค. - 4bytes ๊ตฌ์ฑ์ค์์ 2bytes ๋ Don t care ์ ๋๋ค. ๋ชจ๋ data ๋ํ์ 2bytes ์์ํดํํ ๋ฉ๋๋ค. - 50000 (dec) ์๋ํ data ๊ตฌ์ฑ์๋์๋์๊ฐ์ต๋๋ค. Reg. Reg. Reg. Reg. HI-H HI-L LO-H LO-L h00 h00 hc3 h50 4.2.2 Float ํ data ์ฒ๋ฆฌ - 99999.9 ~ +99999.9 ์ data ๋ฅผ์ฒ๋ฆฌํฉ๋๋ค. - Float data format ์ IEEE754 ๊ท๊ฒฉ์๋ฐ๋ฆ ๋๋ค. S E M 31 30 23 22 0 ์ฌ๊ธฐ์, S : ๋ถํธ bit ( 1 bit ) E : ์ง์๋ถ bit ( 8 bit ) M : ๊ฐ์๋ถ bit ( 23 bit ) Data = (-1) ^S x 1.M x 2^(E-127) 7
- ํํ์ 1) 1234.5 ์๋ํ data ๊ตฌ์ฑ์๋ค์๊ณผ๊ฐ์ต๋๋ค. Reg. Reg. Reg. Reg. HI-H HI-L LO-H LO-L h44 h9a h50 h00 S : 0 E : 10001001 = 137 M : 0011010 01010000 00000000 = 1/8 + 1/16 + 1/64 + 1/512 + 1/2048 = 0.205566406 Data = (-1)^0 x 1.205566406 x 2^(137-127) = 1234.5 - ํํ์ 2) 1234.5 ์๋ํ data ๊ตฌ์ฑ์์๋์๊ฐ์ต๋๋ค. Reg. Reg. Reg. Reg. HI-H HI-L LO-H LO-L C4 9A 50 00 S : 1 E : 10001001 = 137 M : 0011010 01010000 00000000 = 1/8 + 1/16 + 1/64 + 1/512 + 1/2048 = 0.205566406 Data = (-1)^1 x 1.205566406 x 2^(137-127) = -1234.5 4.3 data ํํ - ๊ฐ ๋ Integer ํ, Float ํ์ผ๋ก๊ตฌ๋ถ๋์ด์์ผ๋ฉฐ, ์ฌ์ฉ์๋ data type ์๋ง๋๋ก์ฌ์ฉ์์ธกํ๋ก๊ทธ๋จ์ํํํ์ฌ์ผํฉ๋๋ค. - ์์ฌํํ์ด์ง (http://higenmotor.co.kr) ์์์ ๊ณต๋๋ Data ๋ณํํ๋ก๊ทธ๋จ์์ ( Float <--> HEX ) ๋ฅผ์ฌ์ฉํ์๋ฉด์ฝ๊ฒํํ์ด๊ฐ๋ฅํฉ๋๋ค. 8
5. CRC Check CRC Check Field ๊ตฌ์ฑ์๋ค์๊ณผ๊ฐ์ต๋๋ค. 5.1 Error Check Field - Field ๊ตฌ์ฑ์ 2 bytes ๋ก๊ตฌ์ฑ๋ฉ๋๋ค. - ์ ์ก์์๋ํ์ 1 byte + ์์ 1 byte ์์ ๋๋ค. - CRC Check Method ๋ CRC-16( X^16 + X^15 + X^2 + 1 ) ์ ๋๋ค. 5.2 CRC ์์ฑ์ ์ฐจ 1) 16bit register(0xffff) ๋ฅผ CRC ( ์์์๋ณ์ ) ์์นํํฉ๋๋ค. 2) CRC ์๋ณด๋ผ data(start, Parity, Stop bit ๋ฅผ์ ์ธํ 8 bit) ๋ฅผ XOR ์ฒ๋ฆฌํํ์ด๋ฅผ CRC ์์นํํฉ๋๋ค. 3) CRC ๋ฅผ์ฐ์ธก์ผ๋ก 1 bit Shift ํฉ๋๋ค. 4) Shift ํ carry ๊ฐ 0 ์ด๋ฉด, 3) ํญ์ผ๋ก๋ฆฌํด. carry ๊ฐ 1 ์ด๋ฉด, CRC ์ 0xA001(POLY : polynomial ) ์ XOR ์ฒ๋ฆฌํ๊ณ CRC ์์นํํ 3) ํญ์ผ๋ก๋ฆฌํด. 5) 3) ํญ๊ณผ 4) ํญ์๋ฐ๋ณต์ํ์ 8 ํ์ค์ํฉ๋๋ค. 6) 8 ํ์ค์ํ์ต์ข data ๋ฅผ CRC ์์นํํฉ๋๋ค. 7) 1) ~ 6) ํญ๊น์ง๋ 1byte ๋ฐ์ดํฐ์๋ํ CRC ์ด๋ฉฐ, ์ค์ ์์ฒญ์ด๋์๋ต frame ์ N byte ์๋ฐ์ดํฐ๊ฐ์ ์ก๋๋ฏ๋ก, 1) ~ 6) ํญ๋ฐ๋ณต์ N-2 ํ (-2 : Error CHK Field) ์ค์ํฉ๋๋ค. 9
5.3 Block Diagram - CRC ์์ฑ์ ์ฐจ๋ฅผ Block Diagram ์ผ๋ก๋ํ๋ด๋ฉด์๋์๊ฐ์ต๋๋ค. 10
5.4 CRC Check ์ - 0x02 ์๋ํ CRC16 ๊ฐ์๊ตฌํ๋๊ฒฝ์ฐ. ( POLY : 0xA001 ) CRC16 11111111 11111111 DATA 00000000 00000010 XOR CRC16 11111111 11111101 Shift - 1 01111111 11111110 1 : carry POLY 10100000 00000001 XOR CRC16 11011111 11111111 Shift - 2 01101111 11111111 1 : carry POLY 10100000 00000001 XOR CRC16 11001111 11111110 Shift - 3 01100111 11111111 0 Shift - 4 00110011 11111111 1 : carry POLY 10100000 00000001 XOR CRC16 10010011 11111110 Shift - 5 01001001 11111111 0 Shift - 6 00100100 11111111 1 : carry POLY 10100000 00000001 XOR CRC16 10000100 11111110 Shift - 7 01000010 01111111 0 Shift - 8 00100001 00111111 1 : carry POLY 10100000 00000001 XOR CRC16 10000001 00111110 => 0x813E ( 0x02์๋ํ CRC16 ๊ฐ ) ์์์๊ตฌํ 0x813E ๋ 0x02 ์๋ํ CRC16 ๊ฐ์ ๋๋ค. ์ด๊ฐ์๋ค์ hex ๊ฐ์ CRC16 ์๊ตฌํ๊ธฐ์ํ CRC16 ์ผ๋ก์ฌ์ฉ๋ฉ๋๋ค. ๋ชจ๋ Data ์ CRC16 ์ฐ์ฐ์ด์ข ๋ฃ๋ ๋๊น์ง์์์ ์ฐจ๋ฅผ๋ฐ๋ณตํฉ๋๋ค. ์๋์ ์ฝ๊ธฐ์์ฒญ CMD ์๋ํ CRC ๊ณ์ฐ์ ์ฐจ๋ฅผ์ฐธ์กฐํ์๊ธฐ๋ฐ๋๋๋ค. ์์ฌํํ์ด์ง์์์ ๊ณต๋๋ CRC16 ์๊ตฌํ๋์์ ํ๋ก๊ทธ๋จ (Delphi ์์ ) ์ํ์ฉํ์๋ฉด์ฝ๊ฒํํ์ด๊ฐ๋ฅํฉ๋๋ค. Table ์ํตํด๊ตฌํ๋๋ฐฉ๋ฒ์ Modicon Modbus Protocol Reference Guide ๋ฅผ์ฐธ์กฐํ์๊ธฐ๋ฐ๋๋๋ค. 11
6. Function Exam. Function Code ์ฌ์ฉ์๋๋ค์๊ณผ๊ฐ์ต๋๋ค. 6.1 03 : Read Holding (0x03) ์ฌ์ฉ์ - Slave Device(ID : 2) ์ 108 ~ 109 ์๊ฐ์์ฝ์ด์ค๋์ง๋ น์๊ฒฝ์ฐ. 1) 108 : 555(dec), 109 : 0(dec) ์ด์ ์ฅ๋์ด์๋์ํฉ์ผ๊ฒฝ์ฐ. ( Integer Type) Request Starting Starting No. of Address Function Address HI. Address LO. s HI. No. of CRC LO CRC HI s LO. h02 h03 h00 h6b h00 h02 hb5 he4 Response Byte Address Function Count HI_H(108) HI_L(108) LO_H(108) LO_L(108) h02 h03 h08 h00 h00 h02 H2B CRC LO CRC HI HI_H(109) HI_L(109) LO_H(109) LO_L(109) h00 h00 h00 h00 hbf h77 2) 108 :+1234.5(dec), 109 : -1234.5(dec) ๊ฐ์ ์ฅ๋์ด์๋์ํฉ์ผ๊ฒฝ์ฐ. ( Float Type) Request Starting Starting No. of Address Function Address HI. Address LO. s HI. No. of CRC LO CRC HI s LO. h02 h03 h00 h6b h00 h02 hb5 he4 Response Address Function Byte Count HI_H(108) HI_L(108) LO_H(108) LO_L(108) h02 h03 h08 h44 h9a h50 h00 12
CRC LO CRC HI HI_H(109) HI_L(109) LO_H(109) LO_L(109) hc4 h9a h50 h00 h88 h16 6.2 06 : Write Single (0x06) ์ฌ์ฉ์ - Slave Device(ID : 2) ์ 2(Addr : 0001) ์ 3 ์ setting ํ๋์ง๋ น์๊ฒฝ์ฐ. Request Starting Starting Address Function Address Address CRC LO CRC HI HI. LO. HI_H. HI_L. LO_H. LO_L. h02 h06 h00 h01 h00 h00 h00 h03 hda h13 Response Starting Starting Address Function Address Address CRC LO CRC HI HI. LO. HI_H. HI_L. LO_H. LO_L. h02 h06 h00 h01 h00 h00 h00 h03 hda h13 - Function Code 06 ์๊ฒฝ์ฐ Request ์๋์ผํ Frame ์ผ๋ก์๋ตํฉ๋๋ค. ( ์ ์์ ์ธ Set ting ํ ) 6.3 16 : Write Multiple (0x10) ์ฌ์ฉ์ - Slave Device(ID : 2) ์ 2 ๋ถํฐ 2 ๊ฐ์ register ์๊ฐ๊ฐ 10, 258 ์ setting ํ๋์ง๋ น์๊ฒฝ์ฐ. Request Starting Quantity of Quantity of Starting Byte Address Function Address s s Address HI. Count LO. HI. LO. h02 h10 h00 h01 h00 h02 h08 CRC LO CRC HI HI_H. HI_L. LO_H. LO_L. HI_H. HI_L. LO_H. LO_L. h00 h00 h00 h0a h00 h00 h01 h02 hf0 hf7 13
Response Starting Starting Quantity of Quantity of Error Address Function Address Address s s Check LO. HI. LO. HI. LO. Error Check HI. h02 h10 h00 h01 h00 h02 h10 h3b 6.4 SP Function Code ์ฌ์ฉ์ 6.4.1 JOG ๊ด๋ จ SP Function Code ๋ฉ๋ด๋ช ( ๋ณ์๋ช ) ID F_C Start Start Reg Reg Reg Reg CRC_H CRC_L _H _L _H_h _H_l _L_h _L_l JOG ON 02 46 08 98 00 00 00 01 07 42 JOG OFF 02 46 08 99 00 00 00 02 7A 83 ์ญํ์ ์ฐ์ 02 46 08 9A 00 00 00 03 FF 43 ์ ํ์ ์ฐ์ 02 46 08 9B 00 00 00 04 83 41 ์ ์ง 02 46 08 9C 00 00 00 05 F7 41 ( ๋ชจ๋ data ๋ hex ์.) Master ์ JOG CMD ์๋ํ์๋ณด์์๋ต์ Request Echo( ์์ฒญ CMD ๋ฅผ๋ค์ return ) ์ ๋๋ค. 6.4.2 Alarm ๊ด๋ จ SP Function Code ๋ฉ๋ด๋ช ( ๋ณ์๋ช ) ID F_C Start _H Start _L Reg _H_h Reg _H_l Reg _L_h Reg _L_l CRC_H CRC_L ํ์ฌ์๋์์ฒญ 02 50 08 34 00 00 00 01 E0 9B ํ์ฌ์๋์ง์ฐ๊ธฐ 02 49 08 35 00 00 00 02 15 9B ์๋์ด๋ ฅ์์ฒญ 02 50 08 36 00 00 00 03 18 9A ์๋์ด๋ ฅ์ง์ฐ๊ธฐ 02 49 08 37 00 00 00 04 EC 59 ( ๋ชจ๋ data ๋ hex ์.) ํ์ฌ์๋์ง์ฐ๊ธฐ / ์๋์ด๋ ฅ์ง์ฐ๊ธฐ์์ฒญ์๋ํ์๋ณด์์๋ต์ Request echo ์ ๋๋ค. ํ์ฌ์๋์์ฒญ / ์๋์ด๋ ฅ์์ฒญ์๋ํ์๋ณด์์๋ต์์๋์ table ์๋ฐ๋ฆ ๋๋ค. 14
ํ์ฌ์๋์์ฒญ์๋ํ Response ALARM 1 Byte ID F_C Reg Reg Reg Reg CRC_L CRC_H count _val_1 _val_2 _val_3 _val_4 h02 h50 h04 h00 h00 h00 h01 h04 h90 ์๋์ด๋ ฅ์์ฒญ์๋ํ Response Byte ID F_C count Reg _val_1 ALARM 1 Reg Reg _val_2 _val_3 ALARM2 Reg ~ ALARM10 _val_4 h02 h50 h28 h00 h00 h00 h03 4 byte x 9 ๊ฐ CRC_L CRC_H ์๋๋ด์ฉ (Reg_val_4 ๊ธฐ์ค ) ์๋๋ด์ฉ Reg_val_4 ํ์คํ AL-00 h00 NORMAL / E-STOP AL-01 h01 OVER CURNT AL-02 h02 OVER VOLT AL-03 h03 OVER LOAD AL-04 h04 POWER FAIL AL-05 h05 LINE FAIL AL-06 h06 OVER SPEED AL-07 h07 FOLLOW ERR AL-08 h08 OUTPUT NC AL-09 h09 PPR ERROR AL-10 h0a ABS DATA AL-11 h0b ABS BATT AL-12 h0c ABS MDER AL-13 h0e POWER LINE AL-14 h0f ABS LOW BATT AL-15 H10 ERASE FAIL AL-16 H11 WRITE FAIL AL-17 H12 PARA INIT 15
6.5 Data ์ ์ก๊ด๋ จ์์ธ์ฌํญ - Motor Parameter ( P1-02 ~ P1-06, P1-09 ) ๋๋๋ผ์ด๋ธ์์์ ์ฌ์ฉ์์ํ์ฌ Masking ์ฒ๋ฆฌ ( 1 ์ถ๋ ฅ ) ๋์ด์์ต๋๋ค. ๋ฐ๋ผ์์๋น์ค์ํฌํจ๋์ง์์ต๋๋ค. - ์ ํด์ง Parameter ๋ณด๋ค๋ง์์์ data ๋ฅผ์์ฒญํ ๊ฒฝ์ฐ, ์ ์๋ Parameter ์ดํ์ data ๋๋ชจ๋ F ๋ก์ถ๋ ฅ๋ฉ๋๋ค. ์ ) ์ ์๋ Parameter : P1-01 ~ P1-20, ์์ฒญ Parameter : P1-01 ~ P1-21 ์ผ๊ฒฝ์ฐ. ์์๊ฒฝ์ฐ Exception Error ๋ฅผ๋ฐ์ํ์ง์๊ณ , P1-01 ~ P1-20 ๊น์ง๋์ ์์ ์ธ data ๋ฅผ์ ์กํ๊ณ , P1-21( ์ ์๋์ง์์ Parameter) ์๋ํด์๋ FFFFFFFF ๋ฅผ์ ์กํฉ๋๋ค. - ์ ์๋ Parameter ์ด์ธ์ Address ์๋ํ data ๊ฐ์์ฒญ์์๋ Exception Rule ์์ํด Exception Code ๊ฐ์ ์ก๋ฉ๋๋ค. - ๋จ, 2 ํญ์์์ฒ๋ผ Start Address ๊ฐ์ ์๋ ๋ก์์๋ ๊ฒฝ์ฐ๋์์ธ์ ๋๋ค. 16
7. Exception Response Exception Response ์๋ํ๋ด์ฉ์๋ค์๊ณผ๊ฐ์ต๋๋ค. 7.1 Master Device ์ Slave Device ์ฌ์ด์๋ฐ์ํ ์์๋ํต์ ์ํ. 1) ํต์ ์๋ฌ์์ด์ ์์ ์ธ์์ฒญ์๋ํ์ ์์ ์ธ์๋ต์ํ๋๊ฒฝ์ฐ 2) ํต์ ์๋ฌ๊ฐ๋ฐ์ํ์ฌ Master ์์์ฒญ์๋ฐ์ง๋ชปํ๊ณ , ์ด์๋ํ Slave ์ธก์์๋ต์ด์๋๊ฒฝ์ฐ ์ด๋ฐ๊ฒฝ์ฐ๋ฅผ๋ฐฉ์งํ๊ธฐ์ํด์์๊ธฐ (Master Device) ๋์์ฒญ์๋ํ Time-out ์กฐ๊ฑด์์ค์ ํด์ฃผ์ด์ผํฉ๋๋ค. 3) Master ์ธก์์์ฒญ์๋ฐ์์ง๋ง, ๊ทธ data ์์ค๋ฅ (parity, CRC, LRC ์๋ฌ ) ๊ฐ๋ฐ์ํ์ฌ Slave ์ธก์์๋ต์ด์๋๊ฒฝ์ฐ ์ด๋ฐ๊ฒฝ์ฐ๋ฅผ๋ฐฉ์งํ๊ธฐ์ํด์์๊ธฐ (Master Device) ๋์์ฒญ์๋ํ Time-out ์กฐ๊ฑด์์ค์ ํด์ฃผ์ด์ผํฉ๋๋ค. 4) ํต์ ์๋ฌ์์ด์ ์์ ์ธ frame ๊ตฌ์กฐ์ CMD ๋ฅผ๋ฐ์์ง๋ง, Slave ์ธก์์์ด์๊ตฌ์๋ํ Code ๊ฐ์ ์๋์ด์์ง์๋๊ฒฝ์ฐ ์ง์ํ๋ Function code, Address ์ด์ธ์์์ฒญ์๋ํด์๋ Slave ์ธก์์ Exception Response ๋ฅผํด์ผํฉ๋๋ค. Exception Response ๋ฅผ๋ณด๋ด๋๋ค์ํ๊ฒฝ์ฐ์๋ํด ์๋ Exception Code ๋ฅผ์ฐธ์กฐํ์๊ธฐ๋ฐ๋๋๋ค. 7.2 Exception Response - ์ ์์ ์ธ์๋ต๊ณผ๊ตฌ๋ณํ๊ธฐ์ํด์ 2 Field(Function Field + Exception Code Field) ๋ง์ผ๋ก๊ตฌ์ฑ๋ฉ๋๋ค. - Function Field ( Code = Function Code + h80 ) Modbus Protocol ์ฒด๊ณ์์์ฌ์ฉํ ์์๋ Function Code ๊ฐ์๋ 128( h 80 ) ๊ฐ์ ๋๋ค. ์ด๋ฅผ bit ๋ก๋ํ๋ด๋ฉด 00000001 ~ 01111111 ์ด๋ฉฐ, ์ฌ๊ธฐ์์ต์์ bit ๋ 0 ์ ๋๋ค. Exception Response ์๊ฒฝ์ฐ์์ต์์ bit ๋ฅผ 1 ๋ก set ํ์ฌ์ฌ์ฉํ๋ฉฐ์ด๋ 129 ( h81 ) ๋ถํฐ์ ๋๋ค. Exception Response ์์ Function Field ์ data ๋ ์์ฒญ Function Code + h80 ์ด๋ฉ๋๋ค. - Data Field ์ ์์ ์ธ์๋ต์๊ฒฝ์ฐ Data ๊ฐ์ด๋, ์ํ์ ๋ณด๋ฑ์ดํฌํจ๋์ง๋ง, Exception Response ์๊ฒฝ์ฐ์๋ Exception Code ๋ฅผ์ ์กํฉ๋๋ค. 17
7.3 ์ฌ์ฉ์ - ์ ์๋์ง์์ Address ์ ์ ๋ณด๋ฅผ์์๊ธฐ์์์์ฒญํ์๊ฒฝ์ฐ. Request Starting Starting Quantity of Quantity of CRC CRC Address Function Address Address Outputs HI. Outputs LO. LO HI HI. LO. h02 h01 h04 ha1 h00 h01 had h2b Response Address Function Exception Code CRC LO CRC HI h02 h81 ( h01 + h80) h02 h31 h91 7.4 Exception Code Code Name ๋ด ์ฉ h01 Illegal Function Slave์์์ง์ํ์ง์๋ Function Code ์์ฒญ์๋ฐ์. h02 Illegal Data Address Slave์์์ ์๋์ง์์ Address์ register๊ฐ์์ฒญ์๋ฐ์ h03 Illegal Data Slave์์ ์๋ register์์ ํจํ์ง์์ data๋ฅผ์ ์ฅํ๋ผ๋์์ฒญ ์๋ฐ์. h04 Slave Device Failure h05 ACK ์ง์์ ์ธ์ง๋ น์์ฒญ ( long CMD ) ์๋ํ response๋์๊ฐ์ด์ค๋ ๊ฑธ๋ฆฐ๋ค. ์ด๊ฒฝ์ฐ Master์ธก์์ timeout error๋ก์ธ์ํ ์์์ผ๋ฏ ๋ก, ์๋ต์์ค๋น์ค์ด๋ผ๊ณ ์๋ฆฌ๊ธฐ์ํ Code์. -> ์ ์๋ long CMD์๊ฐ์๋์์ผ๋ฏ๋ก, Master์ timeout error ๊ธฐ์ค์๊ฐ์๋ง์ถ์ด์ผํจ. h06 Slave Device Busy ์ง์์ ์ธ์์ฒญ์ง๋ น ( long CMD ) ์๋ฐ๊ณ ๊ทธ์๋ํ์๋ต์์ํํ ๋๋์ค์ Master์์์ฌ์์ฒญ cmd๊ฐ์ ์ก๋ ๊ฒฝ์ฐ๋ฐ์. h07 NAK ์์ฒญ Function Code "13","14" ์๋ํด์ํํ ์์๋๊ฒฝ์ฐ๋ฐ์. h08 Servo ON Notice Servo ON์๋ณ๊ฒฝํ ์์๋ํ๋ผ๋ฉํ์๊ฐ์๋ณ๊ฒฝํ๊ณ ์ํ ๊ฒฝ์ฐ ๋ฐ์. 18
8. I/O Status - I/O ์ ์ ์๋ํ์ํ์ ๋ณด ( ํ์คํ : StE-17 ) ๋ฅผ๋ํ๋ ๋๋ค. - ์๋ณด๋๋ผ์ด๋ธ๋ก๋ถํฐ I/O Status ์ ๋ณด๋ฅผ์ ์ก๋ฐ์ Frame ์ค Data Field 4byte ์์, ์์ 16bit ๋ Input ์ ๋ณด, ํ์ 16bit ๋ Output ์ ๋ณด๋ฅผ๋ํ๋ ๋๋ค. - ์ฝ๊ธฐ๋ง๊ฐ๋ฅํ ์ ๋๋ค. 8.1 ์ฌ์ฉ์ - Slave Device(ID : 2) ์ I/O Status( Addr : 0x001A) ์๊ฐ์์ฝ์ด์ค๋์ง๋ น์๊ฒฝ์ฐ. Request ( ํ์คํ๊ธฐ์ค ) Starting Starting No. of Address Function Address HI. Address LO. s HI. No. of CRC LO CRC HI s LO. h02 h03 h00 h1c h00 h01 A5 FE Response INPUT ์ ๋ณด OUTPUT ์ ๋ณด Address Function Byte Count CRC LO CRC HI HI_H(108 HI_L(108) LO_H(108) LO_L(108) h02 h03 h04 h02 h43 h00 H2B 79 40 INPUT Data( ์์ 16bit) : 0x0243 OUTPUT Data( ํ์ 16bit) : 0x002B 8.2 ํ์คํ๋๋ผ์ด๋ธ 8.2.1 ์์ 16 bit ( Input ) F E D C B A 9 8 7 6 5 4 3 2 1 0 Don't care ALARM/ STOP ORG ORG DOG CWLIM CCW LIM SVON START SEL 4 SEL 3 SEL 2 SEL 1 SEL 0 ํ์์ X 0 0 1 0 1 1 0 0 0 0 1 1 1 : ์ ๋ ฅ์ ํธ๋์์ํ ( ํด๋น์ ์ ์ด GND24 ์์ฐ๊ฒฐ๋์ํ ) 0 : ์ ๋ ฅ์ ํธ๋น๋์์ํ 19
์ ํธ๋ช ์นญํ์์ํ๋์๋ด์ฉ ALMRST/ STOP 0 ์๋๋ฆฌ์ ๋ฐ๋ชจํฐ์ ์ง๋นํ์ฑํ ORG 0 ์์ ๋ณต๊ท๋นํ์ฑํ ORG DOG 1 ๊ทผ์ฌ์์ ํ์ฑํ CWLIM 0 CCW ๋ฐฉํฅํ์ ๋ถ๊ฐ๋ฅ CCWLIM 1 CCW ๋ฐฉํฅํ์ ๊ฐ๋ฅ SVONEN 1 ์๋ณด๋ชจํฐ๊ตฌ๋๋ช ๋ น์ค START 0 ์ด์ ๋ชจ๋๋์๋นํ์ฑํ SEL 4 0 SEL 3 0 SEL 2 0 ๋ด๋ถ์์น์ง๋ น 3 ์ ํ SEL 1 1 SEL 0 1 8.2.2 ํ์ 16 bit ( Output ) F E D C B A 9 8 7 6 5 4 3 2 1 0 INPOS/ Don't Don't care OP4 OP3 OP2 OP1 ALARM BRAKE RDY ORGOUT OP0 care ํ์์ X 0 0 0 1 0 1 0 1 1 X 1 : ์ถ๋ ฅ์ ํธ๋์์ํ 0 : ์ถ๋ ฅ์ ํธ๋น๋์์ํ ์ ํธ๋ช ์นญ ํ์์ํ ๋์๋ด์ฉ OP4 0 OP3 0 OP2 0 ๋ด๋ถ์ง๋ น์์น 2 ์๋ฃ์ถ๋ ฅ์ํ์ OP1 1 INPOS/OP0 0 ALARM 1 No Alarm ์ํ์ BRAKE 0 ๋ชจํฐ Brake ํด์ ์ ํธ์ถ๋ ฅ์ํ์ RDY 1 No Alarm, Power Good, ์๋ณด Ready ์ํ์ ORGOUT 1 ์์ ๋ณต๊ท์๋ฃ์ํ์ 20
9. OPR - CN1 ์์ํ์ ๋ ฅ์ ์ ์ง๋ น์ํต์ ์์ํ๋์งํธ์ง๋ น์ผ๋ก์ฌ์ฉํ๊ธฐ์ํ ์ ๋๋ค. - I/O OPR CMD ๋ P01-16 ์ 1 ๋ก๋ณ๊ฒฝํ์ฌ์ฉ๊ฐ๋ฅํฉ๋๋ค. - Frame ๊ตฌ์ฑ์ 32bit ์ด๋ฉฐ, ์์ 16 bit ๋ Don t care ์ ๋๋ค. - ํ์ 16 bit ์๊ฐ bit ์๋ํ์ ๋ณด๋์๋์ Table ์๋ฐ๋ฆ ๋๋ค. - ์ฐ๊ธฐ๋ง๊ฐ๋ฅํ ์ ๋๋ค. 9.1 I/O OPR CMD 9.1.1 ํ์คํ F E D C B A 9 8 7 6 5 4 3 2 1 0 Don't care ALARM/ STOP ORG ORG DOG CWLIM CCW LIM SVON START SEL 4 SEL 3 SEL 2 SEL 1 SEL 0 ํ์์ 1 : ์ ๋ ฅ์ ํธ๋น๋์์ํ 0 : ์ ๋ ฅ์ ํธ๋์์ํ ( ํด๋น์ ์ ์ด GND24 ์์ฐ๊ฒฐ๋์ํ ) 9.1.2 I/O OPR CMD ์ฌ์ฉ์ - I/O OPR CMD Address ๋ 42001(0x07D0) ์ด๋ฉฐ, ์ด๊ธฐ์ํ์ ์ ์ ๋ ฅ์ํ๋ฅผ CWLIM, CCWLIM : ON ์ผ๋ก์ง๋ นํ๋๊ฒฝ์ฐ. ( Slave ID : 2 ) F E D C B A 9 8 7 6 5 4 3 2 1 0 Don't care ALARM/ STOP ORG ORG DOG CWLIM CCW LIM SVON START SEL 4 SEL 3 SEL 2 SEL 1 SEL 0 X 0 0 0 1 1 0 0 0 0 0 0 0 ์ฆ, I/O OPR CMD ๋ 0x0180 ์ด๋จ. Request Starting Starting Address Function Address Address CRC Lo. CRC Hi. HI. LO. HI_H. HI_L. LO_H. LO_L. h02 h06 h07 hd0 h00 h00 H01 H80 ha2 hf6 21
Response : Request echo ์. Starting Starting Address Function Address Address CRC Lo. CRC Hi. HI. LO. HI_H. HI_L. LO_H. LO_L. h02 h06 h07 hd0 h00 h00 h0d h3d ha2 hf6 9.2 OPR CMD ์ฌ์ฉ์์ฃผ์์ฌํญ - I/O OPR CMD ๋ CN1 ์์ํ์ ์ ์ง๋ น๊ณผ๋์์์ฌ์ฉํ ์์์ต๋๋ค. - I/O ์ ์ ๊ธฐ๋ฅ์ CN1 ์์ํ์ ์ ๊ธฐ๋ฅ์์ํต์ ์์ํ์ ์ ๊ธฐ๋ฅ์ผ๋ก๋ณ๊ฒฝํ๊ณ ์ํ ๊ฒฝ์ฐ์๋ P1-16 ์ Serial I/O ๋ฅผ 0 -> 1 ๋ก๋ณ๊ฒฝํ์๊ธฐ๋ฐ๋๋๋ค. - ํต์ ์ํ์๋ฐ๋ผ์ง๋ น์์๋์ฐจ์ด๊ฐ๋ฐ์ํ ์์์ต๋๋ค. 22
10. FDA7000C Address Map 10.1 ํ์คํ Address ๋ฉ๋ด Data Type ๋ฉ๋ด๋ช ( ๋ณ์๋ช ) ์์ฑ์ด๊ธฐ์น Min Max ๋จ์ 40011 0x000A StE-01 INT Display Select R 1203 100 1330-40012 0x000B StE-02 Float Command Speed R 0.0-9999.9 9999.9 rpm 40013 0x000C StE-03 Float Motor Speed R 0.0-9999.9 9999.9 rpm 40014 0x000D StE-04 Float CCW Speed Limit R 3000.0 0 9999.9 rpm 40015 0x000E StE-05 Float CW Speed Limit R -3000.0-9999.9 0 rpm 40016 0x000F StE-06 Float SEL command R 0-99999.9 99999.9 user 40017 0x0010 StE-07 INT Command position R 0-99999 99999 user 40018 0x0011 StE-08 INT Current position R 0-99999 99999 user 40019 0x0012 StE-09 INT Position error R 0-99999 99999 user 40020 0x0013 StE-10 Float Command Torque R 0.0-300 300 % 40021 0x0014 StE-11 Float Load Rate R 0.0-300 300 % 40022 0x0015 StE-12 Float Max Load Rate R 0.0-300 300 % 40023 0x0016 StE-13 Float CCW TRQ LMT R 275.4 0 300 % 40024 0x0017 StE-14 Float CW TRQ LMT R -275.4-300 0 % 40025 0x0018 StE-15 Float Inertia Ratio R 2.0 0 50-40026 0x0019 StE-16 INT MULTI Turns R 0 0 99999 user 40027 0x001A StE-17 INT Single Turn R 0 0 131072 user 40028 0x001B StE-18 Float PROG Version R 1.00 0 99.99-40029 0x001C StE-19 BIT I/O Status R 0 0 99999-40030 0x001D StE-20 INT ABS org single turn R 0 0 131072-40031 0x001E StE-21 INT ABS org multi turn R 0-99999 99999-40032 0x001F StE-22 Float 1 turn Angle R 0.000 0.000 359.999-40033 0x0020 StE-23 INT Warning status R 0 0 1203-40034 0x0021 StE-24 BIT SEL status R 0 0 99999-40101 0x0064 * P01-01 INT Motor ID R/W ์ฉ๋๋ณ 0 500-40102 0x0065 P01-02 Float Inertia - - 0.01 999.99 gfcm^2 40103 0x0066 P01-03 Float TRQ Constant - - 0.1 999.99 kgfcm/a 40104 0x0067 P01-04 Float Phase Inductance - - 0.001 99.999 mh 40105 0x0068 P01-05 Float Phase Resistance - - 0.001 99.999 Ω 40106 0x0069 P01-06 Float Rated Current - - 0.01 999.99 A(rms) 40107 0x006A P01-07 Float Rated Speed - ๋ชจํฐ๋ณ 0 9999 rpm 40108 0x006B P01-08 Float MAX Speed - ๋ชจํฐ๋ณ 0 9999 rpm 40109 0x006C P01-09 Float Rated TRQ - - 0 9999 kgfcm 40110 0x006D P01-10 INT Pole Number - - 2 98 pole 40111 0x006E * P01-11 INT Drive ID R/W ์ฉ๋๋ณ 0 999-40112 0x006F * P01-12 INT Encoder ID R/W 1 0 10-40113 0x0070 * P01-13 INT Encoder Pulse R/W 2000 1 32768 ppr 40114 0x0071 P01-14 INT Pulse Out Rate R/W 2000 1 131072 pulse 40115 0x0072 * P01-15 INT Baud Rate R/W 0 0 15-40116 0x0073 * P01-16 INT Serial I/O R/W 0 0 1-40117 0x0074 * P01-17 INT Serial ID R/W 1 0 31-40118 0x0075 P01-18 INT Parameter Lock R/W 0(off) 0 1-23
40119 0x0076 P01-19 INT Abs Data Format R/W 3 1 3-40120 0x0077 P01-20 INT Modbus type R/W 0 0 1-40201 0x00C8 P02-01 Float CCW TRQ LMT R/W 300.0 0 300 % 40202 0x00C9 P02-02 Float CW TRQ LMT R/W -300.0-300 0 % 40203 0x00CA P02-03 Float CCW Speed Limit R/W 3000.0 0 6000 rpm 40204 0x00CB P02-04 Float CW Speed Limit R/W -3000.0-6000 0 rpm 40205 0x00CC P02-05 Float Brake Speed R/W 50.0 0 9999.9 rpm 40206 0x00CD P02-06 Float Brake Time R/W 50.0 0 10000 ms 40207 0x00CE P02-07 INT DB Mode R/W 2 0 3-40208 0x00CF P02-08 INT Notch Filter1 R/W 0 0 2-40209 0x00D0 P02-09 Float NF Frequency1 R/W 300.0 50 2000 Hz 40210 0x00D1 P02-10 Float NF Bandwidth1 R/W 95.0 10 99.9 % 40211 0x00D2 P02-11 INT Notch Filter2 R/W 0 0 1-40212 0x00D3 P02-12 Float NF Frequency2 R/W 500.0 50 2000 Hz 40213 0x00D4 P02-13 Float NF Bandwidth2 R/W 95.0 10 99.9 % 40218 0x00D5 P02-14 Float Gain ADJ Speed1 R/W 800.0 100 5000 rpm 40219 0x00D6 P02-15 Float Gain ADJ Speed2 R/W 100.0 10 500 rpm 40220 0x00D7 P02-16 Float Gain ADJ TRQ1 R/W 150.0 50 300 % 40221 0x00D8 P02-17 Float Gain ADJ TRQ2 R/W 50.0 0 300 % 40216 0x00D9 P02-18 INT System Response R/W 7 1 19-40217 0x00DA P02-19 Float Inertia Ratio R/W 2.0 1 50-40214 0x00DB P02-20 Float TRQ Filter TC R/W 1.3 0 1000 ms 40215 0x00DC P02-21 INT Auto Tuning R/W 0 0 1-40222 0x00DD * P02-22 INT Parameter INIT R/W 0(off) 0 1-40223 0x00DE P02-23 Float Servo off delay tme R/W 10.0 0.0 1000.0 ms 40224 0x00DF P02-24 INT CW Limit logic R/W 0 0 1-40225 0x00E0 P02-25 INT CCW Limit logic R/W 0 0 1-40226 0x00E1 P02-26 INT Servo On/Off logic R/W 0 0 1-40227 0x00E2 * P02-27 INT Stop mode R/W 0 0 1-40228 0x00E3 P02-28 INT Multi turns limit R/W 65535 0 65535 rev 40229 0x00E4 P02-29 INT BATT alarm select R/W 0 0 1-40230 0x00E5 P02-30 INT BATT warning filter R/W 100 10 10000-40301 0x012C * P03-01 INT Speed Gain Mode R/W 1 1 4-40302 0x012D P03-02 Float SC Loop Gain1 R/W 30.0 0 1000 Hz 40303 0x012E P03-03 Float SC TC1 R/W 30.0 0 10000 ms 40304 0x012F P03-04 Float SC Loop Gain2 R/W 35.0 0 1000 Hz 40305 0x0130 P03-05 Float SC TC2 R/W 25.0 0 10000 ms 40306 0x0131 P03-06 Float Group Speed 0 R/W 100.0 0 9999.9 rpm 40307 0x0132 P03-07 Float Group Speed 1 R/W 500.0 0 9999.9 rpm 40308 0x0133 P03-08 Float Group Speed 2 R/W 1000.0 0 9999.9 rpm 40309 0x0134 P03-09 Float Group Speed 3 R/W 1500.0 0 9999.9 rpm 40310 0x0135 P03-10 INT Group Acc 0 R/W 10 0 10000 ms 40311 0x0136 P03-11 INT Group Acc 1 R/W 20 0 10000 ms 40312 0x0137 P03-12 INT Group Acc 2 R/W 30 0 10000 ms 24
40313 0x0138 P03-13 INT Group Acc 3 R/W 40 0 10000 ms 40314 0x0139 P03-14 INT Org/Jog Acc R/W 10 0 10000 ms 40315 0x013A P03-15 INT Group Dec 0 R/W 10 0 10000 ms 40316 0x013B P03-16 INT Group Dec 1 R/W 20 0 10000 ms 40317 0x013C P03-17 INT Group Dec 2 R/W 30 0 10000 ms 40318 0x013D P03-18 INT Group Dec 3 R/W 40 0 10000 ms 40319 0x013E P03-19 INT Org/Jog Dec R/W 10 0 10000 ms 40320 0x013F * P03-20 Float PI-IP Control % R/W 100.0 0 100 % 40321 0x0140 P03-21 Float Friction PEN R/W 0.0 0 100 % 40322 0x0141 P03-22 Float Load PEN R/W 0.0 0 100 % 40323 0x0142 P03-23 Float S-Mode TC R/W 0.0 0 9000 ms 40324 0x0143 P03-24 Float Analog CMD TC R/W 0.0 0 2000 ms 40325 0x0144 * P03-25 Float Analog +10[V] RPM R/W 1500.0 0 9999.9 rpm 40326 0x0145 P03-26 INT Auto Offset R/W 0(off) 0 1-40327 0x0146 P03-27 Float Manual Offset R/W 0.0-1000 1000 mv 40328 0x0147 P03-28 INT Clamp Mode R/W 0 0 2-40329 0x0148 P03-29 Float Clamp Voltage R/W 0.0-1000 1000 mv 40330 0x0149 * P03-30 Float F/Back TC R/W 0.0 0 2000 ms 40331 0x014A P03-31 Float Zero SPD VIB REJ R/W 0.1 0 1000 rpm 40332 0x014B * P03-32 INT Feedforward TRQ R/W 0 0 3-40333 0x014C P03-33 INT Analog TRQ Limit R/W 0 0 300 % 40334 0x014D * P03-34 Float Analog TRQ TC R/W 0.0 0 2000 ms 40335 0x014E * P03-35 Float 10[V] TRQ R/W 100.0 0 300 % 40336 0x014F P03-36 INT Auto Offset R/W 0(off) 0 1-40337 0x0150 P03-37 Float Manual Offset R/W 0.0-1000 1000 mv 40401 0x0190 * P04-01 INT POS Gain Mode R/W 1 1 5-40402 0x0191 * P04-02 INT POS Pulse Type R/W 1 0 5-40403 0x0192 P04-03 Float Feedforward R/W 0.0 0 100 % 40404 0x0193 P04-04 Float PC P Gain1 R/W 30.0 0 500 Hz 40405 0x0194 P04-05 Float PC P Gain2 R/W 35.0 0 500 Hz 40406 0x0195 P04-06 Float PI-P Pulse ERR R/W 0 0 99999.9 user 40407 0x0196 P04-07 Float IN Position R/W 0.1 0.001 999.999 user 40509 0x0197 P04-08 Float Follow ERR R/W 90000-99999.9 99999.9 user 40510 0x0198 P04-09 Float POS CMD TC R/W 0.0 0 2000 ms 40511 0x0199 P04-10 Float FF TC R/W 0.0 0 2000 ms 40520 0x019A P04-11 Float Bias SPD PEN R/W 0.0-1000.0 1000.0 rpm 40521 0x019B P04-12 Float Bias Pulse Band R/W 0.05 0.00 1.00 user 40522 0x019C P04-13 Float Backlash PEN R/W 0.0 0.0 99999.9 user 40414 0x019D P04-14 INT Pulse Clear R/W 0 0 1-40501 0x01F4 P05-01 Float Position CMD 0 R/W 0-99999.9 99999.9 user 40502 0x01F5 P05-02 Float Position CMD 1 R/W 10-99999.9 99999.9 user 40503 0x01F6 P05-03 Float Position CMD 2 R/W 20-99999.9 99999.9 user 40504 0x01F7 P05-04 Float Position CMD 3 R/W 30-99999.9 99999.9 user 40505 0x01F8 P05-05 Float Position CMD 4 R/W 40-99999.9 99999.9 user 25
40506 0x01F9 P05-06 Float Position CMD 5 R/W 50-99999.9 99999.9 user 40507 0x01FA P05-07 Float Position CMD 6 R/W 60-99999.9 99999.9 user 40508 0x01FB P05-08 Float Position CMD 7 R/W 70-99999.9 99999.9 user 40509 0x01FC P05-09 Float Position CMD 8 R/W 80-99999.9 99999.9 user 40510 0x01FD P05-10 Float Position CMD 9 R/W 90-99999.9 99999.9 user 40511 0x01FE P05-11 Float Position CMD 10 R/W 100-99999.9 99999.9 user 40512 0x01FF P05-12 Float Position CMD 11 R/W 110-99999.9 99999.9 user 40513 0x0200 P05-13 Float Position CMD 12 R/W 120-99999.9 99999.9 user 40514 0x0201 P05-14 Float Position CMD 13 R/W 130-99999.9 99999.9 user 40515 0x0202 P05-15 Float Position CMD 14 R/W 140-99999.9 99999.9 user 40516 0x0203 P05-16 Float Position CMD 15 R/W 150-99999.9 99999.9 user 40517 0x0204 P05-17 Float Position CMD 16 R/W 160-99999.9 99999.9 user 40518 0x0205 P05-18 Float Position CMD 17 R/W 170-99999.9 99999.9 user 40519 0x0206 P05-19 Float Position CMD 18 R/W 180-99999.9 99999.9 user 40520 0x0207 P05-20 Float Position CMD 19 R/W 190-99999.9 99999.9 user 40521 0x0208 P05-21 Float Position CMD 20 R/W 200-99999.9 99999.9 user 40522 0x0209 P05-22 Float Position CMD 21 R/W 210-99999.9 99999.9 user 40523 0x020A P05-23 Float Position CMD 22 R/W 220-99999.9 99999.9 user 40524 0x020B P05-24 Float Position CMD 23 R/W 230-99999.9 99999.9 user 40525 0x020C P05-25 Float Position CMD 24 R/W 240-99999.9 99999.9 user 40526 0x020D P05-26 Float Position CMD 25 R/W 250-99999.9 99999.9 user 40527 0x020E P05-27 Float Position CMD 26 R/W 260-99999.9 99999.9 user 40528 0x020F P05-28 Float Position CMD 27 R/W 270-99999.9 99999.9 user 40529 0x0210 P05-29 Float Position CMD 28 R/W 280-99999.9 99999.9 user 40530 0x0211 P05-30 Float Position CMD 29 R/W 290-99999.9 99999.9 user 40531 0x0212 P05-31 Float Position CMD 30 R/W 300-99999.9 99999.9 user 40532 0x0213 P05-32 Float Position CMD 31 R/W 310-99999.9 99999.9 user 40601 0x0258 P06-01 Float ORG Speed 0 R/W 50 0 9999.9 rpm 40602 0x0259 P06-02 Float ORG Speed 1 R/W 10 0 9999.9 rpm 40603 0x025A P06-03 Float Damper Origin TRQ R/W 50 0 300 % 40604 0x025B P06-04 Float Origin Offset R/W 0.0-9999.9 9999.9 user 40605 0x025C P06-05 INT KeyJog mode R/W 0 0 2-40606 0x025D P06-06 Float Jog Speed 0 R/W 100 0 9999.9 rpm 40607 0x025E P06-07 Float Jog Speed 1 R/W 200 0 9999.9 rpm 40608 0x025F P06-08 INT IncJog Mod R/W 0 0 2-40609 0x0260 P06-09 Float IncJog Move 0 R/W 50-99999.9 99999.9 user 40610 0x0261 P06-10 Float IncJog Move 1 R/W 100-99999.9 99999.9 user 40611 0x0262 * P06-11 INT ORQ warning select R/W 0 0 1-40612 0x0263 P06-12 INT Comsel Jog R/W 0 1 32-40701 0x02BC * P07-01 INT Move Motor R/W 1 1 10000 user 40702 0x02BD * P07-02 INT Move Mechanic R/W 100 1 65535 user 40703 0x02BE * P07-03 INT Polarity R/W 0 0 3-40704 0x02BF * P07-04 INT Turret cycle R/W 0 0 10000 user 40705 0x02C0 * P07-05 INT Move Motor R/W 1 0 10000 user 26
40706 0x02C1 * P07-06 INT MPG Pulse R/W 100 0 131072 pulse 40707 0x02C2 * P07-07 INT Angle division R/W 0 0 10000 user 40708 0x02C3 * P07-08 INT Angle division Set R/W 0 0 2-40709 0x02C4 P07-09 INT Position teach R/W 0 0 32-40801 0x0320 * P08-01 INT Run Mode R/W 1 0 6-40802 0x0321 * P08-02 INT Stop time R/W 10 0 10000 ms 40803 0x0322 * P08-03 INT ABS. step R/W 0 0 3-40804 0x0323 * P08-04 INT Limit select R/W 0 0 2-40805 0x0324 * P08-05 INT Soft Limit select R/W 0 0 1-40806 0x0325 P08-06 Float Soft CCW Limit R/W 99999-100000 100000 user 40807 0x0326 P08-07 Float Soft CW Limit R/W -99999-100000 100000 user 40808 0x0327 * P08-08 INT Dog select R/W 0 0 1-40809 0x0328 * P08-09 INT Auto Origin R/W 0 0 1-40810 0x0329 * P08-10 INT Origin Rule R/W 2 0 28-40811 0x032A * P08-11 INT MPG Select R/W 0 0 2-40812 0x032B * P08-12 INT ABS Origin R/W 0 0 1-40813 0x032C * P08-13 INT Inpos type R/W 1 0 1-40814 0x032D * P08-14 INT Inpos ON/OFF R/W 0 0 1-40815 0x032E * P08-15 INT Stop select R/W 0 0 1-40816 0x032F * P08-16 INT CW/CCWJOG logic R/W 0 0 1-40817 0x0330 * P08-17 INT OUTPUT SELECT R/W 0 0 4-40818 0x0331 * P08-18 INT OP/ALM SELECT R/W 0 0 1-40901 0x0384 P09-01 INT Monitor1 R/W 0 0 4-40902 0x0385 P09-02 INT Monitor2 R/W 0(off) 0 1-40903 0x0386 P09-03 Float Monitor ABS1 R/W 1.0 0.1 2000-40904 0x0387 P09-04 Float Monitor ABS2 R/W 0.0-1000 1000 mv 40905 0x0388 P09-05 INT Monitor Scale1 R/W 1 0 4-40906 0x0389 P09-06 INT Monitor Scale2 R/W 0(off) 0 1-40907 0x038A P09-07 Float Monitor Offset1 R/W 1.0 0.1 2000-40908 0x038B P09-08 Float Monitor Offset2 R/W 0.0-1000 1000 mv 27
Operating Address Address ๋ฉ๋ด Data Type ๋ฉ๋ด๋ช ( ๋ณ์๋ช ) ์์ฑ์ด๊ธฐ์น Min Max ๋จ์ 42001 0x07D0 - - I/O DGT CMD W 0x0E7F - - - 42002 0x07D1 - Float SPD DGT CMD W 0 - - - 42003 0x07D2 - Float TRQ DGT CMD W 0 - - - 42004 0x07D3 - - POS DGT CMD W 0 - - - Alarm Address Address ๋ฉ๋ด Data Type ๋ฉ๋ด๋ช ( ๋ณ์๋ช ) ์์ฑ์ด๊ธฐ์น Min Max ๋จ์ 42101 0x0834 - - Current Alarm R - - - - 42102 0x0835 - - Alarm Reset W - - - - 42103 0x0836 - - Alarm History R - - - - 42104 0x0837 - - Alarm History Reset W - - - - Jog Key Address Address ๋ฉ๋ด Data Type ๋ฉ๋ด๋ช ( ๋ณ์๋ช ) ์์ฑ์ด๊ธฐ์น Min Max ๋จ์ 42201 0x0898 - - JOG ON W - - - - 42202 0x0899 - - JOG OFF W - - - - 42203 0x089A - - ์ญํ์ (CW) W - - - - 42204 0x089B - - ์ ํ์ (CCW) W - - - - 42205 0x089C - - ์ ์ง (Stop) W - - - - PARAMETER ์์ด๊ธฐ๊ฐ๋ฐ๋ฒ์๋ FDA7000C ํ์ค๋งค๋ด์ผ์์ฐธ๊ณ ํ์๊ธฐ๋ฐ๋๋๋ค. 28
11. APPENDIX 11.1 Appendix A : Serial Communication Cable 11.1.1 RS232C Channel 11.1.2 RS485 Channel [ PC Serial Port ] [ Servo DRV _CN3 CON. ] [ Upper System ] [ Servo DRV _CN3 CON. ] 1) ์ข ๋จ์ ํญ์ฒ๋ฆฌ์ Rt ๋จ์์ N ๋จ์๋ฅผ Short( ๋จ๋ฝ ) ์ฒ๋ฆฌํ์ญ์์ค. 2) ์๋ณด๋๋ผ์ด๋ธ์์ข ๋จ์ ํญ (120Ω) ์ด๋ด์ฅ๋์ด์์ต๋๋ค. 3) ์ข ๋จ๋๋ผ์ด๋ธ๊ฐ์๋๋๋ผ์ด๋ธ๊ฐ์์ฐ๊ฒฐ์์๋ Rt ๋จ์๋ฅผ์๋ก์ฐ๊ฒฐํ์ง๋ง์ญ์์ค. ์ข ๋จ์ ํญ๊ฐ์ด์์์ง๋์์ธ์ด๋ฉ๋๋ค. - RS485 ํต์ Network ๊ตฌ์ฑ 29
- MEMO - 30