CTEK Automation Control Application APN007 User Manual

Page 44

Advertising
background image

Application Note – Automation Control Application

APN007 25 July, 2014

39

Parameters = o 6 u 1

Numeric I/O – Set

Numeric I/O – Set

P1 P2 P3 P4

P1 and P2 define the destination that is being set while P3 and P4 define the source

P1 = i for input or o for output (Must be numeric)
P2 = pin number (Must be numeric)
P3 = i for input, o for output or u for user defined value
P4 = pin number or user defined value

Example: Setting numeric input pin 12 to the value of numeric output pin 9
Action: Numeric I/O – Set
Parameters: i 12 o 9

Math functions

Numeric I/O – Add P1 P2 P3 P4
Numeric I/O – Subtract P1 P2 P3 P4
Numeric I/O – Multiply P1 P2 P3 P4
Numeric I/O – Divide P1 P2 P3 P4

P1 and P2 define the destination that is being set while P3 and P4 define the source

P1 = i for input or o for output (numeric)
P2 = pin number (numeric)
P3 = i for input, o for output or u for user defined value
P4 = pin number or user defined value

Example: Add 1200.77 to input pin 17 and place the result on output pin 17
Action: Numeric I/O – Add
Parameter: o 17 u 1200.77

Example: Multiple input pin 14 by input pin 15 and place the result on input pin 14
Action: Numeric I/O – Multiply
Parameter: i 14 i 15

Advertising