emcon_comm

Purpose:

Communicate with an EMCON6 AVL Dyno system, allowing control and data to switch between the EMCON6 and CyFlex system.

Enter:

emcon_comm priority [s=/specfile] [i=ip_address] [p=port] [tcp | udp] [+c]

Where:

priority

Required. This specifies the priority of the task.

specfile

Optional. Specify a specification filename. The default is /specs/emcon_specs.

ip_address

Optional. Specify the IP address to communicate through. The default is 10.1.1.2.

port

Optional. Specify the a port to communicate through. The default is 4753.

tcp | udp

Optional. Specify whether to use TCP protocol or UDP protocol. The default is UDP.

+c Optional. Specify this flag to indicate this is a critical task. This means the CyFlex watchdog will stop toggling if an issue occurs.

 

Example:

emcon_comm 20 &

The above uses the default specfile /specs/emcon_specs, default IP 10.1.1.2, default port 4753, using the UDP protocol, and has priority 20.

emcon_comm 20 s=/specs/ERIC_specs i=10.1.1.100 p=5478 tcp &

The above uses the specfile /specs/ERIC_specs, IP 10.1.1.100, port 5478, using the TCP protocol.

emcon_comm 20 +c &

This above uses the default specfile /specs/emcon_specs, default IP 10.1.1.2, default port 4753, using the UDP protocol. This task will also be monitored by the scheduler, and if this task dies, the watch_dog will die.

Notes:

The ‘+c’ argument must be the final argument if it is used.

 

See Also: