![background image](http://html1.mh-extra.com/html/omron/srm1-programing-02-2001/srm1-programing-02-2001_programming-manual_742414580.webp)
Appendix A
Programming Instructions
563
Code
Page
CPU Units
Function
Name
Mnemonic
---
PID
PID CONTROL
Performs PID control based on the specified
parameters.
Use the Programming Console or SSS to ac-
cess this instruction for the SRM1(-V2).
All
(But, Ver-
sion 2 only
for SRM1)
426
---
(@)PWM
PULSE WITH VARIABLE
DUTY RATIO
Outputs pulses with the specified duty ratio (0%
to 99%) from port 1 or 2.
CPM2A/
CPM2C
494
---
(@)SCL2
SIGNED BINARY TO BCD
SCALING
Linearly converts a 4-digit signed hexadecimal
value to a 4-digit BCD value.
CPM2A/
CPM2C
423
---
(@)SCL3
BCD TO SIGNED BINARY
SCALING
Linearly converts a 4-digit BCD value to a 4-digit
signed hexadecimal value.
CPM2A/
CPM2C
424
---
(@)SEC
HOURS TO SECONDS
Converts hour and minute data to second data.
CPM2A/
CPM2C
453
---
(@)SRCH
DATA SEARCH
Searches the specified range of memory for the
specified data. Outputs the word address(es) of
words in the range that contain the data.
CPM2A/
CPM2C
471
---
(@)STUP
CHANGE RS-232C
SETUP
Changes the communications parameters in the
PC Setup for a specified port.
All
509
---
(@)SUM
SUM CALCULATE
Computes the sum of the contents of the words
in the specified range of memory.
CPM2A/
CPM2C
478
---
SYNC
SYNCHRONIZED PULSE
CONTROL
Multiplies an input pulse frequency by a fixed
scaling factor and outputs pulses from the speci-
fied output bit at the resulting frequency.
CPM2A/
CPM2C
496
---
TIML
LONG TIMER
A decrementing ON-delay timer with SV of up to
99,990 s
CPM2A/
CPM2C
392
---
TMHH
VERY HIGH-SPEED
TIMER
A high-speed, decrementing ON-delay timer that
times in 1-ms units
CPM2A/
CPM2C
391
---
ZCP
AREA RANGE COMPARE
Compares a word to a range defined by lower
and upper limits and outputs the result to the
GR, EQ, and LE flags.
Use the Programming Console or SSS to ac-
cess this instruction for the SRM1(-V2).
All
(But, Ver-
sion 2 only
for SRM1)
437
---
ZCPL
DOUBLE AREA RANGE
COMPARE
Compares an 8-digit value to a range defined by
lower and upper limits and outputs the result to
the GR, EQ, and LE flags.
CPM2A/
CPM2C
438