3-7
I/O Function Instructions
FUN
No.
Name Operand
Derivative
instruction
Function descriptions
74 IMDIO D,N P Update the I/O signal on the main unit immediately
76 TKEY IN,D,KL D Convenient instruction for 10 numeric keys input
77 HKEY IN,OT,D,KL D Convenient instruction for 16 keys input
78 DSW IN,OT,D D Convenient instruction for digital switch input
79 7SGDL S,OT,N D Convenient instruction for multiplexing 7-segment display
80 MUXI IN,OT,N,D Convenient instruction for multiplexing input instruction
81 PLSO
MD, Fr, PC
UY,DY,HO
D Pulse output function (for bi-directional drive of step motor)
82 PWM TO,TP,OT Pulse width modulation output function
83 SPD S,TI,D Speed detection function
84 TDSP
S,Yn,Dn,
PT,IT,WS
7/16-segment LED display control
86 TPCTL
Md,Yn,Sn,Zn,
Sv,Os,PR
IR,DR,OR,WR
PID Temperature control
139 HSPWM
PW,OP,RS,
PN,OR,WR
Hardware PWM pulse output
Cumulative Timer Function Instructions
87 T.01S CV,PV Cumulative timer using 0.01S as the time base
88 T.1S CV,PV Cumulative timer using 0.1S as the time base
89 T1S CV,PV Cumulative timer using 1S as the time base
Watch Dog Timer Control Function Instructions
90 WDT N P Set the WDT timer time out time to N mS
91 RSWDT P Reset the WDT timer to 0
High Speed Counter Control Function Instructions
92 HSCTR CN P
Read the current CV value of the hardware HSCs, HSC0~HSC3, or
HST on ASIC to the corresponding CV register in the PLC
respectively
93 HSCTW CN,D P
Write the CV or PV register of HSC0~HSC3 or HST in the PLC to
CV or PV register of the hardware HSC or HST on ASIC respectively
Report Function Instructions
94 ASCWR MD,S,Pt
Parse and generate the report message based on the ASCII
formatted data starting from the address S. Then report message will
send to port1