You are on page 1of 14

Translated from Chinese (Simplified) to English - www.onlinedoctranslator.

com

FK3U-32MT-6AI2AO(transparent shellPLC)
1. Specifications:

Internal components

PLC type

Input power DC24 DC 24V

Program steps 8000 steps; 2 communication ports: 1 RS232 (standard 9-pin serial port FX3u protocol 38400, 7, E,

1) 1 RS485

Input pointX component X0-X17, DC24 input, active low level. Among them, X0-5 is the high-speed counting input port (12KHZ).

Output point Y component Y0-Y17 are transistor outputs, and Y0~Y7 are 100K pulse outputs. If Y0~Y7 is needed, it needs to be
The load requires an external reverse diode

Y10~Y17Can directly drive large loads


Analog input 6 analog inputs, 12-bit accuracy, AD0~AD2 are voltage inputs: 0-10V, AD3~AD5 are 0-20MA current inputs;

use the RD3A instruction to read analog quantities

Analog output 2 analog outputs, 12-bit accuracy, output voltage: 0-10V. Use the WR3A instruction to output analog voltage

Intermediate relay M M0-M3071, the power-off saving range can be set to M0-M1023

Step point S S0-1023, the power-off saving range can be set to S0-S1023

100Ms timer T0-T199, cumulative power-down storage T184-T199

10Ms timer T200-T249, cumulative power-down storage T246-T249

1Ms timer T250-T383, of which T250-255 is cumulative type

16-bit counter C0-C199, save C100-199 when power off

32-bit counter C200-C219, save C220-C234 after power off

32-bit high-speed counter C235-255; C235-240 is a single-phase counter, without frequency multiplication; C241-240 is a single-phase counter, with frequency multiplication by 2; C247-249

is a two-phase counter, without frequency multiplication; C250-252 is a two-phase counter, with frequency multiplication by 2 ;C253- is a two-phase counter, 4

times the frequency;

Register D D0-D7999, the power-off saving range can be set to D0-7999,

Indirect addressing pointer V, V0-7, Z0-7

P subroutine jump number P0-63

I interrupt X0-5 external interrupt. Timer interrupt (1MS unit). Counter interrupt.

Special M components M8000 is normally closed during operation, M8002 has a power-on pulse, M8011 has a 10Ms pulse, and M8012 has a 100Ms pulse.
2. Basic instructions
Mnemonic Function

LD Operation starts normally open contact

LDI Operation starts normally closed contact

LDP Rising edge detection operation starts

LDF Falling edge detection operation starts

AND Series normally open contacts

ANI Series normally closed contacts

ANDP Rising edge detection series connection

ANDF Falling edge detection series connection

OR Parallel normally open contacts

ORI Parallel normally closed contacts

ORP Rising edge detection parallel connection

ORF Falling edge detection parallel connection

ANB Series connection between circuit blocks

ORB Parallel connection between circuit blocks

OUT Coil output driver

SET coil action hold

RST Release coil action hold

PLS Coil rising edge output

PLF Coil falling edge output

ALT Alternate output

MC Coil instructions for common string connection points

MCR Public contact release command

MPS Operational storage

MRD Storage readout

MPP Memory readout and reset

INV Negate the operation result

END End of program

STL Step ladder diagram starts

RET End of step ladder diagram

CALL Call subroutine

SRET Program subroutine


3. Application instructions

point refer to Function

kind make
help
remember

symbol

Procedure CJ Conditional jump

sequence

flow CALL subroutine call

Procedure
SRET Subroutine returns

FEND Main program ends

FOR Start of loop range

NEXT End of cycle range

pass CMP Compare

deliver

and ZCP regional comparison

Compare
MOV transmit
compare

CML Reverse teleportation

BMOV Send together

FMOV multicast

XCH exchange

BCD BCD conversion

BIN BIN conversion

Four ADD BIN addition

but
logic
SUB BIN subtraction

edit
MUL BIN multiplication
transport

Calculate DIV BIN division

INC BIN plus 1

