Skip to content
New issue

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

Reading big offsets #131

Open
liulysk opened this issue Oct 18, 2022 · 0 comments
Open

Reading big offsets #131

liulysk opened this issue Oct 18, 2022 · 0 comments

Comments

@liulysk
Copy link

liulysk commented Oct 18, 2022

Hello,

is it possible to read addresses that are bigger than 16002? Example: DB1,INT30000. The biggest offset I found for some reason was 16002, anything bigger than that I receive error:

let variables = {
"var0": "DB1,INT16004"
}

I've tried to change Max PDU size, but it didn't help

[42670,1984400] Initiate Called - Connecting to PLC with address and parameters:
[42670,2115700] {
  port: 102,
  host: '192.168.0.63',
  rack: 0,
  slot: 1,
  requestMaxPDU: 8120,
  maxPDU: 8120,
  debug: true
}
[42670,2541400 192.168.0.63 S1] Connection cleanup is happening
[42670,2990400 192.168.0.63 S1] Attempting to connect to host...
[42670,4198600 192.168.0.63 S1] TCP Connection Established to 192.168.0.63 on port 102
[42670,4346100 192.168.0.63 S1] Will attempt ISO-on-TCP connection
[42670,4726100 192.168.0.63 S1] Using rack [0] and slot [1]
[42670,5363300 192.168.0.63 S1] ISO-on-TCP Connection Confirm Packet Received
[42670,6286500 192.168.0.63 S1] Received PDU Response - Proceeding with PDU 960 and 3 max parallel connections.
[42670,6761800] Translation OK
-----------------Init done-------------
[42670,7721800 192.168.0.63 S1] Adding var0
[42670,8631700 192.168.0.63 S1] Invalid Response Code - 5
18 Oct 11:11:52 - [warn] [function:S7 read] SOMETHING WENT WRONG READING VALUES!!!!
[42670,9034200 192.168.0.63 S1] Connection cleanup is happening
{ var0: 'BAD 255' }
[42670,9601900 192.168.0.63 S1] Connection cleanup is happening
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant