Hitachi PLC Function Code Table

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Hitachi PLC Function Code Table

[FUN commands] No. Command format Command name EH-150 H-64 H-200 H-250 H-252 H-2000 H-2002 H-4010 to H-700 H-1002 H-20 H-300 H-702 H-302 o o o o o o o x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x o o o x o o o o o o o o o o o o o o x x x x x x x x x x x x x x x x x x o o o x o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

FUN 0 (s) (PIDIT (s)) FUN 1 (s) (PIDOP (s)) FUN 2 (s) (PIDCL (s)) FUN 4 (s) (IFR (s)) FUN 10 (s) (SIN (s)) FUN 11 (s) (COS (s)) FUN 12 (s) (TAN (s)) FUN 13 (s) (ASIN (s)) FUN 14 (s) (ACOS (s)) FUN 15 (s) (ATAN (s)) FUN 20 (s) (DSRCH (s)) FUN 21 (s) (TSRCH (s)) FUN 30 (s) (BINDA (s)) FUN 31 (s) (DBINDA (s)) FUN 32 (s) (BINHA (s)) FUN 33 (s) (DBINHA (s)) FUN 34 (s) (BCDDA (s)) FUN 35 (s) (DBCDDA (s)) FUN 36 (s) (DABIN (s))

PID operation initialization PID operation execution control PID operation execution Process stepping SIN function COS function TAN function ARC SIN function ARC COS function ARC TAN function Data search Table search Binary decimal ASCII conversion (16 bit) Binary decimal ASCII conversion (32 bit) Binary hexadecimal ASCII conversion (16 bit) Binary hexadecimal ASCII conversion (32 bit) BCD decimal ASCII conversion (16 bit) BCD decimal ASCII conversion (32 bit) Without signed 5 digit Decimal ASCII conversion binary conversion Signed 10 digit Decimal ASCII conversion binary conversion 4 digit hexadecimal ASCII binary conversion 8 digit hexadecimal ASCII binary conversion 4 digit decimal ASCII BCD conversion 8 digit decimal ASCII BCD conversion Hexadecimal binary ASCII conversion (digit designation) Hexadecimal ASCII binary conversion (digit designation) Character unit Character relational Word Byte byte conversion word conversion

19

20

FUN 37 (s) (DDABIN (s))

FUN 38 (s) (HABIN (s)) FUN 39 (s) 22 (DHABIN (s)) FUN 40 (s) 23 (DABCD (s)) FUN 41 (s) 24 (DDABCD (s)) 21 FUN 42 (s) 25 (ASC (s)) 26 27 28 29 30 31 32 33 34 35 36 37 FUN 43 (s) (HEX (s)) FUN 44 (s) (ASDD (s)) FUN 45 (s) (SCMP (s)) FUN 46 (s) (WTOB (s)) FUN 47 (s) (WTOW (s)) FUN 48 (s) (BSHR (s)) FUN 49 (s) (BSHL (s)) FUN 50 (s) (TRSET (s)) FUN 51 (s) (TRACE (s)) FUN 52 (s) (TRRES (s)) FUN 60 (s) (BSQR (s)) FUN 61 (s) (PGEN (s))

x x x x x

x x x x x

x x x x x

o o o o o

x x x x x

o o o o o

o o o o o

x x x x x x x x o o o x x x x x x x x

x x x x x x x x x x x x o o o o o x x x x x x x x x x x

x x x x x x x x x x x x x x x x x x x x x x x x x x x x

x x x x x x x x x x x x x x x x x x x x x x x x x x x x

o o o o o o o o o o o o x x x x x o o o x x x x x x x x

x x x x x x x x x x x x x x x x x x x x x x x x x x x x

o o o o o o o o o o o o x x x x x x x x x x x x x x x x

o o o o o o o o o o o o x x x x x o o o o o x x x x x o

Byte unit right shift Byte unit left shift Sampling trace set Sampling trace execution Sampling trace reset Binary square Dynamic scan pulse High-speed counter mode set High-speed counter process value read High-speed counter process value write High-speed counter set value read High-speed counter set value write I/O refresh (All points) I/O refresh (Input/output designation) I/O refresh (Any slot)

38 FUN 70 (s) 39 FUN 71 (s) 40 FUN 72 (s) 41 FUN 73 (s) 42 FUN 74 (s) FUN 80 43 (ALREF) 44 FUN 81 (IOREF) 45 FUN 82 (SLREF)