DEC BIN minus 1

WAND logical word AND

WPR Logical OR

WXOR Logical word XOR

NEG Find the complement

follow ROR Cycle right


ring
shift
ROL Cycle left
Bit RCR right shift

RCL left shift

SFTL Bit shift left

SFTR Bit shift right


point command mnemonic Function

kind

ZRST batch reset

MEAN average value

FLT BIN integer → binary floating point number conversion

GRY BIN integer→Gray code conversion

GBIN Gray code→BIN integer

DHSCS High speed compare set

DHSCR High speed comparison reset

SPD Pulse density and pulse width (pulse interval time) can also be measured

PLSY Pulse output

PLSV With direction control pulse output

PWM Pulse width modulation, 0-32767us

PLSR Pulse output with acceleration and deceleration

DRVA absolute position control

DRVI Relative position control

ZRN Return to origin, only supports 16-bit instructions

DSZR Origin return with DOG search

DVIT Interrupt positioning

ABSD Cam control (absolute mode)

RS serial data transfer

ASCI HEX-ASCII conversion

HEX ASCII-HEX conversion

CCD Check code

PID PID operation

SEGD BCD to 7-segment digital tube

ECMP Comparison of binary floating point numbers

EZCP Binary floating point range comparison

EBIN Decimal floating point number to binary floating point number conversion

EADD Addition of binary floating point numbers

ESUB Subtraction of binary floating point numbers

EMUL Multiplication of binary floating point numbers

EDIV Division of binary floating point numbers

INT Binary floating point number-BIN integer conversion

SIN Floating point SIN operation

TAN Floating point TAN operation

COS Floating point COS operation

ASIN Floating point number SIN-1 operation

ATAN Floating point number TAN-1 operation

ACOS Floating point COS-1 operations

EXP Binary floating point number exponential operation

LOGE Natural logarithm operation of binary floating point numbers

LOGE10 Commonly used logarithmic operations for binary floating point numbers

SWAP Up and down byte conversion


SER Data lookup

ALT Alternate output

RAMP ramp signal

BON ON bit judgment

SUM ON number of digits

ANS alarm set


ANR alarm reset

HOUR chronometer

TCMP Clock data comparison

TRD Clock data readout

TWR Clock data writing

