25.05.2021, 12:15
(This post was last modified: 25.05.2021, 12:34 by christian.hegland@caverion.com.)
Hi Erwin,
Thanks for getting back to me!
The IFM interface is in the unlocked position. I've just tried with your password 0000, as I don't think or know if there's been set any other user password on these devices.
Could that be changed og checked with some software tools?
Hi Erwin,
Since I can't fiqure out how to send an attachment in PM, i'll just try here.
Thanks for getting back to me!
The IFM interface is in the unlocked position. I've just tried with your password 0000, as I don't think or know if there's been set any other user password on these devices.
Could that be changed og checked with some software tools?
(25.05.2021, 08:57)Erwin van der Zwart Wrote: Did you unlock the locking pad on the IFM interface?
• protected by password where a password is required in the command
• protected by configuration: ◦ with the IFM interface, the remote control commands are enabled when the locking pad on the IFM interface is in the open position.
In sample below the used password is 0000 (ASCII 00 = 00110000 00110000 => 12336 in Decimal)
Code:require('luamodbus')
mb = luamodbus.rtu()
mb:open('/dev/RS485', 19200, 'E', 8, 1, 'H')
mb:connect()
mb:setslave(1)
if event.getvalue() == true then
mb:writeregisters(7999, 904, 10, 4353,1,12336,12336,0,0,0,0,0,0,0,0,0,0,0,8019,8020,8021) -- Open command
else
mb:writeregisters(7999, 905, 10, 4353,1,12336,12336,0,0,0,0,0,0,0,0,0,0,0,8019,8020,8021) -- Close command
end
mb:close()
Hi Erwin,
Since I can't fiqure out how to send an attachment in PM, i'll just try here.
Best regards
Christian
Christian