Expansion timer initial setting 47 FUN 91 (ETD) Expansion timer execution Expansion 48 FUN 92 (ECUIT) counter/up-down counter initial setting Expansion counter 49 FUN 93 (ECU) execution Expansion up-down 50 FUN 94 (ECTU) counter up execution Expansion up-down 51 FUN 95 (ECTD) counter down execution 52 FUN 96 (ECL) Expansion counter clear FUN 97 53 Expansion link area read (WNRED) 46 FUN 90 (ETDIT)

1 sur 2

54

FUN 98 (WNWRT)

Expansion link area write

Flow decimal point operation (real number 55 FUN 100 (INT) integral number (word) conversion) Flow decimal point operation (real number 56 FUN 101 (INTD) integral number (double word) conversion) Flow decimal point FUN 102 operation (integral number 57 (FLOAT) (word) real number conversion) Flow decimal point FUN 103 operation (integral number 58 (FLOATD) (double word) real number conversion) FUN 104 Flow decimal point 59 (FADD) operation (addition) FUN 105 Flow decimal point 60 (FSUB) operation (subtraction) FUN 106 Flow decimal point 61 (FMUL) operation (multiplication) Flow decimal point 62 FUN 107 (FDIV) operation (division) Flow decimal point FUN 108 63 operation (angle radian (FRAD) conversion) Flow decimal point FUN 109 64 operation (radian angle (FDEG) conversion) Flow decimal point 65 FUN 110 (FSIN) operation (SIN) FUN 111 Flow decimal point 66 (FCOS) operation (COS) FUN 112 Flow decimal point 67 (FTAN) operation (TAN) FUN 113 Flow decimal point 68 (FASIN) operation (ARC SIN) FUN 114 Flow decimal point 69 (FACOS) operation (ARC COS) FUN 115 Flow decimal point 70 (FATAN) operation (ARC TAN) FUN 116 Flow decimal point 71 (FSQR) operation (square) FUN 117 Flow decimal point 72 (FEXP) operation (characteristic) Flow decimal point FUN 118 73 operation (napierian (FLOG) logarithm) FUN 120 74 Index setting (argument d) (INDXD) FUN 121 75 Index setting (argument s) (INDXS) FUN 122 76 Index cancel (INDXC) 77 FUN 123 (INC) Increment (INC) Double word increment 78 FUN 124 (INCD) (DINC) 79 FUN 125 (DEC) Decrement (DE C) FUN 126 Double word decrement 80 (DECD) (DECD) FUN 127 Expansion of bit data to 81 (BITTOW) word data FUN 128 Expansion of word data to 82 (WTOBIT) bit data FUN 133 File memory block 83 (FIBMOV) transfer FUN 134 File memory block 84 (FIBCHG) exchange FUN 135 File memory word unit 85 (FIWRED) read FUN 136 File memory word unit 86 (FIWWRT) write FUN 200 X, Y area read/write 87 (XYR/W) command FUN 201 Status control area 88 (SCR/W) read/write command FUN 210 (s) Initial setting for data 89 (LOGIT (s)) logging FUN 211 (s) 90 Log data write (LOGWRT (s)) FUN 212 (s) 91 Log data clear (LOGCLR (s)) FUN 213 (s) 92 Log data read (LOGRED (s)) FUN 254 (s) (BOXC (s)) FUN 255 (s) 94 (MEMC (s)) 93 * o : Supported BOX comment Memo comment

x x x x x

x x x x x

x x x x x

x x x x x

x x x x x

x x x x x

o o o o o

x x x x o o

x x x x x x x x x x x x x x x x x x x x x x x x x x x x x o o

x x x x x x x x x x x x x x x x x x x x x x x x x x x x x o o

x x x x x x x x x x x x x x x x x x x x x x x x x x x x x o o

x x x x x x x x x x x x x x x x x x x x x x x x x x x x x o o

x x x x x x x x x x x x x x x x x x x x x x x x x x x x x o o

x x x x x x x x x x x x x x x x x x x x x x x x x x x x x o o

o o o o o o o o o o o o o o o o o o o o o o o x x x x x x o o

x: Not Supported

: The EH-CPU448 is supported

: The EH-CPU308, 316 and 448 are supported.

2 sur 2

You might also like