LD= (S1=(S2)
LD> (S1)>(S2)
LD< (S1)<(S2)
LD◇ (S1)≠(S2)
LD≦ (S1)≤(S2)
LD≧ (S1)≥(S2)
AND= (S1=(S2)
AND> (S1)>(S2)
AND< (S1)<(S2)
AND◇ (S1)≠(S2)
AND≦ (S1)≤(S2)
AND≧ (S1)≥(S2)
OR= (S1=(S2)
OR> (S1)>(S2)
OR< (S1)<(S2)
OR◇ (S1)≠(S2)
OR≦ (S1)≤(S2)
OR≧ (S1)≥(S2)

Note: Supports 32-bit instructions and pulse execution instruction P.


Four,FX3u-32MT-6AI2AO wiring diagram:

5. Description of host with analog input and output

1. Analog reading instructions:


2. Analog output instructions:

6. Clock module description: when setting the clockM8015Should be set to resume operationM8015reset.D8018 for the

year,D8017for the month,D8016For the day,D8019for the week,D8015is the hour,D8014is minutes, D8013is seconds.

Clock data read instructions can be usedTRDRead clock data into general registers, or use clock write instructionsTWRTo

modify the clock, use this instruction without setting the bit.M8015.

seven,PIDOperation instruction description:

This command is used to performPIDcontrollingPIDArithmetic

program. S1: The set target value;S2:Current value (the value

;
returned by feedback)

S3:PIDcontrol parameters, occupyS3starting sequence9indivualDregister.S3forPIDchannel number;S3+1is the

proportional coefficientKP;S3+2is the integral coefficientKI;S3+3is the differential coefficientKD;S3+4 is the error

coefficientKE, Only perform if the error is greater than this valuePIDdeal with; S3+5Output upper limit valuePMAX;

S3+6Output lower limit valuePMIN;S3+7spare;S3+8spare;D: Control value output;


eight,CANAutomatic communication between hosts:(Optional function, mainly for online use)

data exchange area Station No data exchange Station No data exchange area

Station No district

0 D3500-3515 8 16
1 D3516-3531 9 17
2 D3532-3547 10 18
3 D3548-3563 11 19
4 D3564-3579 12 20
5 D3580-D3595 13 twenty one

6 D3596-D3611 14 twenty two

7 15 twenty three

CAN Communication example:LD M8002say //Power on and execute once

SET M8181 //CANHost communication permission

MOV K0 D8121 //Assume the station number is0

Station No0ofPLCJust askD3500-3515Write data, other station numbersPLCJust read itselfD3500-3515 The data is equal
to the reading station number0ofD3500-3515data. Station No0ofPLCread itselfD3516-3531The data is equal to reading the
station number1ofD3516-3531data.
During CAN communication, the CAN_H between hosts must be connected to the CAN_H of other PLCs, and CAN_L must be connected to the CAN_L of other PLCs. When the

transmission distance is long, the terminal resistor on the PLC board must be connected, and the corresponding DIP switch (2 digits in the upper left corner that) is in the ON position.

Nine,RS232Communication port: Default communication protocol:FX3u,38400,7,E,1

have38400/9600resistance baud rate38400

none38400/9600resistance baud rate9600

10. Serial data transmission:

Special mail illustrate Special relay illustrate

live

D8120 RS485Communication format definition M8121 Set when data is sent, automatically reset after sending.

D8121 RS485Communication station number setting M8122 Send a request whenM8122When set, the communication port will be opened once it is

free.

D8122 Remaining number of sent data M8123 Data reception completed flag, this bit automatically starts after receiving a frame of data.

move
M8124 Set during data reception and reset after data reception

M8129: Communication timeout mark, when the master sends a command, the slaveD8129No response within time,M8029will be set
The corresponding communication parameters of D8120 are as follows:

bit number name content

0 (bit OFF) 1 (bit ON)

B0 Data length 7 bits 8 bits

B1 Parity bit b2 b1
B2 (0, 0): No check
(0, 1): odd ODD
(1, 1): Even parity EVEN

B3 Stop bit 1 person 2 digits

B4 Transmission rate b7 b6 b5 b4 b7 b6 b5 b4
B5 bps {0, 0, 1, 1}: 300 {0, 1, 1, 1}: 4800
B6 {0, 1, 0, 0}: 600 {1, 0, 0, 0}: 9600
B7 {0, 1, 0, 1}: 1200 {1, 0, 0, 1}: 19200
{0, 1, 1, 0}: 2400 {1, 0, 1, 0}: 38400

B8 Starter none Yes (D8124)


B9 terminator none Yes (D8125)
B10 unavailable
B11

B12 letter of agreement B15 b14 b13 b12


B13 {0, 0, 0, 0}: Mitsubishi FX2N protocol
B14 (slave) {0, 1, 0, 0}: MODBUS RTU (slave)
B15 {1, 0, 0, 0}: MODBUS RTU (host, IVRD, IVWR command) {1, 1, 0,
0}: free communication (RS command, verified with CCD)
When M8120 is reset and RS is executed, the given parameters are for the RS485 port. When M8120 is set and RS is

executed, the given parameters are for the RS485 port. RS232 port.

CCDinstruction:
bySThe specified component is the startingnpoint data, and sum the sum of each bit of data withCRCThe verification data is stored inD.

andD.+2,D.+3. This example and verification are placed inD0middle,CRCChecksum is placed inD2,D3middle. 11. Communication with frequency

converter or instrument:

Read:

D0is the read station number (high8bit) and command code (low8bit), such asD0The value isH103,It's the station number
1,read command3.D1is the data address to be read,D2To receive the first address of the data returned by the

frequency converter or instrument, the data is received, if it is a channel0,M8123will be set.H1,high8bit channel, low8

Number of bits to read. through channel0(485channel), read1data. if bitH101, that is, through the channel (RS232

aisle)1read1data.

Write:

D0is the station number written (high8bit) and command code (low8bit), such asD0The value isH106,It's the station number

1,Write a single data command6.D1is the data address to be written,D2It is the first address for writing

frequency converter or instrument data.H1,high8Bit is channel, low8Number of bits written. through channel0(

485channel), write1 data. if yesH101, that is, through the channel (RS232aisle)1write1data. Writing

completedM8122Automatic reset.

12. High-speed counting: SPD instruction (supports resolution.

count input Single phase counting upward, downward count input Single phase 2 times upward, downward

device count frequency count

Number Count direction switch Counter number Count direction switch

X0 C235 M8235 X0 C241 M8241


X1 C236 M8236 X1 C242 M8242
X2 C237 M8237 X2 C243 M8243
X3 C238 M8238 X3 C244 M8244
X4 C239 M8239 X4 C245 M8245
X5 C240 M8240 X5 C246 M8246

count input bipolar 2 times upward, downward count input biphasic 4 times upward, downward

Counter number number direction ( Counter number number direction (

read) read)

X0 (Phase A) C250 M8250 X0 (Phase A) C253 M8253


X1 (B phase) X1 (B phase)
X2 (A phase) C251 M8251 X2 (A phase) C254 M8254
X3 (B phase) X3 (B phase)
X4 (Phase A) C252 M8252 X4 (Phase A) C255 M8255
X5 (B phase) X5 (B phase)

C247 (X0, X1), C248 (X2, X3), 249 (X6, X7) are two-phase counters without frequency multiplication. 13.

High-speed pulse output and pulse width modulation: supports 8 channels of pulse output Y0-7 (PLS Y,

PLSV, PLSR, DRVA, DRVI, ZRN, DSZR, DVIT) or 6 channels of pulse width modulation Y0-5 (PWM), Frequency 100

K.
pulse lose lose pulse lowest DSZR,
Addition and subtraction DVIT origin origin ZRN
rush pulse mark end Frequency time DVIT Break input return speed Return to climb flowing pulse

Rush number Rate direction land Spend speed number

0-17
Y0 D8132 M8147 M8141 D8144 D8145 M8080 D8080 D8220 D8090 D8072
Y1 D8134 M8148 M8142 D8146 D8147 M8081 D8081 D8221 D8091 D8073
Y2 D8136 M8149 M8143 D8148 D8149 M8082 D8082 D8222 D8092 D8074
Y3 D8138 M8150 M8144 D8150 D8151 M8083 D8083 D8223 D8093 D8075
Y4 D8140 M8151 M8145 D8152 D8153 M8084 D8084 D8224 D8094 D8076
Y5 D8142 M8152 M8146 D8154 D8155 M8085 D8085 D8225 D8095 D8077
Y6 D8166 M8153 M8155 D8156 D8157 M8086 D8086 D8226 D8096 D8078
Y7 D8168 M8154 M8156 D8158 D8159 M8087 D8087 D8227 D8097 D8079

14. Interruption description:

1. External interrupts support X0-X5. The interrupt numbers are as follows:

rising edge falling edge Interrupt disabled

X0 I0 I1 M8050
X1 I100 I101 M8051
X2 I200 I201 M8052
X3 I300 I301 M8053
X4 I400 I401 M8054
X5 I500 I501 M8055

2. The timer interrupt pointer is I600, and the interrupt disable is M8056.
Interruption time range I601 (1MS)-I699 (99MS).

3. Counter interrupt pointer

pointer number Interrupt disabled

I10 M8059
I20
I30
I40
I50
I60

15. Description of third-party programming software: Compatible with programming software GX Developer7.8 or
Versions 8.52 and 8.86, create a new project:

Set the program steps to 8000 steps:

Online, transmission settings, set download communication port and baud rate:

Enter the ladder diagram editing interface and write your program:
Download program: Select the program and press Execute to start downloading

You might also like