-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Hi,
with this code I get the following error: Error: S7PLC: CPU : Item not available, what can I do?
I really appraciate any kind of help.
const {S7Client} = require('S7Client');
const plcSettings = {
host: '192.168.1.15',
port: 102,
rack: 0,
slot: 2
};
let client = new S7Client(plcSettings);
client.on('error', console.error);
(async function() {
await client.connect()
const res = await cpuInfo.readVar({area:"pa", type:"BOOL", start:8, bit: 0})
console.log(res)
client.disconnect();
})();Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels