Guest User

Untitled

a guest
Feb 22nd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. PNIO_DEV_ADDR addr;
  2. addr.AddrType = PNIO_ADDR_GEO; //Para IO Device
  3. addr.IODataType = PNIO_IO_OUT; //Escritura en PLC
  4. addr.u.Geo.Slot = (int)(numericUpDownSlot->Value);
  5. addr.u.Geo.Subslot = (int)(numericUpDownSubslot->Value);
  6.  
  7. CP1626::write(&addr);
Add Comment
Please, Sign In to add comment