TỔNG HỢP LỆNH plc mitshu, delta, siemen, omron,ls TỔNG HỢP LỆNH plc mitshu, delta, siemen, omron,ls TỔNG HỢP LỆNH plc mitshu, delta, siemen, omron,ls TỔNG HỢP LỆNH plc mitshu, delta, siemen, omron,ls TỔNG HỢP LỆNH plc mitshu, delta, siemen, omron,ls TỔNG HỢP LỆNH plc mitshu, delta, siemen, omron,ls TỔNG HỢP LỆNH plc mitshu, delta, siemen, omron,ls TỔNG HỢP LỆNH plc mitshu, delta, siemen, omron,ls
Trang 1Danh sách tổng hợp tập lệnh lập trình trên plc delta
Danh sách tổng hợp tập lệnh lập trình plc delta dưới đây được lấy từ manual của nhà sản xuất plc delta Các bạn vui lòng tra kỹ thông tin của lệnh bao gồm:
API: là mã số của lệnh
Cú pháp: là mã của lệnh bao gồm 16 và 32 bit
Mô tả: mô tả ngắn gọn về lệnh
Hỗ trợ chi tiết dòng plc nào
STEPS: là số bước sử dụng trong vòng quét của plc
Tham khảo thêm sản phẩm: plc delta cũ
Tham khảo thêm sản phẩm: dây cáp lập trình plc delta
Chi tiết danh sách tổng hợp tập lệnh lập trình trên plc delta
Trang 214 CML DCML Complement P P P P 5 9
16-bit/32-bit Binary Multiplication
115 DIV16 DIV32 16-bit/32-bit
Trang 334 SFTR – Bit shift right P P P P 9 –
Trang 578 FROM DFROM
Read CR data from special modules
Write CR data into special modules
Rising–edge detection operation
Falling–edge detection operation
Rising-edge series connection
Falling-edge series connection
Rising-edge parallel connection
Falling-edge parallel connection
Trang 6Reverse Operation of VFD
ES2-
DMV Communication Command
Trang 7111 – DEZCP Floating point
Trang 8134 – DACOS Arc Cosine P P P P – 9
Writing the data into the file register
proportional
Trang 9value calculation
Catch speed and
proportional output
2-Axis Absolute Point to Point Motion
2-Axis Relative Position Arc Interpolation
2-Axis Absolute Position Arc Interpolation
Single-Axis pulse output by table
Trang 10162 TADD – Time addition P P P P 7 –
Trang 11221 OR& DOR& S1 & S2 P P P P 5 9
Trang 13270 BLDI DBLDI
Load NC contact by specified bit
Connect NO contact in series
by specified bit
Connect NC contact in series
by specified bit
Connect NO contact in parallel
by specified bit
Connect NC contact in parallel
Trang 14291 – FOR<= S1 ≦ S2 P P P P – 9
Trang 15Danh sách lệnh ứng dụng PLC Mitsubishi (dòng Micro PLC)
Danh sách lệnh ứng dụng PLC Mitsubishi: FX1S, FX1N, FX2N, FX3U, FX1NC, FX2NC, FX3UC
Ghi chú:
⦾: Được hỗ trợ bởi phiên bản 3.00 hoặc cao hơn
Trang 16Phân loại FNC số Mnemonic Chức năng PLC áp dụng
Trang 17Phân loại FNC số Mnemonic Chức năng PLC áp dụng
Trang 18Phân loại FNC số Mnemonic Chức năng PLC áp dụng
Thiết bị I/O bên ngoài
FX
lật)
phân)
Trang 19Phân loại FNC số Mnemonic Chức năng PLC áp dụng
sang ký hiệu khoa học
dấu phẩy động
nguyên
rađian
Trang 20Phân loại FNC số Mnemonic Chức năng PLC áp dụng
sang độ
Điều khiển đồng hồ thời
Trang 21Phân loại FNC số Mnemonic Chức năng PLC áp dụng
(FX2N/FX2NC)
Trang 22Phân loại FNC số Mnemonic Chức năng PLC áp dụng
tự
FILO]
Trang 23Phân loại FNC số Mnemonic Chức năng PLC áp dụng
Ghi chú:
⦾: Được hỗ trợ bởi phiên bản 3.00 hoặc cao hơn
Trang 24 □: Được hỗ trợ bởi phiên bản 2.20 hoặc cao hơn
*1: Truyền dữ liệu
*2: Chức năng mở rộng
*3: Truyền dữ liệu
*4: Xử lý tốc độ cao
Trang 25Tổng hợp danh sách tập lệnh lập trình plc siemens s7-1200
Bit logic operations
• —| |—: Normally open contact (S7-1200, S7-1500)
• —| / |—: Normally closed contact (S7-1200, S7-1500)
• –|NOT|–: Invert RLO (S7-1200, S7-1500)
• —( )—: Assignment (S7-1200, S7-1500)
• –( / )–: Negate assignment (S7-1200, S7-1500)
• —( R )—: Reset output (S7-1200, S7-1500)
• —( S )—: Set output (S7-1200, S7-1500)
• SET_BF: Set bit field (S7-1200, S7-1500)
• RESET_BF: Reset bit field (S7-1200, S7-1500)
• SR: Set/reset flip-flop (S7-1200, S7-1500)
• RS: Reset/set flip-flop (S7-1200, S7-1500)
• –|P|–: Scan operand for positive signal edge (S7-1200, S7-1500)
• –|N|–: Scan operand for negative signal edge (S7-1200, S7-1500)
• –(P)–: Set operand on positive signal edge (S7-1200, S7-1500)
• –(N)–: Set operand on negative signal edge (S7-1200, S7-1500)
• P_TRIG: Scan RLO for positive signal edge (S7-1200, S7-1500)
• N_TRIG: Scan RLO for negative signal edge (S7-1200, S7-1500)
• R_TRIG: Detect positive signal edge (S7-1200, S7-1500)
• F_TRIG: Detect negative signal edge (S7-1200, S7-1500)
Timer operations
• TP: Generate pulse (S7-1200, S7-1500)
• TON: Generate on-delay (S7-1200, S7-1500)
• TOF: Generate off-delay (S7-1200, S7-1500)
• TONR: Time accumulator (S7-1200, S7-1500)
• —( TP )—: Start pulse timer (S7-1200, S7-1500)
• —( TON )—: Start on-delay timer (S7-1200, S7-1500)
• —( TOF )—: Start off-delay timer (S7-1200, S7-1500)
• —( TONR )—: Time accumulator (S7-1200, S7-1500)
• —( RT )—: Reset timer (S7-1200, S7-1500)
• —( PT )—: Load time duration (S7-1200, S7-1500)
Counter operations
Trang 26• IN_RANGE: Value within range (S7-1200, S7-1500)
• OUT_RANGE: Value outside range (S7-1200, S7-1500)
• —-I OK I—-: Check validity (S7-1200, S7-1500)
• —-I NOT_OK I—-: Check invalidity (S7-1200, S7-1500)
• MOD: Return remainder of division (S7-1200, S7-1500)
• NEG: Create twos complement (S7-1200, S7-1500)
• INC: Increment (S7-1200, S7-1500)
• DEC: Decrement (S7-1200, S7-1500)
• ABS: Form absolute value (S7-1200, S7-1500)
• MIN: Get minimum (S7-1200, S7-1500)
• MAX: Get maximum (S7-1200, S7-1500)
• LIMIT: Set limit value (S7-1200, S7-1500)
• SQR: Form square (S7-1200, S7-1500)
• SQRT: Form square root (S7-1200, S7-1500)
• LN: Form natural logarithm (S7-1200, S7-1500)
• EXP: Form exponential value (S7-1200, S7-1500)
• SIN: Form sine value (S7-1200, S7-1500)
Trang 27• COS: Form cosine value (S7-1200, S7-1500)
• TAN: Form tangent value (S7-1200, S7-1500)
• ASIN: Form arcsine value (S7-1200, S7-1500)
• ACOS: Form arccosine value (S7-1200, S7-1500)
• ATAN: Form arctangent value (S7-1200, S7-1500)
• FRAC: Return fraction (S7-1200, S7-1500)
• MOVE_BLK: Move block (S7-1200, S7-1500)
• MOVE_BLK_VARIANT: Move block (S7-1200, S7-1500)
• UMOVE_BLK: Move block uninterruptible (S7-1200, S7-1500)
• FILL_BLK: Fill block (S7-1200, S7-1500)
• UFILL_BLK: Fill block uninterruptible (S7-1200, S7-1500)
• SCATTER: Parse the bit sequence into individual bits (S7-1200, S7-1500)
• SCATTER_BLK: Parse elements of an ARRAY of bit sequence into individual bits (S7-1200, S7-1500)
• GATHER: Merge individual bits into a bit sequence (S7-1200, S7-1500)
• GATHER_BLK: Merge individual bits into multiple elements of an ARRAY of bit sequence (S7-1200, S7-1500)
• AssignmentAttempt: Attempt assignment of a VARIANT to a reference (S7-1500)
• CONVERT: Convert value (S7-1200, S7-1500)
• ROUND: Round numerical value (S7-1200, S7-1500)
• CEIL: Generate next higher integer from floating-point number (S7-1200, S7-1500)
• FLOOR: Generate next lower integer from floating-point number (S7-1200, S7-1500)
• TRUNC: Truncate numerical value (S7-1200, S7-1500)
• SCALE_X: Scale (S7-1200, S7-1500)
• NORM_X: Normalize (S7-1200, S7-1500)
Program control operations
Trang 28• —( JMP ): Jump if RLO = 1 (S7-1200, S7-1500)
• —( JMPN ): Jump if RLO = 0 (S7-1200, S7-1500)
• LABEL: Jump label (S7-1200, S7-1500)
• JMP_LIST: Define jump list (S7-1200, S7-1500)
• SWITCH: Jump distributor (S7-1200, S7-1500)
• –(RET): Return (S7-1200, S7-1500)
• Runtime control (S7-1200, S7-1500)
Word logic operations
• AND: AND logic operation (S7-1200, S7-1500)
• OR: OR logic operation (S7-1200, S7-1500)
• XOR: EXCLUSIVE OR logic operation (S7-1200, S7-1500)
• INVERT: Create ones complement (S7-1200, S7-1500)
• ROR: Rotate right (S7-1200, S7-1500)
• ROL: Rotate left (S7-1200, S7-1500)
Date and time-of-day
• T_COMP: Compare time tags (S7-1500)
• T_CONV: Convert times and extract (S7-1200, S7-1500)
• T_ADD: Add times (S7-1200, S7-1500)
• T_SUB: Subtract times (S7-1200, S7-1500)
• T_DIFF: Time difference (S7-1200, S7-1500)
• T_COMBINE: Combine times (S7-1200, S7-1500)
• Time-of-day functions (S7-1200, S7-1500)
String + Char
• S_MOVE: Move character string (S7-1200, S7-1500)
• S_COMP: Compare character strings (S7-1500)
• S_CONV: Convert character string (S7-1200, S7-1500)
Trang 29• STRG_VAL: Convert character string to numerical value (S7-1200, S7-1500)
• VAL_STRG: Convert numerical value to character string (S7-1200, S7-1500)
• Strg_TO_Chars: Convert character string to Array of CHAR (S7-1200, S7-1500)
• Chars_TO_Strg: Convert Array of CHAR to character string (S7-1200, S7-1500)
• MAX_LEN: Determine the length of a character string (S7-1200, S7-1500)
• JOIN: Join multiple strings (S7-1500)
• SPLIT: Splitting an array of characters into multiple strings (S7-1500)
• ATH: Convert ASCII string to hexadecimal number (S7-1200, S7-1500)
• HTA: Convert hexadecimal number to ASCII string (S7-1200, S7-1500)
• LEN: Determine the length of a character string (S7-1200, S7-1500)
• CONCAT: Combine character strings (S7-1200, S7-1500)
• LEFT: Read the left character of a character string (S7-1200, S7-1500)
• RIGHT: Read the right characters of a character string (S7-1200, S7-1500)
• MID: Read middle characters of a character string (S7-1200, S7-1500)
• DELETE: Delete characters in a character string (S7-1200, S7-1500)
• INSERT: Insert characters in a character string (S7-1200, S7-1500)
• REPLACE: Replace characters in a character string (S7-1200, S7-1500)
• FIND: Find characters in a character string (S7-1200, S7-1500)
• Runtime information (S7-1200, S7-1500)
Distributed I/O
• Overview of the types of data records (S7-1200, S7-1500)
• RDREC: Read data record (S7-1200, S7-1500)
• WRREC: Write data record (S7-1200, S7-1500)
• GETIO: Read process image (S7-1200, S7-1500)
• SETIO: Transfer process image (S7-1200, S7-1500)
• Program example for GETIO & SETIO (S7-1200, S7-1500)
• GETIO_PART: Read process image area (S7-1200, S7-1500)
• SETIO_PART: Transfer process image area (S7-1200, S7-1500)
• Program example for GETIO_PART & SETIO_PART (S7-1200, S7-1500)
• RALRM: Receive interrupt (S7-1200, S7-1500)
• D_ACT_DP: Enable/disable DP slaves (S7-1200, S7-1500)
• ReconfigIOSystem: Reconfigure IO system (S7-1200, S7-1500)
• Others (S7-1200, S7-1500)
PROFIenergy
Trang 30• Description of PROFIenergy (S7-1200, S7-1500)
• IO controller (S7-1200, S7-1500)
• iDevice / iSlave (S7-1200, S7-1500)
Interrupts
• ATTACH: Attach an OB to an interrupt event (S7-1200, S7-1500)
• DETACH: Detach an OB from an interrupt event (S7-1200, S7-1500)
• Gen_UsrMsg: Generate user diagnostic alarms (S7-1200, S7-1500)
• Program example for Get_Alarm & Ack_Alarms (S7-1200, S7-1500)
Diagnostics
• RD_SINFO: Read current OB start information (S7-1200, S7-1500)
• RT_INFO: Read out runtime statistics (S7-1500)
• LED: Read LED status (S7-1200, S7-1500)
• Get_IM_Data: Reading identification and maintenance data (S7-1200, S7-1500)
• GET_NAME: Read out name of an IO device or a DP slave (S7-1200, S7-1500)
• GetStationInfo: Read information of an IO device (S7-1200, S7-1500)
• GetChecksum: Read out checksum (S7-1200, S7-1500)
• GetSMCinfo: Reading out information about the SIMATIC memory card (S7-1500)
• GetClockStatus: Read out status of the CPU clock (S7-1500)
• DeviceStates: Read module status information in an IO system (S7-1200, S7-1500)
• ModuleStates: Read module status information of a module (S7-1200, S7-1500)
• GEN_DIAG: Generate diagnostics information (S7-1500)
• GET_DIAG: Read diagnostic information (S7-1200, S7-1500)
Pulse
• CTRL_PWM: Pulse-width modulation (S7-1200)
• CTRL_PTO: Output a pulse sequence with a preset frequency (S7-1200)
Recipes and data logging
• Recipe functions (S7-1200, S7-1500)
• Data logging (S7-1200, S7-1500)
Data block functions
Trang 31• CREATE_DB: Create data block (S7-1200, S7-1500)
• READ_DBL: Read from data block in the load memory (S7-1200, S7-1500)
• WRIT_DBL: Write to data block in the load memory (S7-1200, S7-1500)
• ATTR_DB: Read data block attribute (S7-1200, S7-1500)
• DELETE_DB: Delete data block (S7-1200, S7-1500)
• Program example for CREATE functions (S7-1200, S7-1500)
Addressing
• Instructions for address conversion (S7-1200, S7-1500)
• GEO2LOG: Determine hardware identifier from slot (S7-1200, S7-1500)
• LOG2GEO: Determine slot from hardware identifier (S7-1200, S7-1500)
• LOG2MOD: Determine the hardware identifier from addressing of STEP 7 V5.5 SPx (S7-1500)
• IO2MOD: Determine hardware identifier from an IO address (S7-1200, S7-1500)
• RD_ADDR: Determine IO addresses from the hardware identifier (S7-1200, S7-1500)
• System data type GEOADDR (S7-1200, S7-1500)
Trang 32ALARM
Trang 338 STEP STEP DEFINE
Trang 3574 SLD ONE DIGIT SHIFT
Trang 3698 RECV NETWORK RECEIVE
191 PIDAT PID CONTROL WITH
Trang 37223 IOWR INTELLIGENT I/O
TRANSMIT VIA SERIAL
COMMUNICATIONS UNIT
286 GETID GET VARIABLE ID
Trang 38302 LD =S LOAD SIGNED EQUAL
305 AND <> AND NOT EQUAL
305 LD <> LOAD NOT EQUAL
308 AND <>SL AND DOUBLE
SIGNED NOT EQUAL
308 LD <>SL LOAD DOUBLE
SIGNED NOT EQUAL
308 OR <>SL OR DOUBLE SIGNED
NOT EQUAL
310 AND < AND LESS THAN
310 LD < LOAD LESS THAN
310 OR < OR LESS THAN
311 AND <L AND DOUBLE LESS
THAN
Trang 39311 LD <L LOAD DOUBLE LESS
313 AND <SL AND DOUBLE
SIGNED LESS THAN
OR EQUAL
Trang 40318 LD <=SL
LOAD DOUBLE SIGNED LESS THAN
OR EQUAL
318 OR <=SL
OR DOUBLE SIGNED LESS THAN OR EQUAL
320 AND > AND GREATER THAN
323 LD >SL
LOAD DOUBLE SIGNED GREATER THAN
Trang 41326 LD >=L
LOAD DOUBLE GREATER THAN OR EQUAL
326 OR >=L
OR DOUBLE GREATER THAN OR EQUAL
327 AND >=S
AND SIGNED GREATER THAN OR EQUAL
327 LD >=S
LOAD SIGNED GREATER THAN OR EQUAL
327 OR >=S
OR SIGNED GREATER THAN OR EQUAL
328 AND >=SL
AND DOUBLE SIGNED GREATER THAN OR EQUAL
328 LD >=SL
LOAD DOUBLE SIGNED GREATER THAN OR EQUAL
328 OR >=SL
OR DOUBLE SIGNED GREATER THAN OR EQUAL
329 AND =F AND FLOATING
Trang 42332 AND <=F AND FLOATING LESS
THAN OR EQUAL
332 LD <=F
LOAD FLOATING LESS THAN OR EQUAL
334 LD >=F
LOAD FLOATING GREATER THAN OR EQUAL
334 OR >=F
OR FLOATING GREATER THAN OR EQUAL
336 LD <>D
LOAD DOUBLE FLOATING NOT EQUAL
336 OR <>D
OR DOUBLE FLOATING NOT EQUAL
337 AND <D
AND DOUBLE FLOATING LESS THAN
337 LD <D
LOAD DOUBLE FLOATING LESS THAN
Trang 43337 OR <D
OR DOUBLE FLOATING LESS THAN
338 AND <=D
AND DOUBLE FLOATING LESS THAN OR EQUAL
338 LD <=D
LOAD DOUBLE FLOATING LESS THAN OR EQUAL
338 OR <=D
OR DOUBLE FLOATING LESS THAN OR EQUAL
339 AND >D
AND DOUBLE FLOATING GREATER THAN
339 LD >D
LOAD DOUBLE FLOATING GREATER THAN
339 OR >D
OR DOUBLE FLOATING GREATER THAN
340 AND >=D
AND DOUBLE FLOATING GREATER THAN OR EQUAL
340 LD >=D
LOAD DOUBLE FLOATING GREATER THAN OR EQUAL
340 OR >=D
OR DOUBLE FLOATING GREATER THAN OR EQUAL
341 AND = DT AND TIME EQUAL
341 LD = DT LOAD TIME EQUAL
342 OR <> DT OR TIME NOT EQUAL
343 AND < DT AND TIME LESS
THAN
Trang 44343 LD < DT LOAD TIME LESS
THAN
343 OR < DT OR TIME LESS THAN
344 AND <= DT AND TIME LESS
350 AND TST AND BIT TEST
350 LD TST LOAD BIT TEST
350 OR TST OR BIT TEST
351 AND TSTN AND BIT TEST NOT
351 LD TSTN LOAD BIT TEST NOT
351 OR TSTN OR BIT TEST NOT
WITHOUT CARRY
DOUBLE SIGNED BINARY ADD WITHOUT CARRY
WITH CARRY
Trang 45403 +CL
DOUBLE SIGNED BINARY ADD WITH CARRY
413 –CL DOUBLE SIGNED BINARY SUBTRACT
Trang 46450 FIX FLOATING TO 16-BIT
451 FIXL FLOATING TO 32-BIT
Trang 47461 COS COSINE
499 MVNL DOUBLE MOVE NOT
502 BCMP2 EXPANDED BLOCK
COMPARE
510 CJP CONDITIONAL JUMP
511 CJPN CONDITIONAL JUMP
513 NEXT FOR-NEXT LOOPS