ioPAC RTU Controllers
C/C++ Sample Code Programming Guide
|
ioPAC8600 SNMP Agent Application TAG Sample More...
#include "libmoxa_rtu.h"
Functions | |
void | usage (void) |
int | main (int argc, char *argv[]) |
ioPAC8600 SNMP Agent Application TAG Sample
Introduction: Check DI0 and DI15 status and update to IR tag which is monitor by snmp tagtable Please use mib browser to monitor snmp tagtable Example: ./ioPAC8600_snmp_agent_service Help:
root@Moxa:/tmp#./ioPAC8600_snmp_agent_service -h SNMP agent service program. Usage: ./ioPAC8600_snmp_agent_service [OPTIONS] Options: -i Slot of DI module [1-9]. Using with -i. Default value: 1 Ex. ./ioPAC8600_snmp_agent_service -i 1
Library:
TAG APIs
RTUxpress Project file:
ioPAC8600_snmp_agent_service.rtu
(Please right click on the link and ‘Save Target As…’ to save RTUxpress project file and open it with RTUxpress utility)
void usage | ( | void | ) |
int main | ( | int | argc, |
char * | argv[] | ||
) |