We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm not sure if this is the rigth place for a question... can anyone help me with using this wonderful library in a express api
const express = require('express'); const router = express.Router(); var fins = require('../lib/index');
var client = fins.FinsClient(9600, '172.16.103.125');//plc address
router.get('/', (req, res) => { res.send('data from PLC');//here I'd like to send back to the client the values from the PLC });
The text was updated successfully, but these errors were encountered:
in the meantime I expanded the MemoryAreas with the most common used. It works!
module.exports.MemoryAreas = { 'E' : 0xA0,//Extended Memories 'C' : 0xB0,//CIO 'W' : 0xB1,//Work Area 'H' : 0xB2,//Holding Bit 'A' : 0xB3,//Auxiliary Bit 'D' : 0x82//Data Memories };
waiting for your reply... many thanks
Sorry, something went wrong.
@side105 Thank you for the extra memory areas, I wouldn't get/set the physical inputs/outputs without C area.
C
No branches or pull requests
I'm not sure if this is the rigth place for a question...
can anyone help me with using this wonderful library in a express api
const express = require('express');
const router = express.Router();
var fins = require('../lib/index');
var client = fins.FinsClient(9600, '172.16.103.125');//plc address
router.get('/', (req, res) => {
res.send('data from PLC');//here I'd like to send back to the client the values from the PLC
});
The text was updated successfully, but these errors were encountered: